smartsheet-python-sdk 3.7.2__tar.gz → 3.9.0__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 (274) hide show
  1. {smartsheet_python_sdk-3.7.2 → smartsheet_python_sdk-3.9.0}/CHANGELOG.md +36 -0
  2. {smartsheet_python_sdk-3.7.2/smartsheet_python_sdk.egg-info → smartsheet_python_sdk-3.9.0}/PKG-INFO +1 -1
  3. {smartsheet_python_sdk-3.7.2 → smartsheet_python_sdk-3.9.0}/docs-source/smartsheet_enums.rst +32 -0
  4. {smartsheet_python_sdk-3.7.2 → smartsheet_python_sdk-3.9.0}/docs-source/smartsheet_models.rst +64 -0
  5. {smartsheet_python_sdk-3.7.2 → smartsheet_python_sdk-3.9.0}/smartsheet/favorites.py +32 -8
  6. {smartsheet_python_sdk-3.7.2 → smartsheet_python_sdk-3.9.0}/smartsheet/models/__init__.py +11 -0
  7. smartsheet_python_sdk-3.9.0/smartsheet/models/create_report_request.py +107 -0
  8. smartsheet_python_sdk-3.9.0/smartsheet/models/create_report_result.py +105 -0
  9. {smartsheet_python_sdk-3.7.2 → smartsheet_python_sdk-3.9.0}/smartsheet/models/enums/__init__.py +6 -0
  10. smartsheet_python_sdk-3.9.0/smartsheet/models/enums/favorite_type.py +26 -0
  11. smartsheet_python_sdk-3.9.0/smartsheet/models/enums/report_aggregation_type.py +27 -0
  12. smartsheet_python_sdk-3.9.0/smartsheet/models/enums/report_asset_type.py +22 -0
  13. smartsheet_python_sdk-3.9.0/smartsheet/models/enums/report_boolean_operator.py +22 -0
  14. smartsheet_python_sdk-3.9.0/smartsheet/models/enums/report_destination_type.py +22 -0
  15. smartsheet_python_sdk-3.9.0/smartsheet/models/enums/report_filter_operator.py +56 -0
  16. {smartsheet_python_sdk-3.7.2 → smartsheet_python_sdk-3.9.0}/smartsheet/models/enums/seat_type.py +2 -0
  17. {smartsheet_python_sdk-3.7.2 → smartsheet_python_sdk-3.9.0}/smartsheet/models/favorite.py +18 -0
  18. smartsheet_python_sdk-3.9.0/smartsheet/models/report_column_identifier.py +117 -0
  19. smartsheet_python_sdk-3.9.0/smartsheet/models/report_definition.py +98 -0
  20. smartsheet_python_sdk-3.9.0/smartsheet/models/report_destination.py +64 -0
  21. smartsheet_python_sdk-3.9.0/smartsheet/models/report_filter_criterion.py +100 -0
  22. smartsheet_python_sdk-3.9.0/smartsheet/models/report_filter_expression.py +126 -0
  23. smartsheet_python_sdk-3.9.0/smartsheet/models/report_grouping_criterion.py +83 -0
  24. smartsheet_python_sdk-3.9.0/smartsheet/models/report_scope_inclusion.py +68 -0
  25. smartsheet_python_sdk-3.9.0/smartsheet/models/report_sorting_criterion.py +73 -0
  26. smartsheet_python_sdk-3.9.0/smartsheet/models/report_summarizing_criterion.py +73 -0
  27. {smartsheet_python_sdk-3.7.2 → smartsheet_python_sdk-3.9.0}/smartsheet/reports.py +166 -1
  28. {smartsheet_python_sdk-3.7.2 → smartsheet_python_sdk-3.9.0}/smartsheet/smartsheet.py +5 -3
  29. {smartsheet_python_sdk-3.7.2 → smartsheet_python_sdk-3.9.0}/smartsheet/types.py +15 -4
  30. {smartsheet_python_sdk-3.7.2 → smartsheet_python_sdk-3.9.0}/smartsheet/users.py +14 -2
  31. {smartsheet_python_sdk-3.7.2 → smartsheet_python_sdk-3.9.0}/smartsheet/util.py +0 -1
  32. smartsheet_python_sdk-3.9.0/smartsheet/version.py +24 -0
  33. {smartsheet_python_sdk-3.7.2 → smartsheet_python_sdk-3.9.0/smartsheet_python_sdk.egg-info}/PKG-INFO +1 -1
  34. {smartsheet_python_sdk-3.7.2 → smartsheet_python_sdk-3.9.0}/smartsheet_python_sdk.egg-info/SOURCES.txt +28 -0
  35. smartsheet_python_sdk-3.9.0/tests/mock_api/favorites/__init__.py +1 -0
  36. smartsheet_python_sdk-3.9.0/tests/mock_api/favorites/common_test_constants.py +7 -0
  37. smartsheet_python_sdk-3.9.0/tests/mock_api/favorites/test_is_favorite.py +93 -0
  38. smartsheet_python_sdk-3.9.0/tests/mock_api/reports/common_test_constants.py +5 -0
  39. smartsheet_python_sdk-3.9.0/tests/mock_api/reports/test_add_report_columns.py +319 -0
  40. smartsheet_python_sdk-3.9.0/tests/mock_api/reports/test_add_report_scope.py +133 -0
  41. smartsheet_python_sdk-3.9.0/tests/mock_api/reports/test_create_report.py +334 -0
  42. smartsheet_python_sdk-3.9.0/tests/mock_api/reports/test_remove_report_scope.py +133 -0
  43. smartsheet_python_sdk-3.9.0/tests/mock_api/reports/test_update_report_definition.py +408 -0
  44. smartsheet_python_sdk-3.9.0/tests/mock_api/test_mock_api_reports.py +55 -0
  45. {smartsheet_python_sdk-3.7.2 → smartsheet_python_sdk-3.9.0}/tests/mock_api/users/test_list_user_plans.py +19 -2
  46. {smartsheet_python_sdk-3.7.2 → smartsheet_python_sdk-3.9.0}/tests/mock_api/users/test_list_users.py +44 -0
  47. {smartsheet_python_sdk-3.7.2 → smartsheet_python_sdk-3.9.0}/tests/mock_api/users/test_user_upgrade_downgrade.py +21 -0
  48. smartsheet_python_sdk-3.9.0/tests/test_enumerated_value_set.py +366 -0
  49. smartsheet_python_sdk-3.7.2/smartsheet/version.py +0 -34
  50. {smartsheet_python_sdk-3.7.2 → smartsheet_python_sdk-3.9.0}/.gitchangelog.rc +0 -0
  51. {smartsheet_python_sdk-3.7.2 → smartsheet_python_sdk-3.9.0}/.gitchangelog.tpl +0 -0
  52. {smartsheet_python_sdk-3.7.2 → smartsheet_python_sdk-3.9.0}/.github/ISSUE_TEMPLATE/bug_report.md +0 -0
  53. {smartsheet_python_sdk-3.7.2 → smartsheet_python_sdk-3.9.0}/.github/ISSUE_TEMPLATE/feature_request.md +0 -0
  54. {smartsheet_python_sdk-3.7.2 → smartsheet_python_sdk-3.9.0}/.github/pull_request_template.md +0 -0
  55. {smartsheet_python_sdk-3.7.2 → smartsheet_python_sdk-3.9.0}/.github/workflows/publish-distribution.yaml +0 -0
  56. {smartsheet_python_sdk-3.7.2 → smartsheet_python_sdk-3.9.0}/.github/workflows/publish-documentation.yaml +0 -0
  57. {smartsheet_python_sdk-3.7.2 → smartsheet_python_sdk-3.9.0}/.github/workflows/test-build.yaml +0 -0
  58. {smartsheet_python_sdk-3.7.2 → smartsheet_python_sdk-3.9.0}/.gitignore +0 -0
  59. {smartsheet_python_sdk-3.7.2 → smartsheet_python_sdk-3.9.0}/.markdownlint.json +0 -0
  60. {smartsheet_python_sdk-3.7.2 → smartsheet_python_sdk-3.9.0}/.roo/roomotes.yml +0 -0
  61. {smartsheet_python_sdk-3.7.2 → smartsheet_python_sdk-3.9.0}/ADVANCED.md +0 -0
  62. {smartsheet_python_sdk-3.7.2 → smartsheet_python_sdk-3.9.0}/CONTRIBUTING.md +0 -0
  63. {smartsheet_python_sdk-3.7.2 → smartsheet_python_sdk-3.9.0}/ISSUE-FIRST.md +0 -0
  64. {smartsheet_python_sdk-3.7.2 → smartsheet_python_sdk-3.9.0}/LICENSE.md +0 -0
  65. {smartsheet_python_sdk-3.7.2 → smartsheet_python_sdk-3.9.0}/Makefile +0 -0
  66. {smartsheet_python_sdk-3.7.2 → smartsheet_python_sdk-3.9.0}/NOTICE +0 -0
  67. {smartsheet_python_sdk-3.7.2 → smartsheet_python_sdk-3.9.0}/README.md +0 -0
  68. {smartsheet_python_sdk-3.7.2 → smartsheet_python_sdk-3.9.0}/docs-source/Makefile +0 -0
  69. {smartsheet_python_sdk-3.7.2 → smartsheet_python_sdk-3.9.0}/docs-source/conf.py +0 -0
  70. {smartsheet_python_sdk-3.7.2 → smartsheet_python_sdk-3.9.0}/docs-source/index.rst +0 -0
  71. {smartsheet_python_sdk-3.7.2 → smartsheet_python_sdk-3.9.0}/docs-source/smartsheet_api.rst +0 -0
  72. {smartsheet_python_sdk-3.7.2 → smartsheet_python_sdk-3.9.0}/docs-source/smartsheet_exceptions.rst +0 -0
  73. {smartsheet_python_sdk-3.7.2 → smartsheet_python_sdk-3.9.0}/docs-source/smartsheet_types.rst +0 -0
  74. {smartsheet_python_sdk-3.7.2 → smartsheet_python_sdk-3.9.0}/pyproject.toml +0 -0
  75. {smartsheet_python_sdk-3.7.2 → smartsheet_python_sdk-3.9.0}/setup.cfg +0 -0
  76. {smartsheet_python_sdk-3.7.2 → smartsheet_python_sdk-3.9.0}/smartsheet/__init__.py +0 -0
  77. {smartsheet_python_sdk-3.7.2 → smartsheet_python_sdk-3.9.0}/smartsheet/attachments.py +0 -0
  78. {smartsheet_python_sdk-3.7.2 → smartsheet_python_sdk-3.9.0}/smartsheet/cells.py +0 -0
  79. {smartsheet_python_sdk-3.7.2 → smartsheet_python_sdk-3.9.0}/smartsheet/contacts.py +0 -0
  80. {smartsheet_python_sdk-3.7.2 → smartsheet_python_sdk-3.9.0}/smartsheet/discussions.py +0 -0
  81. {smartsheet_python_sdk-3.7.2 → smartsheet_python_sdk-3.9.0}/smartsheet/events.py +0 -0
  82. {smartsheet_python_sdk-3.7.2 → smartsheet_python_sdk-3.9.0}/smartsheet/exceptions.py +0 -0
  83. {smartsheet_python_sdk-3.7.2 → smartsheet_python_sdk-3.9.0}/smartsheet/folders.py +0 -0
  84. {smartsheet_python_sdk-3.7.2 → smartsheet_python_sdk-3.9.0}/smartsheet/groups.py +0 -0
  85. {smartsheet_python_sdk-3.7.2 → smartsheet_python_sdk-3.9.0}/smartsheet/home.py +0 -0
  86. {smartsheet_python_sdk-3.7.2 → smartsheet_python_sdk-3.9.0}/smartsheet/images.py +0 -0
  87. {smartsheet_python_sdk-3.7.2 → smartsheet_python_sdk-3.9.0}/smartsheet/models/access_token.py +0 -0
  88. {smartsheet_python_sdk-3.7.2 → smartsheet_python_sdk-3.9.0}/smartsheet/models/account.py +0 -0
  89. {smartsheet_python_sdk-3.7.2 → smartsheet_python_sdk-3.9.0}/smartsheet/models/alternate_email.py +0 -0
  90. {smartsheet_python_sdk-3.7.2 → smartsheet_python_sdk-3.9.0}/smartsheet/models/asset_share.py +0 -0
  91. {smartsheet_python_sdk-3.7.2 → smartsheet_python_sdk-3.9.0}/smartsheet/models/asset_shares_paginated_result.py +0 -0
  92. {smartsheet_python_sdk-3.7.2 → smartsheet_python_sdk-3.9.0}/smartsheet/models/attachment.py +0 -0
  93. {smartsheet_python_sdk-3.7.2 → smartsheet_python_sdk-3.9.0}/smartsheet/models/auto_number_format.py +0 -0
  94. {smartsheet_python_sdk-3.7.2 → smartsheet_python_sdk-3.9.0}/smartsheet/models/automation_action.py +0 -0
  95. {smartsheet_python_sdk-3.7.2 → smartsheet_python_sdk-3.9.0}/smartsheet/models/automation_rule.py +0 -0
  96. {smartsheet_python_sdk-3.7.2 → smartsheet_python_sdk-3.9.0}/smartsheet/models/boolean_object_value.py +0 -0
  97. {smartsheet_python_sdk-3.7.2 → smartsheet_python_sdk-3.9.0}/smartsheet/models/bulk_item_failure.py +0 -0
  98. {smartsheet_python_sdk-3.7.2 → smartsheet_python_sdk-3.9.0}/smartsheet/models/bulk_item_result.py +0 -0
  99. {smartsheet_python_sdk-3.7.2 → smartsheet_python_sdk-3.9.0}/smartsheet/models/cell.py +0 -0
  100. {smartsheet_python_sdk-3.7.2 → smartsheet_python_sdk-3.9.0}/smartsheet/models/cell_data_item.py +0 -0
  101. {smartsheet_python_sdk-3.7.2 → smartsheet_python_sdk-3.9.0}/smartsheet/models/cell_history.py +0 -0
  102. {smartsheet_python_sdk-3.7.2 → smartsheet_python_sdk-3.9.0}/smartsheet/models/cell_link.py +0 -0
  103. {smartsheet_python_sdk-3.7.2 → smartsheet_python_sdk-3.9.0}/smartsheet/models/cell_link_widget_content.py +0 -0
  104. {smartsheet_python_sdk-3.7.2 → smartsheet_python_sdk-3.9.0}/smartsheet/models/chart_widget_content.py +0 -0
  105. {smartsheet_python_sdk-3.7.2 → smartsheet_python_sdk-3.9.0}/smartsheet/models/column.py +0 -0
  106. {smartsheet_python_sdk-3.7.2 → smartsheet_python_sdk-3.9.0}/smartsheet/models/comment.py +0 -0
  107. {smartsheet_python_sdk-3.7.2 → smartsheet_python_sdk-3.9.0}/smartsheet/models/contact.py +0 -0
  108. {smartsheet_python_sdk-3.7.2 → smartsheet_python_sdk-3.9.0}/smartsheet/models/contact_object_value.py +0 -0
  109. {smartsheet_python_sdk-3.7.2 → smartsheet_python_sdk-3.9.0}/smartsheet/models/container_destination.py +0 -0
  110. {smartsheet_python_sdk-3.7.2 → smartsheet_python_sdk-3.9.0}/smartsheet/models/copy_or_move_row_destination.py +0 -0
  111. {smartsheet_python_sdk-3.7.2 → smartsheet_python_sdk-3.9.0}/smartsheet/models/copy_or_move_row_directive.py +0 -0
  112. {smartsheet_python_sdk-3.7.2 → smartsheet_python_sdk-3.9.0}/smartsheet/models/copy_or_move_row_result.py +0 -0
  113. {smartsheet_python_sdk-3.7.2 → smartsheet_python_sdk-3.9.0}/smartsheet/models/criteria.py +0 -0
  114. {smartsheet_python_sdk-3.7.2 → smartsheet_python_sdk-3.9.0}/smartsheet/models/cross_sheet_reference.py +0 -0
  115. {smartsheet_python_sdk-3.7.2 → smartsheet_python_sdk-3.9.0}/smartsheet/models/currency.py +0 -0
  116. {smartsheet_python_sdk-3.7.2 → smartsheet_python_sdk-3.9.0}/smartsheet/models/date_object_value.py +0 -0
  117. {smartsheet_python_sdk-3.7.2 → smartsheet_python_sdk-3.9.0}/smartsheet/models/datetime_object_value.py +0 -0
  118. {smartsheet_python_sdk-3.7.2 → smartsheet_python_sdk-3.9.0}/smartsheet/models/discussion.py +0 -0
  119. {smartsheet_python_sdk-3.7.2 → smartsheet_python_sdk-3.9.0}/smartsheet/models/downloaded_file.py +0 -0
  120. {smartsheet_python_sdk-3.7.2 → smartsheet_python_sdk-3.9.0}/smartsheet/models/duration.py +0 -0
  121. {smartsheet_python_sdk-3.7.2 → smartsheet_python_sdk-3.9.0}/smartsheet/models/email.py +0 -0
  122. {smartsheet_python_sdk-3.7.2 → smartsheet_python_sdk-3.9.0}/smartsheet/models/enums/access_level.py +0 -0
  123. {smartsheet_python_sdk-3.7.2 → smartsheet_python_sdk-3.9.0}/smartsheet/models/enums/asset_type.py +0 -0
  124. {smartsheet_python_sdk-3.7.2 → smartsheet_python_sdk-3.9.0}/smartsheet/models/enums/attachment_parent_type.py +0 -0
  125. {smartsheet_python_sdk-3.7.2 → smartsheet_python_sdk-3.9.0}/smartsheet/models/enums/attachment_sub_type.py +0 -0
  126. {smartsheet_python_sdk-3.7.2 → smartsheet_python_sdk-3.9.0}/smartsheet/models/enums/attachment_type.py +0 -0
  127. {smartsheet_python_sdk-3.7.2 → smartsheet_python_sdk-3.9.0}/smartsheet/models/enums/automation_action_frequency.py +0 -0
  128. {smartsheet_python_sdk-3.7.2 → smartsheet_python_sdk-3.9.0}/smartsheet/models/enums/automation_action_type.py +0 -0
  129. {smartsheet_python_sdk-3.7.2 → smartsheet_python_sdk-3.9.0}/smartsheet/models/enums/automation_rule_disabled_reason.py +0 -0
  130. {smartsheet_python_sdk-3.7.2 → smartsheet_python_sdk-3.9.0}/smartsheet/models/enums/cell_link_status.py +0 -0
  131. {smartsheet_python_sdk-3.7.2 → smartsheet_python_sdk-3.9.0}/smartsheet/models/enums/column_type.py +0 -0
  132. {smartsheet_python_sdk-3.7.2 → smartsheet_python_sdk-3.9.0}/smartsheet/models/enums/criteria_target.py +0 -0
  133. {smartsheet_python_sdk-3.7.2 → smartsheet_python_sdk-3.9.0}/smartsheet/models/enums/cross_sheet_reference_status.py +0 -0
  134. {smartsheet_python_sdk-3.7.2 → smartsheet_python_sdk-3.9.0}/smartsheet/models/enums/currency_code.py +0 -0
  135. {smartsheet_python_sdk-3.7.2 → smartsheet_python_sdk-3.9.0}/smartsheet/models/enums/day_descriptors.py +0 -0
  136. {smartsheet_python_sdk-3.7.2 → smartsheet_python_sdk-3.9.0}/smartsheet/models/enums/day_ordinal.py +0 -0
  137. {smartsheet_python_sdk-3.7.2 → smartsheet_python_sdk-3.9.0}/smartsheet/models/enums/event_action.py +0 -0
  138. {smartsheet_python_sdk-3.7.2 → smartsheet_python_sdk-3.9.0}/smartsheet/models/enums/event_object_type.py +0 -0
  139. {smartsheet_python_sdk-3.7.2 → smartsheet_python_sdk-3.9.0}/smartsheet/models/enums/event_source.py +0 -0
  140. {smartsheet_python_sdk-3.7.2 → smartsheet_python_sdk-3.9.0}/smartsheet/models/enums/global_template.py +0 -0
  141. {smartsheet_python_sdk-3.7.2 → smartsheet_python_sdk-3.9.0}/smartsheet/models/enums/operator.py +0 -0
  142. {smartsheet_python_sdk-3.7.2 → smartsheet_python_sdk-3.9.0}/smartsheet/models/enums/paper_type.py +0 -0
  143. {smartsheet_python_sdk-3.7.2 → smartsheet_python_sdk-3.9.0}/smartsheet/models/enums/predecessor_type.py +0 -0
  144. {smartsheet_python_sdk-3.7.2 → smartsheet_python_sdk-3.9.0}/smartsheet/models/enums/publish_accessible_by.py +0 -0
  145. {smartsheet_python_sdk-3.7.2 → smartsheet_python_sdk-3.9.0}/smartsheet/models/enums/schedule_type.py +0 -0
  146. {smartsheet_python_sdk-3.7.2 → smartsheet_python_sdk-3.9.0}/smartsheet/models/enums/share_scope.py +0 -0
  147. {smartsheet_python_sdk-3.7.2 → smartsheet_python_sdk-3.9.0}/smartsheet/models/enums/share_type.py +0 -0
  148. {smartsheet_python_sdk-3.7.2 → smartsheet_python_sdk-3.9.0}/smartsheet/models/enums/sheet_email_format.py +0 -0
  149. {smartsheet_python_sdk-3.7.2 → smartsheet_python_sdk-3.9.0}/smartsheet/models/enums/sheet_filter_operator.py +0 -0
  150. {smartsheet_python_sdk-3.7.2 → smartsheet_python_sdk-3.9.0}/smartsheet/models/enums/sheet_filter_type.py +0 -0
  151. {smartsheet_python_sdk-3.7.2 → smartsheet_python_sdk-3.9.0}/smartsheet/models/enums/sort_direction.py +0 -0
  152. {smartsheet_python_sdk-3.7.2 → smartsheet_python_sdk-3.9.0}/smartsheet/models/enums/symbol.py +0 -0
  153. {smartsheet_python_sdk-3.7.2 → smartsheet_python_sdk-3.9.0}/smartsheet/models/enums/system_column_type.py +0 -0
  154. {smartsheet_python_sdk-3.7.2 → smartsheet_python_sdk-3.9.0}/smartsheet/models/enums/update_request_status.py +0 -0
  155. {smartsheet_python_sdk-3.7.2 → smartsheet_python_sdk-3.9.0}/smartsheet/models/enums/user_status.py +0 -0
  156. {smartsheet_python_sdk-3.7.2 → smartsheet_python_sdk-3.9.0}/smartsheet/models/enums/widget_type.py +0 -0
  157. {smartsheet_python_sdk-3.7.2 → smartsheet_python_sdk-3.9.0}/smartsheet/models/error.py +0 -0
  158. {smartsheet_python_sdk-3.7.2 → smartsheet_python_sdk-3.9.0}/smartsheet/models/error_result.py +0 -0
  159. {smartsheet_python_sdk-3.7.2 → smartsheet_python_sdk-3.9.0}/smartsheet/models/event.py +0 -0
  160. {smartsheet_python_sdk-3.7.2 → smartsheet_python_sdk-3.9.0}/smartsheet/models/event_result.py +0 -0
  161. {smartsheet_python_sdk-3.7.2 → smartsheet_python_sdk-3.9.0}/smartsheet/models/explicit_null.py +0 -0
  162. {smartsheet_python_sdk-3.7.2 → smartsheet_python_sdk-3.9.0}/smartsheet/models/folder.py +0 -0
  163. {smartsheet_python_sdk-3.7.2 → smartsheet_python_sdk-3.9.0}/smartsheet/models/font_family.py +0 -0
  164. {smartsheet_python_sdk-3.7.2 → smartsheet_python_sdk-3.9.0}/smartsheet/models/format_details.py +0 -0
  165. {smartsheet_python_sdk-3.7.2 → smartsheet_python_sdk-3.9.0}/smartsheet/models/format_tables.py +0 -0
  166. {smartsheet_python_sdk-3.7.2 → smartsheet_python_sdk-3.9.0}/smartsheet/models/group.py +0 -0
  167. {smartsheet_python_sdk-3.7.2 → smartsheet_python_sdk-3.9.0}/smartsheet/models/group_member.py +0 -0
  168. {smartsheet_python_sdk-3.7.2 → smartsheet_python_sdk-3.9.0}/smartsheet/models/home.py +0 -0
  169. {smartsheet_python_sdk-3.7.2 → smartsheet_python_sdk-3.9.0}/smartsheet/models/hyperlink.py +0 -0
  170. {smartsheet_python_sdk-3.7.2 → smartsheet_python_sdk-3.9.0}/smartsheet/models/image.py +0 -0
  171. {smartsheet_python_sdk-3.7.2 → smartsheet_python_sdk-3.9.0}/smartsheet/models/image_url.py +0 -0
  172. {smartsheet_python_sdk-3.7.2 → smartsheet_python_sdk-3.9.0}/smartsheet/models/image_url_map.py +0 -0
  173. {smartsheet_python_sdk-3.7.2 → smartsheet_python_sdk-3.9.0}/smartsheet/models/image_widget_content.py +0 -0
  174. {smartsheet_python_sdk-3.7.2 → smartsheet_python_sdk-3.9.0}/smartsheet/models/index_result.py +0 -0
  175. {smartsheet_python_sdk-3.7.2 → smartsheet_python_sdk-3.9.0}/smartsheet/models/json_object.py +0 -0
  176. {smartsheet_python_sdk-3.7.2 → smartsheet_python_sdk-3.9.0}/smartsheet/models/multi_contact_object_value.py +0 -0
  177. {smartsheet_python_sdk-3.7.2 → smartsheet_python_sdk-3.9.0}/smartsheet/models/multi_picklist_object_value.py +0 -0
  178. {smartsheet_python_sdk-3.7.2 → smartsheet_python_sdk-3.9.0}/smartsheet/models/multi_row_email.py +0 -0
  179. {smartsheet_python_sdk-3.7.2 → smartsheet_python_sdk-3.9.0}/smartsheet/models/number_object_value.py +0 -0
  180. {smartsheet_python_sdk-3.7.2 → smartsheet_python_sdk-3.9.0}/smartsheet/models/o_auth_error.py +0 -0
  181. {smartsheet_python_sdk-3.7.2 → smartsheet_python_sdk-3.9.0}/smartsheet/models/object_value.py +0 -0
  182. {smartsheet_python_sdk-3.7.2 → smartsheet_python_sdk-3.9.0}/smartsheet/models/paginated_children_result.py +0 -0
  183. {smartsheet_python_sdk-3.7.2 → smartsheet_python_sdk-3.9.0}/smartsheet/models/predecessor.py +0 -0
  184. {smartsheet_python_sdk-3.7.2 → smartsheet_python_sdk-3.9.0}/smartsheet/models/predecessor_list.py +0 -0
  185. {smartsheet_python_sdk-3.7.2 → smartsheet_python_sdk-3.9.0}/smartsheet/models/primitive_object_value.py +0 -0
  186. {smartsheet_python_sdk-3.7.2 → smartsheet_python_sdk-3.9.0}/smartsheet/models/profile_image.py +0 -0
  187. {smartsheet_python_sdk-3.7.2 → smartsheet_python_sdk-3.9.0}/smartsheet/models/project_settings.py +0 -0
  188. {smartsheet_python_sdk-3.7.2 → smartsheet_python_sdk-3.9.0}/smartsheet/models/recipient.py +0 -0
  189. {smartsheet_python_sdk-3.7.2 → smartsheet_python_sdk-3.9.0}/smartsheet/models/report.py +0 -0
  190. {smartsheet_python_sdk-3.7.2 → smartsheet_python_sdk-3.9.0}/smartsheet/models/report_cell.py +0 -0
  191. {smartsheet_python_sdk-3.7.2 → smartsheet_python_sdk-3.9.0}/smartsheet/models/report_column.py +0 -0
  192. {smartsheet_python_sdk-3.7.2 → smartsheet_python_sdk-3.9.0}/smartsheet/models/report_publish.py +0 -0
  193. {smartsheet_python_sdk-3.7.2 → smartsheet_python_sdk-3.9.0}/smartsheet/models/report_row.py +0 -0
  194. {smartsheet_python_sdk-3.7.2 → smartsheet_python_sdk-3.9.0}/smartsheet/models/report_widget_content.py +0 -0
  195. {smartsheet_python_sdk-3.7.2 → smartsheet_python_sdk-3.9.0}/smartsheet/models/result.py +0 -0
  196. {smartsheet_python_sdk-3.7.2 → smartsheet_python_sdk-3.9.0}/smartsheet/models/row.py +0 -0
  197. {smartsheet_python_sdk-3.7.2 → smartsheet_python_sdk-3.9.0}/smartsheet/models/row_email.py +0 -0
  198. {smartsheet_python_sdk-3.7.2 → smartsheet_python_sdk-3.9.0}/smartsheet/models/row_mapping.py +0 -0
  199. {smartsheet_python_sdk-3.7.2 → smartsheet_python_sdk-3.9.0}/smartsheet/models/schedule.py +0 -0
  200. {smartsheet_python_sdk-3.7.2 → smartsheet_python_sdk-3.9.0}/smartsheet/models/scope.py +0 -0
  201. {smartsheet_python_sdk-3.7.2 → smartsheet_python_sdk-3.9.0}/smartsheet/models/search_result.py +0 -0
  202. {smartsheet_python_sdk-3.7.2 → smartsheet_python_sdk-3.9.0}/smartsheet/models/search_result_item.py +0 -0
  203. {smartsheet_python_sdk-3.7.2 → smartsheet_python_sdk-3.9.0}/smartsheet/models/selection_range.py +0 -0
  204. {smartsheet_python_sdk-3.7.2 → smartsheet_python_sdk-3.9.0}/smartsheet/models/sent_update_request.py +0 -0
  205. {smartsheet_python_sdk-3.7.2 → smartsheet_python_sdk-3.9.0}/smartsheet/models/server_info.py +0 -0
  206. {smartsheet_python_sdk-3.7.2 → smartsheet_python_sdk-3.9.0}/smartsheet/models/share.py +0 -0
  207. {smartsheet_python_sdk-3.7.2 → smartsheet_python_sdk-3.9.0}/smartsheet/models/sheet.py +0 -0
  208. {smartsheet_python_sdk-3.7.2 → smartsheet_python_sdk-3.9.0}/smartsheet/models/sheet_email.py +0 -0
  209. {smartsheet_python_sdk-3.7.2 → smartsheet_python_sdk-3.9.0}/smartsheet/models/sheet_filter.py +0 -0
  210. {smartsheet_python_sdk-3.7.2 → smartsheet_python_sdk-3.9.0}/smartsheet/models/sheet_filter_details.py +0 -0
  211. {smartsheet_python_sdk-3.7.2 → smartsheet_python_sdk-3.9.0}/smartsheet/models/sheet_publish.py +0 -0
  212. {smartsheet_python_sdk-3.7.2 → smartsheet_python_sdk-3.9.0}/smartsheet/models/sheet_summary.py +0 -0
  213. {smartsheet_python_sdk-3.7.2 → smartsheet_python_sdk-3.9.0}/smartsheet/models/sheet_user_permissions.py +0 -0
  214. {smartsheet_python_sdk-3.7.2 → smartsheet_python_sdk-3.9.0}/smartsheet/models/sheet_user_settings.py +0 -0
  215. {smartsheet_python_sdk-3.7.2 → smartsheet_python_sdk-3.9.0}/smartsheet/models/shortcut_data_item.py +0 -0
  216. {smartsheet_python_sdk-3.7.2 → smartsheet_python_sdk-3.9.0}/smartsheet/models/shortcut_widget_content.py +0 -0
  217. {smartsheet_python_sdk-3.7.2 → smartsheet_python_sdk-3.9.0}/smartsheet/models/sight.py +0 -0
  218. {smartsheet_python_sdk-3.7.2 → smartsheet_python_sdk-3.9.0}/smartsheet/models/sight_publish.py +0 -0
  219. {smartsheet_python_sdk-3.7.2 → smartsheet_python_sdk-3.9.0}/smartsheet/models/sort_criterion.py +0 -0
  220. {smartsheet_python_sdk-3.7.2 → smartsheet_python_sdk-3.9.0}/smartsheet/models/sort_specifier.py +0 -0
  221. {smartsheet_python_sdk-3.7.2 → smartsheet_python_sdk-3.9.0}/smartsheet/models/source.py +0 -0
  222. {smartsheet_python_sdk-3.7.2 → smartsheet_python_sdk-3.9.0}/smartsheet/models/string_object_value.py +0 -0
  223. {smartsheet_python_sdk-3.7.2 → smartsheet_python_sdk-3.9.0}/smartsheet/models/summary_field.py +0 -0
  224. {smartsheet_python_sdk-3.7.2 → smartsheet_python_sdk-3.9.0}/smartsheet/models/template.py +0 -0
  225. {smartsheet_python_sdk-3.7.2 → smartsheet_python_sdk-3.9.0}/smartsheet/models/title_rich_text_widget_content.py +0 -0
  226. {smartsheet_python_sdk-3.7.2 → smartsheet_python_sdk-3.9.0}/smartsheet/models/token_paginated_result.py +0 -0
  227. {smartsheet_python_sdk-3.7.2 → smartsheet_python_sdk-3.9.0}/smartsheet/models/update_request.py +0 -0
  228. {smartsheet_python_sdk-3.7.2 → smartsheet_python_sdk-3.9.0}/smartsheet/models/user.py +0 -0
  229. {smartsheet_python_sdk-3.7.2 → smartsheet_python_sdk-3.9.0}/smartsheet/models/user_model.py +0 -0
  230. {smartsheet_python_sdk-3.7.2 → smartsheet_python_sdk-3.9.0}/smartsheet/models/user_plan.py +0 -0
  231. {smartsheet_python_sdk-3.7.2 → smartsheet_python_sdk-3.9.0}/smartsheet/models/user_profile.py +0 -0
  232. {smartsheet_python_sdk-3.7.2 → smartsheet_python_sdk-3.9.0}/smartsheet/models/version.py +0 -0
  233. {smartsheet_python_sdk-3.7.2 → smartsheet_python_sdk-3.9.0}/smartsheet/models/web_content_widget_content.py +0 -0
  234. {smartsheet_python_sdk-3.7.2 → smartsheet_python_sdk-3.9.0}/smartsheet/models/webhook.py +0 -0
  235. {smartsheet_python_sdk-3.7.2 → smartsheet_python_sdk-3.9.0}/smartsheet/models/webhook_secret.py +0 -0
  236. {smartsheet_python_sdk-3.7.2 → smartsheet_python_sdk-3.9.0}/smartsheet/models/webhook_stats.py +0 -0
  237. {smartsheet_python_sdk-3.7.2 → smartsheet_python_sdk-3.9.0}/smartsheet/models/webhook_subscope.py +0 -0
  238. {smartsheet_python_sdk-3.7.2 → smartsheet_python_sdk-3.9.0}/smartsheet/models/widget.py +0 -0
  239. {smartsheet_python_sdk-3.7.2 → smartsheet_python_sdk-3.9.0}/smartsheet/models/widget_content.py +0 -0
  240. {smartsheet_python_sdk-3.7.2 → smartsheet_python_sdk-3.9.0}/smartsheet/models/widget_hyperlink.py +0 -0
  241. {smartsheet_python_sdk-3.7.2 → smartsheet_python_sdk-3.9.0}/smartsheet/models/workspace.py +0 -0
  242. {smartsheet_python_sdk-3.7.2 → smartsheet_python_sdk-3.9.0}/smartsheet/object_value.py +0 -0
  243. {smartsheet_python_sdk-3.7.2 → smartsheet_python_sdk-3.9.0}/smartsheet/passthrough.py +0 -0
  244. {smartsheet_python_sdk-3.7.2 → smartsheet_python_sdk-3.9.0}/smartsheet/search.py +0 -0
  245. {smartsheet_python_sdk-3.7.2 → smartsheet_python_sdk-3.9.0}/smartsheet/server.py +0 -0
  246. {smartsheet_python_sdk-3.7.2 → smartsheet_python_sdk-3.9.0}/smartsheet/session.py +0 -0
  247. {smartsheet_python_sdk-3.7.2 → smartsheet_python_sdk-3.9.0}/smartsheet/sharing.py +0 -0
  248. {smartsheet_python_sdk-3.7.2 → smartsheet_python_sdk-3.9.0}/smartsheet/sheets.py +0 -0
  249. {smartsheet_python_sdk-3.7.2 → smartsheet_python_sdk-3.9.0}/smartsheet/sights.py +0 -0
  250. {smartsheet_python_sdk-3.7.2 → smartsheet_python_sdk-3.9.0}/smartsheet/templates.py +0 -0
  251. {smartsheet_python_sdk-3.7.2 → smartsheet_python_sdk-3.9.0}/smartsheet/token.py +0 -0
  252. {smartsheet_python_sdk-3.7.2 → smartsheet_python_sdk-3.9.0}/smartsheet/webhooks.py +0 -0
  253. {smartsheet_python_sdk-3.7.2 → smartsheet_python_sdk-3.9.0}/smartsheet/workspaces.py +0 -0
  254. {smartsheet_python_sdk-3.7.2 → smartsheet_python_sdk-3.9.0}/smartsheet_python_sdk.egg-info/dependency_links.txt +0 -0
  255. {smartsheet_python_sdk-3.7.2 → smartsheet_python_sdk-3.9.0}/smartsheet_python_sdk.egg-info/requires.txt +0 -0
  256. {smartsheet_python_sdk-3.7.2 → smartsheet_python_sdk-3.9.0}/smartsheet_python_sdk.egg-info/top_level.txt +0 -0
  257. {smartsheet_python_sdk-3.7.2 → smartsheet_python_sdk-3.9.0}/tests/__init__.py +0 -0
  258. {smartsheet_python_sdk-3.7.2 → smartsheet_python_sdk-3.9.0}/tests/mock_api/__init__.py +0 -0
  259. {smartsheet_python_sdk-3.7.2 → smartsheet_python_sdk-3.9.0}/tests/mock_api/mock_api_test_helper.py +0 -0
  260. {smartsheet_python_sdk-3.7.2 → smartsheet_python_sdk-3.9.0}/tests/mock_api/test_mock_api_automation_rules.py +0 -0
  261. {smartsheet_python_sdk-3.7.2 → smartsheet_python_sdk-3.9.0}/tests/mock_api/test_mock_api_columns.py +0 -0
  262. {smartsheet_python_sdk-3.7.2 → smartsheet_python_sdk-3.9.0}/tests/mock_api/test_mock_api_folders.py +0 -0
  263. {smartsheet_python_sdk-3.7.2 → smartsheet_python_sdk-3.9.0}/tests/mock_api/test_mock_api_rows.py +0 -0
  264. {smartsheet_python_sdk-3.7.2 → smartsheet_python_sdk-3.9.0}/tests/mock_api/test_mock_api_sharing.py +0 -0
  265. {smartsheet_python_sdk-3.7.2 → smartsheet_python_sdk-3.9.0}/tests/mock_api/test_mock_api_sheets.py +0 -0
  266. {smartsheet_python_sdk-3.7.2 → smartsheet_python_sdk-3.9.0}/tests/mock_api/test_mock_api_sights.py +0 -0
  267. {smartsheet_python_sdk-3.7.2 → smartsheet_python_sdk-3.9.0}/tests/mock_api/test_mock_api_workspaces.py +0 -0
  268. {smartsheet_python_sdk-3.7.2 → smartsheet_python_sdk-3.9.0}/tests/mock_api/test_mock_change_agent.py +0 -0
  269. {smartsheet_python_sdk-3.7.2 → smartsheet_python_sdk-3.9.0}/tests/mock_api/test_mock_serialization.py +0 -0
  270. {smartsheet_python_sdk-3.7.2 → smartsheet_python_sdk-3.9.0}/tests/mock_api/users/common_test_constants.py +0 -0
  271. {smartsheet_python_sdk-3.7.2 → smartsheet_python_sdk-3.9.0}/tests/mock_api/users/test_deactivate_user.py +0 -0
  272. {smartsheet_python_sdk-3.7.2 → smartsheet_python_sdk-3.9.0}/tests/mock_api/users/test_reactivate_user.py +0 -0
  273. {smartsheet_python_sdk-3.7.2 → smartsheet_python_sdk-3.9.0}/tests/mock_api/users/test_remove_user_from_plan.py +0 -0
  274. {smartsheet_python_sdk-3.7.2 → smartsheet_python_sdk-3.9.0}/tests/test_util_serialize_dict.py +0 -0
@@ -7,6 +7,42 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
7
7
 
8
8
  ## [x.x.x] - Unreleased
9
9
 
10
+ ## [3.9.0] - 2026-04-30
11
+
12
+ ### Added
13
+
14
+ - Support for POST /2.0/reports endpoint
15
+ - WireMock integration tests for POST /2.0/reports endpoint including request body serialization validation
16
+ - Support for POST /2.0/reports/{reportId}/columns endpoint
17
+ - New `add_report_columns()` method in Reports class to add columns to a report
18
+ - WireMock integration tests for POST /2.0/reports/{reportId}/columns endpoint
19
+ - Support for PUT /2.0/reports/{reportId}/definition endpoint
20
+ - New `update_report_definition()` method in Reports class to update report definitions
21
+ - WireMock integration tests for report definition update endpoint including nested filter validation
22
+ - Support for POST /2.0/reports/{reportId}/scope endpoint
23
+ - Support for DELETE /2.0/reports/{reportId}/scope endpoint
24
+ - WireMock integration tests for POST /2.0/reports/{reportId}/scope endpoint
25
+ - WireMock integration tests for DELETE /2.0/reports/{reportId}/scope endpoint
26
+ - Support for DELETE /2.0/reports/{reportId} endpoint
27
+ - Add `CONTRIBUTOR` seat type to `SeatType`, `UpgradeSeatType`, and `DowngradeSeatType` enums
28
+ - Add mock API tests for `CONTRIBUTOR` seat type in list users and downgrade user operations
29
+ - Add `displayContributorSeatType` query parameter to `list_users()` and `list_user_plans()` methods
30
+ - When `true`, VIEWER seat types to CONTRIBUTOR in the response
31
+ - When `false` or omitted, re-writes CONTRIBUTOR seat types to VIEWER in the response
32
+
33
+ ### Fixed
34
+
35
+ - Fix AttributeError and TypeError exception handling
36
+
37
+ ## [3.8.0] - 2026-04-17
38
+
39
+ ### Added
40
+
41
+ - Added support for the GET /2.0/favorites/{favoriteType}/{favoriteId} endpoint
42
+ - Added directId and name fields to the Favorite model
43
+ - Added FavoriteType enum
44
+ - WireMock integration tests for contract testing for GET /2.0/favorites/{favoriteType}/{favoriteId} endpoint
45
+
10
46
  ## [3.7.2] - 2026-01-29
11
47
 
12
48
  ### Added
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: smartsheet-python-sdk
3
- Version: 3.7.2
3
+ Version: 3.9.0
4
4
  Summary: Library that uses Python to connect to Smartsheet services (using API 2.0).
5
5
  License-Expression: Apache-2.0
6
6
  Classifier: Development Status :: 5 - Production/Stable
@@ -185,6 +185,38 @@ PublishAccessibleBy
185
185
  :undoc-members:
186
186
  :show-inheritance:
187
187
 
188
+ ReportAggregationType
189
+ -----------------------------------------------------
190
+
191
+ .. automodule:: smartsheet.models.enums.report_aggregation_type
192
+ :members:
193
+ :undoc-members:
194
+ :show-inheritance:
195
+
196
+ ReportAssetType
197
+ ------------------------------------------------------
198
+
199
+ .. automodule:: smartsheet.models.enums.report_asset_type
200
+ :members:
201
+ :undoc-members:
202
+ :show-inheritance:
203
+
204
+ ReportBooleanOperator
205
+ -----------------------------------------------------
206
+
207
+ .. automodule:: smartsheet.models.enums.report_boolean_operator
208
+ :members:
209
+ :undoc-members:
210
+ :show-inheritance:
211
+
212
+ ReportFilterOperator
213
+ ----------------------------------------------------
214
+
215
+ .. automodule:: smartsheet.models.enums.report_filter_operator
216
+ :members:
217
+ :undoc-members:
218
+ :show-inheritance:
219
+
188
220
  ScheduleType
189
221
  ---------------------------------------------
190
222
 
@@ -553,6 +553,14 @@ Report
553
553
  :undoc-members:
554
554
  :show-inheritance:
555
555
 
556
+ ReportSummarizingCriterion
557
+ --------------------------
558
+
559
+ .. automodule:: smartsheet.models.report_summarizing_criterion
560
+ :members:
561
+ :undoc-members:
562
+ :show-inheritance:
563
+
556
564
  ReportCell
557
565
  ----------
558
566
 
@@ -569,6 +577,54 @@ ReportColumn
569
577
  :undoc-members:
570
578
  :show-inheritance:
571
579
 
580
+ ReportColumnIdentifier
581
+ ----------------------
582
+
583
+ .. automodule:: smartsheet.models.report_column_identifier
584
+ :members:
585
+ :undoc-members:
586
+ :show-inheritance:
587
+
588
+ ReportDefinition
589
+ ----------------
590
+
591
+ .. automodule:: smartsheet.models.report_definition
592
+ :members:
593
+ :undoc-members:
594
+ :show-inheritance:
595
+
596
+ ReportFilterCriterion
597
+ ---------------------
598
+
599
+ .. automodule:: smartsheet.models.report_filter_criterion
600
+ :members:
601
+ :undoc-members:
602
+ :show-inheritance:
603
+
604
+ ReportFilterExpression
605
+ ----------------------
606
+
607
+ .. automodule:: smartsheet.models.report_filter_expression
608
+ :members:
609
+ :undoc-members:
610
+ :show-inheritance:
611
+
612
+ ReportGroupingCriterion
613
+ -----------------------
614
+
615
+ .. automodule:: smartsheet.models.report_grouping_criterion
616
+ :members:
617
+ :undoc-members:
618
+ :show-inheritance:
619
+
620
+ ReportScopeInclusion
621
+ ------------
622
+
623
+ .. automodule:: smartsheet.models.report_scope_inclusion
624
+ :members:
625
+ :undoc-members:
626
+ :show-inheritance:
627
+
572
628
  ReportPublish
573
629
  -------------
574
630
 
@@ -585,6 +641,14 @@ ReportRow
585
641
  :undoc-members:
586
642
  :show-inheritance:
587
643
 
644
+ ReportSortingCriterion
645
+ ----------------------
646
+
647
+ .. automodule:: smartsheet.models.report_sorting_criterion
648
+ :members:
649
+ :undoc-members:
650
+ :show-inheritance:
651
+
588
652
  ReportWidgetContent
589
653
  -------------------
590
654
 
@@ -23,6 +23,7 @@ import logging
23
23
 
24
24
  from .util import fresh_operation
25
25
  from .models import Error, Favorite, IndexResult, Result
26
+ from .models.enums import FavoriteType
26
27
 
27
28
 
28
29
  class Favorites:
@@ -92,25 +93,21 @@ class Favorites:
92
93
 
93
94
  return response
94
95
 
95
- def remove_favorites(self, favorite_type, object_ids) -> Union[Result[None], Error]:
96
+ def remove_favorites(self, favorite_type: FavoriteType, object_ids: list[int]) -> Union[Result[None], Error]:
96
97
  """Delete one or more of Favorite objects of the specified type.
97
98
 
98
- Specify a favorite type of: folder, report, sheet,
99
- template, workspace. The object IDs passed in will be deleted in a
100
- batch operation.
101
-
102
99
  Args:
103
- favorite_type (str): Name of favorite type to
104
- manipulate.
100
+ favorite_type FavoriteType: The favorite type enum value.
105
101
  object_ids (list[int]): a comma-separated list
106
102
  of object IDs representing the items to work on.
107
103
 
108
104
  Returns:
109
105
  Union[Result[None], Error]: The result of the operation, or an Error object if the request fails.
110
106
  """
107
+
111
108
  _op = fresh_operation("remove_favorites")
112
109
  _op["method"] = "DELETE"
113
- _op["path"] = "/favorites/" + str(favorite_type)
110
+ _op["path"] = "/favorites/" + favorite_type
114
111
  _op["query_params"]["objectIds"] = object_ids
115
112
 
116
113
  expected = ["Result", None]
@@ -118,3 +115,30 @@ class Favorites:
118
115
  response = self._base.request(prepped_request, expected, _op)
119
116
 
120
117
  return response
118
+
119
+ def is_favorite(self, favorite_type: FavoriteType, favorite_id: int, include=None) -> Union[Favorite, Error]:
120
+ """Check whether an item has been tagged as a favorite for the current user.
121
+
122
+ Args:
123
+ favorite_type FavoriteType: The favorite type enum value.
124
+ favorite_id (int): ID of the favorite being accessed.
125
+ include (str): A comma-separated list of optional elements to
126
+ include in the response. Valid values: "directId", "name".
127
+
128
+ Returns:
129
+ Union[Favorite, Error]: The Favorite object if the item is favorited,
130
+ or an Error object if the request fails or the item is not favorited.
131
+ """
132
+
133
+ _op = fresh_operation("is_favorite")
134
+ _op["method"] = "GET"
135
+ _op["path"] = "/favorites/" + favorite_type + "/" + str(favorite_id)
136
+ if include is not None:
137
+ _op["query_params"]["include"] = include
138
+
139
+ expected = "Favorite"
140
+
141
+ prepped_request = self._base.prepare_request(_op)
142
+ response = self._base.request(prepped_request, expected, _op)
143
+
144
+ return response
@@ -79,11 +79,22 @@ from .predecessor import Predecessor
79
79
  from .predecessor_list import PredecessorList
80
80
  from .project_settings import ProjectSettings
81
81
  from .recipient import Recipient
82
+ from .create_report_request import CreateReportRequest
83
+ from .create_report_result import CreateReportResult
82
84
  from .report import Report
85
+ from .report_summarizing_criterion import ReportSummarizingCriterion
83
86
  from .report_cell import ReportCell
84
87
  from .report_column import ReportColumn
88
+ from .report_column_identifier import ReportColumnIdentifier
89
+ from .report_definition import ReportDefinition
90
+ from .report_destination import ReportDestination
91
+ from .report_filter_criterion import ReportFilterCriterion
92
+ from .report_filter_expression import ReportFilterExpression
93
+ from .report_grouping_criterion import ReportGroupingCriterion
85
94
  from .report_publish import ReportPublish
86
95
  from .report_row import ReportRow
96
+ from .report_sorting_criterion import ReportSortingCriterion
97
+ from .report_scope_inclusion import ReportScopeInclusion
87
98
  from .result import Result
88
99
  from .row import Row
89
100
  from .row_email import RowEmail
@@ -0,0 +1,107 @@
1
+ # pylint: disable=C0111,R0902,R0904,R0912,R0913,R0915,E1101
2
+ # Smartsheet Python SDK.
3
+ #
4
+ # Copyright 2018 Smartsheet.com, Inc.
5
+ #
6
+ # Licensed under the Apache License, Version 2.0 (the "License"): you may
7
+ # not use this file except in compliance with the License. You may obtain
8
+ # a copy of the License at
9
+ #
10
+ # http://www.apache.org/licenses/LICENSE-2.0
11
+ #
12
+ # Unless required by applicable law or agreed to in writing, software
13
+ # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
14
+ # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
15
+ # License for the specific language governing permissions and limitations
16
+ # under the License.
17
+
18
+ from __future__ import absolute_import
19
+
20
+ from typing import Optional
21
+
22
+ from ..types import Boolean, String, TypedList, TypedObject, json
23
+ from ..util import deserialize, serialize
24
+
25
+ from .report_column import ReportColumn
26
+ from .report_scope_inclusion import ReportScopeInclusion
27
+ from .report_destination import ReportDestination
28
+ from .report_definition import ReportDefinition
29
+
30
+
31
+ class CreateReportRequest:
32
+ """Smartsheet CreateReportRequest data model."""
33
+
34
+ def __init__(self, props=None, base_obj=None):
35
+ """Initialize the CreateReportRequest model."""
36
+ self._base = None
37
+ if base_obj is not None:
38
+ self._base = base_obj
39
+
40
+ self._name = String()
41
+ self._columns = TypedList(ReportColumn)
42
+ self._scope = TypedList(ReportScopeInclusion)
43
+ self._report_definition = TypedObject(ReportDefinition)
44
+ self._is_summary_report = Boolean()
45
+ self._destination = TypedObject(ReportDestination)
46
+
47
+ if props:
48
+ deserialize(self, props)
49
+
50
+ self.__initialized = True
51
+
52
+ @property
53
+ def name(self) -> Optional[str]:
54
+ return self._name.value
55
+
56
+ @name.setter
57
+ def name(self, value: str) -> None:
58
+ self._name.value = value
59
+
60
+ @property
61
+ def columns(self) -> TypedList:
62
+ return self._columns
63
+
64
+ @columns.setter
65
+ def columns(self, value) -> None:
66
+ self._columns.load(value)
67
+
68
+ @property
69
+ def scope(self) -> TypedList:
70
+ return self._scope
71
+
72
+ @scope.setter
73
+ def scope(self, value) -> None:
74
+ self._scope.load(value)
75
+
76
+ @property
77
+ def report_definition(self):
78
+ return self._report_definition.value
79
+
80
+ @report_definition.setter
81
+ def report_definition(self, value) -> None:
82
+ self._report_definition.value = value
83
+
84
+ @property
85
+ def is_summary_report(self) -> Optional[bool]:
86
+ return self._is_summary_report.value
87
+
88
+ @is_summary_report.setter
89
+ def is_summary_report(self, value: bool) -> None:
90
+ self._is_summary_report.value = value
91
+
92
+ @property
93
+ def destination(self):
94
+ return self._destination.value
95
+
96
+ @destination.setter
97
+ def destination(self, value) -> None:
98
+ self._destination.value = value
99
+
100
+ def to_dict(self):
101
+ return serialize(self)
102
+
103
+ def to_json(self):
104
+ return json.dumps(self.to_dict())
105
+
106
+ def __str__(self):
107
+ return self.to_json()
@@ -0,0 +1,105 @@
1
+ # pylint: disable=C0111,R0902,R0904,R0912,R0913,R0915,E1101
2
+ # Smartsheet Python SDK.
3
+ #
4
+ # Copyright 2018 Smartsheet.com, Inc.
5
+ #
6
+ # Licensed under the Apache License, Version 2.0 (the "License"): you may
7
+ # not use this file except in compliance with the License. You may obtain
8
+ # a copy of the License at
9
+ #
10
+ # http://www.apache.org/licenses/LICENSE-2.0
11
+ #
12
+ # Unless required by applicable law or agreed to in writing, software
13
+ # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
14
+ # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
15
+ # License for the specific language governing permissions and limitations
16
+ # under the License.
17
+
18
+ from __future__ import absolute_import
19
+
20
+ from typing import Optional
21
+
22
+ from smartsheet.models.enums.access_level import AccessLevel
23
+ from .report_column import ReportColumn
24
+
25
+ from ..types import Boolean, EnumeratedValue, Number, String, TypedList, json
26
+ from ..util import deserialize, serialize
27
+
28
+
29
+ class CreateReportResult:
30
+ """Smartsheet CreateReportResult data model."""
31
+
32
+ def __init__(self, props=None, base_obj=None):
33
+ """Initialize the CreateReportResult model."""
34
+ self._base = None
35
+ if base_obj is not None:
36
+ self._base = base_obj
37
+
38
+ self._id = Number()
39
+ self._name = String()
40
+ self._access_level = EnumeratedValue(AccessLevel)
41
+ self._permalink = String()
42
+ self._is_summary_report = Boolean()
43
+ self._columns = TypedList(ReportColumn)
44
+
45
+ if props:
46
+ deserialize(self, props)
47
+
48
+ self.__initialized = True
49
+
50
+ @property
51
+ def id(self) -> Optional[int]:
52
+ return self._id.value
53
+
54
+ @id.setter
55
+ def id(self, value: int) -> None:
56
+ self._id.value = value
57
+
58
+ @property
59
+ def name(self) -> Optional[str]:
60
+ return self._name.value
61
+
62
+ @name.setter
63
+ def name(self, value: str) -> None:
64
+ self._name.value = value
65
+
66
+ @property
67
+ def access_level(self):
68
+ return self._access_level.value
69
+
70
+ @access_level.setter
71
+ def access_level(self, value) -> None:
72
+ self._access_level.set(value)
73
+
74
+ @property
75
+ def permalink(self) -> Optional[str]:
76
+ return self._permalink.value
77
+
78
+ @permalink.setter
79
+ def permalink(self, value: str) -> None:
80
+ self._permalink.value = value
81
+
82
+ @property
83
+ def is_summary_report(self) -> Optional[bool]:
84
+ return self._is_summary_report.value
85
+
86
+ @is_summary_report.setter
87
+ def is_summary_report(self, value: bool) -> None:
88
+ self._is_summary_report.value = value
89
+
90
+ @property
91
+ def columns(self) -> TypedList:
92
+ return self._columns
93
+
94
+ @columns.setter
95
+ def columns(self, value) -> None:
96
+ self._columns.load(value)
97
+
98
+ def to_dict(self):
99
+ return serialize(self)
100
+
101
+ def to_json(self):
102
+ return json.dumps(self.to_dict())
103
+
104
+ def __str__(self):
105
+ return self.to_json()
@@ -36,11 +36,17 @@ from .day_ordinal import DayOrdinal
36
36
  from .event_action import EventAction
37
37
  from .event_object_type import EventObjectType
38
38
  from .event_source import EventSource
39
+ from .favorite_type import FavoriteType
39
40
  from .global_template import GlobalTemplate
40
41
  from .operator import Operator
41
42
  from .paper_type import PaperType
42
43
  from .predecessor_type import PredecessorType
43
44
  from .publish_accessible_by import PublishAccessibleBy
45
+ from .report_aggregation_type import ReportAggregationType
46
+ from .report_asset_type import ReportAssetType
47
+ from .report_boolean_operator import ReportBooleanOperator
48
+ from .report_destination_type import ReportDestinationType
49
+ from .report_filter_operator import ReportFilterOperator
44
50
  from .schedule_type import ScheduleType
45
51
  from .share_scope import ShareScope
46
52
  from .share_type import ShareType
@@ -0,0 +1,26 @@
1
+ # pylint: disable=C0111,R0902,R0904,R0912,R0913,R0915,E1101
2
+ # Smartsheet Python SDK.
3
+ #
4
+ # Copyright 2018 Smartsheet.com, Inc.
5
+ #
6
+ # Licensed under the Apache License, Version 2.0 (the "License"): you may
7
+ # not use this file except in compliance with the License. You may obtain
8
+ # a copy of the License at
9
+ #
10
+ # http://www.apache.org/licenses/LICENSE-2.0
11
+ #
12
+ # Unless required by applicable law or agreed to in writing, software
13
+ # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
14
+ # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
15
+ # License for the specific language governing permissions and limitations
16
+ # under the License.
17
+ from enum import Enum
18
+
19
+
20
+ class FavoriteType(str, Enum):
21
+ FOLDER = "folder"
22
+ REPORT = "report"
23
+ SHEET = "sheet"
24
+ SIGHT = "sight"
25
+ TEMPLATE = "template"
26
+ WORKSPACE = "workspace"
@@ -0,0 +1,27 @@
1
+ # pylint: disable=C0111,R0902,R0904,R0912,R0913,R0915,E1101
2
+ # Smartsheet Python SDK.
3
+ #
4
+ # Copyright 2018 Smartsheet.com, Inc.
5
+ #
6
+ # Licensed under the Apache License, Version 2.0 (the "License"): you may
7
+ # not use this file except in compliance with the License. You may obtain
8
+ # a copy of the License at
9
+ #
10
+ # http://www.apache.org/licenses/LICENSE-2.0
11
+ #
12
+ # Unless required by applicable law or agreed to in writing, software
13
+ # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
14
+ # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
15
+ # License for the specific language governing permissions and limitations
16
+ # under the License.
17
+ from enum import Enum
18
+
19
+
20
+ class ReportAggregationType(str, Enum):
21
+ SUM = 'SUM'
22
+ AVG = 'AVG'
23
+ MIN = 'MIN'
24
+ MAX = 'MAX'
25
+ COUNT = 'COUNT'
26
+ FIRST = 'FIRST'
27
+ LAST = 'LAST'
@@ -0,0 +1,22 @@
1
+ # pylint: disable=C0111,R0902,R0904,R0912,R0913,R0915,E1101
2
+ # Smartsheet Python SDK.
3
+ #
4
+ # Copyright 2018 Smartsheet.com, Inc.
5
+ #
6
+ # Licensed under the Apache License, Version 2.0 (the "License"): you may
7
+ # not use this file except in compliance with the License. You may obtain
8
+ # a copy of the License at
9
+ #
10
+ # http://www.apache.org/licenses/LICENSE-2.0
11
+ #
12
+ # Unless required by applicable law or agreed to in writing, software
13
+ # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
14
+ # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
15
+ # License for the specific language governing permissions and limitations
16
+ # under the License.
17
+ from enum import Enum
18
+
19
+
20
+ class ReportAssetType(str, Enum):
21
+ SHEET = 'sheet'
22
+ WORKSPACE = 'workspace'
@@ -0,0 +1,22 @@
1
+ # pylint: disable=C0111,R0902,R0904,R0912,R0913,R0915,E1101
2
+ # Smartsheet Python SDK.
3
+ #
4
+ # Copyright 2018 Smartsheet.com, Inc.
5
+ #
6
+ # Licensed under the Apache License, Version 2.0 (the "License"): you may
7
+ # not use this file except in compliance with the License. You may obtain
8
+ # a copy of the License at
9
+ #
10
+ # http://www.apache.org/licenses/LICENSE-2.0
11
+ #
12
+ # Unless required by applicable law or agreed to in writing, software
13
+ # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
14
+ # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
15
+ # License for the specific language governing permissions and limitations
16
+ # under the License.
17
+ from enum import Enum
18
+
19
+
20
+ class ReportBooleanOperator(str, Enum):
21
+ AND = 'AND'
22
+ OR = 'OR'
@@ -0,0 +1,22 @@
1
+ # pylint: disable=C0111,R0902,R0904,R0912,R0913,R0915,E1101
2
+ # Smartsheet Python SDK.
3
+ #
4
+ # Copyright 2018 Smartsheet.com, Inc.
5
+ #
6
+ # Licensed under the Apache License, Version 2.0 (the "License"): you may
7
+ # not use this file except in compliance with the License. You may obtain
8
+ # a copy of the License at
9
+ #
10
+ # http://www.apache.org/licenses/LICENSE-2.0
11
+ #
12
+ # Unless required by applicable law or agreed to in writing, software
13
+ # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
14
+ # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
15
+ # License for the specific language governing permissions and limitations
16
+ # under the License.
17
+ from enum import Enum
18
+
19
+
20
+ class ReportDestinationType(str, Enum):
21
+ WORKSPACE = 'workspace'
22
+ FOLDER = 'folder'
@@ -0,0 +1,56 @@
1
+ # pylint: disable=C0111,R0902,R0904,R0912,R0913,R0915,E1101
2
+ # Smartsheet Python SDK.
3
+ #
4
+ # Copyright 2018 Smartsheet.com, Inc.
5
+ #
6
+ # Licensed under the Apache License, Version 2.0 (the "License"): you may
7
+ # not use this file except in compliance with the License. You may obtain
8
+ # a copy of the License at
9
+ #
10
+ # http://www.apache.org/licenses/LICENSE-2.0
11
+ #
12
+ # Unless required by applicable law or agreed to in writing, software
13
+ # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
14
+ # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
15
+ # License for the specific language governing permissions and limitations
16
+ # under the License.
17
+ from enum import Enum
18
+
19
+
20
+ class ReportFilterOperator(str, Enum):
21
+ EQUAL = 'EQUAL'
22
+ NOT_EQUAL = 'NOT_EQUAL'
23
+ GREATER_THAN = 'GREATER_THAN'
24
+ LESS_THAN = 'LESS_THAN'
25
+ CONTAINS = 'CONTAINS'
26
+ BETWEEN = 'BETWEEN'
27
+ TODAY = 'TODAY'
28
+ PAST = 'PAST'
29
+ FUTURE = 'FUTURE'
30
+ LAST_N_DAYS = 'LAST_N_DAYS'
31
+ NEXT_N_DAYS = 'NEXT_N_DAYS'
32
+ IS_BLANK = 'IS_BLANK'
33
+ IS_NOT_BLANK = 'IS_NOT_BLANK'
34
+ IS_NUMBER = 'IS_NUMBER'
35
+ IS_NOT_NUMBER = 'IS_NOT_NUMBER'
36
+ IS_DATE = 'IS_DATE'
37
+ IS_NOT_DATE = 'IS_NOT_DATE'
38
+ IS_CHECKED = 'IS_CHECKED'
39
+ IS_UNCHECKED = 'IS_UNCHECKED'
40
+ IS_ONE_OF = 'IS_ONE_OF'
41
+ IS_NOT_ONE_OF = 'IS_NOT_ONE_OF'
42
+ LESS_THAN_OR_EQUAL = 'LESS_THAN_OR_EQUAL'
43
+ GREATER_THAN_OR_EQUAL = 'GREATER_THAN_OR_EQUAL'
44
+ DOES_NOT_CONTAIN = 'DOES_NOT_CONTAIN'
45
+ NOT_BETWEEN = 'NOT_BETWEEN'
46
+ NOT_TODAY = 'NOT_TODAY'
47
+ NOT_PAST = 'NOT_PAST'
48
+ NOT_FUTURE = 'NOT_FUTURE'
49
+ NOT_LAST_N_DAYS = 'NOT_LAST_N_DAYS'
50
+ NOT_NEXT_N_DAYS = 'NOT_NEXT_N_DAYS'
51
+ HAS_ANY_OF = 'HAS_ANY_OF'
52
+ HAS_NONE_OF = 'HAS_NONE_OF'
53
+ HAS_ALL_OF = 'HAS_ALL_OF'
54
+ NOT_ALL_OF = 'NOT_ALL_OF'
55
+ MULTI_IS_EQUAL = 'MULTI_IS_EQUAL'
56
+ MULTI_IS_NOT_EQUAL = 'MULTI_IS_NOT_EQUAL'