windmill-api 1.435.0__py3-none-any.whl → 1.450.1__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 windmill-api might be problematic. Click here for more details.
- windmill_api/api/app/get_app_lite_by_path.py +166 -0
- windmill_api/api/capture/{get_capture.py → delete_capture.py} +12 -14
- windmill_api/api/capture/get_capture_configs.py +186 -0
- windmill_api/api/capture/list_captures.py +241 -0
- windmill_api/api/capture/ping_capture_config.py +121 -0
- windmill_api/api/capture/set_capture_config.py +107 -0
- windmill_api/api/input_/get_input_history.py +15 -0
- windmill_api/api/job/get_slack_approval_payload.py +171 -0
- windmill_api/api/nats_trigger/__init__.py +0 -0
- windmill_api/api/nats_trigger/create_nats_trigger.py +105 -0
- windmill_api/api/{capture/create_capture.py → nats_trigger/delete_nats_trigger.py} +4 -6
- windmill_api/api/nats_trigger/exists_nats_trigger.py +160 -0
- windmill_api/api/nats_trigger/get_nats_trigger.py +166 -0
- windmill_api/api/nats_trigger/list_nats_triggers.py +237 -0
- windmill_api/api/nats_trigger/set_nats_trigger_enabled.py +113 -0
- windmill_api/api/nats_trigger/update_nats_trigger.py +113 -0
- windmill_api/api/postgres_trigger/__init__.py +0 -0
- windmill_api/api/postgres_trigger/create_postgres_publication.py +121 -0
- windmill_api/api/postgres_trigger/create_postgres_replication_slot.py +113 -0
- windmill_api/api/postgres_trigger/create_postgres_trigger.py +105 -0
- windmill_api/api/postgres_trigger/create_template_script.py +105 -0
- windmill_api/api/postgres_trigger/delete_postgres_publication.py +109 -0
- windmill_api/api/postgres_trigger/delete_postgres_replication_slot.py +113 -0
- windmill_api/api/{capture/update_capture.py → postgres_trigger/delete_postgres_trigger.py} +4 -6
- windmill_api/api/postgres_trigger/exists_postgres_trigger.py +160 -0
- windmill_api/api/postgres_trigger/get_postgres_publication.py +180 -0
- windmill_api/api/postgres_trigger/get_postgres_trigger.py +166 -0
- windmill_api/api/postgres_trigger/get_template_script.py +101 -0
- windmill_api/api/postgres_trigger/is_valid_postgres_configuration.py +160 -0
- windmill_api/api/postgres_trigger/list_postgres_publication.py +161 -0
- windmill_api/api/postgres_trigger/list_postgres_replication_slot.py +171 -0
- windmill_api/api/postgres_trigger/list_postgres_triggers.py +237 -0
- windmill_api/api/postgres_trigger/set_postgres_trigger_enabled.py +113 -0
- windmill_api/api/postgres_trigger/update_postgres_publication.py +121 -0
- windmill_api/api/postgres_trigger/update_postgres_trigger.py +113 -0
- windmill_api/api/teams/__init__.py +0 -0
- windmill_api/api/teams/sync_teams.py +131 -0
- windmill_api/api/user/refresh_user_token.py +25 -4
- windmill_api/api/worker/get_custom_tags.py +50 -4
- windmill_api/api/workspace/change_workspace_color.py +105 -0
- windmill_api/api/workspace/get_threshold_alert.py +152 -0
- windmill_api/api/workspace/set_threshold_alert.py +105 -0
- windmill_api/api/workspace/update_operator_settings.py +109 -0
- windmill_api/models/add_granular_acls_kind.py +2 -0
- windmill_api/models/app_with_last_version.py +11 -1
- windmill_api/models/app_with_last_version_w_draft.py +8 -8
- windmill_api/models/archive_script_by_hash_response_200.py +8 -0
- windmill_api/models/archive_script_by_hash_response_200_kind.py +1 -0
- windmill_api/models/archive_script_by_hash_response_200_language.py +2 -0
- windmill_api/models/capture.py +94 -0
- windmill_api/models/capture_config.py +95 -0
- windmill_api/models/capture_config_trigger_kind.py +13 -0
- windmill_api/models/capture_trigger_kind.py +13 -0
- windmill_api/models/change_workspace_color_json_body.py +58 -0
- windmill_api/models/channel_info.py +80 -0
- windmill_api/models/completed_job_job_kind.py +2 -0
- windmill_api/models/completed_job_language.py +2 -0
- windmill_api/models/create_nats_trigger_json_body.py +120 -0
- windmill_api/models/create_postgres_publication_json_body.py +90 -0
- windmill_api/models/create_postgres_publication_json_body_table_to_track_item.py +86 -0
- windmill_api/models/create_postgres_publication_json_body_table_to_track_item_table_to_track_item.py +79 -0
- windmill_api/models/create_postgres_replication_slot_json_body.py +58 -0
- windmill_api/models/create_postgres_trigger_json_body.py +125 -0
- windmill_api/models/create_postgres_trigger_json_body_publication.py +92 -0
- windmill_api/models/create_postgres_trigger_json_body_publication_table_to_track_item.py +86 -0
- windmill_api/models/create_postgres_trigger_json_body_publication_table_to_track_item_table_to_track_item.py +79 -0
- windmill_api/models/create_script_json_body.py +8 -0
- windmill_api/models/create_script_json_body_kind.py +1 -0
- windmill_api/models/create_script_json_body_language.py +2 -0
- windmill_api/models/create_template_script_json_body.py +90 -0
- windmill_api/models/create_template_script_json_body_language.py +8 -0
- windmill_api/models/create_template_script_json_body_relations_item.py +86 -0
- windmill_api/models/create_template_script_json_body_relations_item_table_to_track_item.py +79 -0
- windmill_api/models/create_websocket_trigger_json_body.py +42 -29
- windmill_api/models/create_workspace.py +8 -0
- windmill_api/models/create_workspace_json_body.py +8 -0
- windmill_api/models/delete_completed_job_response_200_job_kind.py +2 -0
- windmill_api/models/delete_completed_job_response_200_language.py +2 -0
- windmill_api/models/delete_postgres_replication_slot_json_body.py +58 -0
- windmill_api/models/delete_script_by_hash_response_200.py +8 -0
- windmill_api/models/delete_script_by_hash_response_200_kind.py +1 -0
- windmill_api/models/delete_script_by_hash_response_200_language.py +2 -0
- windmill_api/models/edit_nats_trigger.py +112 -0
- windmill_api/models/edit_postgres_trigger.py +123 -0
- windmill_api/models/edit_postgres_trigger_publication.py +90 -0
- windmill_api/models/edit_postgres_trigger_publication_table_to_track_item.py +86 -0
- windmill_api/models/edit_postgres_trigger_publication_table_to_track_item_table_to_track_item.py +79 -0
- windmill_api/models/edit_websocket_trigger.py +35 -21
- windmill_api/models/execute_component_json_body.py +16 -0
- windmill_api/models/extended_jobs_jobs_item_type_0_job_kind.py +2 -0
- windmill_api/models/extended_jobs_jobs_item_type_0_language.py +2 -0
- windmill_api/models/extended_jobs_jobs_item_type_1_job_kind.py +2 -0
- windmill_api/models/extended_jobs_jobs_item_type_1_language.py +2 -0
- windmill_api/models/flow_metadata.py +8 -0
- windmill_api/models/flow_module_value_2_type_0_language.py +1 -0
- windmill_api/models/get_app_by_path_response_200.py +11 -1
- windmill_api/models/get_app_by_path_with_draft_response_200.py +8 -8
- windmill_api/models/get_app_by_version_response_200.py +11 -1
- windmill_api/models/get_app_lite_by_path_response_200.py +157 -0
- windmill_api/models/get_app_lite_by_path_response_200_execution_mode.py +10 -0
- windmill_api/models/get_app_lite_by_path_response_200_extra_perms.py +44 -0
- windmill_api/models/get_app_lite_by_path_response_200_policy.py +159 -0
- windmill_api/models/get_app_lite_by_path_response_200_policy_execution_mode.py +10 -0
- windmill_api/models/get_app_lite_by_path_response_200_policy_s3_inputs_item.py +44 -0
- windmill_api/models/get_app_lite_by_path_response_200_policy_triggerables.py +66 -0
- windmill_api/models/get_app_lite_by_path_response_200_policy_triggerables_additional_property.py +44 -0
- windmill_api/models/get_app_lite_by_path_response_200_policy_triggerables_v2.py +66 -0
- windmill_api/models/get_app_lite_by_path_response_200_policy_triggerables_v2_additional_property.py +44 -0
- windmill_api/models/get_app_lite_by_path_response_200_value.py +44 -0
- windmill_api/models/get_capture_configs_response_200_item.py +95 -0
- windmill_api/models/get_capture_configs_response_200_item_trigger_kind.py +13 -0
- windmill_api/models/get_capture_configs_runnable_kind.py +9 -0
- windmill_api/models/get_completed_job_response_200_job_kind.py +2 -0
- windmill_api/models/get_completed_job_response_200_language.py +2 -0
- windmill_api/models/get_flow_by_path_response_200.py +8 -0
- windmill_api/models/get_flow_by_path_with_draft_response_200_draft.py +8 -0
- windmill_api/models/get_flow_version_response_200.py +8 -0
- windmill_api/models/get_granular_acls_kind.py +2 -0
- windmill_api/models/get_http_trigger_response_200.py +36 -36
- windmill_api/models/get_job_response_200_type_0_job_kind.py +2 -0
- windmill_api/models/get_job_response_200_type_0_language.py +2 -0
- windmill_api/models/get_job_response_200_type_1_job_kind.py +2 -0
- windmill_api/models/get_job_response_200_type_1_language.py +2 -0
- windmill_api/models/get_nats_trigger_response_200.py +196 -0
- windmill_api/models/get_nats_trigger_response_200_extra_perms.py +44 -0
- windmill_api/models/get_postgres_publication_response_200.py +90 -0
- windmill_api/models/get_postgres_publication_response_200_table_to_track_item.py +86 -0
- windmill_api/models/get_postgres_publication_response_200_table_to_track_item_table_to_track_item.py +79 -0
- windmill_api/models/get_postgres_trigger_response_200.py +178 -0
- windmill_api/models/get_postgres_trigger_response_200_extra_perms.py +44 -0
- windmill_api/models/get_premium_info_response_200.py +7 -0
- windmill_api/models/get_public_app_by_custom_path_response_200.py +11 -1
- windmill_api/models/get_public_app_by_secret_response_200.py +11 -1
- windmill_api/models/get_script_by_hash_response_200.py +8 -0
- windmill_api/models/get_script_by_hash_response_200_kind.py +1 -0
- windmill_api/models/get_script_by_hash_response_200_language.py +2 -0
- windmill_api/models/get_script_by_path_response_200.py +8 -0
- windmill_api/models/get_script_by_path_response_200_kind.py +1 -0
- windmill_api/models/get_script_by_path_response_200_language.py +2 -0
- windmill_api/models/get_script_by_path_with_draft_response_200.py +8 -0
- windmill_api/models/get_script_by_path_with_draft_response_200_draft.py +8 -0
- windmill_api/models/get_script_by_path_with_draft_response_200_draft_kind.py +1 -0
- windmill_api/models/get_script_by_path_with_draft_response_200_draft_language.py +2 -0
- windmill_api/models/get_script_by_path_with_draft_response_200_kind.py +1 -0
- windmill_api/models/get_script_by_path_with_draft_response_200_language.py +2 -0
- windmill_api/models/get_settings_response_200.py +27 -0
- windmill_api/models/get_settings_response_200_operator_settings.py +114 -0
- windmill_api/models/get_suspended_job_flow_response_200_job_type_0_job_kind.py +2 -0
- windmill_api/models/get_suspended_job_flow_response_200_job_type_0_language.py +2 -0
- windmill_api/models/get_suspended_job_flow_response_200_job_type_1_job_kind.py +2 -0
- windmill_api/models/get_suspended_job_flow_response_200_job_type_1_language.py +2 -0
- windmill_api/models/get_threshold_alert_response_200.py +75 -0
- windmill_api/models/get_triggers_count_of_flow_response_200.py +16 -0
- windmill_api/models/get_triggers_count_of_script_response_200.py +16 -0
- windmill_api/models/get_used_triggers_response_200.py +14 -0
- windmill_api/models/get_user_response_200.py +8 -0
- windmill_api/models/get_websocket_trigger_response_200.py +89 -76
- windmill_api/models/http_trigger.py +36 -36
- windmill_api/models/job_type_0_job_kind.py +2 -0
- windmill_api/models/job_type_0_language.py +2 -0
- windmill_api/models/job_type_1_job_kind.py +2 -0
- windmill_api/models/job_type_1_language.py +2 -0
- windmill_api/models/language.py +8 -0
- windmill_api/models/list_captures_response_200_item.py +94 -0
- windmill_api/models/list_captures_response_200_item_trigger_kind.py +13 -0
- windmill_api/models/list_captures_runnable_kind.py +9 -0
- windmill_api/models/list_captures_trigger_kind.py +13 -0
- windmill_api/models/list_completed_jobs_response_200_item_job_kind.py +2 -0
- windmill_api/models/list_completed_jobs_response_200_item_language.py +2 -0
- windmill_api/models/list_extended_jobs_response_200_jobs_item_type_0_job_kind.py +2 -0
- windmill_api/models/list_extended_jobs_response_200_jobs_item_type_0_language.py +2 -0
- windmill_api/models/list_extended_jobs_response_200_jobs_item_type_1_job_kind.py +2 -0
- windmill_api/models/list_extended_jobs_response_200_jobs_item_type_1_language.py +2 -0
- windmill_api/models/list_http_triggers_response_200_item.py +36 -36
- windmill_api/models/list_jobs_response_200_item_type_0_job_kind.py +2 -0
- windmill_api/models/list_jobs_response_200_item_type_0_language.py +2 -0
- windmill_api/models/list_jobs_response_200_item_type_1_job_kind.py +2 -0
- windmill_api/models/list_jobs_response_200_item_type_1_language.py +2 -0
- windmill_api/models/list_nats_triggers_response_200_item.py +196 -0
- windmill_api/models/list_nats_triggers_response_200_item_extra_perms.py +44 -0
- windmill_api/models/list_postgres_replication_slot_response_200_item.py +66 -0
- windmill_api/models/list_postgres_triggers_response_200_item.py +182 -0
- windmill_api/models/list_postgres_triggers_response_200_item_extra_perms.py +44 -0
- windmill_api/models/list_queue_response_200_item_job_kind.py +2 -0
- windmill_api/models/list_queue_response_200_item_language.py +2 -0
- windmill_api/models/list_scripts_response_200_item.py +8 -0
- windmill_api/models/list_scripts_response_200_item_kind.py +1 -0
- windmill_api/models/list_scripts_response_200_item_language.py +2 -0
- windmill_api/models/list_user_workspaces_response_200_workspaces_item.py +39 -1
- windmill_api/models/list_user_workspaces_response_200_workspaces_item_operator_settings.py +114 -0
- windmill_api/models/list_users_response_200_item.py +8 -0
- windmill_api/models/list_websocket_triggers_response_200_item.py +89 -76
- windmill_api/models/list_workspaces_as_super_admin_response_200_item.py +8 -0
- windmill_api/models/list_workspaces_response_200_item.py +8 -0
- windmill_api/models/nats_trigger.py +196 -0
- windmill_api/models/nats_trigger_extra_perms.py +44 -0
- windmill_api/models/new_nats_trigger.py +120 -0
- windmill_api/models/new_postgres_trigger.py +125 -0
- windmill_api/models/new_postgres_trigger_publication.py +90 -0
- windmill_api/models/new_postgres_trigger_publication_table_to_track_item.py +86 -0
- windmill_api/models/new_postgres_trigger_publication_table_to_track_item_table_to_track_item.py +79 -0
- windmill_api/models/new_script.py +8 -0
- windmill_api/models/new_script_kind.py +1 -0
- windmill_api/models/new_script_language.py +2 -0
- windmill_api/models/new_script_with_draft.py +8 -0
- windmill_api/models/new_script_with_draft_draft.py +8 -0
- windmill_api/models/new_script_with_draft_draft_kind.py +1 -0
- windmill_api/models/new_script_with_draft_draft_language.py +2 -0
- windmill_api/models/new_script_with_draft_kind.py +1 -0
- windmill_api/models/new_script_with_draft_language.py +2 -0
- windmill_api/models/new_websocket_trigger.py +36 -26
- windmill_api/models/open_flow_w_path.py +8 -0
- windmill_api/models/operator_settings.py +114 -0
- windmill_api/models/ping_capture_config_runnable_kind.py +9 -0
- windmill_api/models/ping_capture_config_trigger_kind.py +13 -0
- windmill_api/models/postgres_trigger.py +178 -0
- windmill_api/models/postgres_trigger_extra_perms.py +44 -0
- windmill_api/models/preview_language.py +2 -0
- windmill_api/models/publication_data.py +86 -0
- windmill_api/models/publication_data_table_to_track_item.py +84 -0
- windmill_api/models/publication_data_table_to_track_item_table_to_track_item.py +79 -0
- windmill_api/models/queued_job_job_kind.py +2 -0
- windmill_api/models/queued_job_language.py +2 -0
- windmill_api/models/raw_script_for_dependencies_language.py +2 -0
- windmill_api/models/raw_script_language.py +1 -0
- windmill_api/models/relations.py +80 -0
- windmill_api/models/relations_table_to_track_item.py +79 -0
- windmill_api/models/remove_granular_acls_kind.py +2 -0
- windmill_api/models/run_raw_script_dependencies_json_body_raw_scripts_item_language.py +2 -0
- windmill_api/models/run_script_preview_json_body_language.py +2 -0
- windmill_api/models/script.py +8 -0
- windmill_api/models/script_kind.py +1 -0
- windmill_api/models/script_lang.py +25 -0
- windmill_api/models/script_language.py +2 -0
- windmill_api/models/set_capture_config_json_body.py +97 -0
- windmill_api/models/set_capture_config_json_body_trigger_config.py +44 -0
- windmill_api/models/set_capture_config_json_body_trigger_kind.py +13 -0
- windmill_api/models/set_nats_trigger_enabled_json_body.py +58 -0
- windmill_api/models/set_postgres_trigger_enabled_json_body.py +58 -0
- windmill_api/models/set_threshold_alert_json_body.py +58 -0
- windmill_api/models/slot.py +58 -0
- windmill_api/models/slot_list.py +66 -0
- windmill_api/models/sync_teams_response_200_item.py +87 -0
- windmill_api/models/sync_teams_response_200_item_channels_item.py +80 -0
- windmill_api/models/table_to_track_item.py +79 -0
- windmill_api/models/team_info.py +87 -0
- windmill_api/models/team_info_channels_item.py +80 -0
- windmill_api/models/template_script.py +90 -0
- windmill_api/models/template_script_language.py +8 -0
- windmill_api/models/template_script_relations_item.py +82 -0
- windmill_api/models/template_script_relations_item_table_to_track_item.py +79 -0
- windmill_api/models/trigger_extra_property.py +95 -0
- windmill_api/models/trigger_extra_property_extra_perms.py +44 -0
- windmill_api/models/triggers_count.py +16 -0
- windmill_api/models/update_nats_trigger_json_body.py +112 -0
- windmill_api/models/update_operator_settings_json_body.py +114 -0
- windmill_api/models/update_postgres_publication_json_body.py +90 -0
- windmill_api/models/update_postgres_publication_json_body_table_to_track_item.py +86 -0
- windmill_api/models/update_postgres_publication_json_body_table_to_track_item_table_to_track_item.py +79 -0
- windmill_api/models/update_postgres_trigger_json_body.py +123 -0
- windmill_api/models/update_postgres_trigger_json_body_publication.py +92 -0
- windmill_api/models/update_postgres_trigger_json_body_publication_table_to_track_item.py +86 -0
- windmill_api/models/update_postgres_trigger_json_body_publication_table_to_track_item_table_to_track_item.py +79 -0
- windmill_api/models/update_websocket_trigger_json_body.py +40 -24
- windmill_api/models/user.py +8 -0
- windmill_api/models/user_workspace_list_workspaces_item.py +37 -1
- windmill_api/models/user_workspace_list_workspaces_item_operator_settings.py +114 -0
- windmill_api/models/websocket_trigger.py +83 -73
- windmill_api/models/whoami_response_200.py +8 -0
- windmill_api/models/whois_response_200.py +8 -0
- windmill_api/models/workspace.py +8 -0
- {windmill_api-1.435.0.dist-info → windmill_api-1.450.1.dist-info}/METADATA +1 -1
- {windmill_api-1.435.0.dist-info → windmill_api-1.450.1.dist-info}/RECORD +275 -132
- {windmill_api-1.435.0.dist-info → windmill_api-1.450.1.dist-info}/LICENSE +0 -0
- {windmill_api-1.435.0.dist-info → windmill_api-1.450.1.dist-info}/WHEEL +0 -0
|
@@ -59,6 +59,7 @@ class GetScriptByHashResponse200:
|
|
|
59
59
|
delete_after_use (Union[Unset, bool]):
|
|
60
60
|
visible_to_runner_only (Union[Unset, bool]):
|
|
61
61
|
codebase (Union[Unset, str]):
|
|
62
|
+
on_behalf_of_email (Union[Unset, str]):
|
|
62
63
|
"""
|
|
63
64
|
|
|
64
65
|
hash_: str
|
|
@@ -98,6 +99,7 @@ class GetScriptByHashResponse200:
|
|
|
98
99
|
delete_after_use: Union[Unset, bool] = UNSET
|
|
99
100
|
visible_to_runner_only: Union[Unset, bool] = UNSET
|
|
100
101
|
codebase: Union[Unset, str] = UNSET
|
|
102
|
+
on_behalf_of_email: Union[Unset, str] = UNSET
|
|
101
103
|
additional_properties: Dict[str, Any] = _attrs_field(init=False, factory=dict)
|
|
102
104
|
|
|
103
105
|
def to_dict(self) -> Dict[str, Any]:
|
|
@@ -151,6 +153,7 @@ class GetScriptByHashResponse200:
|
|
|
151
153
|
delete_after_use = self.delete_after_use
|
|
152
154
|
visible_to_runner_only = self.visible_to_runner_only
|
|
153
155
|
codebase = self.codebase
|
|
156
|
+
on_behalf_of_email = self.on_behalf_of_email
|
|
154
157
|
|
|
155
158
|
field_dict: Dict[str, Any] = {}
|
|
156
159
|
field_dict.update(self.additional_properties)
|
|
@@ -216,6 +219,8 @@ class GetScriptByHashResponse200:
|
|
|
216
219
|
field_dict["visible_to_runner_only"] = visible_to_runner_only
|
|
217
220
|
if codebase is not UNSET:
|
|
218
221
|
field_dict["codebase"] = codebase
|
|
222
|
+
if on_behalf_of_email is not UNSET:
|
|
223
|
+
field_dict["on_behalf_of_email"] = on_behalf_of_email
|
|
219
224
|
|
|
220
225
|
return field_dict
|
|
221
226
|
|
|
@@ -304,6 +309,8 @@ class GetScriptByHashResponse200:
|
|
|
304
309
|
|
|
305
310
|
codebase = d.pop("codebase", UNSET)
|
|
306
311
|
|
|
312
|
+
on_behalf_of_email = d.pop("on_behalf_of_email", UNSET)
|
|
313
|
+
|
|
307
314
|
get_script_by_hash_response_200 = cls(
|
|
308
315
|
hash_=hash_,
|
|
309
316
|
path=path,
|
|
@@ -342,6 +349,7 @@ class GetScriptByHashResponse200:
|
|
|
342
349
|
delete_after_use=delete_after_use,
|
|
343
350
|
visible_to_runner_only=visible_to_runner_only,
|
|
344
351
|
codebase=codebase,
|
|
352
|
+
on_behalf_of_email=on_behalf_of_email,
|
|
345
353
|
)
|
|
346
354
|
|
|
347
355
|
get_script_by_hash_response_200.additional_properties = d
|
|
@@ -6,12 +6,14 @@ class GetScriptByHashResponse200Language(str, Enum):
|
|
|
6
6
|
BASH = "bash"
|
|
7
7
|
BIGQUERY = "bigquery"
|
|
8
8
|
BUN = "bun"
|
|
9
|
+
CSHARP = "csharp"
|
|
9
10
|
DENO = "deno"
|
|
10
11
|
GO = "go"
|
|
11
12
|
GRAPHQL = "graphql"
|
|
12
13
|
MSSQL = "mssql"
|
|
13
14
|
MYSQL = "mysql"
|
|
14
15
|
NATIVETS = "nativets"
|
|
16
|
+
ORACLEDB = "oracledb"
|
|
15
17
|
PHP = "php"
|
|
16
18
|
POSTGRESQL = "postgresql"
|
|
17
19
|
POWERSHELL = "powershell"
|
|
@@ -59,6 +59,7 @@ class GetScriptByPathResponse200:
|
|
|
59
59
|
delete_after_use (Union[Unset, bool]):
|
|
60
60
|
visible_to_runner_only (Union[Unset, bool]):
|
|
61
61
|
codebase (Union[Unset, str]):
|
|
62
|
+
on_behalf_of_email (Union[Unset, str]):
|
|
62
63
|
"""
|
|
63
64
|
|
|
64
65
|
hash_: str
|
|
@@ -98,6 +99,7 @@ class GetScriptByPathResponse200:
|
|
|
98
99
|
delete_after_use: Union[Unset, bool] = UNSET
|
|
99
100
|
visible_to_runner_only: Union[Unset, bool] = UNSET
|
|
100
101
|
codebase: Union[Unset, str] = UNSET
|
|
102
|
+
on_behalf_of_email: Union[Unset, str] = UNSET
|
|
101
103
|
additional_properties: Dict[str, Any] = _attrs_field(init=False, factory=dict)
|
|
102
104
|
|
|
103
105
|
def to_dict(self) -> Dict[str, Any]:
|
|
@@ -151,6 +153,7 @@ class GetScriptByPathResponse200:
|
|
|
151
153
|
delete_after_use = self.delete_after_use
|
|
152
154
|
visible_to_runner_only = self.visible_to_runner_only
|
|
153
155
|
codebase = self.codebase
|
|
156
|
+
on_behalf_of_email = self.on_behalf_of_email
|
|
154
157
|
|
|
155
158
|
field_dict: Dict[str, Any] = {}
|
|
156
159
|
field_dict.update(self.additional_properties)
|
|
@@ -216,6 +219,8 @@ class GetScriptByPathResponse200:
|
|
|
216
219
|
field_dict["visible_to_runner_only"] = visible_to_runner_only
|
|
217
220
|
if codebase is not UNSET:
|
|
218
221
|
field_dict["codebase"] = codebase
|
|
222
|
+
if on_behalf_of_email is not UNSET:
|
|
223
|
+
field_dict["on_behalf_of_email"] = on_behalf_of_email
|
|
219
224
|
|
|
220
225
|
return field_dict
|
|
221
226
|
|
|
@@ -304,6 +309,8 @@ class GetScriptByPathResponse200:
|
|
|
304
309
|
|
|
305
310
|
codebase = d.pop("codebase", UNSET)
|
|
306
311
|
|
|
312
|
+
on_behalf_of_email = d.pop("on_behalf_of_email", UNSET)
|
|
313
|
+
|
|
307
314
|
get_script_by_path_response_200 = cls(
|
|
308
315
|
hash_=hash_,
|
|
309
316
|
path=path,
|
|
@@ -342,6 +349,7 @@ class GetScriptByPathResponse200:
|
|
|
342
349
|
delete_after_use=delete_after_use,
|
|
343
350
|
visible_to_runner_only=visible_to_runner_only,
|
|
344
351
|
codebase=codebase,
|
|
352
|
+
on_behalf_of_email=on_behalf_of_email,
|
|
345
353
|
)
|
|
346
354
|
|
|
347
355
|
get_script_by_path_response_200.additional_properties = d
|
|
@@ -6,12 +6,14 @@ class GetScriptByPathResponse200Language(str, Enum):
|
|
|
6
6
|
BASH = "bash"
|
|
7
7
|
BIGQUERY = "bigquery"
|
|
8
8
|
BUN = "bun"
|
|
9
|
+
CSHARP = "csharp"
|
|
9
10
|
DENO = "deno"
|
|
10
11
|
GO = "go"
|
|
11
12
|
GRAPHQL = "graphql"
|
|
12
13
|
MSSQL = "mssql"
|
|
13
14
|
MYSQL = "mysql"
|
|
14
15
|
NATIVETS = "nativets"
|
|
16
|
+
ORACLEDB = "oracledb"
|
|
15
17
|
PHP = "php"
|
|
16
18
|
POSTGRESQL = "postgresql"
|
|
17
19
|
POWERSHELL = "powershell"
|
|
@@ -48,6 +48,7 @@ class GetScriptByPathWithDraftResponse200:
|
|
|
48
48
|
no_main_func (Union[Unset, bool]):
|
|
49
49
|
codebase (Union[Unset, str]):
|
|
50
50
|
has_preprocessor (Union[Unset, bool]):
|
|
51
|
+
on_behalf_of_email (Union[Unset, str]):
|
|
51
52
|
draft (Union[Unset, GetScriptByPathWithDraftResponse200Draft]):
|
|
52
53
|
"""
|
|
53
54
|
|
|
@@ -80,6 +81,7 @@ class GetScriptByPathWithDraftResponse200:
|
|
|
80
81
|
no_main_func: Union[Unset, bool] = UNSET
|
|
81
82
|
codebase: Union[Unset, str] = UNSET
|
|
82
83
|
has_preprocessor: Union[Unset, bool] = UNSET
|
|
84
|
+
on_behalf_of_email: Union[Unset, str] = UNSET
|
|
83
85
|
draft: Union[Unset, "GetScriptByPathWithDraftResponse200Draft"] = UNSET
|
|
84
86
|
additional_properties: Dict[str, Any] = _attrs_field(init=False, factory=dict)
|
|
85
87
|
|
|
@@ -123,6 +125,7 @@ class GetScriptByPathWithDraftResponse200:
|
|
|
123
125
|
no_main_func = self.no_main_func
|
|
124
126
|
codebase = self.codebase
|
|
125
127
|
has_preprocessor = self.has_preprocessor
|
|
128
|
+
on_behalf_of_email = self.on_behalf_of_email
|
|
126
129
|
draft: Union[Unset, Dict[str, Any]] = UNSET
|
|
127
130
|
if not isinstance(self.draft, Unset):
|
|
128
131
|
draft = self.draft.to_dict()
|
|
@@ -185,6 +188,8 @@ class GetScriptByPathWithDraftResponse200:
|
|
|
185
188
|
field_dict["codebase"] = codebase
|
|
186
189
|
if has_preprocessor is not UNSET:
|
|
187
190
|
field_dict["has_preprocessor"] = has_preprocessor
|
|
191
|
+
if on_behalf_of_email is not UNSET:
|
|
192
|
+
field_dict["on_behalf_of_email"] = on_behalf_of_email
|
|
188
193
|
if draft is not UNSET:
|
|
189
194
|
field_dict["draft"] = draft
|
|
190
195
|
|
|
@@ -264,6 +269,8 @@ class GetScriptByPathWithDraftResponse200:
|
|
|
264
269
|
|
|
265
270
|
has_preprocessor = d.pop("has_preprocessor", UNSET)
|
|
266
271
|
|
|
272
|
+
on_behalf_of_email = d.pop("on_behalf_of_email", UNSET)
|
|
273
|
+
|
|
267
274
|
_draft = d.pop("draft", UNSET)
|
|
268
275
|
draft: Union[Unset, GetScriptByPathWithDraftResponse200Draft]
|
|
269
276
|
if isinstance(_draft, Unset):
|
|
@@ -301,6 +308,7 @@ class GetScriptByPathWithDraftResponse200:
|
|
|
301
308
|
no_main_func=no_main_func,
|
|
302
309
|
codebase=codebase,
|
|
303
310
|
has_preprocessor=has_preprocessor,
|
|
311
|
+
on_behalf_of_email=on_behalf_of_email,
|
|
304
312
|
draft=draft,
|
|
305
313
|
)
|
|
306
314
|
|
|
@@ -50,6 +50,7 @@ class GetScriptByPathWithDraftResponse200Draft:
|
|
|
50
50
|
no_main_func (Union[Unset, bool]):
|
|
51
51
|
codebase (Union[Unset, str]):
|
|
52
52
|
has_preprocessor (Union[Unset, bool]):
|
|
53
|
+
on_behalf_of_email (Union[Unset, str]):
|
|
53
54
|
"""
|
|
54
55
|
|
|
55
56
|
path: str
|
|
@@ -80,6 +81,7 @@ class GetScriptByPathWithDraftResponse200Draft:
|
|
|
80
81
|
no_main_func: Union[Unset, bool] = UNSET
|
|
81
82
|
codebase: Union[Unset, str] = UNSET
|
|
82
83
|
has_preprocessor: Union[Unset, bool] = UNSET
|
|
84
|
+
on_behalf_of_email: Union[Unset, str] = UNSET
|
|
83
85
|
additional_properties: Dict[str, Any] = _attrs_field(init=False, factory=dict)
|
|
84
86
|
|
|
85
87
|
def to_dict(self) -> Dict[str, Any]:
|
|
@@ -121,6 +123,7 @@ class GetScriptByPathWithDraftResponse200Draft:
|
|
|
121
123
|
no_main_func = self.no_main_func
|
|
122
124
|
codebase = self.codebase
|
|
123
125
|
has_preprocessor = self.has_preprocessor
|
|
126
|
+
on_behalf_of_email = self.on_behalf_of_email
|
|
124
127
|
|
|
125
128
|
field_dict: Dict[str, Any] = {}
|
|
126
129
|
field_dict.update(self.additional_properties)
|
|
@@ -179,6 +182,8 @@ class GetScriptByPathWithDraftResponse200Draft:
|
|
|
179
182
|
field_dict["codebase"] = codebase
|
|
180
183
|
if has_preprocessor is not UNSET:
|
|
181
184
|
field_dict["has_preprocessor"] = has_preprocessor
|
|
185
|
+
if on_behalf_of_email is not UNSET:
|
|
186
|
+
field_dict["on_behalf_of_email"] = on_behalf_of_email
|
|
182
187
|
|
|
183
188
|
return field_dict
|
|
184
189
|
|
|
@@ -255,6 +260,8 @@ class GetScriptByPathWithDraftResponse200Draft:
|
|
|
255
260
|
|
|
256
261
|
has_preprocessor = d.pop("has_preprocessor", UNSET)
|
|
257
262
|
|
|
263
|
+
on_behalf_of_email = d.pop("on_behalf_of_email", UNSET)
|
|
264
|
+
|
|
258
265
|
get_script_by_path_with_draft_response_200_draft = cls(
|
|
259
266
|
path=path,
|
|
260
267
|
summary=summary,
|
|
@@ -284,6 +291,7 @@ class GetScriptByPathWithDraftResponse200Draft:
|
|
|
284
291
|
no_main_func=no_main_func,
|
|
285
292
|
codebase=codebase,
|
|
286
293
|
has_preprocessor=has_preprocessor,
|
|
294
|
+
on_behalf_of_email=on_behalf_of_email,
|
|
287
295
|
)
|
|
288
296
|
|
|
289
297
|
get_script_by_path_with_draft_response_200_draft.additional_properties = d
|
|
@@ -6,12 +6,14 @@ class GetScriptByPathWithDraftResponse200DraftLanguage(str, Enum):
|
|
|
6
6
|
BASH = "bash"
|
|
7
7
|
BIGQUERY = "bigquery"
|
|
8
8
|
BUN = "bun"
|
|
9
|
+
CSHARP = "csharp"
|
|
9
10
|
DENO = "deno"
|
|
10
11
|
GO = "go"
|
|
11
12
|
GRAPHQL = "graphql"
|
|
12
13
|
MSSQL = "mssql"
|
|
13
14
|
MYSQL = "mysql"
|
|
14
15
|
NATIVETS = "nativets"
|
|
16
|
+
ORACLEDB = "oracledb"
|
|
15
17
|
PHP = "php"
|
|
16
18
|
POSTGRESQL = "postgresql"
|
|
17
19
|
POWERSHELL = "powershell"
|
|
@@ -6,12 +6,14 @@ class GetScriptByPathWithDraftResponse200Language(str, Enum):
|
|
|
6
6
|
BASH = "bash"
|
|
7
7
|
BIGQUERY = "bigquery"
|
|
8
8
|
BUN = "bun"
|
|
9
|
+
CSHARP = "csharp"
|
|
9
10
|
DENO = "deno"
|
|
10
11
|
GO = "go"
|
|
11
12
|
GRAPHQL = "graphql"
|
|
12
13
|
MSSQL = "mssql"
|
|
13
14
|
MYSQL = "mysql"
|
|
14
15
|
NATIVETS = "nativets"
|
|
16
|
+
ORACLEDB = "oracledb"
|
|
15
17
|
PHP = "php"
|
|
16
18
|
POSTGRESQL = "postgresql"
|
|
17
19
|
POWERSHELL = "powershell"
|
|
@@ -12,6 +12,7 @@ if TYPE_CHECKING:
|
|
|
12
12
|
from ..models.get_settings_response_200_error_handler_extra_args import GetSettingsResponse200ErrorHandlerExtraArgs
|
|
13
13
|
from ..models.get_settings_response_200_git_sync import GetSettingsResponse200GitSync
|
|
14
14
|
from ..models.get_settings_response_200_large_file_storage import GetSettingsResponse200LargeFileStorage
|
|
15
|
+
from ..models.get_settings_response_200_operator_settings import GetSettingsResponse200OperatorSettings
|
|
15
16
|
|
|
16
17
|
|
|
17
18
|
T = TypeVar("T", bound="GetSettingsResponse200")
|
|
@@ -44,6 +45,8 @@ class GetSettingsResponse200:
|
|
|
44
45
|
default_app (Union[Unset, str]):
|
|
45
46
|
default_scripts (Union[Unset, GetSettingsResponse200DefaultScripts]):
|
|
46
47
|
mute_critical_alerts (Union[Unset, bool]):
|
|
48
|
+
color (Union[Unset, str]):
|
|
49
|
+
operator_settings (Union[Unset, None, GetSettingsResponse200OperatorSettings]):
|
|
47
50
|
"""
|
|
48
51
|
|
|
49
52
|
automatic_billing: bool
|
|
@@ -69,6 +72,8 @@ class GetSettingsResponse200:
|
|
|
69
72
|
default_app: Union[Unset, str] = UNSET
|
|
70
73
|
default_scripts: Union[Unset, "GetSettingsResponse200DefaultScripts"] = UNSET
|
|
71
74
|
mute_critical_alerts: Union[Unset, bool] = UNSET
|
|
75
|
+
color: Union[Unset, str] = UNSET
|
|
76
|
+
operator_settings: Union[Unset, None, "GetSettingsResponse200OperatorSettings"] = UNSET
|
|
72
77
|
additional_properties: Dict[str, Any] = _attrs_field(init=False, factory=dict)
|
|
73
78
|
|
|
74
79
|
def to_dict(self) -> Dict[str, Any]:
|
|
@@ -113,6 +118,10 @@ class GetSettingsResponse200:
|
|
|
113
118
|
default_scripts = self.default_scripts.to_dict()
|
|
114
119
|
|
|
115
120
|
mute_critical_alerts = self.mute_critical_alerts
|
|
121
|
+
color = self.color
|
|
122
|
+
operator_settings: Union[Unset, None, Dict[str, Any]] = UNSET
|
|
123
|
+
if not isinstance(self.operator_settings, Unset):
|
|
124
|
+
operator_settings = self.operator_settings.to_dict() if self.operator_settings else None
|
|
116
125
|
|
|
117
126
|
field_dict: Dict[str, Any] = {}
|
|
118
127
|
field_dict.update(self.additional_properties)
|
|
@@ -163,6 +172,10 @@ class GetSettingsResponse200:
|
|
|
163
172
|
field_dict["default_scripts"] = default_scripts
|
|
164
173
|
if mute_critical_alerts is not UNSET:
|
|
165
174
|
field_dict["mute_critical_alerts"] = mute_critical_alerts
|
|
175
|
+
if color is not UNSET:
|
|
176
|
+
field_dict["color"] = color
|
|
177
|
+
if operator_settings is not UNSET:
|
|
178
|
+
field_dict["operator_settings"] = operator_settings
|
|
166
179
|
|
|
167
180
|
return field_dict
|
|
168
181
|
|
|
@@ -176,6 +189,7 @@ class GetSettingsResponse200:
|
|
|
176
189
|
)
|
|
177
190
|
from ..models.get_settings_response_200_git_sync import GetSettingsResponse200GitSync
|
|
178
191
|
from ..models.get_settings_response_200_large_file_storage import GetSettingsResponse200LargeFileStorage
|
|
192
|
+
from ..models.get_settings_response_200_operator_settings import GetSettingsResponse200OperatorSettings
|
|
179
193
|
|
|
180
194
|
d = src_dict.copy()
|
|
181
195
|
automatic_billing = d.pop("automatic_billing")
|
|
@@ -254,6 +268,17 @@ class GetSettingsResponse200:
|
|
|
254
268
|
|
|
255
269
|
mute_critical_alerts = d.pop("mute_critical_alerts", UNSET)
|
|
256
270
|
|
|
271
|
+
color = d.pop("color", UNSET)
|
|
272
|
+
|
|
273
|
+
_operator_settings = d.pop("operator_settings", UNSET)
|
|
274
|
+
operator_settings: Union[Unset, None, GetSettingsResponse200OperatorSettings]
|
|
275
|
+
if _operator_settings is None:
|
|
276
|
+
operator_settings = None
|
|
277
|
+
elif isinstance(_operator_settings, Unset):
|
|
278
|
+
operator_settings = UNSET
|
|
279
|
+
else:
|
|
280
|
+
operator_settings = GetSettingsResponse200OperatorSettings.from_dict(_operator_settings)
|
|
281
|
+
|
|
257
282
|
get_settings_response_200 = cls(
|
|
258
283
|
automatic_billing=automatic_billing,
|
|
259
284
|
code_completion_enabled=code_completion_enabled,
|
|
@@ -278,6 +303,8 @@ class GetSettingsResponse200:
|
|
|
278
303
|
default_app=default_app,
|
|
279
304
|
default_scripts=default_scripts,
|
|
280
305
|
mute_critical_alerts=mute_critical_alerts,
|
|
306
|
+
color=color,
|
|
307
|
+
operator_settings=operator_settings,
|
|
281
308
|
)
|
|
282
309
|
|
|
283
310
|
get_settings_response_200.additional_properties = d
|
|
@@ -0,0 +1,114 @@
|
|
|
1
|
+
from typing import Any, Dict, List, Type, TypeVar
|
|
2
|
+
|
|
3
|
+
from attrs import define as _attrs_define
|
|
4
|
+
from attrs import field as _attrs_field
|
|
5
|
+
|
|
6
|
+
T = TypeVar("T", bound="GetSettingsResponse200OperatorSettings")
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
@_attrs_define
|
|
10
|
+
class GetSettingsResponse200OperatorSettings:
|
|
11
|
+
"""
|
|
12
|
+
Attributes:
|
|
13
|
+
runs (bool): Whether operators can view runs
|
|
14
|
+
schedules (bool): Whether operators can view schedules
|
|
15
|
+
resources (bool): Whether operators can view resources
|
|
16
|
+
variables (bool): Whether operators can view variables
|
|
17
|
+
audit_logs (bool): Whether operators can view audit logs
|
|
18
|
+
triggers (bool): Whether operators can view triggers
|
|
19
|
+
groups (bool): Whether operators can view groups page
|
|
20
|
+
folders (bool): Whether operators can view folders page
|
|
21
|
+
workers (bool): Whether operators can view workers page
|
|
22
|
+
"""
|
|
23
|
+
|
|
24
|
+
runs: bool
|
|
25
|
+
schedules: bool
|
|
26
|
+
resources: bool
|
|
27
|
+
variables: bool
|
|
28
|
+
audit_logs: bool
|
|
29
|
+
triggers: bool
|
|
30
|
+
groups: bool
|
|
31
|
+
folders: bool
|
|
32
|
+
workers: bool
|
|
33
|
+
additional_properties: Dict[str, Any] = _attrs_field(init=False, factory=dict)
|
|
34
|
+
|
|
35
|
+
def to_dict(self) -> Dict[str, Any]:
|
|
36
|
+
runs = self.runs
|
|
37
|
+
schedules = self.schedules
|
|
38
|
+
resources = self.resources
|
|
39
|
+
variables = self.variables
|
|
40
|
+
audit_logs = self.audit_logs
|
|
41
|
+
triggers = self.triggers
|
|
42
|
+
groups = self.groups
|
|
43
|
+
folders = self.folders
|
|
44
|
+
workers = self.workers
|
|
45
|
+
|
|
46
|
+
field_dict: Dict[str, Any] = {}
|
|
47
|
+
field_dict.update(self.additional_properties)
|
|
48
|
+
field_dict.update(
|
|
49
|
+
{
|
|
50
|
+
"runs": runs,
|
|
51
|
+
"schedules": schedules,
|
|
52
|
+
"resources": resources,
|
|
53
|
+
"variables": variables,
|
|
54
|
+
"audit_logs": audit_logs,
|
|
55
|
+
"triggers": triggers,
|
|
56
|
+
"groups": groups,
|
|
57
|
+
"folders": folders,
|
|
58
|
+
"workers": workers,
|
|
59
|
+
}
|
|
60
|
+
)
|
|
61
|
+
|
|
62
|
+
return field_dict
|
|
63
|
+
|
|
64
|
+
@classmethod
|
|
65
|
+
def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T:
|
|
66
|
+
d = src_dict.copy()
|
|
67
|
+
runs = d.pop("runs")
|
|
68
|
+
|
|
69
|
+
schedules = d.pop("schedules")
|
|
70
|
+
|
|
71
|
+
resources = d.pop("resources")
|
|
72
|
+
|
|
73
|
+
variables = d.pop("variables")
|
|
74
|
+
|
|
75
|
+
audit_logs = d.pop("audit_logs")
|
|
76
|
+
|
|
77
|
+
triggers = d.pop("triggers")
|
|
78
|
+
|
|
79
|
+
groups = d.pop("groups")
|
|
80
|
+
|
|
81
|
+
folders = d.pop("folders")
|
|
82
|
+
|
|
83
|
+
workers = d.pop("workers")
|
|
84
|
+
|
|
85
|
+
get_settings_response_200_operator_settings = cls(
|
|
86
|
+
runs=runs,
|
|
87
|
+
schedules=schedules,
|
|
88
|
+
resources=resources,
|
|
89
|
+
variables=variables,
|
|
90
|
+
audit_logs=audit_logs,
|
|
91
|
+
triggers=triggers,
|
|
92
|
+
groups=groups,
|
|
93
|
+
folders=folders,
|
|
94
|
+
workers=workers,
|
|
95
|
+
)
|
|
96
|
+
|
|
97
|
+
get_settings_response_200_operator_settings.additional_properties = d
|
|
98
|
+
return get_settings_response_200_operator_settings
|
|
99
|
+
|
|
100
|
+
@property
|
|
101
|
+
def additional_keys(self) -> List[str]:
|
|
102
|
+
return list(self.additional_properties.keys())
|
|
103
|
+
|
|
104
|
+
def __getitem__(self, key: str) -> Any:
|
|
105
|
+
return self.additional_properties[key]
|
|
106
|
+
|
|
107
|
+
def __setitem__(self, key: str, value: Any) -> None:
|
|
108
|
+
self.additional_properties[key] = value
|
|
109
|
+
|
|
110
|
+
def __delitem__(self, key: str) -> None:
|
|
111
|
+
del self.additional_properties[key]
|
|
112
|
+
|
|
113
|
+
def __contains__(self, key: str) -> bool:
|
|
114
|
+
return key in self.additional_properties
|
|
@@ -3,10 +3,12 @@ from enum import Enum
|
|
|
3
3
|
|
|
4
4
|
class GetSuspendedJobFlowResponse200JobType0JobKind(str, Enum):
|
|
5
5
|
APPDEPENDENCIES = "appdependencies"
|
|
6
|
+
APPSCRIPT = "appscript"
|
|
6
7
|
DEPENDENCIES = "dependencies"
|
|
7
8
|
DEPLOYMENTCALLBACK = "deploymentcallback"
|
|
8
9
|
FLOW = "flow"
|
|
9
10
|
FLOWDEPENDENCIES = "flowdependencies"
|
|
11
|
+
FLOWNODE = "flownode"
|
|
10
12
|
FLOWPREVIEW = "flowpreview"
|
|
11
13
|
FLOWSCRIPT = "flowscript"
|
|
12
14
|
IDENTITY = "identity"
|
|
@@ -6,12 +6,14 @@ class GetSuspendedJobFlowResponse200JobType0Language(str, Enum):
|
|
|
6
6
|
BASH = "bash"
|
|
7
7
|
BIGQUERY = "bigquery"
|
|
8
8
|
BUN = "bun"
|
|
9
|
+
CSHARP = "csharp"
|
|
9
10
|
DENO = "deno"
|
|
10
11
|
GO = "go"
|
|
11
12
|
GRAPHQL = "graphql"
|
|
12
13
|
MSSQL = "mssql"
|
|
13
14
|
MYSQL = "mysql"
|
|
14
15
|
NATIVETS = "nativets"
|
|
16
|
+
ORACLEDB = "oracledb"
|
|
15
17
|
PHP = "php"
|
|
16
18
|
POSTGRESQL = "postgresql"
|
|
17
19
|
POWERSHELL = "powershell"
|
|
@@ -3,10 +3,12 @@ from enum import Enum
|
|
|
3
3
|
|
|
4
4
|
class GetSuspendedJobFlowResponse200JobType1JobKind(str, Enum):
|
|
5
5
|
APPDEPENDENCIES = "appdependencies"
|
|
6
|
+
APPSCRIPT = "appscript"
|
|
6
7
|
DEPENDENCIES = "dependencies"
|
|
7
8
|
DEPLOYMENTCALLBACK = "deploymentcallback"
|
|
8
9
|
FLOW = "flow"
|
|
9
10
|
FLOWDEPENDENCIES = "flowdependencies"
|
|
11
|
+
FLOWNODE = "flownode"
|
|
10
12
|
FLOWPREVIEW = "flowpreview"
|
|
11
13
|
FLOWSCRIPT = "flowscript"
|
|
12
14
|
IDENTITY = "identity"
|
|
@@ -6,12 +6,14 @@ class GetSuspendedJobFlowResponse200JobType1Language(str, Enum):
|
|
|
6
6
|
BASH = "bash"
|
|
7
7
|
BIGQUERY = "bigquery"
|
|
8
8
|
BUN = "bun"
|
|
9
|
+
CSHARP = "csharp"
|
|
9
10
|
DENO = "deno"
|
|
10
11
|
GO = "go"
|
|
11
12
|
GRAPHQL = "graphql"
|
|
12
13
|
MSSQL = "mssql"
|
|
13
14
|
MYSQL = "mysql"
|
|
14
15
|
NATIVETS = "nativets"
|
|
16
|
+
ORACLEDB = "oracledb"
|
|
15
17
|
PHP = "php"
|
|
16
18
|
POSTGRESQL = "postgresql"
|
|
17
19
|
POWERSHELL = "powershell"
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
import datetime
|
|
2
|
+
from typing import Any, Dict, List, Type, TypeVar, Union
|
|
3
|
+
|
|
4
|
+
from attrs import define as _attrs_define
|
|
5
|
+
from attrs import field as _attrs_field
|
|
6
|
+
from dateutil.parser import isoparse
|
|
7
|
+
|
|
8
|
+
from ..types import UNSET, Unset
|
|
9
|
+
|
|
10
|
+
T = TypeVar("T", bound="GetThresholdAlertResponse200")
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
@_attrs_define
|
|
14
|
+
class GetThresholdAlertResponse200:
|
|
15
|
+
"""
|
|
16
|
+
Attributes:
|
|
17
|
+
threshold_alert_amount (Union[Unset, float]):
|
|
18
|
+
last_alert_sent (Union[Unset, datetime.datetime]):
|
|
19
|
+
"""
|
|
20
|
+
|
|
21
|
+
threshold_alert_amount: Union[Unset, float] = UNSET
|
|
22
|
+
last_alert_sent: Union[Unset, datetime.datetime] = UNSET
|
|
23
|
+
additional_properties: Dict[str, Any] = _attrs_field(init=False, factory=dict)
|
|
24
|
+
|
|
25
|
+
def to_dict(self) -> Dict[str, Any]:
|
|
26
|
+
threshold_alert_amount = self.threshold_alert_amount
|
|
27
|
+
last_alert_sent: Union[Unset, str] = UNSET
|
|
28
|
+
if not isinstance(self.last_alert_sent, Unset):
|
|
29
|
+
last_alert_sent = self.last_alert_sent.isoformat()
|
|
30
|
+
|
|
31
|
+
field_dict: Dict[str, Any] = {}
|
|
32
|
+
field_dict.update(self.additional_properties)
|
|
33
|
+
field_dict.update({})
|
|
34
|
+
if threshold_alert_amount is not UNSET:
|
|
35
|
+
field_dict["threshold_alert_amount"] = threshold_alert_amount
|
|
36
|
+
if last_alert_sent is not UNSET:
|
|
37
|
+
field_dict["last_alert_sent"] = last_alert_sent
|
|
38
|
+
|
|
39
|
+
return field_dict
|
|
40
|
+
|
|
41
|
+
@classmethod
|
|
42
|
+
def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T:
|
|
43
|
+
d = src_dict.copy()
|
|
44
|
+
threshold_alert_amount = d.pop("threshold_alert_amount", UNSET)
|
|
45
|
+
|
|
46
|
+
_last_alert_sent = d.pop("last_alert_sent", UNSET)
|
|
47
|
+
last_alert_sent: Union[Unset, datetime.datetime]
|
|
48
|
+
if isinstance(_last_alert_sent, Unset):
|
|
49
|
+
last_alert_sent = UNSET
|
|
50
|
+
else:
|
|
51
|
+
last_alert_sent = isoparse(_last_alert_sent)
|
|
52
|
+
|
|
53
|
+
get_threshold_alert_response_200 = cls(
|
|
54
|
+
threshold_alert_amount=threshold_alert_amount,
|
|
55
|
+
last_alert_sent=last_alert_sent,
|
|
56
|
+
)
|
|
57
|
+
|
|
58
|
+
get_threshold_alert_response_200.additional_properties = d
|
|
59
|
+
return get_threshold_alert_response_200
|
|
60
|
+
|
|
61
|
+
@property
|
|
62
|
+
def additional_keys(self) -> List[str]:
|
|
63
|
+
return list(self.additional_properties.keys())
|
|
64
|
+
|
|
65
|
+
def __getitem__(self, key: str) -> Any:
|
|
66
|
+
return self.additional_properties[key]
|
|
67
|
+
|
|
68
|
+
def __setitem__(self, key: str, value: Any) -> None:
|
|
69
|
+
self.additional_properties[key] = value
|
|
70
|
+
|
|
71
|
+
def __delitem__(self, key: str) -> None:
|
|
72
|
+
del self.additional_properties[key]
|
|
73
|
+
|
|
74
|
+
def __contains__(self, key: str) -> bool:
|
|
75
|
+
return key in self.additional_properties
|