waldur-api-client 7.7.6__py3-none-any.whl → 7.7.7__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 (143) hide show
  1. waldur_api_client/api/booking_resources/booking_resources_count.py +34 -11
  2. waldur_api_client/api/booking_resources/booking_resources_list.py +34 -11
  3. waldur_api_client/api/customers/customers_project_metadata_compliance_details_list.py +189 -0
  4. waldur_api_client/api/customers/customers_project_metadata_compliance_overview_list.py +189 -0
  5. waldur_api_client/api/customers/customers_project_metadata_compliance_projects_list.py +187 -0
  6. waldur_api_client/api/customers/customers_project_metadata_question_answers_list.py +187 -0
  7. waldur_api_client/api/marketplace_integration_statuses/marketplace_integration_statuses_count.py +34 -11
  8. waldur_api_client/api/marketplace_integration_statuses/marketplace_integration_statuses_list.py +34 -11
  9. waldur_api_client/api/marketplace_offering_files/marketplace_offering_files_count.py +34 -11
  10. waldur_api_client/api/marketplace_offering_files/marketplace_offering_files_list.py +34 -11
  11. waldur_api_client/api/marketplace_offering_terms_of_service/__init__.py +1 -0
  12. waldur_api_client/api/marketplace_offering_terms_of_service/marketplace_offering_terms_of_service_count.py +274 -0
  13. waldur_api_client/api/marketplace_offering_terms_of_service/marketplace_offering_terms_of_service_create.py +152 -0
  14. waldur_api_client/api/marketplace_offering_terms_of_service/marketplace_offering_terms_of_service_destroy.py +89 -0
  15. waldur_api_client/api/marketplace_offering_terms_of_service/marketplace_offering_terms_of_service_list.py +277 -0
  16. waldur_api_client/api/marketplace_offering_terms_of_service/marketplace_offering_terms_of_service_partial_update.py +164 -0
  17. waldur_api_client/api/marketplace_offering_terms_of_service/marketplace_offering_terms_of_service_retrieve.py +142 -0
  18. waldur_api_client/api/marketplace_offering_terms_of_service/marketplace_offering_terms_of_service_update.py +164 -0
  19. waldur_api_client/api/marketplace_offering_user_roles/marketplace_offering_user_roles_count.py +34 -11
  20. waldur_api_client/api/marketplace_offering_user_roles/marketplace_offering_user_roles_list.py +34 -11
  21. waldur_api_client/api/marketplace_offering_users/marketplace_offering_users_count.py +34 -11
  22. waldur_api_client/api/marketplace_offering_users/marketplace_offering_users_list.py +34 -11
  23. waldur_api_client/api/marketplace_orders/marketplace_orders_count.py +19 -0
  24. waldur_api_client/api/marketplace_orders/marketplace_orders_list.py +19 -0
  25. waldur_api_client/api/marketplace_plans/marketplace_plans_count.py +19 -0
  26. waldur_api_client/api/marketplace_plans/marketplace_plans_list.py +19 -0
  27. waldur_api_client/api/marketplace_plans/marketplace_plans_usage_stats_count.py +19 -0
  28. waldur_api_client/api/marketplace_plans/marketplace_plans_usage_stats_list.py +19 -0
  29. waldur_api_client/api/marketplace_provider_resources/marketplace_provider_resources_count.py +34 -11
  30. waldur_api_client/api/marketplace_provider_resources/marketplace_provider_resources_list.py +34 -11
  31. waldur_api_client/api/marketplace_resources/marketplace_resources_count.py +34 -11
  32. waldur_api_client/api/marketplace_resources/marketplace_resources_list.py +34 -11
  33. waldur_api_client/api/marketplace_screenshots/marketplace_screenshots_count.py +34 -11
  34. waldur_api_client/api/marketplace_screenshots/marketplace_screenshots_list.py +34 -11
  35. waldur_api_client/api/marketplace_user_offering_consents/__init__.py +1 -0
  36. waldur_api_client/api/marketplace_user_offering_consents/marketplace_user_offering_consents_count.py +307 -0
  37. waldur_api_client/api/marketplace_user_offering_consents/marketplace_user_offering_consents_create.py +152 -0
  38. waldur_api_client/api/marketplace_user_offering_consents/marketplace_user_offering_consents_destroy.py +89 -0
  39. waldur_api_client/api/marketplace_user_offering_consents/marketplace_user_offering_consents_list.py +310 -0
  40. waldur_api_client/api/marketplace_user_offering_consents/marketplace_user_offering_consents_partial_update.py +164 -0
  41. waldur_api_client/api/marketplace_user_offering_consents/marketplace_user_offering_consents_retrieve.py +142 -0
  42. waldur_api_client/api/marketplace_user_offering_consents/marketplace_user_offering_consents_revoke.py +146 -0
  43. waldur_api_client/api/marketplace_user_offering_consents/marketplace_user_offering_consents_update.py +164 -0
  44. waldur_api_client/api/remote_waldur_api/remote_waldur_api_remote_resource_order_status_retrieve.py +145 -0
  45. waldur_api_client/api/remote_waldur_api/remote_waldur_api_remote_resource_status_retrieve.py +147 -0
  46. waldur_api_client/api/remote_waldur_api/remote_waldur_api_remote_resource_team_status_list.py +188 -0
  47. waldur_api_client/models/__init__.py +62 -0
  48. waldur_api_client/models/azure_sql_server_create_order_attributes.py +3 -0
  49. waldur_api_client/models/azure_virtual_machine_create_order_attributes.py +3 -0
  50. waldur_api_client/models/booking_offerings_list_field_item.py +0 -2
  51. waldur_api_client/models/booking_offerings_retrieve_field_item.py +0 -2
  52. waldur_api_client/models/booking_resource.py +10 -9
  53. waldur_api_client/models/booking_resources_list_field_item.py +1 -1
  54. waldur_api_client/models/booking_resources_retrieve_field_item.py +1 -1
  55. waldur_api_client/models/checklist_info.py +76 -0
  56. waldur_api_client/models/compliance_overview.py +91 -0
  57. waldur_api_client/models/customer.py +81 -0
  58. waldur_api_client/models/customers_list_field_item.py +4 -0
  59. waldur_api_client/models/customers_retrieve_field_item.py +4 -0
  60. waldur_api_client/models/generic_order_attributes.py +69 -0
  61. waldur_api_client/models/google_auth_authorize_retrieve_field_item.py +1 -0
  62. waldur_api_client/models/google_auth_list_field_item.py +1 -0
  63. waldur_api_client/models/google_auth_retrieve_field_item.py +1 -0
  64. waldur_api_client/models/google_credentials.py +9 -0
  65. waldur_api_client/models/group_invitation.py +24 -0
  66. waldur_api_client/models/group_invitation_request.py +10 -0
  67. waldur_api_client/models/maintenance_announcement.py +8 -0
  68. waldur_api_client/models/marketplace_offering_terms_of_service_count_o_item.py +13 -0
  69. waldur_api_client/models/marketplace_offering_terms_of_service_list_o_item.py +13 -0
  70. waldur_api_client/models/marketplace_orders_list_field_item.py +1 -1
  71. waldur_api_client/models/marketplace_orders_retrieve_field_item.py +1 -1
  72. waldur_api_client/models/marketplace_provider_offerings_list_customer_service_accounts_retrieve_field_item.py +0 -2
  73. waldur_api_client/models/marketplace_provider_offerings_list_field_item.py +0 -2
  74. waldur_api_client/models/marketplace_provider_offerings_list_project_service_accounts_retrieve_field_item.py +0 -2
  75. waldur_api_client/models/marketplace_provider_offerings_retrieve_field_item.py +0 -2
  76. waldur_api_client/models/marketplace_provider_offerings_stats_retrieve_field_item.py +0 -2
  77. waldur_api_client/models/marketplace_provider_offerings_user_has_resource_access_retrieve_field_item.py +0 -2
  78. waldur_api_client/models/marketplace_provider_resources_details_retrieve_field_item.py +1 -1
  79. waldur_api_client/models/marketplace_provider_resources_list_field_item.py +1 -1
  80. waldur_api_client/models/marketplace_provider_resources_retrieve_field_item.py +1 -1
  81. waldur_api_client/models/marketplace_public_offerings_list_field_item.py +0 -2
  82. waldur_api_client/models/marketplace_public_offerings_retrieve_field_item.py +0 -2
  83. waldur_api_client/models/marketplace_rancher_create_order_attributes.py +3 -0
  84. waldur_api_client/models/marketplace_resources_details_retrieve_field_item.py +1 -1
  85. waldur_api_client/models/marketplace_resources_list_field_item.py +1 -1
  86. waldur_api_client/models/marketplace_resources_retrieve_field_item.py +1 -1
  87. waldur_api_client/models/marketplace_service_providers_list_field_item.py +1 -0
  88. waldur_api_client/models/marketplace_service_providers_retrieve_field_item.py +1 -0
  89. waldur_api_client/models/marketplace_user_offering_consents_count_o_item.py +15 -0
  90. waldur_api_client/models/marketplace_user_offering_consents_list_o_item.py +15 -0
  91. waldur_api_client/models/offering.py +0 -18
  92. waldur_api_client/models/offering_create.py +0 -18
  93. waldur_api_client/models/offering_create_request.py +0 -18
  94. waldur_api_client/models/offering_overview_update_request.py +0 -18
  95. waldur_api_client/models/offering_terms_of_service.py +142 -0
  96. waldur_api_client/models/offering_terms_of_service_create.py +107 -0
  97. waldur_api_client/models/offering_terms_of_service_create_request.py +107 -0
  98. waldur_api_client/models/offering_terms_of_service_request.py +96 -0
  99. waldur_api_client/models/open_stack_instance_create_order_attributes.py +3 -0
  100. waldur_api_client/models/open_stack_nested_security_group.py +53 -1
  101. waldur_api_client/models/open_stack_nested_security_group_rules_item.py +197 -0
  102. waldur_api_client/models/open_stack_network.py +20 -0
  103. waldur_api_client/models/open_stack_security_group_rule_update_request.py +4 -4
  104. waldur_api_client/models/open_stack_tenant.py +38 -0
  105. waldur_api_client/models/open_stack_tenant_create_order_attributes.py +21 -0
  106. waldur_api_client/models/open_stack_volume_create_order_attributes.py +3 -0
  107. waldur_api_client/models/openstack_networks_list_field_item.py +1 -0
  108. waldur_api_client/models/openstack_networks_retrieve_field_item.py +1 -0
  109. waldur_api_client/models/openstack_tenants_list_field_item.py +3 -0
  110. waldur_api_client/models/openstack_tenants_retrieve_field_item.py +3 -0
  111. waldur_api_client/models/order_create.py +0 -8
  112. waldur_api_client/models/order_create_request.py +23 -7
  113. waldur_api_client/models/order_details.py +0 -9
  114. waldur_api_client/models/patched_offering_terms_of_service_request.py +96 -0
  115. waldur_api_client/models/patched_user_offering_consent_request.py +59 -0
  116. waldur_api_client/models/permission_project.py +147 -0
  117. waldur_api_client/models/project_answer.py +122 -0
  118. waldur_api_client/models/project_detail.py +133 -0
  119. waldur_api_client/models/project_details_response.py +115 -0
  120. waldur_api_client/models/provider_offering_details.py +0 -18
  121. waldur_api_client/models/provider_offering_details_request.py +0 -18
  122. waldur_api_client/models/public_offering_details.py +0 -18
  123. waldur_api_client/models/question_answer.py +176 -0
  124. waldur_api_client/models/question_answer_project_answers_item.py +44 -0
  125. waldur_api_client/models/question_answer_question_options_item.py +44 -0
  126. waldur_api_client/models/remote_resource_order.py +88 -0
  127. waldur_api_client/models/remote_resource_order_remote_state_enum.py +15 -0
  128. waldur_api_client/models/remote_resource_sync_status.py +123 -0
  129. waldur_api_client/models/remote_resource_sync_status_remote_state_enum.py +13 -0
  130. waldur_api_client/models/remote_resource_team_member.py +85 -0
  131. waldur_api_client/models/resource.py +10 -9
  132. waldur_api_client/models/service_provider.py +9 -0
  133. waldur_api_client/models/slurm_invoices_slurm_package_create_order_attributes.py +3 -0
  134. waldur_api_client/models/sync_status_enum.py +10 -0
  135. waldur_api_client/models/user_offering_consent.py +202 -0
  136. waldur_api_client/models/user_offering_consent_create.py +60 -0
  137. waldur_api_client/models/user_offering_consent_create_request.py +60 -0
  138. waldur_api_client/models/user_offering_consent_request.py +59 -0
  139. waldur_api_client/models/v_mware_virtual_machine_create_order_attributes.py +3 -0
  140. {waldur_api_client-7.7.6.dist-info → waldur_api_client-7.7.7.dist-info}/METADATA +1 -1
  141. {waldur_api_client-7.7.6.dist-info → waldur_api_client-7.7.7.dist-info}/RECORD +143 -88
  142. {waldur_api_client-7.7.6.dist-info → waldur_api_client-7.7.7.dist-info}/LICENSE +0 -0
  143. {waldur_api_client-7.7.6.dist-info → waldur_api_client-7.7.7.dist-info}/WHEEL +0 -0
@@ -34,6 +34,7 @@ class MaintenanceAnnouncement:
34
34
  created_by (Union[None, str]):
35
35
  affected_offerings (list['MaintenanceAnnouncementOffering']):
36
36
  service_provider_name (str):
37
+ backend_id (str):
37
38
  message (Union[Unset, str]):
38
39
  maintenance_type (Union[Unset, MaintenanceTypeEnum]):
39
40
  external_reference_url (Union[Unset, str]): Optional reference to an external maintenance tracker
@@ -51,6 +52,7 @@ class MaintenanceAnnouncement:
51
52
  created_by: Union[None, str]
52
53
  affected_offerings: list["MaintenanceAnnouncementOffering"]
53
54
  service_provider_name: str
55
+ backend_id: str
54
56
  message: Union[Unset, str] = UNSET
55
57
  maintenance_type: Union[Unset, MaintenanceTypeEnum] = UNSET
56
58
  external_reference_url: Union[Unset, str] = UNSET
@@ -93,6 +95,8 @@ class MaintenanceAnnouncement:
93
95
 
94
96
  service_provider_name = self.service_provider_name
95
97
 
98
+ backend_id = self.backend_id
99
+
96
100
  message = self.message
97
101
 
98
102
  maintenance_type: Union[Unset, int] = UNSET
@@ -117,6 +121,7 @@ class MaintenanceAnnouncement:
117
121
  "created_by": created_by,
118
122
  "affected_offerings": affected_offerings,
119
123
  "service_provider_name": service_provider_name,
124
+ "backend_id": backend_id,
120
125
  }
121
126
  )
122
127
  if message is not UNSET:
@@ -193,6 +198,8 @@ class MaintenanceAnnouncement:
193
198
 
194
199
  service_provider_name = d.pop("service_provider_name")
195
200
 
201
+ backend_id = d.pop("backend_id")
202
+
196
203
  message = d.pop("message", UNSET)
197
204
 
198
205
  _maintenance_type = d.pop("maintenance_type", UNSET)
@@ -217,6 +224,7 @@ class MaintenanceAnnouncement:
217
224
  created_by=created_by,
218
225
  affected_offerings=affected_offerings,
219
226
  service_provider_name=service_provider_name,
227
+ backend_id=backend_id,
220
228
  message=message,
221
229
  maintenance_type=maintenance_type,
222
230
  external_reference_url=external_reference_url,
@@ -0,0 +1,13 @@
1
+ from enum import Enum
2
+
3
+
4
+ class MarketplaceOfferingTermsOfServiceCountOItem(str, Enum):
5
+ CREATED = "created"
6
+ MODIFIED = "modified"
7
+ VALUE_0 = "-created"
8
+ VALUE_1 = "-modified"
9
+ VALUE_2 = "-version"
10
+ VERSION = "version"
11
+
12
+ def __str__(self) -> str:
13
+ return str(self.value)
@@ -0,0 +1,13 @@
1
+ from enum import Enum
2
+
3
+
4
+ class MarketplaceOfferingTermsOfServiceListOItem(str, Enum):
5
+ CREATED = "created"
6
+ MODIFIED = "modified"
7
+ VALUE_0 = "-created"
8
+ VALUE_1 = "-modified"
9
+ VALUE_2 = "-version"
10
+ VERSION = "version"
11
+
12
+ def __str__(self) -> str:
13
+ return str(self.value)
@@ -25,6 +25,7 @@ class MarketplaceOrdersListFieldItem(str, Enum):
25
25
  CUSTOMER_SLUG = "customer_slug"
26
26
  CUSTOMER_UUID = "customer_uuid"
27
27
  ERROR_MESSAGE = "error_message"
28
+ ERROR_TRACEBACK = "error_traceback"
28
29
  FIXED_PRICE = "fixed_price"
29
30
  ISSUE = "issue"
30
31
  LIMITS = "limits"
@@ -40,7 +41,6 @@ class MarketplaceOrdersListFieldItem(str, Enum):
40
41
  OFFERING_NAME = "offering_name"
41
42
  OFFERING_PLUGIN_OPTIONS = "offering_plugin_options"
42
43
  OFFERING_SHARED = "offering_shared"
43
- OFFERING_TERMS_OF_SERVICE = "offering_terms_of_service"
44
44
  OFFERING_THUMBNAIL = "offering_thumbnail"
45
45
  OFFERING_TYPE = "offering_type"
46
46
  OFFERING_UUID = "offering_uuid"
@@ -25,6 +25,7 @@ class MarketplaceOrdersRetrieveFieldItem(str, Enum):
25
25
  CUSTOMER_SLUG = "customer_slug"
26
26
  CUSTOMER_UUID = "customer_uuid"
27
27
  ERROR_MESSAGE = "error_message"
28
+ ERROR_TRACEBACK = "error_traceback"
28
29
  FIXED_PRICE = "fixed_price"
29
30
  ISSUE = "issue"
30
31
  LIMITS = "limits"
@@ -40,7 +41,6 @@ class MarketplaceOrdersRetrieveFieldItem(str, Enum):
40
41
  OFFERING_NAME = "offering_name"
41
42
  OFFERING_PLUGIN_OPTIONS = "offering_plugin_options"
42
43
  OFFERING_SHARED = "offering_shared"
43
- OFFERING_TERMS_OF_SERVICE = "offering_terms_of_service"
44
44
  OFFERING_THUMBNAIL = "offering_thumbnail"
45
45
  OFFERING_TYPE = "offering_type"
46
46
  OFFERING_UUID = "offering_uuid"
@@ -59,8 +59,6 @@ class MarketplaceProviderOfferingsListCustomerServiceAccountsRetrieveFieldItem(s
59
59
  SHARED = "shared"
60
60
  SLUG = "slug"
61
61
  STATE = "state"
62
- TERMS_OF_SERVICE = "terms_of_service"
63
- TERMS_OF_SERVICE_LINK = "terms_of_service_link"
64
62
  THUMBNAIL = "thumbnail"
65
63
  TOTAL_COST = "total_cost"
66
64
  TOTAL_COST_ESTIMATED = "total_cost_estimated"
@@ -59,8 +59,6 @@ class MarketplaceProviderOfferingsListFieldItem(str, Enum):
59
59
  SHARED = "shared"
60
60
  SLUG = "slug"
61
61
  STATE = "state"
62
- TERMS_OF_SERVICE = "terms_of_service"
63
- TERMS_OF_SERVICE_LINK = "terms_of_service_link"
64
62
  THUMBNAIL = "thumbnail"
65
63
  TOTAL_COST = "total_cost"
66
64
  TOTAL_COST_ESTIMATED = "total_cost_estimated"
@@ -59,8 +59,6 @@ class MarketplaceProviderOfferingsListProjectServiceAccountsRetrieveFieldItem(st
59
59
  SHARED = "shared"
60
60
  SLUG = "slug"
61
61
  STATE = "state"
62
- TERMS_OF_SERVICE = "terms_of_service"
63
- TERMS_OF_SERVICE_LINK = "terms_of_service_link"
64
62
  THUMBNAIL = "thumbnail"
65
63
  TOTAL_COST = "total_cost"
66
64
  TOTAL_COST_ESTIMATED = "total_cost_estimated"
@@ -59,8 +59,6 @@ class MarketplaceProviderOfferingsRetrieveFieldItem(str, Enum):
59
59
  SHARED = "shared"
60
60
  SLUG = "slug"
61
61
  STATE = "state"
62
- TERMS_OF_SERVICE = "terms_of_service"
63
- TERMS_OF_SERVICE_LINK = "terms_of_service_link"
64
62
  THUMBNAIL = "thumbnail"
65
63
  TOTAL_COST = "total_cost"
66
64
  TOTAL_COST_ESTIMATED = "total_cost_estimated"
@@ -59,8 +59,6 @@ class MarketplaceProviderOfferingsStatsRetrieveFieldItem(str, Enum):
59
59
  SHARED = "shared"
60
60
  SLUG = "slug"
61
61
  STATE = "state"
62
- TERMS_OF_SERVICE = "terms_of_service"
63
- TERMS_OF_SERVICE_LINK = "terms_of_service_link"
64
62
  THUMBNAIL = "thumbnail"
65
63
  TOTAL_COST = "total_cost"
66
64
  TOTAL_COST_ESTIMATED = "total_cost_estimated"
@@ -59,8 +59,6 @@ class MarketplaceProviderOfferingsUserHasResourceAccessRetrieveFieldItem(str, En
59
59
  SHARED = "shared"
60
60
  SLUG = "slug"
61
61
  STATE = "state"
62
- TERMS_OF_SERVICE = "terms_of_service"
63
- TERMS_OF_SERVICE_LINK = "terms_of_service_link"
64
62
  THUMBNAIL = "thumbnail"
65
63
  TOTAL_COST = "total_cost"
66
64
  TOTAL_COST_ESTIMATED = "total_cost_estimated"
@@ -40,7 +40,6 @@ class MarketplaceProviderResourcesDetailsRetrieveFieldItem(str, Enum):
40
40
  OFFERING_PLUGIN_OPTIONS = "offering_plugin_options"
41
41
  OFFERING_SHARED = "offering_shared"
42
42
  OFFERING_SLUG = "offering_slug"
43
- OFFERING_TERMS_OF_SERVICE = "offering_terms_of_service"
44
43
  OFFERING_THUMBNAIL = "offering_thumbnail"
45
44
  OFFERING_TYPE = "offering_type"
46
45
  OFFERING_UUID = "offering_uuid"
@@ -76,6 +75,7 @@ class MarketplaceProviderResourcesDetailsRetrieveFieldItem(str, Enum):
76
75
  STATE = "state"
77
76
  URL = "url"
78
77
  USERNAME = "username"
78
+ USER_REQUIRES_RECONSENT = "user_requires_reconsent"
79
79
  UUID = "uuid"
80
80
 
81
81
  def __str__(self) -> str:
@@ -40,7 +40,6 @@ class MarketplaceProviderResourcesListFieldItem(str, Enum):
40
40
  OFFERING_PLUGIN_OPTIONS = "offering_plugin_options"
41
41
  OFFERING_SHARED = "offering_shared"
42
42
  OFFERING_SLUG = "offering_slug"
43
- OFFERING_TERMS_OF_SERVICE = "offering_terms_of_service"
44
43
  OFFERING_THUMBNAIL = "offering_thumbnail"
45
44
  OFFERING_TYPE = "offering_type"
46
45
  OFFERING_UUID = "offering_uuid"
@@ -76,6 +75,7 @@ class MarketplaceProviderResourcesListFieldItem(str, Enum):
76
75
  STATE = "state"
77
76
  URL = "url"
78
77
  USERNAME = "username"
78
+ USER_REQUIRES_RECONSENT = "user_requires_reconsent"
79
79
  UUID = "uuid"
80
80
 
81
81
  def __str__(self) -> str:
@@ -40,7 +40,6 @@ class MarketplaceProviderResourcesRetrieveFieldItem(str, Enum):
40
40
  OFFERING_PLUGIN_OPTIONS = "offering_plugin_options"
41
41
  OFFERING_SHARED = "offering_shared"
42
42
  OFFERING_SLUG = "offering_slug"
43
- OFFERING_TERMS_OF_SERVICE = "offering_terms_of_service"
44
43
  OFFERING_THUMBNAIL = "offering_thumbnail"
45
44
  OFFERING_TYPE = "offering_type"
46
45
  OFFERING_UUID = "offering_uuid"
@@ -76,6 +75,7 @@ class MarketplaceProviderResourcesRetrieveFieldItem(str, Enum):
76
75
  STATE = "state"
77
76
  URL = "url"
78
77
  USERNAME = "username"
78
+ USER_REQUIRES_RECONSENT = "user_requires_reconsent"
79
79
  UUID = "uuid"
80
80
 
81
81
  def __str__(self) -> str:
@@ -57,8 +57,6 @@ class MarketplacePublicOfferingsListFieldItem(str, Enum):
57
57
  SHARED = "shared"
58
58
  SLUG = "slug"
59
59
  STATE = "state"
60
- TERMS_OF_SERVICE = "terms_of_service"
61
- TERMS_OF_SERVICE_LINK = "terms_of_service_link"
62
60
  THUMBNAIL = "thumbnail"
63
61
  TOTAL_COST = "total_cost"
64
62
  TOTAL_COST_ESTIMATED = "total_cost_estimated"
@@ -57,8 +57,6 @@ class MarketplacePublicOfferingsRetrieveFieldItem(str, Enum):
57
57
  SHARED = "shared"
58
58
  SLUG = "slug"
59
59
  STATE = "state"
60
- TERMS_OF_SERVICE = "terms_of_service"
61
- TERMS_OF_SERVICE_LINK = "terms_of_service_link"
62
60
  THUMBNAIL = "thumbnail"
63
61
  TOTAL_COST = "total_cost"
64
62
  TOTAL_COST_ESTIMATED = "total_cost_estimated"
@@ -18,6 +18,9 @@ class MarketplaceRancherCreateOrderAttributes:
18
18
  """This mixin allows to specify list of fields to be rendered by serializer.
19
19
  It expects that request is available in serializer's context.
20
20
 
21
+ It is disabled for nested serializers (where parent is another serializer)
22
+ but remains active for list views (where parent is a ListSerializer).
23
+
21
24
  Attributes:
22
25
  name (str):
23
26
  nodes (list['RancherNestedNodeRequest']):
@@ -40,7 +40,6 @@ class MarketplaceResourcesDetailsRetrieveFieldItem(str, Enum):
40
40
  OFFERING_PLUGIN_OPTIONS = "offering_plugin_options"
41
41
  OFFERING_SHARED = "offering_shared"
42
42
  OFFERING_SLUG = "offering_slug"
43
- OFFERING_TERMS_OF_SERVICE = "offering_terms_of_service"
44
43
  OFFERING_THUMBNAIL = "offering_thumbnail"
45
44
  OFFERING_TYPE = "offering_type"
46
45
  OFFERING_UUID = "offering_uuid"
@@ -76,6 +75,7 @@ class MarketplaceResourcesDetailsRetrieveFieldItem(str, Enum):
76
75
  STATE = "state"
77
76
  URL = "url"
78
77
  USERNAME = "username"
78
+ USER_REQUIRES_RECONSENT = "user_requires_reconsent"
79
79
  UUID = "uuid"
80
80
 
81
81
  def __str__(self) -> str:
@@ -40,7 +40,6 @@ class MarketplaceResourcesListFieldItem(str, Enum):
40
40
  OFFERING_PLUGIN_OPTIONS = "offering_plugin_options"
41
41
  OFFERING_SHARED = "offering_shared"
42
42
  OFFERING_SLUG = "offering_slug"
43
- OFFERING_TERMS_OF_SERVICE = "offering_terms_of_service"
44
43
  OFFERING_THUMBNAIL = "offering_thumbnail"
45
44
  OFFERING_TYPE = "offering_type"
46
45
  OFFERING_UUID = "offering_uuid"
@@ -76,6 +75,7 @@ class MarketplaceResourcesListFieldItem(str, Enum):
76
75
  STATE = "state"
77
76
  URL = "url"
78
77
  USERNAME = "username"
78
+ USER_REQUIRES_RECONSENT = "user_requires_reconsent"
79
79
  UUID = "uuid"
80
80
 
81
81
  def __str__(self) -> str:
@@ -40,7 +40,6 @@ class MarketplaceResourcesRetrieveFieldItem(str, Enum):
40
40
  OFFERING_PLUGIN_OPTIONS = "offering_plugin_options"
41
41
  OFFERING_SHARED = "offering_shared"
42
42
  OFFERING_SLUG = "offering_slug"
43
- OFFERING_TERMS_OF_SERVICE = "offering_terms_of_service"
44
43
  OFFERING_THUMBNAIL = "offering_thumbnail"
45
44
  OFFERING_TYPE = "offering_type"
46
45
  OFFERING_UUID = "offering_uuid"
@@ -76,6 +75,7 @@ class MarketplaceResourcesRetrieveFieldItem(str, Enum):
76
75
  STATE = "state"
77
76
  URL = "url"
78
77
  USERNAME = "username"
78
+ USER_REQUIRES_RECONSENT = "user_requires_reconsent"
79
79
  UUID = "uuid"
80
80
 
81
81
  def __str__(self) -> str:
@@ -12,6 +12,7 @@ class MarketplaceServiceProvidersListFieldItem(str, Enum):
12
12
  CUSTOMER_SLUG = "customer_slug"
13
13
  CUSTOMER_UUID = "customer_uuid"
14
14
  DESCRIPTION = "description"
15
+ ENABLE_NOTIFICATIONS = "enable_notifications"
15
16
  IMAGE = "image"
16
17
  OFFERING_COUNT = "offering_count"
17
18
  ORGANIZATION_GROUPS = "organization_groups"
@@ -12,6 +12,7 @@ class MarketplaceServiceProvidersRetrieveFieldItem(str, Enum):
12
12
  CUSTOMER_SLUG = "customer_slug"
13
13
  CUSTOMER_UUID = "customer_uuid"
14
14
  DESCRIPTION = "description"
15
+ ENABLE_NOTIFICATIONS = "enable_notifications"
15
16
  IMAGE = "image"
16
17
  OFFERING_COUNT = "offering_count"
17
18
  ORGANIZATION_GROUPS = "organization_groups"
@@ -0,0 +1,15 @@
1
+ from enum import Enum
2
+
3
+
4
+ class MarketplaceUserOfferingConsentsCountOItem(str, Enum):
5
+ AGREEMENT_DATE = "agreement_date"
6
+ CREATED = "created"
7
+ MODIFIED = "modified"
8
+ REVOCATION_DATE = "revocation_date"
9
+ VALUE_0 = "-agreement_date"
10
+ VALUE_1 = "-created"
11
+ VALUE_2 = "-modified"
12
+ VALUE_3 = "-revocation_date"
13
+
14
+ def __str__(self) -> str:
15
+ return str(self.value)
@@ -0,0 +1,15 @@
1
+ from enum import Enum
2
+
3
+
4
+ class MarketplaceUserOfferingConsentsListOItem(str, Enum):
5
+ AGREEMENT_DATE = "agreement_date"
6
+ CREATED = "created"
7
+ MODIFIED = "modified"
8
+ REVOCATION_DATE = "revocation_date"
9
+ VALUE_0 = "-agreement_date"
10
+ VALUE_1 = "-created"
11
+ VALUE_2 = "-modified"
12
+ VALUE_3 = "-revocation_date"
13
+
14
+ def __str__(self) -> str:
15
+ return str(self.value)
@@ -42,8 +42,6 @@ class Offering:
42
42
  slug (Union[Unset, str]):
43
43
  description (Union[Unset, str]):
44
44
  full_description (Union[Unset, str]):
45
- terms_of_service (Union[Unset, str]):
46
- terms_of_service_link (Union[Unset, str]):
47
45
  privacy_policy_link (Union[Unset, str]):
48
46
  access_url (Union[Unset, str]): Publicly accessible offering access URL
49
47
  endpoints (Union[Unset, list['NestedEndpoint']]):
@@ -107,8 +105,6 @@ class Offering:
107
105
  slug: Union[Unset, str] = UNSET
108
106
  description: Union[Unset, str] = UNSET
109
107
  full_description: Union[Unset, str] = UNSET
110
- terms_of_service: Union[Unset, str] = UNSET
111
- terms_of_service_link: Union[Unset, str] = UNSET
112
108
  privacy_policy_link: Union[Unset, str] = UNSET
113
109
  access_url: Union[Unset, str] = UNSET
114
110
  endpoints: Union[Unset, list["NestedEndpoint"]] = UNSET
@@ -184,10 +180,6 @@ class Offering:
184
180
 
185
181
  full_description = self.full_description
186
182
 
187
- terms_of_service = self.terms_of_service
188
-
189
- terms_of_service_link = self.terms_of_service_link
190
-
191
183
  privacy_policy_link = self.privacy_policy_link
192
184
 
193
185
  access_url = self.access_url
@@ -465,10 +457,6 @@ class Offering:
465
457
  field_dict["description"] = description
466
458
  if full_description is not UNSET:
467
459
  field_dict["full_description"] = full_description
468
- if terms_of_service is not UNSET:
469
- field_dict["terms_of_service"] = terms_of_service
470
- if terms_of_service_link is not UNSET:
471
- field_dict["terms_of_service_link"] = terms_of_service_link
472
460
  if privacy_policy_link is not UNSET:
473
461
  field_dict["privacy_policy_link"] = privacy_policy_link
474
462
  if access_url is not UNSET:
@@ -620,10 +608,6 @@ class Offering:
620
608
 
621
609
  full_description = d.pop("full_description", UNSET)
622
610
 
623
- terms_of_service = d.pop("terms_of_service", UNSET)
624
-
625
- terms_of_service_link = d.pop("terms_of_service_link", UNSET)
626
-
627
611
  privacy_policy_link = d.pop("privacy_policy_link", UNSET)
628
612
 
629
613
  access_url = d.pop("access_url", UNSET)
@@ -1020,8 +1004,6 @@ class Offering:
1020
1004
  slug=slug,
1021
1005
  description=description,
1022
1006
  full_description=full_description,
1023
- terms_of_service=terms_of_service,
1024
- terms_of_service_link=terms_of_service_link,
1025
1007
  privacy_policy_link=privacy_policy_link,
1026
1008
  access_url=access_url,
1027
1009
  endpoints=endpoints,
@@ -76,8 +76,6 @@ class OfferingCreate:
76
76
  has_compliance_requirements (bool):
77
77
  description (Union[Unset, str]):
78
78
  full_description (Union[Unset, str]):
79
- terms_of_service (Union[Unset, str]):
80
- terms_of_service_link (Union[Unset, str]):
81
79
  privacy_policy_link (Union[Unset, str]):
82
80
  access_url (Union[Unset, str]): Publicly accessible offering access URL
83
81
  customer (Union[None, Unset, str]):
@@ -142,8 +140,6 @@ class OfferingCreate:
142
140
  has_compliance_requirements: bool
143
141
  description: Union[Unset, str] = UNSET
144
142
  full_description: Union[Unset, str] = UNSET
145
- terms_of_service: Union[Unset, str] = UNSET
146
- terms_of_service_link: Union[Unset, str] = UNSET
147
143
  privacy_policy_link: Union[Unset, str] = UNSET
148
144
  access_url: Union[Unset, str] = UNSET
149
145
  customer: Union[None, Unset, str] = UNSET
@@ -301,10 +297,6 @@ class OfferingCreate:
301
297
 
302
298
  full_description = self.full_description
303
299
 
304
- terms_of_service = self.terms_of_service
305
-
306
- terms_of_service_link = self.terms_of_service_link
307
-
308
300
  privacy_policy_link = self.privacy_policy_link
309
301
 
310
302
  access_url = self.access_url
@@ -436,10 +428,6 @@ class OfferingCreate:
436
428
  field_dict["description"] = description
437
429
  if full_description is not UNSET:
438
430
  field_dict["full_description"] = full_description
439
- if terms_of_service is not UNSET:
440
- field_dict["terms_of_service"] = terms_of_service
441
- if terms_of_service_link is not UNSET:
442
- field_dict["terms_of_service_link"] = terms_of_service_link
443
431
  if privacy_policy_link is not UNSET:
444
432
  field_dict["privacy_policy_link"] = privacy_policy_link
445
433
  if access_url is not UNSET:
@@ -736,10 +724,6 @@ class OfferingCreate:
736
724
 
737
725
  full_description = d.pop("full_description", UNSET)
738
726
 
739
- terms_of_service = d.pop("terms_of_service", UNSET)
740
-
741
- terms_of_service_link = d.pop("terms_of_service_link", UNSET)
742
-
743
727
  privacy_policy_link = d.pop("privacy_policy_link", UNSET)
744
728
 
745
729
  access_url = d.pop("access_url", UNSET)
@@ -896,8 +880,6 @@ class OfferingCreate:
896
880
  has_compliance_requirements=has_compliance_requirements,
897
881
  description=description,
898
882
  full_description=full_description,
899
- terms_of_service=terms_of_service,
900
- terms_of_service_link=terms_of_service_link,
901
883
  privacy_policy_link=privacy_policy_link,
902
884
  access_url=access_url,
903
885
  customer=customer,
@@ -29,8 +29,6 @@ class OfferingCreateRequest:
29
29
  type_ (str):
30
30
  description (Union[Unset, str]):
31
31
  full_description (Union[Unset, str]):
32
- terms_of_service (Union[Unset, str]):
33
- terms_of_service_link (Union[Unset, str]):
34
32
  privacy_policy_link (Union[Unset, str]):
35
33
  access_url (Union[Unset, str]): Publicly accessible offering access URL
36
34
  customer (Union[None, Unset, str]):
@@ -60,8 +58,6 @@ class OfferingCreateRequest:
60
58
  type_: str
61
59
  description: Union[Unset, str] = UNSET
62
60
  full_description: Union[Unset, str] = UNSET
63
- terms_of_service: Union[Unset, str] = UNSET
64
- terms_of_service_link: Union[Unset, str] = UNSET
65
61
  privacy_policy_link: Union[Unset, str] = UNSET
66
62
  access_url: Union[Unset, str] = UNSET
67
63
  customer: Union[None, Unset, str] = UNSET
@@ -97,10 +93,6 @@ class OfferingCreateRequest:
97
93
 
98
94
  full_description = self.full_description
99
95
 
100
- terms_of_service = self.terms_of_service
101
-
102
- terms_of_service_link = self.terms_of_service_link
103
-
104
96
  privacy_policy_link = self.privacy_policy_link
105
97
 
106
98
  access_url = self.access_url
@@ -206,10 +198,6 @@ class OfferingCreateRequest:
206
198
  field_dict["description"] = description
207
199
  if full_description is not UNSET:
208
200
  field_dict["full_description"] = full_description
209
- if terms_of_service is not UNSET:
210
- field_dict["terms_of_service"] = terms_of_service
211
- if terms_of_service_link is not UNSET:
212
- field_dict["terms_of_service_link"] = terms_of_service_link
213
201
  if privacy_policy_link is not UNSET:
214
202
  field_dict["privacy_policy_link"] = privacy_policy_link
215
203
  if access_url is not UNSET:
@@ -275,10 +263,6 @@ class OfferingCreateRequest:
275
263
 
276
264
  full_description = d.pop("full_description", UNSET)
277
265
 
278
- terms_of_service = d.pop("terms_of_service", UNSET)
279
-
280
- terms_of_service_link = d.pop("terms_of_service_link", UNSET)
281
-
282
266
  privacy_policy_link = d.pop("privacy_policy_link", UNSET)
283
267
 
284
268
  access_url = d.pop("access_url", UNSET)
@@ -422,8 +406,6 @@ class OfferingCreateRequest:
422
406
  type_=type_,
423
407
  description=description,
424
408
  full_description=full_description,
425
- terms_of_service=terms_of_service,
426
- terms_of_service_link=terms_of_service_link,
427
409
  privacy_policy_link=privacy_policy_link,
428
410
  access_url=access_url,
429
411
  customer=customer,
@@ -16,8 +16,6 @@ class OfferingOverviewUpdateRequest:
16
16
  name (str):
17
17
  description (Union[Unset, str]):
18
18
  full_description (Union[Unset, str]):
19
- terms_of_service (Union[Unset, str]):
20
- terms_of_service_link (Union[Unset, str]):
21
19
  privacy_policy_link (Union[Unset, str]):
22
20
  access_url (Union[Unset, str]): Publicly accessible offering access URL
23
21
  getting_started (Union[Unset, str]):
@@ -27,8 +25,6 @@ class OfferingOverviewUpdateRequest:
27
25
  name: str
28
26
  description: Union[Unset, str] = UNSET
29
27
  full_description: Union[Unset, str] = UNSET
30
- terms_of_service: Union[Unset, str] = UNSET
31
- terms_of_service_link: Union[Unset, str] = UNSET
32
28
  privacy_policy_link: Union[Unset, str] = UNSET
33
29
  access_url: Union[Unset, str] = UNSET
34
30
  getting_started: Union[Unset, str] = UNSET
@@ -42,10 +38,6 @@ class OfferingOverviewUpdateRequest:
42
38
 
43
39
  full_description = self.full_description
44
40
 
45
- terms_of_service = self.terms_of_service
46
-
47
- terms_of_service_link = self.terms_of_service_link
48
-
49
41
  privacy_policy_link = self.privacy_policy_link
50
42
 
51
43
  access_url = self.access_url
@@ -65,10 +57,6 @@ class OfferingOverviewUpdateRequest:
65
57
  field_dict["description"] = description
66
58
  if full_description is not UNSET:
67
59
  field_dict["full_description"] = full_description
68
- if terms_of_service is not UNSET:
69
- field_dict["terms_of_service"] = terms_of_service
70
- if terms_of_service_link is not UNSET:
71
- field_dict["terms_of_service_link"] = terms_of_service_link
72
60
  if privacy_policy_link is not UNSET:
73
61
  field_dict["privacy_policy_link"] = privacy_policy_link
74
62
  if access_url is not UNSET:
@@ -89,10 +77,6 @@ class OfferingOverviewUpdateRequest:
89
77
 
90
78
  full_description = d.pop("full_description", UNSET)
91
79
 
92
- terms_of_service = d.pop("terms_of_service", UNSET)
93
-
94
- terms_of_service_link = d.pop("terms_of_service_link", UNSET)
95
-
96
80
  privacy_policy_link = d.pop("privacy_policy_link", UNSET)
97
81
 
98
82
  access_url = d.pop("access_url", UNSET)
@@ -105,8 +89,6 @@ class OfferingOverviewUpdateRequest:
105
89
  name=name,
106
90
  description=description,
107
91
  full_description=full_description,
108
- terms_of_service=terms_of_service,
109
- terms_of_service_link=terms_of_service_link,
110
92
  privacy_policy_link=privacy_policy_link,
111
93
  access_url=access_url,
112
94
  getting_started=getting_started,