waldur-api-client 7.8.4__py3-none-any.whl → 7.8.5__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of waldur-api-client might be problematic. Click here for more details.

Files changed (257) hide show
  1. waldur_api_client/api/backend_resources/backend_resources_import_resource.py +3 -3
  2. waldur_api_client/api/booking_resources/booking_resources_count.py +90 -0
  3. waldur_api_client/api/booking_resources/booking_resources_list.py +90 -0
  4. waldur_api_client/api/call_managing_organisations/call_managing_organisations_add_user.py +17 -10
  5. waldur_api_client/api/customers/customers_add_user.py +17 -10
  6. waldur_api_client/api/marketplace_component_usages/marketplace_component_usages_count.py +30 -0
  7. waldur_api_client/api/marketplace_component_usages/marketplace_component_usages_list.py +30 -0
  8. waldur_api_client/api/marketplace_customer_component_usage_policies/__init__.py +1 -0
  9. waldur_api_client/api/marketplace_customer_component_usage_policies/marketplace_customer_component_usage_policies_actions_count.py +125 -0
  10. waldur_api_client/api/marketplace_customer_component_usage_policies/marketplace_customer_component_usage_policies_actions_retrieve.py +119 -0
  11. waldur_api_client/api/marketplace_customer_component_usage_policies/marketplace_customer_component_usage_policies_count.py +239 -0
  12. waldur_api_client/api/marketplace_customer_component_usage_policies/marketplace_customer_component_usage_policies_create.py +152 -0
  13. waldur_api_client/api/marketplace_customer_component_usage_policies/marketplace_customer_component_usage_policies_destroy.py +89 -0
  14. waldur_api_client/api/marketplace_customer_component_usage_policies/marketplace_customer_component_usage_policies_list.py +242 -0
  15. waldur_api_client/api/marketplace_customer_component_usage_policies/marketplace_customer_component_usage_policies_partial_update.py +166 -0
  16. waldur_api_client/api/marketplace_customer_component_usage_policies/marketplace_customer_component_usage_policies_retrieve.py +144 -0
  17. waldur_api_client/api/marketplace_customer_component_usage_policies/marketplace_customer_component_usage_policies_update.py +166 -0
  18. waldur_api_client/api/marketplace_orders/marketplace_orders_set_backend_id.py +105 -0
  19. waldur_api_client/api/marketplace_plans/marketplace_plans_update_discounts.py +123 -0
  20. waldur_api_client/api/marketplace_provider_offerings/marketplace_provider_offerings_add_partition.py +168 -0
  21. waldur_api_client/api/marketplace_provider_offerings/marketplace_provider_offerings_add_software_catalog.py +168 -0
  22. waldur_api_client/api/marketplace_provider_offerings/marketplace_provider_offerings_add_user.py +19 -10
  23. waldur_api_client/api/marketplace_provider_offerings/marketplace_provider_offerings_component_stats_list.py +15 -0
  24. waldur_api_client/api/marketplace_provider_offerings/marketplace_provider_offerings_costs_list.py +15 -0
  25. waldur_api_client/api/marketplace_provider_offerings/marketplace_provider_offerings_count.py +15 -0
  26. waldur_api_client/api/marketplace_provider_offerings/marketplace_provider_offerings_create_offering_component.py +1 -1
  27. waldur_api_client/api/marketplace_provider_offerings/marketplace_provider_offerings_customers_list.py +15 -0
  28. waldur_api_client/api/marketplace_provider_offerings/marketplace_provider_offerings_groups_count.py +15 -0
  29. waldur_api_client/api/marketplace_provider_offerings/marketplace_provider_offerings_groups_list.py +15 -0
  30. waldur_api_client/api/marketplace_provider_offerings/marketplace_provider_offerings_list.py +15 -0
  31. waldur_api_client/api/marketplace_provider_offerings/marketplace_provider_offerings_remove_partition.py +107 -0
  32. waldur_api_client/api/marketplace_provider_offerings/marketplace_provider_offerings_remove_software_catalog.py +107 -0
  33. waldur_api_client/api/marketplace_provider_offerings/marketplace_provider_offerings_update_partition_partial_update.py +168 -0
  34. waldur_api_client/api/marketplace_provider_offerings/marketplace_provider_offerings_update_software_catalog_partial_update.py +168 -0
  35. waldur_api_client/api/marketplace_provider_resources/marketplace_provider_resources_count.py +90 -0
  36. waldur_api_client/api/marketplace_provider_resources/marketplace_provider_resources_list.py +90 -0
  37. waldur_api_client/api/marketplace_provider_resources/marketplace_provider_resources_set_downscaled.py +107 -0
  38. waldur_api_client/api/marketplace_provider_resources/marketplace_provider_resources_set_paused.py +107 -0
  39. waldur_api_client/api/marketplace_provider_resources/marketplace_provider_resources_set_restrict_member_access.py +107 -0
  40. waldur_api_client/api/marketplace_public_offerings/marketplace_public_offerings_count.py +15 -0
  41. waldur_api_client/api/marketplace_public_offerings/marketplace_public_offerings_list.py +15 -0
  42. waldur_api_client/api/marketplace_resources/marketplace_resources_count.py +90 -0
  43. waldur_api_client/api/marketplace_resources/marketplace_resources_list.py +90 -0
  44. waldur_api_client/api/marketplace_resources/marketplace_resources_set_downscaled.py +107 -0
  45. waldur_api_client/api/marketplace_resources/marketplace_resources_set_paused.py +107 -0
  46. waldur_api_client/api/marketplace_resources/marketplace_resources_set_restrict_member_access.py +107 -0
  47. waldur_api_client/api/marketplace_service_providers/marketplace_service_providers_add_user.py +17 -10
  48. waldur_api_client/api/marketplace_service_providers/marketplace_service_providers_customer_projects_list.py +15 -0
  49. waldur_api_client/api/marketplace_service_providers/marketplace_service_providers_offerings_list.py +15 -0
  50. waldur_api_client/api/marketplace_service_providers/marketplace_service_providers_projects_list.py +14 -24
  51. waldur_api_client/api/marketplace_service_providers/marketplace_service_providers_set_offerings_username.py +8 -67
  52. waldur_api_client/api/marketplace_site_agent_identities/__init__.py +1 -0
  53. waldur_api_client/api/marketplace_site_agent_identities/marketplace_site_agent_identities_count.py +240 -0
  54. waldur_api_client/api/marketplace_site_agent_identities/marketplace_site_agent_identities_create.py +148 -0
  55. waldur_api_client/api/marketplace_site_agent_identities/marketplace_site_agent_identities_destroy.py +89 -0
  56. waldur_api_client/api/marketplace_site_agent_identities/marketplace_site_agent_identities_list.py +241 -0
  57. waldur_api_client/api/marketplace_site_agent_identities/marketplace_site_agent_identities_register_event_subscription.py +176 -0
  58. waldur_api_client/api/marketplace_site_agent_identities/marketplace_site_agent_identities_register_service.py +170 -0
  59. waldur_api_client/api/marketplace_site_agent_identities/marketplace_site_agent_identities_retrieve.py +140 -0
  60. waldur_api_client/api/marketplace_site_agent_identities/marketplace_site_agent_identities_update.py +162 -0
  61. waldur_api_client/api/marketplace_site_agent_processors/__init__.py +1 -0
  62. waldur_api_client/api/marketplace_site_agent_processors/marketplace_site_agent_processors_count.py +240 -0
  63. waldur_api_client/api/marketplace_site_agent_processors/marketplace_site_agent_processors_list.py +241 -0
  64. waldur_api_client/api/marketplace_site_agent_processors/marketplace_site_agent_processors_retrieve.py +142 -0
  65. waldur_api_client/api/marketplace_site_agent_services/__init__.py +1 -0
  66. waldur_api_client/api/marketplace_site_agent_services/marketplace_site_agent_services_count.py +229 -0
  67. waldur_api_client/api/marketplace_site_agent_services/marketplace_site_agent_services_list.py +230 -0
  68. waldur_api_client/api/marketplace_site_agent_services/marketplace_site_agent_services_register_processor.py +172 -0
  69. waldur_api_client/api/marketplace_site_agent_services/marketplace_site_agent_services_retrieve.py +140 -0
  70. waldur_api_client/api/marketplace_site_agent_services/marketplace_site_agent_services_set_statistics.py +166 -0
  71. waldur_api_client/api/marketplace_software_catalogs/__init__.py +1 -0
  72. waldur_api_client/api/marketplace_software_catalogs/marketplace_software_catalogs_count.py +225 -0
  73. waldur_api_client/api/marketplace_software_catalogs/marketplace_software_catalogs_create.py +150 -0
  74. waldur_api_client/api/marketplace_software_catalogs/marketplace_software_catalogs_destroy.py +89 -0
  75. waldur_api_client/api/marketplace_software_catalogs/marketplace_software_catalogs_list.py +226 -0
  76. waldur_api_client/api/marketplace_software_catalogs/marketplace_software_catalogs_partial_update.py +164 -0
  77. waldur_api_client/api/marketplace_software_catalogs/marketplace_software_catalogs_retrieve.py +142 -0
  78. waldur_api_client/api/marketplace_software_catalogs/marketplace_software_catalogs_update.py +164 -0
  79. waldur_api_client/api/marketplace_software_packages/__init__.py +1 -0
  80. waldur_api_client/api/marketplace_software_packages/marketplace_software_packages_count.py +352 -0
  81. waldur_api_client/api/marketplace_software_packages/marketplace_software_packages_create.py +150 -0
  82. waldur_api_client/api/marketplace_software_packages/marketplace_software_packages_destroy.py +89 -0
  83. waldur_api_client/api/marketplace_software_packages/marketplace_software_packages_list.py +353 -0
  84. waldur_api_client/api/marketplace_software_packages/marketplace_software_packages_partial_update.py +164 -0
  85. waldur_api_client/api/marketplace_software_packages/marketplace_software_packages_retrieve.py +142 -0
  86. waldur_api_client/api/marketplace_software_packages/marketplace_software_packages_update.py +164 -0
  87. waldur_api_client/api/marketplace_software_targets/__init__.py +1 -0
  88. waldur_api_client/api/marketplace_software_targets/marketplace_software_targets_count.py +313 -0
  89. waldur_api_client/api/marketplace_software_targets/marketplace_software_targets_create.py +117 -0
  90. waldur_api_client/api/marketplace_software_targets/marketplace_software_targets_destroy.py +89 -0
  91. waldur_api_client/api/marketplace_software_targets/marketplace_software_targets_list.py +314 -0
  92. waldur_api_client/api/marketplace_software_targets/marketplace_software_targets_partial_update.py +142 -0
  93. waldur_api_client/api/marketplace_software_targets/marketplace_software_targets_retrieve.py +142 -0
  94. waldur_api_client/api/marketplace_software_targets/marketplace_software_targets_update.py +142 -0
  95. waldur_api_client/api/marketplace_software_versions/__init__.py +1 -0
  96. waldur_api_client/api/marketplace_software_versions/marketplace_software_versions_count.py +310 -0
  97. waldur_api_client/api/marketplace_software_versions/marketplace_software_versions_create.py +117 -0
  98. waldur_api_client/api/marketplace_software_versions/marketplace_software_versions_destroy.py +89 -0
  99. waldur_api_client/api/marketplace_software_versions/marketplace_software_versions_list.py +311 -0
  100. waldur_api_client/api/marketplace_software_versions/marketplace_software_versions_partial_update.py +142 -0
  101. waldur_api_client/api/marketplace_software_versions/marketplace_software_versions_retrieve.py +142 -0
  102. waldur_api_client/api/marketplace_software_versions/marketplace_software_versions_update.py +142 -0
  103. waldur_api_client/api/onboarding_justifications/onboarding_justifications_approve.py +168 -0
  104. waldur_api_client/api/onboarding_justifications/onboarding_justifications_reject.py +168 -0
  105. waldur_api_client/api/projects/projects_add_user.py +17 -10
  106. waldur_api_client/api/projects/projects_count.py +30 -0
  107. waldur_api_client/api/projects/projects_list.py +30 -0
  108. waldur_api_client/api/projects/projects_move_project.py +19 -10
  109. waldur_api_client/api/projects/projects_recover.py +166 -0
  110. waldur_api_client/api/proposal_proposals/proposal_proposals_add_user.py +17 -10
  111. waldur_api_client/api/proposal_protected_calls/proposal_protected_calls_add_user.py +17 -10
  112. waldur_api_client/api/remote_waldur_api/remote_waldur_api_pull_resource_robot_accounts.py +88 -0
  113. waldur_api_client/models/__init__.py +152 -4
  114. waldur_api_client/models/agent_event_subscription_create_request.py +71 -0
  115. waldur_api_client/models/agent_identity.py +211 -0
  116. waldur_api_client/models/agent_identity_request.py +157 -0
  117. waldur_api_client/models/agent_processor.py +170 -0
  118. waldur_api_client/models/agent_processor_create_request.py +89 -0
  119. waldur_api_client/models/agent_service.py +172 -0
  120. waldur_api_client/models/agent_service_create_request.py +81 -0
  121. waldur_api_client/models/agent_service_state.py +10 -0
  122. waldur_api_client/models/agent_service_statistics_request.py +59 -0
  123. waldur_api_client/models/base_provider_plan.py +21 -0
  124. waldur_api_client/models/base_public_plan.py +21 -0
  125. waldur_api_client/models/booking_offerings_list_field_item.py +2 -0
  126. waldur_api_client/models/booking_offerings_retrieve_field_item.py +2 -0
  127. waldur_api_client/models/booking_resource.py +33 -0
  128. waldur_api_client/models/booking_resource_renewal_date_type_0.py +53 -0
  129. waldur_api_client/models/booking_resources_list_field_item.py +1 -0
  130. waldur_api_client/models/booking_resources_retrieve_field_item.py +1 -0
  131. waldur_api_client/models/call_managing_organisations_add_user_response_400.py +65 -0
  132. waldur_api_client/models/constance_settings.py +81 -45
  133. waldur_api_client/models/constance_settings_request.py +81 -45
  134. waldur_api_client/models/constance_settings_request_form.py +81 -45
  135. waldur_api_client/models/constance_settings_request_multipart.py +134 -71
  136. waldur_api_client/models/customer_component_usage_policy.py +175 -0
  137. waldur_api_client/models/customer_component_usage_policy_request.py +102 -0
  138. waldur_api_client/models/customers_add_user_response_400.py +65 -0
  139. waldur_api_client/models/discount_config_request.py +91 -0
  140. waldur_api_client/models/discounts_update_request.py +65 -0
  141. waldur_api_client/models/discounts_update_request_discounts.py +57 -0
  142. waldur_api_client/models/issue.py +0 -25
  143. waldur_api_client/models/managed_rancher_cluster_resources_list_field_item.py +1 -0
  144. waldur_api_client/models/managed_rancher_cluster_resources_retrieve_field_item.py +1 -0
  145. waldur_api_client/models/marketplace_orders_count_state_item.py +1 -0
  146. waldur_api_client/models/marketplace_orders_list_field_item.py +2 -0
  147. waldur_api_client/models/marketplace_orders_list_state_item.py +1 -0
  148. waldur_api_client/models/marketplace_orders_retrieve_field_item.py +2 -0
  149. waldur_api_client/models/marketplace_provider_offerings_add_user_response_400.py +65 -0
  150. waldur_api_client/models/marketplace_provider_offerings_list_course_accounts_retrieve_field_item.py +2 -0
  151. waldur_api_client/models/marketplace_provider_offerings_list_customer_service_accounts_retrieve_field_item.py +2 -0
  152. waldur_api_client/models/marketplace_provider_offerings_list_field_item.py +2 -0
  153. waldur_api_client/models/marketplace_provider_offerings_list_project_service_accounts_retrieve_field_item.py +2 -0
  154. waldur_api_client/models/marketplace_provider_offerings_retrieve_field_item.py +2 -0
  155. waldur_api_client/models/marketplace_provider_offerings_stats_retrieve_field_item.py +2 -0
  156. waldur_api_client/models/marketplace_provider_offerings_user_has_resource_access_retrieve_field_item.py +2 -0
  157. waldur_api_client/models/marketplace_provider_resources_details_retrieve_field_item.py +1 -0
  158. waldur_api_client/models/marketplace_provider_resources_list_field_item.py +1 -0
  159. waldur_api_client/models/marketplace_provider_resources_retrieve_field_item.py +1 -0
  160. waldur_api_client/models/marketplace_public_offerings_list_field_item.py +2 -0
  161. waldur_api_client/models/marketplace_public_offerings_retrieve_field_item.py +2 -0
  162. waldur_api_client/models/marketplace_resources_details_retrieve_field_item.py +1 -0
  163. waldur_api_client/models/marketplace_resources_list_field_item.py +1 -0
  164. waldur_api_client/models/marketplace_resources_retrieve_field_item.py +1 -0
  165. waldur_api_client/models/marketplace_service_providers_add_user_response_400.py +65 -0
  166. waldur_api_client/models/marketplace_site_agent_services_count_state_item.py +10 -0
  167. waldur_api_client/models/marketplace_site_agent_services_list_state_item.py +10 -0
  168. waldur_api_client/models/marketplace_software_catalogs_count_o_item.py +15 -0
  169. waldur_api_client/models/marketplace_software_catalogs_list_o_item.py +15 -0
  170. waldur_api_client/models/marketplace_software_packages_count_o_item.py +17 -0
  171. waldur_api_client/models/marketplace_software_packages_list_o_item.py +17 -0
  172. waldur_api_client/models/marketplace_software_targets_count_o_item.py +15 -0
  173. waldur_api_client/models/marketplace_software_targets_list_o_item.py +15 -0
  174. waldur_api_client/models/marketplace_software_versions_count_o_item.py +15 -0
  175. waldur_api_client/models/marketplace_software_versions_list_o_item.py +15 -0
  176. waldur_api_client/models/merged_plugin_options.py +47 -8
  177. waldur_api_client/models/merged_plugin_options_request.py +47 -8
  178. waldur_api_client/models/nested_agent_processor.py +154 -0
  179. waldur_api_client/models/nested_agent_service.py +134 -0
  180. waldur_api_client/models/nested_agent_service_request.py +90 -0
  181. waldur_api_client/models/nested_customer_usage_policy_component.py +103 -0
  182. waldur_api_client/models/nested_customer_usage_policy_component_request.py +87 -0
  183. waldur_api_client/models/nested_partition.py +412 -0
  184. waldur_api_client/models/nested_partition_request.py +397 -0
  185. waldur_api_client/models/nested_plan_component.py +155 -0
  186. waldur_api_client/models/nested_plan_component_request.py +128 -0
  187. waldur_api_client/models/nested_software_catalog.py +134 -0
  188. waldur_api_client/models/nested_software_catalog_catalog.py +86 -0
  189. waldur_api_client/models/nested_software_catalog_partition.py +86 -0
  190. waldur_api_client/models/nested_software_catalog_request.py +68 -0
  191. waldur_api_client/models/nested_software_target.py +84 -0
  192. waldur_api_client/models/nested_software_target_request.py +75 -0
  193. waldur_api_client/models/nested_software_version.py +124 -0
  194. waldur_api_client/models/nested_software_version_request.py +93 -0
  195. waldur_api_client/models/observable_object_type_enum.py +14 -0
  196. waldur_api_client/models/offering.py +42 -0
  197. waldur_api_client/models/offering_create.py +36 -0
  198. waldur_api_client/models/offering_partition.py +440 -0
  199. waldur_api_client/models/offering_partition_request.py +406 -0
  200. waldur_api_client/models/offering_software_catalog.py +176 -0
  201. waldur_api_client/models/offering_software_catalog_request.py +118 -0
  202. waldur_api_client/models/onboarding_justification.py +35 -6
  203. waldur_api_client/models/onboarding_justification_create_request.py +8 -5
  204. waldur_api_client/models/onboarding_justification_request.py +20 -6
  205. waldur_api_client/models/onboarding_justification_review_request.py +59 -0
  206. waldur_api_client/models/order_backend_id_request.py +59 -0
  207. waldur_api_client/models/order_details.py +39 -0
  208. waldur_api_client/models/order_state.py +1 -0
  209. waldur_api_client/models/patched_customer_component_usage_policy_request.py +104 -0
  210. waldur_api_client/models/patched_offering_partition_request.py +412 -0
  211. waldur_api_client/models/patched_offering_software_catalog_update_request.py +131 -0
  212. waldur_api_client/models/patched_onboarding_justification_request.py +16 -5
  213. waldur_api_client/models/patched_project_request.py +9 -0
  214. waldur_api_client/models/patched_project_request_form.py +9 -0
  215. waldur_api_client/models/patched_project_request_multipart.py +12 -0
  216. waldur_api_client/models/patched_software_catalog_request.py +86 -0
  217. waldur_api_client/models/patched_software_package_request.py +86 -0
  218. waldur_api_client/models/plan_component.py +40 -0
  219. waldur_api_client/models/project.py +27 -0
  220. waldur_api_client/models/project_recovery_request.py +70 -0
  221. waldur_api_client/models/project_request.py +9 -0
  222. waldur_api_client/models/project_request_form.py +9 -0
  223. waldur_api_client/models/project_request_multipart.py +12 -0
  224. waldur_api_client/models/project_user.py +21 -4
  225. waldur_api_client/models/projects_add_user_response_400.py +65 -0
  226. waldur_api_client/models/projects_list_field_item.py +3 -0
  227. waldur_api_client/models/projects_move_project_response_400.py +65 -0
  228. waldur_api_client/models/projects_retrieve_field_item.py +3 -0
  229. waldur_api_client/models/proposal_proposals_add_user_response_400.py +65 -0
  230. waldur_api_client/models/proposal_protected_calls_add_user_response_400.py +65 -0
  231. waldur_api_client/models/provider_offering_details.py +42 -0
  232. waldur_api_client/models/provider_plan_details.py +18 -0
  233. waldur_api_client/models/public_offering_details.py +42 -0
  234. waldur_api_client/models/remote_resource_order_remote_state_enum.py +1 -0
  235. waldur_api_client/models/{set_offerings_username.py → remove_partition_request.py} +11 -19
  236. waldur_api_client/models/remove_software_catalog_request.py +60 -0
  237. waldur_api_client/models/resource.py +33 -0
  238. waldur_api_client/models/resource_downscaled_request.py +59 -0
  239. waldur_api_client/models/resource_paused_request.py +59 -0
  240. waldur_api_client/models/resource_renewal_date_type_0.py +53 -0
  241. waldur_api_client/models/resource_restrict_member_access_request.py +59 -0
  242. waldur_api_client/models/software_catalog.py +130 -0
  243. waldur_api_client/models/software_catalog_request.py +87 -0
  244. waldur_api_client/models/software_catalog_uuid.py +60 -0
  245. waldur_api_client/models/software_package.py +168 -0
  246. waldur_api_client/models/software_package_request.py +87 -0
  247. waldur_api_client/models/software_target.py +110 -0
  248. waldur_api_client/models/software_version.py +135 -0
  249. waldur_api_client/models/user.py +20 -0
  250. waldur_api_client/models/users_list_field_item.py +1 -0
  251. waldur_api_client/models/users_me_retrieve_field_item.py +1 -0
  252. waldur_api_client/models/users_retrieve_field_item.py +1 -0
  253. {waldur_api_client-7.8.4.dist-info → waldur_api_client-7.8.5.dist-info}/METADATA +1 -1
  254. {waldur_api_client-7.8.4.dist-info → waldur_api_client-7.8.5.dist-info}/RECORD +256 -103
  255. waldur_api_client/models/marketplace_service_providers_projects_list_field_item.py +0 -37
  256. {waldur_api_client-7.8.4.dist-info → waldur_api_client-7.8.5.dist-info}/WHEEL +0 -0
  257. {waldur_api_client-7.8.4.dist-info → waldur_api_client-7.8.5.dist-info}/licenses/LICENSE +0 -0
@@ -49,6 +49,8 @@ class ConstanceSettingsRequestMultipart:
49
49
  docs_url (Union[Unset, str]):
50
50
  short_page_title (Union[Unset, str]):
51
51
  full_page_title (Union[Unset, str]):
52
+ project_end_date_mandatory (Union[Unset, bool]):
53
+ enable_order_start_date (Union[Unset, bool]):
52
54
  brand_color (Union[Unset, str]):
53
55
  hero_link_label (Union[Unset, str]):
54
56
  hero_link_url (Union[Unset, str]):
@@ -72,24 +74,25 @@ class ConstanceSettingsRequestMultipart:
72
74
  waldur_support_enabled (Union[Unset, bool]):
73
75
  waldur_support_active_backend_type (Union[Unset, str]):
74
76
  waldur_support_display_request_type (Union[Unset, bool]):
75
- atlassian_use_old_api (Union[Unset, bool]):
76
- atlassian_use_teenage_api (Union[Unset, bool]):
77
- atlassian_use_automatic_request_mapping (Union[Unset, bool]):
78
77
  atlassian_map_waldur_users_to_servicedesk_agents (Union[Unset, bool]):
79
- atlassian_strange_setting (Union[Unset, int]):
80
78
  atlassian_api_url (Union[Unset, str]):
81
79
  atlassian_username (Union[Unset, str]):
82
80
  atlassian_password (Union[Unset, str]):
83
81
  atlassian_email (Union[Unset, str]):
82
+ atlassian_use_old_api (Union[Unset, bool]):
84
83
  atlassian_token (Union[Unset, str]):
84
+ atlassian_personal_access_token (Union[Unset, str]):
85
+ atlassian_oauth2_client_id (Union[Unset, str]):
86
+ atlassian_oauth2_access_token (Union[Unset, str]):
87
+ atlassian_oauth2_token_type (Union[Unset, str]):
85
88
  atlassian_verify_ssl (Union[Unset, bool]):
86
89
  atlassian_project_id (Union[Unset, str]):
87
90
  atlassian_shared_username (Union[Unset, bool]):
88
91
  atlassian_custom_issue_field_mapping_enabled (Union[Unset, bool]):
89
92
  atlassian_default_offering_issue_type (Union[Unset, str]):
90
93
  atlassian_excluded_attachment_types (Union[Unset, str]):
91
- atlassian_pull_priorities (Union[Unset, bool]):
92
94
  atlassian_issue_types (Union[Unset, str]):
95
+ atlassian_support_type_mapping (Union[Unset, str]):
93
96
  atlassian_description_template (Union[Unset, str]):
94
97
  atlassian_summary_template (Union[Unset, str]):
95
98
  atlassian_affected_resource_field (Union[Unset, str]):
@@ -104,6 +107,7 @@ class ConstanceSettingsRequestMultipart:
104
107
  atlassian_satisfaction_field (Union[Unset, str]):
105
108
  atlassian_request_feedback_field (Union[Unset, str]):
106
109
  atlassian_template_field (Union[Unset, str]):
110
+ atlassian_waldur_backend_id_field (Union[Unset, str]):
107
111
  zammad_api_url (Union[Unset, str]):
108
112
  zammad_token (Union[Unset, str]):
109
113
  zammad_group (Union[Unset, str]):
@@ -192,6 +196,8 @@ class ConstanceSettingsRequestMultipart:
192
196
  docs_url: Union[Unset, str] = UNSET
193
197
  short_page_title: Union[Unset, str] = UNSET
194
198
  full_page_title: Union[Unset, str] = UNSET
199
+ project_end_date_mandatory: Union[Unset, bool] = UNSET
200
+ enable_order_start_date: Union[Unset, bool] = UNSET
195
201
  brand_color: Union[Unset, str] = UNSET
196
202
  hero_link_label: Union[Unset, str] = UNSET
197
203
  hero_link_url: Union[Unset, str] = UNSET
@@ -215,24 +221,25 @@ class ConstanceSettingsRequestMultipart:
215
221
  waldur_support_enabled: Union[Unset, bool] = UNSET
216
222
  waldur_support_active_backend_type: Union[Unset, str] = UNSET
217
223
  waldur_support_display_request_type: Union[Unset, bool] = UNSET
218
- atlassian_use_old_api: Union[Unset, bool] = UNSET
219
- atlassian_use_teenage_api: Union[Unset, bool] = UNSET
220
- atlassian_use_automatic_request_mapping: Union[Unset, bool] = UNSET
221
224
  atlassian_map_waldur_users_to_servicedesk_agents: Union[Unset, bool] = UNSET
222
- atlassian_strange_setting: Union[Unset, int] = UNSET
223
225
  atlassian_api_url: Union[Unset, str] = UNSET
224
226
  atlassian_username: Union[Unset, str] = UNSET
225
227
  atlassian_password: Union[Unset, str] = UNSET
226
228
  atlassian_email: Union[Unset, str] = UNSET
229
+ atlassian_use_old_api: Union[Unset, bool] = UNSET
227
230
  atlassian_token: Union[Unset, str] = UNSET
231
+ atlassian_personal_access_token: Union[Unset, str] = UNSET
232
+ atlassian_oauth2_client_id: Union[Unset, str] = UNSET
233
+ atlassian_oauth2_access_token: Union[Unset, str] = UNSET
234
+ atlassian_oauth2_token_type: Union[Unset, str] = UNSET
228
235
  atlassian_verify_ssl: Union[Unset, bool] = UNSET
229
236
  atlassian_project_id: Union[Unset, str] = UNSET
230
237
  atlassian_shared_username: Union[Unset, bool] = UNSET
231
238
  atlassian_custom_issue_field_mapping_enabled: Union[Unset, bool] = UNSET
232
239
  atlassian_default_offering_issue_type: Union[Unset, str] = UNSET
233
240
  atlassian_excluded_attachment_types: Union[Unset, str] = UNSET
234
- atlassian_pull_priorities: Union[Unset, bool] = UNSET
235
241
  atlassian_issue_types: Union[Unset, str] = UNSET
242
+ atlassian_support_type_mapping: Union[Unset, str] = UNSET
236
243
  atlassian_description_template: Union[Unset, str] = UNSET
237
244
  atlassian_summary_template: Union[Unset, str] = UNSET
238
245
  atlassian_affected_resource_field: Union[Unset, str] = UNSET
@@ -247,6 +254,7 @@ class ConstanceSettingsRequestMultipart:
247
254
  atlassian_satisfaction_field: Union[Unset, str] = UNSET
248
255
  atlassian_request_feedback_field: Union[Unset, str] = UNSET
249
256
  atlassian_template_field: Union[Unset, str] = UNSET
257
+ atlassian_waldur_backend_id_field: Union[Unset, str] = UNSET
250
258
  zammad_api_url: Union[Unset, str] = UNSET
251
259
  zammad_token: Union[Unset, str] = UNSET
252
260
  zammad_group: Union[Unset, str] = UNSET
@@ -370,6 +378,10 @@ class ConstanceSettingsRequestMultipart:
370
378
 
371
379
  full_page_title = self.full_page_title
372
380
 
381
+ project_end_date_mandatory = self.project_end_date_mandatory
382
+
383
+ enable_order_start_date = self.enable_order_start_date
384
+
373
385
  brand_color = self.brand_color
374
386
 
375
387
  hero_link_label = self.hero_link_label
@@ -493,16 +505,8 @@ class ConstanceSettingsRequestMultipart:
493
505
 
494
506
  waldur_support_display_request_type = self.waldur_support_display_request_type
495
507
 
496
- atlassian_use_old_api = self.atlassian_use_old_api
497
-
498
- atlassian_use_teenage_api = self.atlassian_use_teenage_api
499
-
500
- atlassian_use_automatic_request_mapping = self.atlassian_use_automatic_request_mapping
501
-
502
508
  atlassian_map_waldur_users_to_servicedesk_agents = self.atlassian_map_waldur_users_to_servicedesk_agents
503
509
 
504
- atlassian_strange_setting = self.atlassian_strange_setting
505
-
506
510
  atlassian_api_url = self.atlassian_api_url
507
511
 
508
512
  atlassian_username = self.atlassian_username
@@ -511,8 +515,18 @@ class ConstanceSettingsRequestMultipart:
511
515
 
512
516
  atlassian_email = self.atlassian_email
513
517
 
518
+ atlassian_use_old_api = self.atlassian_use_old_api
519
+
514
520
  atlassian_token = self.atlassian_token
515
521
 
522
+ atlassian_personal_access_token = self.atlassian_personal_access_token
523
+
524
+ atlassian_oauth2_client_id = self.atlassian_oauth2_client_id
525
+
526
+ atlassian_oauth2_access_token = self.atlassian_oauth2_access_token
527
+
528
+ atlassian_oauth2_token_type = self.atlassian_oauth2_token_type
529
+
516
530
  atlassian_verify_ssl = self.atlassian_verify_ssl
517
531
 
518
532
  atlassian_project_id = self.atlassian_project_id
@@ -525,10 +539,10 @@ class ConstanceSettingsRequestMultipart:
525
539
 
526
540
  atlassian_excluded_attachment_types = self.atlassian_excluded_attachment_types
527
541
 
528
- atlassian_pull_priorities = self.atlassian_pull_priorities
529
-
530
542
  atlassian_issue_types = self.atlassian_issue_types
531
543
 
544
+ atlassian_support_type_mapping = self.atlassian_support_type_mapping
545
+
532
546
  atlassian_description_template = self.atlassian_description_template
533
547
 
534
548
  atlassian_summary_template = self.atlassian_summary_template
@@ -557,6 +571,8 @@ class ConstanceSettingsRequestMultipart:
557
571
 
558
572
  atlassian_template_field = self.atlassian_template_field
559
573
 
574
+ atlassian_waldur_backend_id_field = self.atlassian_waldur_backend_id_field
575
+
560
576
  zammad_api_url = self.zammad_api_url
561
577
 
562
578
  zammad_token = self.zammad_token
@@ -747,6 +763,10 @@ class ConstanceSettingsRequestMultipart:
747
763
  field_dict["SHORT_PAGE_TITLE"] = short_page_title
748
764
  if full_page_title is not UNSET:
749
765
  field_dict["FULL_PAGE_TITLE"] = full_page_title
766
+ if project_end_date_mandatory is not UNSET:
767
+ field_dict["PROJECT_END_DATE_MANDATORY"] = project_end_date_mandatory
768
+ if enable_order_start_date is not UNSET:
769
+ field_dict["ENABLE_ORDER_START_DATE"] = enable_order_start_date
750
770
  if brand_color is not UNSET:
751
771
  field_dict["BRAND_COLOR"] = brand_color
752
772
  if hero_link_label is not UNSET:
@@ -793,18 +813,10 @@ class ConstanceSettingsRequestMultipart:
793
813
  field_dict["WALDUR_SUPPORT_ACTIVE_BACKEND_TYPE"] = waldur_support_active_backend_type
794
814
  if waldur_support_display_request_type is not UNSET:
795
815
  field_dict["WALDUR_SUPPORT_DISPLAY_REQUEST_TYPE"] = waldur_support_display_request_type
796
- if atlassian_use_old_api is not UNSET:
797
- field_dict["ATLASSIAN_USE_OLD_API"] = atlassian_use_old_api
798
- if atlassian_use_teenage_api is not UNSET:
799
- field_dict["ATLASSIAN_USE_TEENAGE_API"] = atlassian_use_teenage_api
800
- if atlassian_use_automatic_request_mapping is not UNSET:
801
- field_dict["ATLASSIAN_USE_AUTOMATIC_REQUEST_MAPPING"] = atlassian_use_automatic_request_mapping
802
816
  if atlassian_map_waldur_users_to_servicedesk_agents is not UNSET:
803
817
  field_dict["ATLASSIAN_MAP_WALDUR_USERS_TO_SERVICEDESK_AGENTS"] = (
804
818
  atlassian_map_waldur_users_to_servicedesk_agents
805
819
  )
806
- if atlassian_strange_setting is not UNSET:
807
- field_dict["ATLASSIAN_STRANGE_SETTING"] = atlassian_strange_setting
808
820
  if atlassian_api_url is not UNSET:
809
821
  field_dict["ATLASSIAN_API_URL"] = atlassian_api_url
810
822
  if atlassian_username is not UNSET:
@@ -813,8 +825,18 @@ class ConstanceSettingsRequestMultipart:
813
825
  field_dict["ATLASSIAN_PASSWORD"] = atlassian_password
814
826
  if atlassian_email is not UNSET:
815
827
  field_dict["ATLASSIAN_EMAIL"] = atlassian_email
828
+ if atlassian_use_old_api is not UNSET:
829
+ field_dict["ATLASSIAN_USE_OLD_API"] = atlassian_use_old_api
816
830
  if atlassian_token is not UNSET:
817
831
  field_dict["ATLASSIAN_TOKEN"] = atlassian_token
832
+ if atlassian_personal_access_token is not UNSET:
833
+ field_dict["ATLASSIAN_PERSONAL_ACCESS_TOKEN"] = atlassian_personal_access_token
834
+ if atlassian_oauth2_client_id is not UNSET:
835
+ field_dict["ATLASSIAN_OAUTH2_CLIENT_ID"] = atlassian_oauth2_client_id
836
+ if atlassian_oauth2_access_token is not UNSET:
837
+ field_dict["ATLASSIAN_OAUTH2_ACCESS_TOKEN"] = atlassian_oauth2_access_token
838
+ if atlassian_oauth2_token_type is not UNSET:
839
+ field_dict["ATLASSIAN_OAUTH2_TOKEN_TYPE"] = atlassian_oauth2_token_type
818
840
  if atlassian_verify_ssl is not UNSET:
819
841
  field_dict["ATLASSIAN_VERIFY_SSL"] = atlassian_verify_ssl
820
842
  if atlassian_project_id is not UNSET:
@@ -827,10 +849,10 @@ class ConstanceSettingsRequestMultipart:
827
849
  field_dict["ATLASSIAN_DEFAULT_OFFERING_ISSUE_TYPE"] = atlassian_default_offering_issue_type
828
850
  if atlassian_excluded_attachment_types is not UNSET:
829
851
  field_dict["ATLASSIAN_EXCLUDED_ATTACHMENT_TYPES"] = atlassian_excluded_attachment_types
830
- if atlassian_pull_priorities is not UNSET:
831
- field_dict["ATLASSIAN_PULL_PRIORITIES"] = atlassian_pull_priorities
832
852
  if atlassian_issue_types is not UNSET:
833
853
  field_dict["ATLASSIAN_ISSUE_TYPES"] = atlassian_issue_types
854
+ if atlassian_support_type_mapping is not UNSET:
855
+ field_dict["ATLASSIAN_SUPPORT_TYPE_MAPPING"] = atlassian_support_type_mapping
834
856
  if atlassian_description_template is not UNSET:
835
857
  field_dict["ATLASSIAN_DESCRIPTION_TEMPLATE"] = atlassian_description_template
836
858
  if atlassian_summary_template is not UNSET:
@@ -859,6 +881,8 @@ class ConstanceSettingsRequestMultipart:
859
881
  field_dict["ATLASSIAN_REQUEST_FEEDBACK_FIELD"] = atlassian_request_feedback_field
860
882
  if atlassian_template_field is not UNSET:
861
883
  field_dict["ATLASSIAN_TEMPLATE_FIELD"] = atlassian_template_field
884
+ if atlassian_waldur_backend_id_field is not UNSET:
885
+ field_dict["ATLASSIAN_WALDUR_BACKEND_ID_FIELD"] = atlassian_waldur_backend_id_field
862
886
  if zammad_api_url is not UNSET:
863
887
  field_dict["ZAMMAD_API_URL"] = zammad_api_url
864
888
  if zammad_token is not UNSET:
@@ -1111,6 +1135,14 @@ class ConstanceSettingsRequestMultipart:
1111
1135
  if not isinstance(self.full_page_title, Unset):
1112
1136
  files.append(("FULL_PAGE_TITLE", (None, str(self.full_page_title).encode(), "text/plain")))
1113
1137
 
1138
+ if not isinstance(self.project_end_date_mandatory, Unset):
1139
+ files.append(
1140
+ ("PROJECT_END_DATE_MANDATORY", (None, str(self.project_end_date_mandatory).encode(), "text/plain"))
1141
+ )
1142
+
1143
+ if not isinstance(self.enable_order_start_date, Unset):
1144
+ files.append(("ENABLE_ORDER_START_DATE", (None, str(self.enable_order_start_date).encode(), "text/plain")))
1145
+
1114
1146
  if not isinstance(self.brand_color, Unset):
1115
1147
  files.append(("BRAND_COLOR", (None, str(self.brand_color).encode(), "text/plain")))
1116
1148
 
@@ -1229,22 +1261,6 @@ class ConstanceSettingsRequestMultipart:
1229
1261
  )
1230
1262
  )
1231
1263
 
1232
- if not isinstance(self.atlassian_use_old_api, Unset):
1233
- files.append(("ATLASSIAN_USE_OLD_API", (None, str(self.atlassian_use_old_api).encode(), "text/plain")))
1234
-
1235
- if not isinstance(self.atlassian_use_teenage_api, Unset):
1236
- files.append(
1237
- ("ATLASSIAN_USE_TEENAGE_API", (None, str(self.atlassian_use_teenage_api).encode(), "text/plain"))
1238
- )
1239
-
1240
- if not isinstance(self.atlassian_use_automatic_request_mapping, Unset):
1241
- files.append(
1242
- (
1243
- "ATLASSIAN_USE_AUTOMATIC_REQUEST_MAPPING",
1244
- (None, str(self.atlassian_use_automatic_request_mapping).encode(), "text/plain"),
1245
- )
1246
- )
1247
-
1248
1264
  if not isinstance(self.atlassian_map_waldur_users_to_servicedesk_agents, Unset):
1249
1265
  files.append(
1250
1266
  (
@@ -1253,11 +1269,6 @@ class ConstanceSettingsRequestMultipart:
1253
1269
  )
1254
1270
  )
1255
1271
 
1256
- if not isinstance(self.atlassian_strange_setting, Unset):
1257
- files.append(
1258
- ("ATLASSIAN_STRANGE_SETTING", (None, str(self.atlassian_strange_setting).encode(), "text/plain"))
1259
- )
1260
-
1261
1272
  if not isinstance(self.atlassian_api_url, Unset):
1262
1273
  files.append(("ATLASSIAN_API_URL", (None, str(self.atlassian_api_url).encode(), "text/plain")))
1263
1274
 
@@ -1270,9 +1281,38 @@ class ConstanceSettingsRequestMultipart:
1270
1281
  if not isinstance(self.atlassian_email, Unset):
1271
1282
  files.append(("ATLASSIAN_EMAIL", (None, str(self.atlassian_email).encode(), "text/plain")))
1272
1283
 
1284
+ if not isinstance(self.atlassian_use_old_api, Unset):
1285
+ files.append(("ATLASSIAN_USE_OLD_API", (None, str(self.atlassian_use_old_api).encode(), "text/plain")))
1286
+
1273
1287
  if not isinstance(self.atlassian_token, Unset):
1274
1288
  files.append(("ATLASSIAN_TOKEN", (None, str(self.atlassian_token).encode(), "text/plain")))
1275
1289
 
1290
+ if not isinstance(self.atlassian_personal_access_token, Unset):
1291
+ files.append(
1292
+ (
1293
+ "ATLASSIAN_PERSONAL_ACCESS_TOKEN",
1294
+ (None, str(self.atlassian_personal_access_token).encode(), "text/plain"),
1295
+ )
1296
+ )
1297
+
1298
+ if not isinstance(self.atlassian_oauth2_client_id, Unset):
1299
+ files.append(
1300
+ ("ATLASSIAN_OAUTH2_CLIENT_ID", (None, str(self.atlassian_oauth2_client_id).encode(), "text/plain"))
1301
+ )
1302
+
1303
+ if not isinstance(self.atlassian_oauth2_access_token, Unset):
1304
+ files.append(
1305
+ (
1306
+ "ATLASSIAN_OAUTH2_ACCESS_TOKEN",
1307
+ (None, str(self.atlassian_oauth2_access_token).encode(), "text/plain"),
1308
+ )
1309
+ )
1310
+
1311
+ if not isinstance(self.atlassian_oauth2_token_type, Unset):
1312
+ files.append(
1313
+ ("ATLASSIAN_OAUTH2_TOKEN_TYPE", (None, str(self.atlassian_oauth2_token_type).encode(), "text/plain"))
1314
+ )
1315
+
1276
1316
  if not isinstance(self.atlassian_verify_ssl, Unset):
1277
1317
  files.append(("ATLASSIAN_VERIFY_SSL", (None, str(self.atlassian_verify_ssl).encode(), "text/plain")))
1278
1318
 
@@ -1308,14 +1348,17 @@ class ConstanceSettingsRequestMultipart:
1308
1348
  )
1309
1349
  )
1310
1350
 
1311
- if not isinstance(self.atlassian_pull_priorities, Unset):
1312
- files.append(
1313
- ("ATLASSIAN_PULL_PRIORITIES", (None, str(self.atlassian_pull_priorities).encode(), "text/plain"))
1314
- )
1315
-
1316
1351
  if not isinstance(self.atlassian_issue_types, Unset):
1317
1352
  files.append(("ATLASSIAN_ISSUE_TYPES", (None, str(self.atlassian_issue_types).encode(), "text/plain")))
1318
1353
 
1354
+ if not isinstance(self.atlassian_support_type_mapping, Unset):
1355
+ files.append(
1356
+ (
1357
+ "ATLASSIAN_SUPPORT_TYPE_MAPPING",
1358
+ (None, str(self.atlassian_support_type_mapping).encode(), "text/plain"),
1359
+ )
1360
+ )
1361
+
1319
1362
  if not isinstance(self.atlassian_description_template, Unset):
1320
1363
  files.append(
1321
1364
  (
@@ -1390,6 +1433,14 @@ class ConstanceSettingsRequestMultipart:
1390
1433
  ("ATLASSIAN_TEMPLATE_FIELD", (None, str(self.atlassian_template_field).encode(), "text/plain"))
1391
1434
  )
1392
1435
 
1436
+ if not isinstance(self.atlassian_waldur_backend_id_field, Unset):
1437
+ files.append(
1438
+ (
1439
+ "ATLASSIAN_WALDUR_BACKEND_ID_FIELD",
1440
+ (None, str(self.atlassian_waldur_backend_id_field).encode(), "text/plain"),
1441
+ )
1442
+ )
1443
+
1393
1444
  if not isinstance(self.zammad_api_url, Unset):
1394
1445
  files.append(("ZAMMAD_API_URL", (None, str(self.zammad_api_url).encode(), "text/plain")))
1395
1446
 
@@ -1712,6 +1763,10 @@ class ConstanceSettingsRequestMultipart:
1712
1763
 
1713
1764
  full_page_title = d.pop("FULL_PAGE_TITLE", UNSET)
1714
1765
 
1766
+ project_end_date_mandatory = d.pop("PROJECT_END_DATE_MANDATORY", UNSET)
1767
+
1768
+ enable_order_start_date = d.pop("ENABLE_ORDER_START_DATE", UNSET)
1769
+
1715
1770
  brand_color = d.pop("BRAND_COLOR", UNSET)
1716
1771
 
1717
1772
  hero_link_label = d.pop("HERO_LINK_LABEL", UNSET)
@@ -1923,18 +1978,10 @@ class ConstanceSettingsRequestMultipart:
1923
1978
 
1924
1979
  waldur_support_display_request_type = d.pop("WALDUR_SUPPORT_DISPLAY_REQUEST_TYPE", UNSET)
1925
1980
 
1926
- atlassian_use_old_api = d.pop("ATLASSIAN_USE_OLD_API", UNSET)
1927
-
1928
- atlassian_use_teenage_api = d.pop("ATLASSIAN_USE_TEENAGE_API", UNSET)
1929
-
1930
- atlassian_use_automatic_request_mapping = d.pop("ATLASSIAN_USE_AUTOMATIC_REQUEST_MAPPING", UNSET)
1931
-
1932
1981
  atlassian_map_waldur_users_to_servicedesk_agents = d.pop(
1933
1982
  "ATLASSIAN_MAP_WALDUR_USERS_TO_SERVICEDESK_AGENTS", UNSET
1934
1983
  )
1935
1984
 
1936
- atlassian_strange_setting = d.pop("ATLASSIAN_STRANGE_SETTING", UNSET)
1937
-
1938
1985
  atlassian_api_url = d.pop("ATLASSIAN_API_URL", UNSET)
1939
1986
 
1940
1987
  atlassian_username = d.pop("ATLASSIAN_USERNAME", UNSET)
@@ -1943,8 +1990,18 @@ class ConstanceSettingsRequestMultipart:
1943
1990
 
1944
1991
  atlassian_email = d.pop("ATLASSIAN_EMAIL", UNSET)
1945
1992
 
1993
+ atlassian_use_old_api = d.pop("ATLASSIAN_USE_OLD_API", UNSET)
1994
+
1946
1995
  atlassian_token = d.pop("ATLASSIAN_TOKEN", UNSET)
1947
1996
 
1997
+ atlassian_personal_access_token = d.pop("ATLASSIAN_PERSONAL_ACCESS_TOKEN", UNSET)
1998
+
1999
+ atlassian_oauth2_client_id = d.pop("ATLASSIAN_OAUTH2_CLIENT_ID", UNSET)
2000
+
2001
+ atlassian_oauth2_access_token = d.pop("ATLASSIAN_OAUTH2_ACCESS_TOKEN", UNSET)
2002
+
2003
+ atlassian_oauth2_token_type = d.pop("ATLASSIAN_OAUTH2_TOKEN_TYPE", UNSET)
2004
+
1948
2005
  atlassian_verify_ssl = d.pop("ATLASSIAN_VERIFY_SSL", UNSET)
1949
2006
 
1950
2007
  atlassian_project_id = d.pop("ATLASSIAN_PROJECT_ID", UNSET)
@@ -1957,10 +2014,10 @@ class ConstanceSettingsRequestMultipart:
1957
2014
 
1958
2015
  atlassian_excluded_attachment_types = d.pop("ATLASSIAN_EXCLUDED_ATTACHMENT_TYPES", UNSET)
1959
2016
 
1960
- atlassian_pull_priorities = d.pop("ATLASSIAN_PULL_PRIORITIES", UNSET)
1961
-
1962
2017
  atlassian_issue_types = d.pop("ATLASSIAN_ISSUE_TYPES", UNSET)
1963
2018
 
2019
+ atlassian_support_type_mapping = d.pop("ATLASSIAN_SUPPORT_TYPE_MAPPING", UNSET)
2020
+
1964
2021
  atlassian_description_template = d.pop("ATLASSIAN_DESCRIPTION_TEMPLATE", UNSET)
1965
2022
 
1966
2023
  atlassian_summary_template = d.pop("ATLASSIAN_SUMMARY_TEMPLATE", UNSET)
@@ -1989,6 +2046,8 @@ class ConstanceSettingsRequestMultipart:
1989
2046
 
1990
2047
  atlassian_template_field = d.pop("ATLASSIAN_TEMPLATE_FIELD", UNSET)
1991
2048
 
2049
+ atlassian_waldur_backend_id_field = d.pop("ATLASSIAN_WALDUR_BACKEND_ID_FIELD", UNSET)
2050
+
1992
2051
  zammad_api_url = d.pop("ZAMMAD_API_URL", UNSET)
1993
2052
 
1994
2053
  zammad_token = d.pop("ZAMMAD_TOKEN", UNSET)
@@ -2143,6 +2202,8 @@ class ConstanceSettingsRequestMultipart:
2143
2202
  docs_url=docs_url,
2144
2203
  short_page_title=short_page_title,
2145
2204
  full_page_title=full_page_title,
2205
+ project_end_date_mandatory=project_end_date_mandatory,
2206
+ enable_order_start_date=enable_order_start_date,
2146
2207
  brand_color=brand_color,
2147
2208
  hero_link_label=hero_link_label,
2148
2209
  hero_link_url=hero_link_url,
@@ -2166,24 +2227,25 @@ class ConstanceSettingsRequestMultipart:
2166
2227
  waldur_support_enabled=waldur_support_enabled,
2167
2228
  waldur_support_active_backend_type=waldur_support_active_backend_type,
2168
2229
  waldur_support_display_request_type=waldur_support_display_request_type,
2169
- atlassian_use_old_api=atlassian_use_old_api,
2170
- atlassian_use_teenage_api=atlassian_use_teenage_api,
2171
- atlassian_use_automatic_request_mapping=atlassian_use_automatic_request_mapping,
2172
2230
  atlassian_map_waldur_users_to_servicedesk_agents=atlassian_map_waldur_users_to_servicedesk_agents,
2173
- atlassian_strange_setting=atlassian_strange_setting,
2174
2231
  atlassian_api_url=atlassian_api_url,
2175
2232
  atlassian_username=atlassian_username,
2176
2233
  atlassian_password=atlassian_password,
2177
2234
  atlassian_email=atlassian_email,
2235
+ atlassian_use_old_api=atlassian_use_old_api,
2178
2236
  atlassian_token=atlassian_token,
2237
+ atlassian_personal_access_token=atlassian_personal_access_token,
2238
+ atlassian_oauth2_client_id=atlassian_oauth2_client_id,
2239
+ atlassian_oauth2_access_token=atlassian_oauth2_access_token,
2240
+ atlassian_oauth2_token_type=atlassian_oauth2_token_type,
2179
2241
  atlassian_verify_ssl=atlassian_verify_ssl,
2180
2242
  atlassian_project_id=atlassian_project_id,
2181
2243
  atlassian_shared_username=atlassian_shared_username,
2182
2244
  atlassian_custom_issue_field_mapping_enabled=atlassian_custom_issue_field_mapping_enabled,
2183
2245
  atlassian_default_offering_issue_type=atlassian_default_offering_issue_type,
2184
2246
  atlassian_excluded_attachment_types=atlassian_excluded_attachment_types,
2185
- atlassian_pull_priorities=atlassian_pull_priorities,
2186
2247
  atlassian_issue_types=atlassian_issue_types,
2248
+ atlassian_support_type_mapping=atlassian_support_type_mapping,
2187
2249
  atlassian_description_template=atlassian_description_template,
2188
2250
  atlassian_summary_template=atlassian_summary_template,
2189
2251
  atlassian_affected_resource_field=atlassian_affected_resource_field,
@@ -2198,6 +2260,7 @@ class ConstanceSettingsRequestMultipart:
2198
2260
  atlassian_satisfaction_field=atlassian_satisfaction_field,
2199
2261
  atlassian_request_feedback_field=atlassian_request_feedback_field,
2200
2262
  atlassian_template_field=atlassian_template_field,
2263
+ atlassian_waldur_backend_id_field=atlassian_waldur_backend_id_field,
2201
2264
  zammad_api_url=zammad_api_url,
2202
2265
  zammad_token=zammad_token,
2203
2266
  zammad_group=zammad_group,
@@ -0,0 +1,175 @@
1
+ import datetime
2
+ from collections.abc import Mapping
3
+ from typing import TYPE_CHECKING, Any, TypeVar, Union
4
+ from uuid import UUID
5
+
6
+ from attrs import define as _attrs_define
7
+ from attrs import field as _attrs_field
8
+ from dateutil.parser import isoparse
9
+
10
+ from ..types import UNSET, Unset
11
+
12
+ if TYPE_CHECKING:
13
+ from ..models.nested_customer_usage_policy_component import NestedCustomerUsagePolicyComponent
14
+
15
+
16
+ T = TypeVar("T", bound="CustomerComponentUsagePolicy")
17
+
18
+
19
+ @_attrs_define
20
+ class CustomerComponentUsagePolicy:
21
+ """
22
+ Attributes:
23
+ uuid (UUID):
24
+ url (str):
25
+ scope (str):
26
+ scope_name (str):
27
+ scope_uuid (UUID):
28
+ actions (str):
29
+ created (datetime.datetime):
30
+ created_by_full_name (str):
31
+ created_by_username (str):
32
+ has_fired (bool):
33
+ fired_datetime (datetime.datetime):
34
+ component_limits_set (list['NestedCustomerUsagePolicyComponent']):
35
+ options (Union[Unset, Any]): Fields for saving actions extra data. Keys are name of actions.
36
+ """
37
+
38
+ uuid: UUID
39
+ url: str
40
+ scope: str
41
+ scope_name: str
42
+ scope_uuid: UUID
43
+ actions: str
44
+ created: datetime.datetime
45
+ created_by_full_name: str
46
+ created_by_username: str
47
+ has_fired: bool
48
+ fired_datetime: datetime.datetime
49
+ component_limits_set: list["NestedCustomerUsagePolicyComponent"]
50
+ options: Union[Unset, Any] = UNSET
51
+ additional_properties: dict[str, Any] = _attrs_field(init=False, factory=dict)
52
+
53
+ def to_dict(self) -> dict[str, Any]:
54
+ uuid = str(self.uuid)
55
+
56
+ url = self.url
57
+
58
+ scope = self.scope
59
+
60
+ scope_name = self.scope_name
61
+
62
+ scope_uuid = str(self.scope_uuid)
63
+
64
+ actions = self.actions
65
+
66
+ created = self.created.isoformat()
67
+
68
+ created_by_full_name = self.created_by_full_name
69
+
70
+ created_by_username = self.created_by_username
71
+
72
+ has_fired = self.has_fired
73
+
74
+ fired_datetime = self.fired_datetime.isoformat()
75
+
76
+ component_limits_set = []
77
+ for component_limits_set_item_data in self.component_limits_set:
78
+ component_limits_set_item = component_limits_set_item_data.to_dict()
79
+ component_limits_set.append(component_limits_set_item)
80
+
81
+ options = self.options
82
+
83
+ field_dict: dict[str, Any] = {}
84
+ field_dict.update(self.additional_properties)
85
+ field_dict.update(
86
+ {
87
+ "uuid": uuid,
88
+ "url": url,
89
+ "scope": scope,
90
+ "scope_name": scope_name,
91
+ "scope_uuid": scope_uuid,
92
+ "actions": actions,
93
+ "created": created,
94
+ "created_by_full_name": created_by_full_name,
95
+ "created_by_username": created_by_username,
96
+ "has_fired": has_fired,
97
+ "fired_datetime": fired_datetime,
98
+ "component_limits_set": component_limits_set,
99
+ }
100
+ )
101
+ if options is not UNSET:
102
+ field_dict["options"] = options
103
+
104
+ return field_dict
105
+
106
+ @classmethod
107
+ def from_dict(cls: type[T], src_dict: Mapping[str, Any]) -> T:
108
+ from ..models.nested_customer_usage_policy_component import NestedCustomerUsagePolicyComponent
109
+
110
+ d = dict(src_dict)
111
+ uuid = UUID(d.pop("uuid"))
112
+
113
+ url = d.pop("url")
114
+
115
+ scope = d.pop("scope")
116
+
117
+ scope_name = d.pop("scope_name")
118
+
119
+ scope_uuid = UUID(d.pop("scope_uuid"))
120
+
121
+ actions = d.pop("actions")
122
+
123
+ created = isoparse(d.pop("created"))
124
+
125
+ created_by_full_name = d.pop("created_by_full_name")
126
+
127
+ created_by_username = d.pop("created_by_username")
128
+
129
+ has_fired = d.pop("has_fired")
130
+
131
+ fired_datetime = isoparse(d.pop("fired_datetime"))
132
+
133
+ component_limits_set = []
134
+ _component_limits_set = d.pop("component_limits_set")
135
+ for component_limits_set_item_data in _component_limits_set:
136
+ component_limits_set_item = NestedCustomerUsagePolicyComponent.from_dict(component_limits_set_item_data)
137
+
138
+ component_limits_set.append(component_limits_set_item)
139
+
140
+ options = d.pop("options", UNSET)
141
+
142
+ customer_component_usage_policy = cls(
143
+ uuid=uuid,
144
+ url=url,
145
+ scope=scope,
146
+ scope_name=scope_name,
147
+ scope_uuid=scope_uuid,
148
+ actions=actions,
149
+ created=created,
150
+ created_by_full_name=created_by_full_name,
151
+ created_by_username=created_by_username,
152
+ has_fired=has_fired,
153
+ fired_datetime=fired_datetime,
154
+ component_limits_set=component_limits_set,
155
+ options=options,
156
+ )
157
+
158
+ customer_component_usage_policy.additional_properties = d
159
+ return customer_component_usage_policy
160
+
161
+ @property
162
+ def additional_keys(self) -> list[str]:
163
+ return list(self.additional_properties.keys())
164
+
165
+ def __getitem__(self, key: str) -> Any:
166
+ return self.additional_properties[key]
167
+
168
+ def __setitem__(self, key: str, value: Any) -> None:
169
+ self.additional_properties[key] = value
170
+
171
+ def __delitem__(self, key: str) -> None:
172
+ del self.additional_properties[key]
173
+
174
+ def __contains__(self, key: str) -> bool:
175
+ return key in self.additional_properties