elabapi-python 5.4.0__tar.gz → 5.4.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 (327) hide show
  1. {elabapi_python-5.4.0 → elabapi_python-5.4.1}/PKG-INFO +1 -1
  2. {elabapi_python-5.4.0 → elabapi_python-5.4.1}/README.md +2 -2
  3. {elabapi_python-5.4.0 → elabapi_python-5.4.1}/elabapi_python/api/storage_units_api.py +12 -8
  4. {elabapi_python-5.4.0 → elabapi_python-5.4.1}/elabapi_python/api_client.py +1 -1
  5. {elabapi_python-5.4.0 → elabapi_python-5.4.1}/elabapi_python/configuration.py +1 -1
  6. {elabapi_python-5.4.0 → elabapi_python-5.4.1}/elabapi_python/models/entity.py +85 -1
  7. {elabapi_python-5.4.0 → elabapi_python-5.4.1}/elabapi_python/models/entity_and_item_editable.py +31 -3
  8. {elabapi_python-5.4.0 → elabapi_python-5.4.1}/elabapi_python/models/entity_editable.py +1 -1
  9. {elabapi_python-5.4.0 → elabapi_python-5.4.1}/elabapi_python/models/entity_template.py +85 -1
  10. elabapi_python-5.4.1/elabapi_python/models/inline_response200.py +84 -0
  11. {elabapi_python-5.4.0 → elabapi_python-5.4.1}/elabapi_python/models/item.py +31 -3
  12. {elabapi_python-5.4.0 → elabapi_python-5.4.1}/elabapi_python/models/item_editable.py +31 -3
  13. {elabapi_python-5.4.0 → elabapi_python-5.4.1}/elabapi_python.egg-info/PKG-INFO +1 -1
  14. {elabapi_python-5.4.0 → elabapi_python-5.4.1}/setup.py +1 -1
  15. {elabapi_python-5.4.0 → elabapi_python-5.4.1}/test/test_storage_units_api.py +1 -1
  16. elabapi_python-5.4.0/elabapi_python/models/inline_response200.py +0 -1356
  17. {elabapi_python-5.4.0 → elabapi_python-5.4.1}/elabapi_python/__init__.py +0 -0
  18. {elabapi_python-5.4.0 → elabapi_python-5.4.1}/elabapi_python/api/__init__.py +0 -0
  19. {elabapi_python-5.4.0 → elabapi_python-5.4.1}/elabapi_python/api/api_keys_api.py +0 -0
  20. {elabapi_python-5.4.0 → elabapi_python-5.4.1}/elabapi_python/api/comments_api.py +0 -0
  21. {elabapi_python-5.4.0 → elabapi_python-5.4.1}/elabapi_python/api/compounds_api.py +0 -0
  22. {elabapi_python-5.4.0 → elabapi_python-5.4.1}/elabapi_python/api/config_api.py +0 -0
  23. {elabapi_python-5.4.0 → elabapi_python-5.4.1}/elabapi_python/api/containers_api.py +0 -0
  24. {elabapi_python-5.4.0 → elabapi_python-5.4.1}/elabapi_python/api/d_space_api.py +0 -0
  25. {elabapi_python-5.4.0 → elabapi_python-5.4.1}/elabapi_python/api/events_api.py +0 -0
  26. {elabapi_python-5.4.0 → elabapi_python-5.4.1}/elabapi_python/api/experiments_api.py +0 -0
  27. {elabapi_python-5.4.0 → elabapi_python-5.4.1}/elabapi_python/api/experiments_categories_api.py +0 -0
  28. {elabapi_python-5.4.0 → elabapi_python-5.4.1}/elabapi_python/api/experiments_status_api.py +0 -0
  29. {elabapi_python-5.4.0 → elabapi_python-5.4.1}/elabapi_python/api/experiments_templates_api.py +0 -0
  30. {elabapi_python-5.4.0 → elabapi_python-5.4.1}/elabapi_python/api/exports_api.py +0 -0
  31. {elabapi_python-5.4.0 → elabapi_python-5.4.1}/elabapi_python/api/extra_fields_keys_api.py +0 -0
  32. {elabapi_python-5.4.0 → elabapi_python-5.4.1}/elabapi_python/api/favorite_tags_api.py +0 -0
  33. {elabapi_python-5.4.0 → elabapi_python-5.4.1}/elabapi_python/api/idps_api.py +0 -0
  34. {elabapi_python-5.4.0 → elabapi_python-5.4.1}/elabapi_python/api/import_api.py +0 -0
  35. {elabapi_python-5.4.0 → elabapi_python-5.4.1}/elabapi_python/api/info_api.py +0 -0
  36. {elabapi_python-5.4.0 → elabapi_python-5.4.1}/elabapi_python/api/items_api.py +0 -0
  37. {elabapi_python-5.4.0 → elabapi_python-5.4.1}/elabapi_python/api/items_types__resources_templates_api.py +0 -0
  38. {elabapi_python-5.4.0 → elabapi_python-5.4.1}/elabapi_python/api/links_to_compounds_api.py +0 -0
  39. {elabapi_python-5.4.0 → elabapi_python-5.4.1}/elabapi_python/api/links_to_experiments_api.py +0 -0
  40. {elabapi_python-5.4.0 → elabapi_python-5.4.1}/elabapi_python/api/links_to_items_api.py +0 -0
  41. {elabapi_python-5.4.0 → elabapi_python-5.4.1}/elabapi_python/api/notifications_api.py +0 -0
  42. {elabapi_python-5.4.0 → elabapi_python-5.4.1}/elabapi_python/api/reports_api.py +0 -0
  43. {elabapi_python-5.4.0 → elabapi_python-5.4.1}/elabapi_python/api/resources_categories_api.py +0 -0
  44. {elabapi_python-5.4.0 → elabapi_python-5.4.1}/elabapi_python/api/resources_status_api.py +0 -0
  45. {elabapi_python-5.4.0 → elabapi_python-5.4.1}/elabapi_python/api/revisions_api.py +0 -0
  46. {elabapi_python-5.4.0 → elabapi_python-5.4.1}/elabapi_python/api/steps_api.py +0 -0
  47. {elabapi_python-5.4.0 → elabapi_python-5.4.1}/elabapi_python/api/tags_api.py +0 -0
  48. {elabapi_python-5.4.0 → elabapi_python-5.4.1}/elabapi_python/api/team_tags_api.py +0 -0
  49. {elabapi_python-5.4.0 → elabapi_python-5.4.1}/elabapi_python/api/teamgroups_api.py +0 -0
  50. {elabapi_python-5.4.0 → elabapi_python-5.4.1}/elabapi_python/api/teams_api.py +0 -0
  51. {elabapi_python-5.4.0 → elabapi_python-5.4.1}/elabapi_python/api/todolist_api.py +0 -0
  52. {elabapi_python-5.4.0 → elabapi_python-5.4.1}/elabapi_python/api/unfinished_steps_api.py +0 -0
  53. {elabapi_python-5.4.0 → elabapi_python-5.4.1}/elabapi_python/api/uploads_api.py +0 -0
  54. {elabapi_python-5.4.0 → elabapi_python-5.4.1}/elabapi_python/api/user_uploads_api.py +0 -0
  55. {elabapi_python-5.4.0 → elabapi_python-5.4.1}/elabapi_python/api/users_api.py +0 -0
  56. {elabapi_python-5.4.0 → elabapi_python-5.4.1}/elabapi_python/models/__init__.py +0 -0
  57. {elabapi_python-5.4.0 → elabapi_python-5.4.1}/elabapi_python/models/any_ofuploads_subid_body1.py +0 -0
  58. {elabapi_python-5.4.0 → elabapi_python-5.4.1}/elabapi_python/models/apikey.py +0 -0
  59. {elabapi_python-5.4.0 → elabapi_python-5.4.1}/elabapi_python/models/apikeys_body.py +0 -0
  60. {elabapi_python-5.4.0 → elabapi_python-5.4.1}/elabapi_python/models/changelog.py +0 -0
  61. {elabapi_python-5.4.0 → elabapi_python-5.4.1}/elabapi_python/models/comment.py +0 -0
  62. {elabapi_python-5.4.0 → elabapi_python-5.4.1}/elabapi_python/models/compound.py +0 -0
  63. {elabapi_python-5.4.0 → elabapi_python-5.4.1}/elabapi_python/models/compound_create_request.py +0 -0
  64. {elabapi_python-5.4.0 → elabapi_python-5.4.1}/elabapi_python/models/compound_duplicate_request.py +0 -0
  65. {elabapi_python-5.4.0 → elabapi_python-5.4.1}/elabapi_python/models/compounds_body.py +0 -0
  66. {elabapi_python-5.4.0 → elabapi_python-5.4.1}/elabapi_python/models/compounds_links_subid_body.py +0 -0
  67. {elabapi_python-5.4.0 → elabapi_python-5.4.1}/elabapi_python/models/config.py +0 -0
  68. {elabapi_python-5.4.0 → elabapi_python-5.4.1}/elabapi_python/models/container.py +0 -0
  69. {elabapi_python-5.4.0 → elabapi_python-5.4.1}/elabapi_python/models/containers_subid_body.py +0 -0
  70. {elabapi_python-5.4.0 → elabapi_python-5.4.1}/elabapi_python/models/containers_subid_body1.py +0 -0
  71. {elabapi_python-5.4.0 → elabapi_python-5.4.1}/elabapi_python/models/dspace_body.py +0 -0
  72. {elabapi_python-5.4.0 → elabapi_python-5.4.1}/elabapi_python/models/dspace_body1.py +0 -0
  73. {elabapi_python-5.4.0 → elabapi_python-5.4.1}/elabapi_python/models/dspace_entity.py +0 -0
  74. {elabapi_python-5.4.0 → elabapi_python-5.4.1}/elabapi_python/models/dspace_metadata.py +0 -0
  75. {elabapi_python-5.4.0 → elabapi_python-5.4.1}/elabapi_python/models/dspace_metadata1.py +0 -0
  76. {elabapi_python-5.4.0 → elabapi_python-5.4.1}/elabapi_python/models/entity_duplicate.py +0 -0
  77. {elabapi_python-5.4.0 → elabapi_python-5.4.1}/elabapi_python/models/entity_template_editable.py +0 -0
  78. {elabapi_python-5.4.0 → elabapi_python-5.4.1}/elabapi_python/models/error.py +0 -0
  79. {elabapi_python-5.4.0 → elabapi_python-5.4.1}/elabapi_python/models/event.py +0 -0
  80. {elabapi_python-5.4.0 → elabapi_python-5.4.1}/elabapi_python/models/event_id_body.py +0 -0
  81. {elabapi_python-5.4.0 → elabapi_python-5.4.1}/elabapi_python/models/eventid_delta.py +0 -0
  82. {elabapi_python-5.4.0 → elabapi_python-5.4.1}/elabapi_python/models/events_id_body.py +0 -0
  83. {elabapi_python-5.4.0 → elabapi_python-5.4.1}/elabapi_python/models/exclusive_edit_mode.py +0 -0
  84. {elabapi_python-5.4.0 → elabapi_python-5.4.1}/elabapi_python/models/experiment.py +0 -0
  85. {elabapi_python-5.4.0 → elabapi_python-5.4.1}/elabapi_python/models/experiments_links_subid_body.py +0 -0
  86. {elabapi_python-5.4.0 → elabapi_python-5.4.1}/elabapi_python/models/experiments_templates_id_body.py +0 -0
  87. {elabapi_python-5.4.0 → elabapi_python-5.4.1}/elabapi_python/models/export.py +0 -0
  88. {elabapi_python-5.4.0 → elabapi_python-5.4.1}/elabapi_python/models/exports_body.py +0 -0
  89. {elabapi_python-5.4.0 → elabapi_python-5.4.1}/elabapi_python/models/extra_fields_keys.py +0 -0
  90. {elabapi_python-5.4.0 → elabapi_python-5.4.1}/elabapi_python/models/favtags_body.py +0 -0
  91. {elabapi_python-5.4.0 → elabapi_python-5.4.1}/elabapi_python/models/id.py +0 -0
  92. {elabapi_python-5.4.0 → elabapi_python-5.4.1}/elabapi_python/models/id1.py +0 -0
  93. {elabapi_python-5.4.0 → elabapi_python-5.4.1}/elabapi_python/models/id2.py +0 -0
  94. {elabapi_python-5.4.0 → elabapi_python-5.4.1}/elabapi_python/models/id3.py +0 -0
  95. {elabapi_python-5.4.0 → elabapi_python-5.4.1}/elabapi_python/models/id4.py +0 -0
  96. {elabapi_python-5.4.0 → elabapi_python-5.4.1}/elabapi_python/models/id_comments_body.py +0 -0
  97. {elabapi_python-5.4.0 → elabapi_python-5.4.1}/elabapi_python/models/id_experiments_categories_body.py +0 -0
  98. {elabapi_python-5.4.0 → elabapi_python-5.4.1}/elabapi_python/models/id_experiments_status_body.py +0 -0
  99. {elabapi_python-5.4.0 → elabapi_python-5.4.1}/elabapi_python/models/id_items_status_body.py +0 -0
  100. {elabapi_python-5.4.0 → elabapi_python-5.4.1}/elabapi_python/models/id_resources_categories_body.py +0 -0
  101. {elabapi_python-5.4.0 → elabapi_python-5.4.1}/elabapi_python/models/id_steps_body.py +0 -0
  102. {elabapi_python-5.4.0 → elabapi_python-5.4.1}/elabapi_python/models/id_tags_body.py +0 -0
  103. {elabapi_python-5.4.0 → elabapi_python-5.4.1}/elabapi_python/models/id_tags_body1.py +0 -0
  104. {elabapi_python-5.4.0 → elabapi_python-5.4.1}/elabapi_python/models/id_teamgroups_body.py +0 -0
  105. {elabapi_python-5.4.0 → elabapi_python-5.4.1}/elabapi_python/models/id_uploads_body.py +0 -0
  106. {elabapi_python-5.4.0 → elabapi_python-5.4.1}/elabapi_python/models/idp.py +0 -0
  107. {elabapi_python-5.4.0 → elabapi_python-5.4.1}/elabapi_python/models/idp_cert.py +0 -0
  108. {elabapi_python-5.4.0 → elabapi_python-5.4.1}/elabapi_python/models/idp_endpoint.py +0 -0
  109. {elabapi_python-5.4.0 → elabapi_python-5.4.1}/elabapi_python/models/idps_body.py +0 -0
  110. {elabapi_python-5.4.0 → elabapi_python-5.4.1}/elabapi_python/models/idps_id_body.py +0 -0
  111. {elabapi_python-5.4.0 → elabapi_python-5.4.1}/elabapi_python/models/import_body.py +0 -0
  112. {elabapi_python-5.4.0 → elabapi_python-5.4.1}/elabapi_python/models/inline_response2001.py +0 -0
  113. {elabapi_python-5.4.0 → elabapi_python-5.4.1}/elabapi_python/models/inline_response20010.py +0 -0
  114. {elabapi_python-5.4.0 → elabapi_python-5.4.1}/elabapi_python/models/inline_response2001_experiments.py +0 -0
  115. {elabapi_python-5.4.0 → elabapi_python-5.4.1}/elabapi_python/models/inline_response2001_items.py +0 -0
  116. {elabapi_python-5.4.0 → elabapi_python-5.4.1}/elabapi_python/models/inline_response2001_users.py +0 -0
  117. {elabapi_python-5.4.0 → elabapi_python-5.4.1}/elabapi_python/models/inline_response2002.py +0 -0
  118. {elabapi_python-5.4.0 → elabapi_python-5.4.1}/elabapi_python/models/inline_response2003.py +0 -0
  119. {elabapi_python-5.4.0 → elabapi_python-5.4.1}/elabapi_python/models/inline_response2004.py +0 -0
  120. {elabapi_python-5.4.0 → elabapi_python-5.4.1}/elabapi_python/models/inline_response2004_query_parameters.py +0 -0
  121. {elabapi_python-5.4.0 → elabapi_python-5.4.1}/elabapi_python/models/inline_response2005.py +0 -0
  122. {elabapi_python-5.4.0 → elabapi_python-5.4.1}/elabapi_python/models/inline_response2006.py +0 -0
  123. {elabapi_python-5.4.0 → elabapi_python-5.4.1}/elabapi_python/models/inline_response2007.py +0 -0
  124. {elabapi_python-5.4.0 → elabapi_python-5.4.1}/elabapi_python/models/inline_response2008.py +0 -0
  125. {elabapi_python-5.4.0 → elabapi_python-5.4.1}/elabapi_python/models/inline_response2009.py +0 -0
  126. {elabapi_python-5.4.0 → elabapi_python-5.4.1}/elabapi_python/models/inline_response2009_embedded.py +0 -0
  127. {elabapi_python-5.4.0 → elabapi_python-5.4.1}/elabapi_python/models/inline_response2009_embedded_entries.py +0 -0
  128. {elabapi_python-5.4.0 → elabapi_python-5.4.1}/elabapi_python/models/items_links_subid_body.py +0 -0
  129. {elabapi_python-5.4.0 → elabapi_python-5.4.1}/elabapi_python/models/items_types_id_body.py +0 -0
  130. {elabapi_python-5.4.0 → elabapi_python-5.4.1}/elabapi_python/models/link.py +0 -0
  131. {elabapi_python-5.4.0 → elabapi_python-5.4.1}/elabapi_python/models/metadata.py +0 -0
  132. {elabapi_python-5.4.0 → elabapi_python-5.4.1}/elabapi_python/models/metadata_elabftw.py +0 -0
  133. {elabapi_python-5.4.0 → elabapi_python-5.4.1}/elabapi_python/models/metadata_elabftw_extra_fields_groups.py +0 -0
  134. {elabapi_python-5.4.0 → elabapi_python-5.4.1}/elabapi_python/models/metadata_extra_fields.py +0 -0
  135. {elabapi_python-5.4.0 → elabapi_python-5.4.1}/elabapi_python/models/notification.py +0 -0
  136. {elabapi_python-5.4.0 → elabapi_python-5.4.1}/elabapi_python/models/patch_action.py +0 -0
  137. {elabapi_python-5.4.0 → elabapi_python-5.4.1}/elabapi_python/models/revision.py +0 -0
  138. {elabapi_python-5.4.0 → elabapi_python-5.4.1}/elabapi_python/models/revisions_subid_body.py +0 -0
  139. {elabapi_python-5.4.0 → elabapi_python-5.4.1}/elabapi_python/models/statuslike.py +0 -0
  140. {elabapi_python-5.4.0 → elabapi_python-5.4.1}/elabapi_python/models/step.py +0 -0
  141. {elabapi_python-5.4.0 → elabapi_python-5.4.1}/elabapi_python/models/steps_subid_body.py +0 -0
  142. {elabapi_python-5.4.0 → elabapi_python-5.4.1}/elabapi_python/models/storage_unit.py +0 -0
  143. {elabapi_python-5.4.0 → elabapi_python-5.4.1}/elabapi_python/models/storage_units_body.py +0 -0
  144. {elabapi_python-5.4.0 → elabapi_python-5.4.1}/elabapi_python/models/storage_units_id_body.py +0 -0
  145. {elabapi_python-5.4.0 → elabapi_python-5.4.1}/elabapi_python/models/tag.py +0 -0
  146. {elabapi_python-5.4.0 → elabapi_python-5.4.1}/elabapi_python/models/tags_subid_body.py +0 -0
  147. {elabapi_python-5.4.0 → elabapi_python-5.4.1}/elabapi_python/models/tags_subid_body1.py +0 -0
  148. {elabapi_python-5.4.0 → elabapi_python-5.4.1}/elabapi_python/models/team.py +0 -0
  149. {elabapi_python-5.4.0 → elabapi_python-5.4.1}/elabapi_python/models/teamgroup.py +0 -0
  150. {elabapi_python-5.4.0 → elabapi_python-5.4.1}/elabapi_python/models/teamgroup_users.py +0 -0
  151. {elabapi_python-5.4.0 → elabapi_python-5.4.1}/elabapi_python/models/teamgroups_subid_body.py +0 -0
  152. {elabapi_python-5.4.0 → elabapi_python-5.4.1}/elabapi_python/models/teams_body.py +0 -0
  153. {elabapi_python-5.4.0 → elabapi_python-5.4.1}/elabapi_python/models/teams_id_body.py +0 -0
  154. {elabapi_python-5.4.0 → elabapi_python-5.4.1}/elabapi_python/models/todoitem.py +0 -0
  155. {elabapi_python-5.4.0 → elabapi_python-5.4.1}/elabapi_python/models/todolist_body.py +0 -0
  156. {elabapi_python-5.4.0 → elabapi_python-5.4.1}/elabapi_python/models/todolist_id_body.py +0 -0
  157. {elabapi_python-5.4.0 → elabapi_python-5.4.1}/elabapi_python/models/unfinished_step.py +0 -0
  158. {elabapi_python-5.4.0 → elabapi_python-5.4.1}/elabapi_python/models/unfinished_steps.py +0 -0
  159. {elabapi_python-5.4.0 → elabapi_python-5.4.1}/elabapi_python/models/upload.py +0 -0
  160. {elabapi_python-5.4.0 → elabapi_python-5.4.1}/elabapi_python/models/uploads_subid_body.py +0 -0
  161. {elabapi_python-5.4.0 → elabapi_python-5.4.1}/elabapi_python/models/uploads_subid_body1.py +0 -0
  162. {elabapi_python-5.4.0 → elabapi_python-5.4.1}/elabapi_python/models/users.py +0 -0
  163. {elabapi_python-5.4.0 → elabapi_python-5.4.1}/elabapi_python/models/users_body.py +0 -0
  164. {elabapi_python-5.4.0 → elabapi_python-5.4.1}/elabapi_python/models/users_full.py +0 -0
  165. {elabapi_python-5.4.0 → elabapi_python-5.4.1}/elabapi_python/models/users_full_teams.py +0 -0
  166. {elabapi_python-5.4.0 → elabapi_python-5.4.1}/elabapi_python/models/users_id_body.py +0 -0
  167. {elabapi_python-5.4.0 → elabapi_python-5.4.1}/elabapi_python/rest.py +0 -0
  168. {elabapi_python-5.4.0 → elabapi_python-5.4.1}/elabapi_python.egg-info/SOURCES.txt +0 -0
  169. {elabapi_python-5.4.0 → elabapi_python-5.4.1}/elabapi_python.egg-info/dependency_links.txt +0 -0
  170. {elabapi_python-5.4.0 → elabapi_python-5.4.1}/elabapi_python.egg-info/requires.txt +0 -0
  171. {elabapi_python-5.4.0 → elabapi_python-5.4.1}/elabapi_python.egg-info/top_level.txt +0 -0
  172. {elabapi_python-5.4.0 → elabapi_python-5.4.1}/setup.cfg +0 -0
  173. {elabapi_python-5.4.0 → elabapi_python-5.4.1}/test/__init__.py +0 -0
  174. {elabapi_python-5.4.0 → elabapi_python-5.4.1}/test/test_any_ofuploads_subid_body1.py +0 -0
  175. {elabapi_python-5.4.0 → elabapi_python-5.4.1}/test/test_api_keys_api.py +0 -0
  176. {elabapi_python-5.4.0 → elabapi_python-5.4.1}/test/test_apikey.py +0 -0
  177. {elabapi_python-5.4.0 → elabapi_python-5.4.1}/test/test_apikeys_body.py +0 -0
  178. {elabapi_python-5.4.0 → elabapi_python-5.4.1}/test/test_changelog.py +0 -0
  179. {elabapi_python-5.4.0 → elabapi_python-5.4.1}/test/test_comment.py +0 -0
  180. {elabapi_python-5.4.0 → elabapi_python-5.4.1}/test/test_comments_api.py +0 -0
  181. {elabapi_python-5.4.0 → elabapi_python-5.4.1}/test/test_compound.py +0 -0
  182. {elabapi_python-5.4.0 → elabapi_python-5.4.1}/test/test_compound_create_request.py +0 -0
  183. {elabapi_python-5.4.0 → elabapi_python-5.4.1}/test/test_compound_duplicate_request.py +0 -0
  184. {elabapi_python-5.4.0 → elabapi_python-5.4.1}/test/test_compounds_api.py +0 -0
  185. {elabapi_python-5.4.0 → elabapi_python-5.4.1}/test/test_compounds_body.py +0 -0
  186. {elabapi_python-5.4.0 → elabapi_python-5.4.1}/test/test_compounds_links_subid_body.py +0 -0
  187. {elabapi_python-5.4.0 → elabapi_python-5.4.1}/test/test_config.py +0 -0
  188. {elabapi_python-5.4.0 → elabapi_python-5.4.1}/test/test_config_api.py +0 -0
  189. {elabapi_python-5.4.0 → elabapi_python-5.4.1}/test/test_container.py +0 -0
  190. {elabapi_python-5.4.0 → elabapi_python-5.4.1}/test/test_containers_api.py +0 -0
  191. {elabapi_python-5.4.0 → elabapi_python-5.4.1}/test/test_containers_subid_body.py +0 -0
  192. {elabapi_python-5.4.0 → elabapi_python-5.4.1}/test/test_containers_subid_body1.py +0 -0
  193. {elabapi_python-5.4.0 → elabapi_python-5.4.1}/test/test_d_space_api.py +0 -0
  194. {elabapi_python-5.4.0 → elabapi_python-5.4.1}/test/test_dspace_body.py +0 -0
  195. {elabapi_python-5.4.0 → elabapi_python-5.4.1}/test/test_dspace_body1.py +0 -0
  196. {elabapi_python-5.4.0 → elabapi_python-5.4.1}/test/test_dspace_entity.py +0 -0
  197. {elabapi_python-5.4.0 → elabapi_python-5.4.1}/test/test_dspace_metadata.py +0 -0
  198. {elabapi_python-5.4.0 → elabapi_python-5.4.1}/test/test_dspace_metadata1.py +0 -0
  199. {elabapi_python-5.4.0 → elabapi_python-5.4.1}/test/test_entity.py +0 -0
  200. {elabapi_python-5.4.0 → elabapi_python-5.4.1}/test/test_entity_and_item_editable.py +0 -0
  201. {elabapi_python-5.4.0 → elabapi_python-5.4.1}/test/test_entity_duplicate.py +0 -0
  202. {elabapi_python-5.4.0 → elabapi_python-5.4.1}/test/test_entity_editable.py +0 -0
  203. {elabapi_python-5.4.0 → elabapi_python-5.4.1}/test/test_entity_template.py +0 -0
  204. {elabapi_python-5.4.0 → elabapi_python-5.4.1}/test/test_entity_template_editable.py +0 -0
  205. {elabapi_python-5.4.0 → elabapi_python-5.4.1}/test/test_error.py +0 -0
  206. {elabapi_python-5.4.0 → elabapi_python-5.4.1}/test/test_event.py +0 -0
  207. {elabapi_python-5.4.0 → elabapi_python-5.4.1}/test/test_event_id_body.py +0 -0
  208. {elabapi_python-5.4.0 → elabapi_python-5.4.1}/test/test_eventid_delta.py +0 -0
  209. {elabapi_python-5.4.0 → elabapi_python-5.4.1}/test/test_events_api.py +0 -0
  210. {elabapi_python-5.4.0 → elabapi_python-5.4.1}/test/test_events_id_body.py +0 -0
  211. {elabapi_python-5.4.0 → elabapi_python-5.4.1}/test/test_exclusive_edit_mode.py +0 -0
  212. {elabapi_python-5.4.0 → elabapi_python-5.4.1}/test/test_experiment.py +0 -0
  213. {elabapi_python-5.4.0 → elabapi_python-5.4.1}/test/test_experiments_api.py +0 -0
  214. {elabapi_python-5.4.0 → elabapi_python-5.4.1}/test/test_experiments_categories_api.py +0 -0
  215. {elabapi_python-5.4.0 → elabapi_python-5.4.1}/test/test_experiments_links_subid_body.py +0 -0
  216. {elabapi_python-5.4.0 → elabapi_python-5.4.1}/test/test_experiments_status_api.py +0 -0
  217. {elabapi_python-5.4.0 → elabapi_python-5.4.1}/test/test_experiments_templates_api.py +0 -0
  218. {elabapi_python-5.4.0 → elabapi_python-5.4.1}/test/test_experiments_templates_id_body.py +0 -0
  219. {elabapi_python-5.4.0 → elabapi_python-5.4.1}/test/test_export.py +0 -0
  220. {elabapi_python-5.4.0 → elabapi_python-5.4.1}/test/test_exports_api.py +0 -0
  221. {elabapi_python-5.4.0 → elabapi_python-5.4.1}/test/test_exports_body.py +0 -0
  222. {elabapi_python-5.4.0 → elabapi_python-5.4.1}/test/test_extra_fields_keys.py +0 -0
  223. {elabapi_python-5.4.0 → elabapi_python-5.4.1}/test/test_extra_fields_keys_api.py +0 -0
  224. {elabapi_python-5.4.0 → elabapi_python-5.4.1}/test/test_favorite_tags_api.py +0 -0
  225. {elabapi_python-5.4.0 → elabapi_python-5.4.1}/test/test_favtags_body.py +0 -0
  226. {elabapi_python-5.4.0 → elabapi_python-5.4.1}/test/test_id.py +0 -0
  227. {elabapi_python-5.4.0 → elabapi_python-5.4.1}/test/test_id1.py +0 -0
  228. {elabapi_python-5.4.0 → elabapi_python-5.4.1}/test/test_id2.py +0 -0
  229. {elabapi_python-5.4.0 → elabapi_python-5.4.1}/test/test_id3.py +0 -0
  230. {elabapi_python-5.4.0 → elabapi_python-5.4.1}/test/test_id4.py +0 -0
  231. {elabapi_python-5.4.0 → elabapi_python-5.4.1}/test/test_id_comments_body.py +0 -0
  232. {elabapi_python-5.4.0 → elabapi_python-5.4.1}/test/test_id_experiments_categories_body.py +0 -0
  233. {elabapi_python-5.4.0 → elabapi_python-5.4.1}/test/test_id_experiments_status_body.py +0 -0
  234. {elabapi_python-5.4.0 → elabapi_python-5.4.1}/test/test_id_items_status_body.py +0 -0
  235. {elabapi_python-5.4.0 → elabapi_python-5.4.1}/test/test_id_resources_categories_body.py +0 -0
  236. {elabapi_python-5.4.0 → elabapi_python-5.4.1}/test/test_id_steps_body.py +0 -0
  237. {elabapi_python-5.4.0 → elabapi_python-5.4.1}/test/test_id_tags_body.py +0 -0
  238. {elabapi_python-5.4.0 → elabapi_python-5.4.1}/test/test_id_tags_body1.py +0 -0
  239. {elabapi_python-5.4.0 → elabapi_python-5.4.1}/test/test_id_teamgroups_body.py +0 -0
  240. {elabapi_python-5.4.0 → elabapi_python-5.4.1}/test/test_id_uploads_body.py +0 -0
  241. {elabapi_python-5.4.0 → elabapi_python-5.4.1}/test/test_idp.py +0 -0
  242. {elabapi_python-5.4.0 → elabapi_python-5.4.1}/test/test_idp_cert.py +0 -0
  243. {elabapi_python-5.4.0 → elabapi_python-5.4.1}/test/test_idp_endpoint.py +0 -0
  244. {elabapi_python-5.4.0 → elabapi_python-5.4.1}/test/test_idps_api.py +0 -0
  245. {elabapi_python-5.4.0 → elabapi_python-5.4.1}/test/test_idps_body.py +0 -0
  246. {elabapi_python-5.4.0 → elabapi_python-5.4.1}/test/test_idps_id_body.py +0 -0
  247. {elabapi_python-5.4.0 → elabapi_python-5.4.1}/test/test_import_api.py +0 -0
  248. {elabapi_python-5.4.0 → elabapi_python-5.4.1}/test/test_import_body.py +0 -0
  249. {elabapi_python-5.4.0 → elabapi_python-5.4.1}/test/test_info_api.py +0 -0
  250. {elabapi_python-5.4.0 → elabapi_python-5.4.1}/test/test_inline_response200.py +0 -0
  251. {elabapi_python-5.4.0 → elabapi_python-5.4.1}/test/test_inline_response2001.py +0 -0
  252. {elabapi_python-5.4.0 → elabapi_python-5.4.1}/test/test_inline_response20010.py +0 -0
  253. {elabapi_python-5.4.0 → elabapi_python-5.4.1}/test/test_inline_response2001_experiments.py +0 -0
  254. {elabapi_python-5.4.0 → elabapi_python-5.4.1}/test/test_inline_response2001_items.py +0 -0
  255. {elabapi_python-5.4.0 → elabapi_python-5.4.1}/test/test_inline_response2001_users.py +0 -0
  256. {elabapi_python-5.4.0 → elabapi_python-5.4.1}/test/test_inline_response2002.py +0 -0
  257. {elabapi_python-5.4.0 → elabapi_python-5.4.1}/test/test_inline_response2003.py +0 -0
  258. {elabapi_python-5.4.0 → elabapi_python-5.4.1}/test/test_inline_response2004.py +0 -0
  259. {elabapi_python-5.4.0 → elabapi_python-5.4.1}/test/test_inline_response2004_query_parameters.py +0 -0
  260. {elabapi_python-5.4.0 → elabapi_python-5.4.1}/test/test_inline_response2005.py +0 -0
  261. {elabapi_python-5.4.0 → elabapi_python-5.4.1}/test/test_inline_response2006.py +0 -0
  262. {elabapi_python-5.4.0 → elabapi_python-5.4.1}/test/test_inline_response2007.py +0 -0
  263. {elabapi_python-5.4.0 → elabapi_python-5.4.1}/test/test_inline_response2008.py +0 -0
  264. {elabapi_python-5.4.0 → elabapi_python-5.4.1}/test/test_inline_response2009.py +0 -0
  265. {elabapi_python-5.4.0 → elabapi_python-5.4.1}/test/test_inline_response2009_embedded.py +0 -0
  266. {elabapi_python-5.4.0 → elabapi_python-5.4.1}/test/test_inline_response2009_embedded_entries.py +0 -0
  267. {elabapi_python-5.4.0 → elabapi_python-5.4.1}/test/test_item.py +0 -0
  268. {elabapi_python-5.4.0 → elabapi_python-5.4.1}/test/test_item_editable.py +0 -0
  269. {elabapi_python-5.4.0 → elabapi_python-5.4.1}/test/test_items_api.py +0 -0
  270. {elabapi_python-5.4.0 → elabapi_python-5.4.1}/test/test_items_links_subid_body.py +0 -0
  271. {elabapi_python-5.4.0 → elabapi_python-5.4.1}/test/test_items_types__resources_templates_api.py +0 -0
  272. {elabapi_python-5.4.0 → elabapi_python-5.4.1}/test/test_items_types_id_body.py +0 -0
  273. {elabapi_python-5.4.0 → elabapi_python-5.4.1}/test/test_link.py +0 -0
  274. {elabapi_python-5.4.0 → elabapi_python-5.4.1}/test/test_links_to_compounds_api.py +0 -0
  275. {elabapi_python-5.4.0 → elabapi_python-5.4.1}/test/test_links_to_experiments_api.py +0 -0
  276. {elabapi_python-5.4.0 → elabapi_python-5.4.1}/test/test_links_to_items_api.py +0 -0
  277. {elabapi_python-5.4.0 → elabapi_python-5.4.1}/test/test_metadata.py +0 -0
  278. {elabapi_python-5.4.0 → elabapi_python-5.4.1}/test/test_metadata_elabftw.py +0 -0
  279. {elabapi_python-5.4.0 → elabapi_python-5.4.1}/test/test_metadata_elabftw_extra_fields_groups.py +0 -0
  280. {elabapi_python-5.4.0 → elabapi_python-5.4.1}/test/test_metadata_extra_fields.py +0 -0
  281. {elabapi_python-5.4.0 → elabapi_python-5.4.1}/test/test_notification.py +0 -0
  282. {elabapi_python-5.4.0 → elabapi_python-5.4.1}/test/test_notifications_api.py +0 -0
  283. {elabapi_python-5.4.0 → elabapi_python-5.4.1}/test/test_patch_action.py +0 -0
  284. {elabapi_python-5.4.0 → elabapi_python-5.4.1}/test/test_reports_api.py +0 -0
  285. {elabapi_python-5.4.0 → elabapi_python-5.4.1}/test/test_resources_categories_api.py +0 -0
  286. {elabapi_python-5.4.0 → elabapi_python-5.4.1}/test/test_resources_status_api.py +0 -0
  287. {elabapi_python-5.4.0 → elabapi_python-5.4.1}/test/test_revision.py +0 -0
  288. {elabapi_python-5.4.0 → elabapi_python-5.4.1}/test/test_revisions_api.py +0 -0
  289. {elabapi_python-5.4.0 → elabapi_python-5.4.1}/test/test_revisions_subid_body.py +0 -0
  290. {elabapi_python-5.4.0 → elabapi_python-5.4.1}/test/test_statuslike.py +0 -0
  291. {elabapi_python-5.4.0 → elabapi_python-5.4.1}/test/test_step.py +0 -0
  292. {elabapi_python-5.4.0 → elabapi_python-5.4.1}/test/test_steps_api.py +0 -0
  293. {elabapi_python-5.4.0 → elabapi_python-5.4.1}/test/test_steps_subid_body.py +0 -0
  294. {elabapi_python-5.4.0 → elabapi_python-5.4.1}/test/test_storage_unit.py +0 -0
  295. {elabapi_python-5.4.0 → elabapi_python-5.4.1}/test/test_storage_units_body.py +0 -0
  296. {elabapi_python-5.4.0 → elabapi_python-5.4.1}/test/test_storage_units_id_body.py +0 -0
  297. {elabapi_python-5.4.0 → elabapi_python-5.4.1}/test/test_tag.py +0 -0
  298. {elabapi_python-5.4.0 → elabapi_python-5.4.1}/test/test_tags_api.py +0 -0
  299. {elabapi_python-5.4.0 → elabapi_python-5.4.1}/test/test_tags_subid_body.py +0 -0
  300. {elabapi_python-5.4.0 → elabapi_python-5.4.1}/test/test_tags_subid_body1.py +0 -0
  301. {elabapi_python-5.4.0 → elabapi_python-5.4.1}/test/test_team.py +0 -0
  302. {elabapi_python-5.4.0 → elabapi_python-5.4.1}/test/test_team_tags_api.py +0 -0
  303. {elabapi_python-5.4.0 → elabapi_python-5.4.1}/test/test_teamgroup.py +0 -0
  304. {elabapi_python-5.4.0 → elabapi_python-5.4.1}/test/test_teamgroup_users.py +0 -0
  305. {elabapi_python-5.4.0 → elabapi_python-5.4.1}/test/test_teamgroups_api.py +0 -0
  306. {elabapi_python-5.4.0 → elabapi_python-5.4.1}/test/test_teamgroups_subid_body.py +0 -0
  307. {elabapi_python-5.4.0 → elabapi_python-5.4.1}/test/test_teams_api.py +0 -0
  308. {elabapi_python-5.4.0 → elabapi_python-5.4.1}/test/test_teams_body.py +0 -0
  309. {elabapi_python-5.4.0 → elabapi_python-5.4.1}/test/test_teams_id_body.py +0 -0
  310. {elabapi_python-5.4.0 → elabapi_python-5.4.1}/test/test_todoitem.py +0 -0
  311. {elabapi_python-5.4.0 → elabapi_python-5.4.1}/test/test_todolist_api.py +0 -0
  312. {elabapi_python-5.4.0 → elabapi_python-5.4.1}/test/test_todolist_body.py +0 -0
  313. {elabapi_python-5.4.0 → elabapi_python-5.4.1}/test/test_todolist_id_body.py +0 -0
  314. {elabapi_python-5.4.0 → elabapi_python-5.4.1}/test/test_unfinished_step.py +0 -0
  315. {elabapi_python-5.4.0 → elabapi_python-5.4.1}/test/test_unfinished_steps.py +0 -0
  316. {elabapi_python-5.4.0 → elabapi_python-5.4.1}/test/test_unfinished_steps_api.py +0 -0
  317. {elabapi_python-5.4.0 → elabapi_python-5.4.1}/test/test_upload.py +0 -0
  318. {elabapi_python-5.4.0 → elabapi_python-5.4.1}/test/test_uploads_api.py +0 -0
  319. {elabapi_python-5.4.0 → elabapi_python-5.4.1}/test/test_uploads_subid_body.py +0 -0
  320. {elabapi_python-5.4.0 → elabapi_python-5.4.1}/test/test_uploads_subid_body1.py +0 -0
  321. {elabapi_python-5.4.0 → elabapi_python-5.4.1}/test/test_user_uploads_api.py +0 -0
  322. {elabapi_python-5.4.0 → elabapi_python-5.4.1}/test/test_users.py +0 -0
  323. {elabapi_python-5.4.0 → elabapi_python-5.4.1}/test/test_users_api.py +0 -0
  324. {elabapi_python-5.4.0 → elabapi_python-5.4.1}/test/test_users_body.py +0 -0
  325. {elabapi_python-5.4.0 → elabapi_python-5.4.1}/test/test_users_full.py +0 -0
  326. {elabapi_python-5.4.0 → elabapi_python-5.4.1}/test/test_users_full_teams.py +0 -0
  327. {elabapi_python-5.4.0 → elabapi_python-5.4.1}/test/test_users_id_body.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: elabapi-python
3
- Version: 5.4.0
3
+ Version: 5.4.1
4
4
  Summary: eLabFTW REST API v2 Documentation
5
5
  Home-page: https://github.com/elabftw/elabapi-python
6
6
  Author-email:
@@ -4,7 +4,7 @@ This document describes all available endpoints and methods for eLabFTW's API ve
4
4
  This Python package is automatically generated by the [Swagger Codegen](https://github.com/swagger-api/swagger-codegen) project:
5
5
 
6
6
  - API version: 2.0.0
7
- - Package version: 5.4.0
7
+ - Package version: 5.4.1
8
8
  - Build package: io.swagger.codegen.v3.generators.python.PythonClientCodegen
9
9
 
10
10
  ## Requirements.
@@ -219,7 +219,7 @@ Class | Method | HTTP request | Description
219
219
  *StorageUnitsApi* | [**patch_storage_unit**](docs/StorageUnitsApi.md#patch_storage_unit) | **PATCH** /storage_units/{id} | Modify a storage unit.
220
220
  *StorageUnitsApi* | [**post_storage_unit**](docs/StorageUnitsApi.md#post_storage_unit) | **POST** /storage_units | Create a new storage unit.
221
221
  *StorageUnitsApi* | [**read_storage_unit**](docs/StorageUnitsApi.md#read_storage_unit) | **GET** /storage_units/{id} | Read a storage unit.
222
- *StorageUnitsApi* | [**read_storage_units**](docs/StorageUnitsApi.md#read_storage_units) | **GET** /storage_units | Read all containers. Yes, the name of this endpoint should be `containers`, but it's not, deal with it.
222
+ *StorageUnitsApi* | [**read_storage_units**](docs/StorageUnitsApi.md#read_storage_units) | **GET** /storage_units | Read all containers, or the storage unit hierarchy when `?hierarchy=true`.
223
223
  *TagsApi* | [**delete_tag**](docs/TagsApi.md#delete_tag) | **DELETE** /{entity_type}/{id}/tags | Delete all tags.
224
224
  *TagsApi* | [**patch_tag**](docs/TagsApi.md#patch_tag) | **PATCH** /{entity_type}/{id}/tags/{subid} | Actions on a tag (like removing it from the entity).
225
225
  *TagsApi* | [**post_tag**](docs/TagsApi.md#post_tag) | **POST** /{entity_type}/{id}/tags | Create a tag.
@@ -425,16 +425,17 @@ class StorageUnitsApi(object):
425
425
  collection_formats=collection_formats)
426
426
 
427
427
  def read_storage_units(self, **kwargs): # noqa: E501
428
- """Read all containers. Yes, the name of this endpoint should be `containers`, but it's not, deal with it. # noqa: E501
428
+ """Read all containers, or the storage unit hierarchy when `?hierarchy=true`. # noqa: E501
429
429
 
430
- Get the full list of containers from entries you have access to. # noqa: E501
430
+ Without parameters, returns the full list of containers (assignments of experiments or resources to storage locations) that you have access to. With `?hierarchy=true`, returns a flat list of all storage units (freezers, boxes, positions, etc.) with their hierarchy metadata (`id`, `name`, `parent_id`, `full_path`, `level_depth`, `children_count`). This allows clients to discover, traverse, or display the storage unit tree. # noqa: E501
431
431
  This method makes a synchronous HTTP request by default. To make an
432
432
  asynchronous HTTP request, please pass async_req=True
433
433
  >>> thread = api.read_storage_units(async_req=True)
434
434
  >>> result = thread.get()
435
435
 
436
436
  :param async_req bool
437
- :return: list[InlineResponse200]
437
+ :param bool hierarchy: When true, returns a flat list of all storage units in the hierarchy (id, name, parent_id, full_path, level_depth, children_count) instead of the default container assignment list.
438
+ :return: InlineResponse200
438
439
  If the method is called asynchronously,
439
440
  returns the request thread.
440
441
  """
@@ -446,21 +447,22 @@ class StorageUnitsApi(object):
446
447
  return data
447
448
 
448
449
  def read_storage_units_with_http_info(self, **kwargs): # noqa: E501
449
- """Read all containers. Yes, the name of this endpoint should be `containers`, but it's not, deal with it. # noqa: E501
450
+ """Read all containers, or the storage unit hierarchy when `?hierarchy=true`. # noqa: E501
450
451
 
451
- Get the full list of containers from entries you have access to. # noqa: E501
452
+ Without parameters, returns the full list of containers (assignments of experiments or resources to storage locations) that you have access to. With `?hierarchy=true`, returns a flat list of all storage units (freezers, boxes, positions, etc.) with their hierarchy metadata (`id`, `name`, `parent_id`, `full_path`, `level_depth`, `children_count`). This allows clients to discover, traverse, or display the storage unit tree. # noqa: E501
452
453
  This method makes a synchronous HTTP request by default. To make an
453
454
  asynchronous HTTP request, please pass async_req=True
454
455
  >>> thread = api.read_storage_units_with_http_info(async_req=True)
455
456
  >>> result = thread.get()
456
457
 
457
458
  :param async_req bool
458
- :return: list[InlineResponse200]
459
+ :param bool hierarchy: When true, returns a flat list of all storage units in the hierarchy (id, name, parent_id, full_path, level_depth, children_count) instead of the default container assignment list.
460
+ :return: InlineResponse200
459
461
  If the method is called asynchronously,
460
462
  returns the request thread.
461
463
  """
462
464
 
463
- all_params = [] # noqa: E501
465
+ all_params = ['hierarchy'] # noqa: E501
464
466
  all_params.append('async_req')
465
467
  all_params.append('_return_http_data_only')
466
468
  all_params.append('_preload_content')
@@ -481,6 +483,8 @@ class StorageUnitsApi(object):
481
483
  path_params = {}
482
484
 
483
485
  query_params = []
486
+ if 'hierarchy' in params:
487
+ query_params.append(('hierarchy', params['hierarchy'])) # noqa: E501
484
488
 
485
489
  header_params = {}
486
490
 
@@ -503,7 +507,7 @@ class StorageUnitsApi(object):
503
507
  body=body_params,
504
508
  post_params=form_params,
505
509
  files=local_var_files,
506
- response_type='list[InlineResponse200]', # noqa: E501
510
+ response_type='InlineResponse200', # noqa: E501
507
511
  auth_settings=auth_settings,
508
512
  async_req=params.get('async_req'),
509
513
  _return_http_data_only=params.get('_return_http_data_only'),
@@ -72,7 +72,7 @@ class ApiClient(object):
72
72
  self.default_headers[header_name] = header_value
73
73
  self.cookie = cookie
74
74
  # Set default User-Agent.
75
- self.user_agent = 'Swagger-Codegen/5.4.0/python'
75
+ self.user_agent = 'Swagger-Codegen/5.4.1/python'
76
76
 
77
77
  def __del__(self):
78
78
  self.pool.close()
@@ -250,5 +250,5 @@ class Configuration(six.with_metaclass(TypeWithDefault, object)):
250
250
  "OS: {env}\n"\
251
251
  "Python Version: {pyversion}\n"\
252
252
  "Version of the API: 2.0.0\n"\
253
- "SDK Package Version: 5.4.0".\
253
+ "SDK Package Version: 5.4.1".\
254
254
  format(env=sys.platform, pyversion=sys.version)
@@ -37,6 +37,9 @@ class Entity(EntityEditable):
37
37
  'comments': 'list[Comment]',
38
38
  'compounds_links': 'list[Compound]',
39
39
  'created_at': 'str',
40
+ 'created_from_id': 'int',
41
+ 'created_from_type': 'int',
42
+ 'created_from_type_human': 'str',
40
43
  'elabid': 'str',
41
44
  'exclusive_edit_mode': 'ExclusiveEditMode',
42
45
  'experiments_links': 'list[Link]',
@@ -82,6 +85,9 @@ class Entity(EntityEditable):
82
85
  'comments': 'comments',
83
86
  'compounds_links': 'compounds_links',
84
87
  'created_at': 'created_at',
88
+ 'created_from_id': 'created_from_id',
89
+ 'created_from_type': 'created_from_type',
90
+ 'created_from_type_human': 'created_from_type_human',
85
91
  'elabid': 'elabid',
86
92
  'exclusive_edit_mode': 'exclusive_edit_mode',
87
93
  'experiments_links': 'experiments_links',
@@ -118,7 +124,7 @@ class Entity(EntityEditable):
118
124
  if hasattr(EntityEditable, "attribute_map"):
119
125
  attribute_map.update(EntityEditable.attribute_map)
120
126
 
121
- def __init__(self, access_key=None, body_html=None, category_color=None, category_title=None, changelog=None, comments=None, compounds_links=None, created_at=None, elabid=None, exclusive_edit_mode=None, experiments_links=None, firstname=None, fullname=None, hide_main_text=Hide_main_textEnum._0, id=None, items_links=None, lastchangeby=None, lastname=None, locked=None, lockedby=None, locked_at=None, modified_at=None, next_step=None, orcid=None, page=None, recent_comment=None, related_experiments_links=None, related_items_links=None, sharelink=None, status_color=None, status_title=None, steps=None, tags=None, tags_id=None, team=None, timestamped=None, timestampedby=None, timestamped_at=None, type=None, uploads=None, *args, **kwargs): # noqa: E501
127
+ def __init__(self, access_key=None, body_html=None, category_color=None, category_title=None, changelog=None, comments=None, compounds_links=None, created_at=None, created_from_id=None, created_from_type=None, created_from_type_human=None, elabid=None, exclusive_edit_mode=None, experiments_links=None, firstname=None, fullname=None, hide_main_text=None, id=None, items_links=None, lastchangeby=None, lastname=None, locked=None, lockedby=None, locked_at=None, modified_at=None, next_step=None, orcid=None, page=None, recent_comment=None, related_experiments_links=None, related_items_links=None, sharelink=None, status_color=None, status_title=None, steps=None, tags=None, tags_id=None, team=None, timestamped=None, timestampedby=None, timestamped_at=None, type=None, uploads=None, *args, **kwargs): # noqa: E501
122
128
  """Entity - a model defined in Swagger""" # noqa: E501
123
129
  self._access_key = None
124
130
  self._body_html = None
@@ -128,6 +134,9 @@ class Entity(EntityEditable):
128
134
  self._comments = None
129
135
  self._compounds_links = None
130
136
  self._created_at = None
137
+ self._created_from_id = None
138
+ self._created_from_type = None
139
+ self._created_from_type_human = None
131
140
  self._elabid = None
132
141
  self._exclusive_edit_mode = None
133
142
  self._experiments_links = None
@@ -177,6 +186,12 @@ class Entity(EntityEditable):
177
186
  self.compounds_links = compounds_links
178
187
  if created_at is not None:
179
188
  self.created_at = created_at
189
+ if created_from_id is not None:
190
+ self.created_from_id = created_from_id
191
+ if created_from_type is not None:
192
+ self.created_from_type = created_from_type
193
+ if created_from_type_human is not None:
194
+ self.created_from_type_human = created_from_type_human
180
195
  if elabid is not None:
181
196
  self.elabid = elabid
182
197
  if exclusive_edit_mode is not None:
@@ -411,6 +426,75 @@ class Entity(EntityEditable):
411
426
 
412
427
  self._created_at = created_at
413
428
 
429
+ @property
430
+ def created_from_id(self):
431
+ """Gets the created_from_id of this Entity. # noqa: E501
432
+
433
+ Id of the template used to create this entry. # noqa: E501
434
+
435
+ :return: The created_from_id of this Entity. # noqa: E501
436
+ :rtype: int
437
+ """
438
+ return self._created_from_id
439
+
440
+ @created_from_id.setter
441
+ def created_from_id(self, created_from_id):
442
+ """Sets the created_from_id of this Entity.
443
+
444
+ Id of the template used to create this entry. # noqa: E501
445
+
446
+ :param created_from_id: The created_from_id of this Entity. # noqa: E501
447
+ :type: int
448
+ """
449
+
450
+ self._created_from_id = created_from_id
451
+
452
+ @property
453
+ def created_from_type(self):
454
+ """Gets the created_from_type of this Entity. # noqa: E501
455
+
456
+ Type of the entity used to create this entry: template or concrete type if duplicate # noqa: E501
457
+
458
+ :return: The created_from_type of this Entity. # noqa: E501
459
+ :rtype: int
460
+ """
461
+ return self._created_from_type
462
+
463
+ @created_from_type.setter
464
+ def created_from_type(self, created_from_type):
465
+ """Sets the created_from_type of this Entity.
466
+
467
+ Type of the entity used to create this entry: template or concrete type if duplicate # noqa: E501
468
+
469
+ :param created_from_type: The created_from_type of this Entity. # noqa: E501
470
+ :type: int
471
+ """
472
+
473
+ self._created_from_type = created_from_type
474
+
475
+ @property
476
+ def created_from_type_human(self):
477
+ """Gets the created_from_type_human of this Entity. # noqa: E501
478
+
479
+ Human readable version of created_from_type integer. # noqa: E501
480
+
481
+ :return: The created_from_type_human of this Entity. # noqa: E501
482
+ :rtype: str
483
+ """
484
+ return self._created_from_type_human
485
+
486
+ @created_from_type_human.setter
487
+ def created_from_type_human(self, created_from_type_human):
488
+ """Sets the created_from_type_human of this Entity.
489
+
490
+ Human readable version of created_from_type integer. # noqa: E501
491
+
492
+ :param created_from_type_human: The created_from_type_human of this Entity. # noqa: E501
493
+ :type: str
494
+ """
495
+
496
+ self._created_from_type_human = created_from_type_human
497
+
414
498
  @property
415
499
  def elabid(self):
416
500
  """Gets the elabid of this Entity. # noqa: E501
@@ -37,7 +37,8 @@ class EntityAndItemEditable(EntityEditable):
37
37
  'book_can_overlap': 'int',
38
38
  'book_users_can_in_past': 'int',
39
39
  'book_is_cancellable': 'int',
40
- 'book_cancel_minutes': 'int'
40
+ 'book_cancel_minutes': 'int',
41
+ 'booking_window_days': 'int'
41
42
  }
42
43
  if hasattr(EntityEditable, "swagger_types"):
43
44
  swagger_types.update(EntityEditable.swagger_types)
@@ -51,12 +52,13 @@ class EntityAndItemEditable(EntityEditable):
51
52
  'book_can_overlap': 'book_can_overlap',
52
53
  'book_users_can_in_past': 'book_users_can_in_past',
53
54
  'book_is_cancellable': 'book_is_cancellable',
54
- 'book_cancel_minutes': 'book_cancel_minutes'
55
+ 'book_cancel_minutes': 'book_cancel_minutes',
56
+ 'booking_window_days': 'booking_window_days'
55
57
  }
56
58
  if hasattr(EntityEditable, "attribute_map"):
57
59
  attribute_map.update(EntityEditable.attribute_map)
58
60
 
59
- def __init__(self, is_bookable=None, canbook_base=Canbook_baseEnum._30, canbook=None, book_max_minutes=None, book_max_slots=None, book_can_overlap=None, book_users_can_in_past=None, book_is_cancellable=None, book_cancel_minutes=None, *args, **kwargs): # noqa: E501
61
+ def __init__(self, is_bookable=None, canbook_base=None, canbook=None, book_max_minutes=None, book_max_slots=None, book_can_overlap=None, book_users_can_in_past=None, book_is_cancellable=None, book_cancel_minutes=None, booking_window_days=None, *args, **kwargs): # noqa: E501
60
62
  """EntityAndItemEditable - a model defined in Swagger""" # noqa: E501
61
63
  self._is_bookable = None
62
64
  self._canbook_base = None
@@ -67,6 +69,7 @@ class EntityAndItemEditable(EntityEditable):
67
69
  self._book_users_can_in_past = None
68
70
  self._book_is_cancellable = None
69
71
  self._book_cancel_minutes = None
72
+ self._booking_window_days = None
70
73
  self.discriminator = None
71
74
  if is_bookable is not None:
72
75
  self.is_bookable = is_bookable
@@ -86,6 +89,8 @@ class EntityAndItemEditable(EntityEditable):
86
89
  self.book_is_cancellable = book_is_cancellable
87
90
  if book_cancel_minutes is not None:
88
91
  self.book_cancel_minutes = book_cancel_minutes
92
+ if booking_window_days is not None:
93
+ self.booking_window_days = booking_window_days
89
94
  EntityEditable.__init__(self, *args, **kwargs)
90
95
 
91
96
  @property
@@ -285,6 +290,29 @@ class EntityAndItemEditable(EntityEditable):
285
290
 
286
291
  self._book_cancel_minutes = book_cancel_minutes
287
292
 
293
+ @property
294
+ def booking_window_days(self):
295
+ """Gets the booking_window_days of this EntityAndItemEditable. # noqa: E501
296
+
297
+ How many days in advance users can book an item. 0 means no limit. # noqa: E501
298
+
299
+ :return: The booking_window_days of this EntityAndItemEditable. # noqa: E501
300
+ :rtype: int
301
+ """
302
+ return self._booking_window_days
303
+
304
+ @booking_window_days.setter
305
+ def booking_window_days(self, booking_window_days):
306
+ """Sets the booking_window_days of this EntityAndItemEditable.
307
+
308
+ How many days in advance users can book an item. 0 means no limit. # noqa: E501
309
+
310
+ :param booking_window_days: The booking_window_days of this EntityAndItemEditable. # noqa: E501
311
+ :type: int
312
+ """
313
+
314
+ self._booking_window_days = booking_window_days
315
+
288
316
  def to_dict(self):
289
317
  """Returns the model properties as a dict"""
290
318
  result = {}
@@ -67,7 +67,7 @@ class EntityEditable(object):
67
67
  'team': 'team'
68
68
  }
69
69
 
70
- def __init__(self, body=None, canread_base=None, canread='{"teams": [], "users": [], "teamgroups": []}', canwrite_base=None, canwrite='{"teams": [], "users": [], "teamgroups": []}', category=None, _date=None, content_type=Content_typeEnum._1, custom_id=None, metadata=None, rating=0, state=None, status=None, title='Untitled', template=-1, userid=None, team=None): # noqa: E501
70
+ def __init__(self, body=None, canread_base=None, canread='{"teams": [], "users": [], "teamgroups": []}', canwrite_base=None, canwrite='{"teams": [], "users": [], "teamgroups": []}', category=None, _date=None, content_type=None, custom_id=None, metadata=None, rating=0, state=None, status=None, title='Untitled', template=-1, userid=None, team=None): # noqa: E501
71
71
  """EntityEditable - a model defined in Swagger""" # noqa: E501
72
72
  self._body = None
73
73
  self._canread_base = None
@@ -37,6 +37,9 @@ class EntityTemplate(EntityTemplateEditable):
37
37
  'comments': 'list[Comment]',
38
38
  'compounds_links': 'list[Compound]',
39
39
  'created_at': 'str',
40
+ 'created_from_id': 'int',
41
+ 'created_from_type': 'int',
42
+ 'created_from_type_human': 'str',
40
43
  'elabid': 'str',
41
44
  'exclusive_edit_mode': 'ExclusiveEditMode',
42
45
  'experiments_links': 'list[Link]',
@@ -82,6 +85,9 @@ class EntityTemplate(EntityTemplateEditable):
82
85
  'comments': 'comments',
83
86
  'compounds_links': 'compounds_links',
84
87
  'created_at': 'created_at',
88
+ 'created_from_id': 'created_from_id',
89
+ 'created_from_type': 'created_from_type',
90
+ 'created_from_type_human': 'created_from_type_human',
85
91
  'elabid': 'elabid',
86
92
  'exclusive_edit_mode': 'exclusive_edit_mode',
87
93
  'experiments_links': 'experiments_links',
@@ -118,7 +124,7 @@ class EntityTemplate(EntityTemplateEditable):
118
124
  if hasattr(EntityTemplateEditable, "attribute_map"):
119
125
  attribute_map.update(EntityTemplateEditable.attribute_map)
120
126
 
121
- def __init__(self, access_key=None, body_html=None, category_color=None, category_title=None, changelog=None, comments=None, compounds_links=None, created_at=None, elabid=None, exclusive_edit_mode=None, experiments_links=None, firstname=None, fullname=None, hide_main_text=Hide_main_textEnum._0, id=None, items_links=None, lastchangeby=None, lastname=None, locked=None, lockedby=None, locked_at=None, modified_at=None, next_step=None, orcid=None, page=None, recent_comment=None, related_experiments_links=None, related_items_links=None, sharelink=None, status_color=None, status_title=None, steps=None, tags=None, tags_id=None, team=None, timestamped=None, timestampedby=None, timestamped_at=None, type=None, uploads=None, *args, **kwargs): # noqa: E501
127
+ def __init__(self, access_key=None, body_html=None, category_color=None, category_title=None, changelog=None, comments=None, compounds_links=None, created_at=None, created_from_id=None, created_from_type=None, created_from_type_human=None, elabid=None, exclusive_edit_mode=None, experiments_links=None, firstname=None, fullname=None, hide_main_text=None, id=None, items_links=None, lastchangeby=None, lastname=None, locked=None, lockedby=None, locked_at=None, modified_at=None, next_step=None, orcid=None, page=None, recent_comment=None, related_experiments_links=None, related_items_links=None, sharelink=None, status_color=None, status_title=None, steps=None, tags=None, tags_id=None, team=None, timestamped=None, timestampedby=None, timestamped_at=None, type=None, uploads=None, *args, **kwargs): # noqa: E501
122
128
  """EntityTemplate - a model defined in Swagger""" # noqa: E501
123
129
  self._access_key = None
124
130
  self._body_html = None
@@ -128,6 +134,9 @@ class EntityTemplate(EntityTemplateEditable):
128
134
  self._comments = None
129
135
  self._compounds_links = None
130
136
  self._created_at = None
137
+ self._created_from_id = None
138
+ self._created_from_type = None
139
+ self._created_from_type_human = None
131
140
  self._elabid = None
132
141
  self._exclusive_edit_mode = None
133
142
  self._experiments_links = None
@@ -177,6 +186,12 @@ class EntityTemplate(EntityTemplateEditable):
177
186
  self.compounds_links = compounds_links
178
187
  if created_at is not None:
179
188
  self.created_at = created_at
189
+ if created_from_id is not None:
190
+ self.created_from_id = created_from_id
191
+ if created_from_type is not None:
192
+ self.created_from_type = created_from_type
193
+ if created_from_type_human is not None:
194
+ self.created_from_type_human = created_from_type_human
180
195
  if elabid is not None:
181
196
  self.elabid = elabid
182
197
  if exclusive_edit_mode is not None:
@@ -411,6 +426,75 @@ class EntityTemplate(EntityTemplateEditable):
411
426
 
412
427
  self._created_at = created_at
413
428
 
429
+ @property
430
+ def created_from_id(self):
431
+ """Gets the created_from_id of this EntityTemplate. # noqa: E501
432
+
433
+ Id of the template used to create this entry. # noqa: E501
434
+
435
+ :return: The created_from_id of this EntityTemplate. # noqa: E501
436
+ :rtype: int
437
+ """
438
+ return self._created_from_id
439
+
440
+ @created_from_id.setter
441
+ def created_from_id(self, created_from_id):
442
+ """Sets the created_from_id of this EntityTemplate.
443
+
444
+ Id of the template used to create this entry. # noqa: E501
445
+
446
+ :param created_from_id: The created_from_id of this EntityTemplate. # noqa: E501
447
+ :type: int
448
+ """
449
+
450
+ self._created_from_id = created_from_id
451
+
452
+ @property
453
+ def created_from_type(self):
454
+ """Gets the created_from_type of this EntityTemplate. # noqa: E501
455
+
456
+ Type of the entity used to create this entry: template or concrete type if duplicate # noqa: E501
457
+
458
+ :return: The created_from_type of this EntityTemplate. # noqa: E501
459
+ :rtype: int
460
+ """
461
+ return self._created_from_type
462
+
463
+ @created_from_type.setter
464
+ def created_from_type(self, created_from_type):
465
+ """Sets the created_from_type of this EntityTemplate.
466
+
467
+ Type of the entity used to create this entry: template or concrete type if duplicate # noqa: E501
468
+
469
+ :param created_from_type: The created_from_type of this EntityTemplate. # noqa: E501
470
+ :type: int
471
+ """
472
+
473
+ self._created_from_type = created_from_type
474
+
475
+ @property
476
+ def created_from_type_human(self):
477
+ """Gets the created_from_type_human of this EntityTemplate. # noqa: E501
478
+
479
+ Human readable version of created_from_type integer. # noqa: E501
480
+
481
+ :return: The created_from_type_human of this EntityTemplate. # noqa: E501
482
+ :rtype: str
483
+ """
484
+ return self._created_from_type_human
485
+
486
+ @created_from_type_human.setter
487
+ def created_from_type_human(self, created_from_type_human):
488
+ """Sets the created_from_type_human of this EntityTemplate.
489
+
490
+ Human readable version of created_from_type integer. # noqa: E501
491
+
492
+ :param created_from_type_human: The created_from_type_human of this EntityTemplate. # noqa: E501
493
+ :type: str
494
+ """
495
+
496
+ self._created_from_type_human = created_from_type_human
497
+
414
498
  @property
415
499
  def elabid(self):
416
500
  """Gets the elabid of this EntityTemplate. # noqa: E501
@@ -0,0 +1,84 @@
1
+ # coding: utf-8
2
+
3
+ """
4
+ eLabFTW REST API v2 Documentation
5
+
6
+ This document describes all available endpoints and methods for eLabFTW's API version 2. # noqa: E501
7
+
8
+ OpenAPI spec version: 2.0.0
9
+
10
+ Generated by: https://github.com/swagger-api/swagger-codegen.git
11
+ """
12
+
13
+ import pprint
14
+ import re # noqa: F401
15
+
16
+ import six
17
+
18
+ class InlineResponse200(object):
19
+ """NOTE: This class is auto generated by the swagger code generator program.
20
+
21
+ Do not edit the class manually.
22
+ """
23
+ """
24
+ Attributes:
25
+ swagger_types (dict): The key is attribute name
26
+ and the value is attribute type.
27
+ attribute_map (dict): The key is attribute name
28
+ and the value is json key in definition.
29
+ """
30
+ swagger_types = {
31
+ }
32
+
33
+ attribute_map = {
34
+ }
35
+
36
+ def __init__(self): # noqa: E501
37
+ """InlineResponse200 - a model defined in Swagger""" # noqa: E501
38
+ self.discriminator = None
39
+
40
+ def to_dict(self):
41
+ """Returns the model properties as a dict"""
42
+ result = {}
43
+
44
+ for attr, _ in six.iteritems(self.swagger_types):
45
+ value = getattr(self, attr)
46
+ if isinstance(value, list):
47
+ result[attr] = list(map(
48
+ lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
49
+ value
50
+ ))
51
+ elif hasattr(value, "to_dict"):
52
+ result[attr] = value.to_dict()
53
+ elif isinstance(value, dict):
54
+ result[attr] = dict(map(
55
+ lambda item: (item[0], item[1].to_dict())
56
+ if hasattr(item[1], "to_dict") else item,
57
+ value.items()
58
+ ))
59
+ else:
60
+ result[attr] = value
61
+ if issubclass(InlineResponse200, dict):
62
+ for key, value in self.items():
63
+ result[key] = value
64
+
65
+ return result
66
+
67
+ def to_str(self):
68
+ """Returns the string representation of the model"""
69
+ return pprint.pformat(self.to_dict())
70
+
71
+ def __repr__(self):
72
+ """For `print` and `pprint`"""
73
+ return self.to_str()
74
+
75
+ def __eq__(self, other):
76
+ """Returns true if both objects are equal"""
77
+ if not isinstance(other, InlineResponse200):
78
+ return False
79
+
80
+ return self.__dict__ == other.__dict__
81
+
82
+ def __ne__(self, other):
83
+ """Returns true if both objects are not equal"""
84
+ return not self == other
@@ -37,7 +37,8 @@ class Item(Entity):
37
37
  'book_can_overlap': 'int',
38
38
  'book_users_can_in_past': 'int',
39
39
  'book_is_cancellable': 'int',
40
- 'book_cancel_minutes': 'int'
40
+ 'book_cancel_minutes': 'int',
41
+ 'booking_window_days': 'int'
41
42
  }
42
43
  if hasattr(Entity, "swagger_types"):
43
44
  swagger_types.update(Entity.swagger_types)
@@ -51,12 +52,13 @@ class Item(Entity):
51
52
  'book_can_overlap': 'book_can_overlap',
52
53
  'book_users_can_in_past': 'book_users_can_in_past',
53
54
  'book_is_cancellable': 'book_is_cancellable',
54
- 'book_cancel_minutes': 'book_cancel_minutes'
55
+ 'book_cancel_minutes': 'book_cancel_minutes',
56
+ 'booking_window_days': 'booking_window_days'
55
57
  }
56
58
  if hasattr(Entity, "attribute_map"):
57
59
  attribute_map.update(Entity.attribute_map)
58
60
 
59
- def __init__(self, is_bookable=None, canbook_base=Canbook_baseEnum._30, canbook=None, book_max_minutes=None, book_max_slots=None, book_can_overlap=None, book_users_can_in_past=None, book_is_cancellable=None, book_cancel_minutes=None, *args, **kwargs): # noqa: E501
61
+ def __init__(self, is_bookable=None, canbook_base=None, canbook=None, book_max_minutes=None, book_max_slots=None, book_can_overlap=None, book_users_can_in_past=None, book_is_cancellable=None, book_cancel_minutes=None, booking_window_days=None, *args, **kwargs): # noqa: E501
60
62
  """Item - a model defined in Swagger""" # noqa: E501
61
63
  self._is_bookable = None
62
64
  self._canbook_base = None
@@ -67,6 +69,7 @@ class Item(Entity):
67
69
  self._book_users_can_in_past = None
68
70
  self._book_is_cancellable = None
69
71
  self._book_cancel_minutes = None
72
+ self._booking_window_days = None
70
73
  self.discriminator = None
71
74
  if is_bookable is not None:
72
75
  self.is_bookable = is_bookable
@@ -86,6 +89,8 @@ class Item(Entity):
86
89
  self.book_is_cancellable = book_is_cancellable
87
90
  if book_cancel_minutes is not None:
88
91
  self.book_cancel_minutes = book_cancel_minutes
92
+ if booking_window_days is not None:
93
+ self.booking_window_days = booking_window_days
89
94
  Entity.__init__(self, *args, **kwargs)
90
95
 
91
96
  @property
@@ -285,6 +290,29 @@ class Item(Entity):
285
290
 
286
291
  self._book_cancel_minutes = book_cancel_minutes
287
292
 
293
+ @property
294
+ def booking_window_days(self):
295
+ """Gets the booking_window_days of this Item. # noqa: E501
296
+
297
+ How many days in advance users can book an item. 0 means no limit. # noqa: E501
298
+
299
+ :return: The booking_window_days of this Item. # noqa: E501
300
+ :rtype: int
301
+ """
302
+ return self._booking_window_days
303
+
304
+ @booking_window_days.setter
305
+ def booking_window_days(self, booking_window_days):
306
+ """Sets the booking_window_days of this Item.
307
+
308
+ How many days in advance users can book an item. 0 means no limit. # noqa: E501
309
+
310
+ :param booking_window_days: The booking_window_days of this Item. # noqa: E501
311
+ :type: int
312
+ """
313
+
314
+ self._booking_window_days = booking_window_days
315
+
288
316
  def to_dict(self):
289
317
  """Returns the model properties as a dict"""
290
318
  result = {}