windmill-api 1.478.1__py3-none-any.whl → 1.479.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.

Files changed (118) hide show
  1. windmill_api/api/app/list_app_paths_from_workspace_runnable.py +176 -0
  2. windmill_api/api/git_sync/__init__.py +0 -0
  3. windmill_api/api/git_sync/delete_from_workspace.py +107 -0
  4. windmill_api/api/git_sync/export_installation.py +174 -0
  5. windmill_api/api/git_sync/get_global_connected_repositories.py +131 -0
  6. windmill_api/api/git_sync/import_installation.py +111 -0
  7. windmill_api/api/{workspace/set_automatic_billing.py → git_sync/install_from_workspace.py} +11 -9
  8. windmill_api/api/script/list_script_paths_from_workspace_runnable.py +161 -0
  9. windmill_api/api/workspace/get_copilot_info.py +65 -6
  10. windmill_api/api/workspace/get_github_app_token.py +170 -0
  11. windmill_api/models/ai_config.py +107 -0
  12. windmill_api/models/{get_settings_response_200_ai_resource.py → ai_config_code_completion_model.py} +15 -15
  13. windmill_api/models/{get_settings_response_200_ai_resource_provider.py → ai_config_code_completion_model_provider.py} +2 -1
  14. windmill_api/models/{edit_copilot_config_json_body_ai_resource.py → ai_config_default_model.py} +15 -15
  15. windmill_api/models/{edit_copilot_config_json_body_ai_resource_provider.py → ai_config_default_model_provider.py} +2 -1
  16. windmill_api/models/ai_config_providers.py +60 -0
  17. windmill_api/models/ai_config_providers_additional_property.py +65 -0
  18. windmill_api/models/ai_provider.py +1 -0
  19. windmill_api/models/ai_provider_config.py +65 -0
  20. windmill_api/models/{ai_resource.py → ai_provider_model.py} +15 -15
  21. windmill_api/models/{ai_resource_provider.py → ai_provider_model_provider.py} +2 -1
  22. windmill_api/models/archive_script_by_hash_response_200_language.py +2 -0
  23. windmill_api/models/authentication_method.py +13 -0
  24. windmill_api/models/completed_job_language.py +2 -0
  25. windmill_api/models/create_http_trigger_json_body.py +16 -6
  26. windmill_api/models/create_http_trigger_json_body_authentication_method.py +13 -0
  27. windmill_api/models/create_schedule_json_body.py +8 -0
  28. windmill_api/models/create_script_json_body_language.py +2 -0
  29. windmill_api/models/delete_completed_job_response_200_language.py +2 -0
  30. windmill_api/models/delete_script_by_hash_response_200_language.py +2 -0
  31. windmill_api/models/edit_copilot_config_json_body.py +50 -30
  32. windmill_api/models/edit_copilot_config_json_body_code_completion_model.py +69 -0
  33. windmill_api/models/edit_copilot_config_json_body_code_completion_model_provider.py +16 -0
  34. windmill_api/models/edit_copilot_config_json_body_default_model.py +67 -0
  35. windmill_api/models/edit_copilot_config_json_body_default_model_provider.py +16 -0
  36. windmill_api/models/edit_copilot_config_json_body_providers.py +66 -0
  37. windmill_api/models/edit_copilot_config_json_body_providers_additional_property.py +65 -0
  38. windmill_api/models/edit_http_trigger.py +16 -6
  39. windmill_api/models/edit_http_trigger_authentication_method.py +13 -0
  40. windmill_api/models/edit_schedule.py +8 -0
  41. windmill_api/models/{set_automatic_billing_json_body.py → export_installation_response_200.py} +13 -23
  42. windmill_api/models/extended_jobs_jobs_item_type_0_language.py +2 -0
  43. windmill_api/models/extended_jobs_jobs_item_type_1_language.py +2 -0
  44. windmill_api/models/get_completed_job_response_200_language.py +2 -0
  45. windmill_api/models/get_copilot_info_response_200.py +111 -0
  46. windmill_api/models/get_copilot_info_response_200_code_completion_model.py +69 -0
  47. windmill_api/models/get_copilot_info_response_200_code_completion_model_provider.py +16 -0
  48. windmill_api/models/get_copilot_info_response_200_default_model.py +67 -0
  49. windmill_api/models/get_copilot_info_response_200_default_model_provider.py +16 -0
  50. windmill_api/models/get_copilot_info_response_200_providers.py +66 -0
  51. windmill_api/models/get_copilot_info_response_200_providers_additional_property.py +65 -0
  52. windmill_api/models/get_github_app_token_json_body.py +58 -0
  53. windmill_api/models/get_github_app_token_response_200.py +58 -0
  54. windmill_api/models/get_global_connected_repositories_response_200_item.py +104 -0
  55. windmill_api/models/get_global_connected_repositories_response_200_item_repositories_item.py +65 -0
  56. windmill_api/models/get_http_trigger_response_200.py +17 -6
  57. windmill_api/models/get_http_trigger_response_200_authentication_method.py +13 -0
  58. windmill_api/models/get_job_response_200_type_0_language.py +2 -0
  59. windmill_api/models/get_job_response_200_type_1_language.py +2 -0
  60. windmill_api/models/get_premium_info_response_200.py +7 -14
  61. windmill_api/models/get_schedule_response_200.py +8 -0
  62. windmill_api/models/get_script_by_hash_response_200_language.py +2 -0
  63. windmill_api/models/get_script_by_path_response_200_language.py +2 -0
  64. windmill_api/models/get_script_by_path_with_draft_response_200_draft_language.py +2 -0
  65. windmill_api/models/get_script_by_path_with_draft_response_200_language.py +2 -0
  66. windmill_api/models/get_settings_response_200.py +16 -39
  67. windmill_api/models/get_settings_response_200_ai_config.py +113 -0
  68. windmill_api/models/get_settings_response_200_ai_config_code_completion_model.py +69 -0
  69. windmill_api/models/get_settings_response_200_ai_config_code_completion_model_provider.py +16 -0
  70. windmill_api/models/get_settings_response_200_ai_config_default_model.py +69 -0
  71. windmill_api/models/get_settings_response_200_ai_config_default_model_provider.py +16 -0
  72. windmill_api/models/get_settings_response_200_ai_config_providers.py +66 -0
  73. windmill_api/models/get_settings_response_200_ai_config_providers_additional_property.py +65 -0
  74. windmill_api/models/get_suspended_job_flow_response_200_job_type_0_language.py +2 -0
  75. windmill_api/models/get_suspended_job_flow_response_200_job_type_1_language.py +2 -0
  76. windmill_api/models/github_installations_item.py +98 -0
  77. windmill_api/models/github_installations_item_repositories_item.py +65 -0
  78. windmill_api/models/http_trigger.py +17 -6
  79. windmill_api/models/http_trigger_authentication_method.py +13 -0
  80. windmill_api/models/import_installation_json_body.py +58 -0
  81. windmill_api/models/install_from_workspace_json_body.py +65 -0
  82. windmill_api/models/job_type_0_language.py +2 -0
  83. windmill_api/models/job_type_1_language.py +2 -0
  84. windmill_api/models/list_app_paths_from_workspace_runnable_runnable_kind.py +9 -0
  85. windmill_api/models/list_completed_jobs_response_200_item_language.py +2 -0
  86. windmill_api/models/list_extended_jobs_response_200_jobs_item_type_0_language.py +2 -0
  87. windmill_api/models/list_extended_jobs_response_200_jobs_item_type_1_language.py +2 -0
  88. windmill_api/models/list_http_triggers_response_200_item.py +19 -6
  89. windmill_api/models/list_http_triggers_response_200_item_authentication_method.py +13 -0
  90. windmill_api/models/list_jobs_response_200_item_type_0_language.py +2 -0
  91. windmill_api/models/list_jobs_response_200_item_type_1_language.py +2 -0
  92. windmill_api/models/list_queue_response_200_item_language.py +2 -0
  93. windmill_api/models/list_schedules_response_200_item.py +8 -0
  94. windmill_api/models/list_schedules_with_jobs_response_200_item.py +8 -0
  95. windmill_api/models/list_scripts_response_200_item_language.py +2 -0
  96. windmill_api/models/new_http_trigger.py +16 -6
  97. windmill_api/models/new_http_trigger_authentication_method.py +13 -0
  98. windmill_api/models/new_schedule.py +8 -0
  99. windmill_api/models/new_script_language.py +2 -0
  100. windmill_api/models/new_script_with_draft_draft_language.py +2 -0
  101. windmill_api/models/new_script_with_draft_language.py +2 -0
  102. windmill_api/models/preview_language.py +2 -0
  103. windmill_api/models/queued_job_language.py +2 -0
  104. windmill_api/models/raw_script_for_dependencies_language.py +2 -0
  105. windmill_api/models/run_raw_script_dependencies_json_body_raw_scripts_item_language.py +2 -0
  106. windmill_api/models/run_script_preview_json_body_language.py +2 -0
  107. windmill_api/models/schedule.py +8 -0
  108. windmill_api/models/schedule_w_jobs.py +8 -0
  109. windmill_api/models/script_lang.py +2 -0
  110. windmill_api/models/script_language.py +2 -0
  111. windmill_api/models/update_http_trigger_json_body.py +16 -6
  112. windmill_api/models/update_http_trigger_json_body_authentication_method.py +13 -0
  113. windmill_api/models/update_schedule_json_body.py +8 -0
  114. windmill_api/models/workspace_github_installation.py +65 -0
  115. {windmill_api-1.478.1.dist-info → windmill_api-1.479.1.dist-info}/METADATA +1 -1
  116. {windmill_api-1.478.1.dist-info → windmill_api-1.479.1.dist-info}/RECORD +118 -68
  117. {windmill_api-1.478.1.dist-info → windmill_api-1.479.1.dist-info}/LICENSE +0 -0
  118. {windmill_api-1.478.1.dist-info → windmill_api-1.479.1.dist-info}/WHEEL +0 -0
@@ -1,7 +1,7 @@
1
1
  from enum import Enum
2
2
 
3
3
 
4
- class GetSettingsResponse200AiResourceProvider(str, Enum):
4
+ class AIConfigCodeCompletionModelProvider(str, Enum):
5
5
  ANTHROPIC = "anthropic"
6
6
  CUSTOMAI = "customai"
7
7
  DEEPSEEK = "deepseek"
@@ -10,6 +10,7 @@ class GetSettingsResponse200AiResourceProvider(str, Enum):
10
10
  MISTRAL = "mistral"
11
11
  OPENAI = "openai"
12
12
  OPENROUTER = "openrouter"
13
+ TOGETHERAI = "togetherai"
13
14
 
14
15
  def __str__(self) -> str:
15
16
  return str(self.value)
@@ -3,32 +3,32 @@ from typing import Any, Dict, List, Type, TypeVar
3
3
  from attrs import define as _attrs_define
4
4
  from attrs import field as _attrs_field
5
5
 
6
- from ..models.edit_copilot_config_json_body_ai_resource_provider import EditCopilotConfigJsonBodyAiResourceProvider
6
+ from ..models.ai_config_default_model_provider import AIConfigDefaultModelProvider
7
7
 
8
- T = TypeVar("T", bound="EditCopilotConfigJsonBodyAiResource")
8
+ T = TypeVar("T", bound="AIConfigDefaultModel")
9
9
 
10
10
 
11
11
  @_attrs_define
12
- class EditCopilotConfigJsonBodyAiResource:
12
+ class AIConfigDefaultModel:
13
13
  """
14
14
  Attributes:
15
- path (str):
16
- provider (EditCopilotConfigJsonBodyAiResourceProvider):
15
+ model (str):
16
+ provider (AIConfigDefaultModelProvider):
17
17
  """
18
18
 
19
- path: str
20
- provider: EditCopilotConfigJsonBodyAiResourceProvider
19
+ model: str
20
+ provider: AIConfigDefaultModelProvider
21
21
  additional_properties: Dict[str, Any] = _attrs_field(init=False, factory=dict)
22
22
 
23
23
  def to_dict(self) -> Dict[str, Any]:
24
- path = self.path
24
+ model = self.model
25
25
  provider = self.provider.value
26
26
 
27
27
  field_dict: Dict[str, Any] = {}
28
28
  field_dict.update(self.additional_properties)
29
29
  field_dict.update(
30
30
  {
31
- "path": path,
31
+ "model": model,
32
32
  "provider": provider,
33
33
  }
34
34
  )
@@ -38,17 +38,17 @@ class EditCopilotConfigJsonBodyAiResource:
38
38
  @classmethod
39
39
  def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T:
40
40
  d = src_dict.copy()
41
- path = d.pop("path")
41
+ model = d.pop("model")
42
42
 
43
- provider = EditCopilotConfigJsonBodyAiResourceProvider(d.pop("provider"))
43
+ provider = AIConfigDefaultModelProvider(d.pop("provider"))
44
44
 
45
- edit_copilot_config_json_body_ai_resource = cls(
46
- path=path,
45
+ ai_config_default_model = cls(
46
+ model=model,
47
47
  provider=provider,
48
48
  )
49
49
 
50
- edit_copilot_config_json_body_ai_resource.additional_properties = d
51
- return edit_copilot_config_json_body_ai_resource
50
+ ai_config_default_model.additional_properties = d
51
+ return ai_config_default_model
52
52
 
53
53
  @property
54
54
  def additional_keys(self) -> List[str]:
@@ -1,7 +1,7 @@
1
1
  from enum import Enum
2
2
 
3
3
 
4
- class EditCopilotConfigJsonBodyAiResourceProvider(str, Enum):
4
+ class AIConfigDefaultModelProvider(str, Enum):
5
5
  ANTHROPIC = "anthropic"
6
6
  CUSTOMAI = "customai"
7
7
  DEEPSEEK = "deepseek"
@@ -10,6 +10,7 @@ class EditCopilotConfigJsonBodyAiResourceProvider(str, Enum):
10
10
  MISTRAL = "mistral"
11
11
  OPENAI = "openai"
12
12
  OPENROUTER = "openrouter"
13
+ TOGETHERAI = "togetherai"
13
14
 
14
15
  def __str__(self) -> str:
15
16
  return str(self.value)
@@ -0,0 +1,60 @@
1
+ from typing import TYPE_CHECKING, Any, Dict, List, Type, TypeVar
2
+
3
+ from attrs import define as _attrs_define
4
+ from attrs import field as _attrs_field
5
+
6
+ if TYPE_CHECKING:
7
+ from ..models.ai_config_providers_additional_property import AIConfigProvidersAdditionalProperty
8
+
9
+
10
+ T = TypeVar("T", bound="AIConfigProviders")
11
+
12
+
13
+ @_attrs_define
14
+ class AIConfigProviders:
15
+ """ """
16
+
17
+ additional_properties: Dict[str, "AIConfigProvidersAdditionalProperty"] = _attrs_field(init=False, factory=dict)
18
+
19
+ def to_dict(self) -> Dict[str, Any]:
20
+ pass
21
+
22
+ field_dict: Dict[str, Any] = {}
23
+ for prop_name, prop in self.additional_properties.items():
24
+ field_dict[prop_name] = prop.to_dict()
25
+
26
+ field_dict.update({})
27
+
28
+ return field_dict
29
+
30
+ @classmethod
31
+ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T:
32
+ from ..models.ai_config_providers_additional_property import AIConfigProvidersAdditionalProperty
33
+
34
+ d = src_dict.copy()
35
+ ai_config_providers = cls()
36
+
37
+ additional_properties = {}
38
+ for prop_name, prop_dict in d.items():
39
+ additional_property = AIConfigProvidersAdditionalProperty.from_dict(prop_dict)
40
+
41
+ additional_properties[prop_name] = additional_property
42
+
43
+ ai_config_providers.additional_properties = additional_properties
44
+ return ai_config_providers
45
+
46
+ @property
47
+ def additional_keys(self) -> List[str]:
48
+ return list(self.additional_properties.keys())
49
+
50
+ def __getitem__(self, key: str) -> "AIConfigProvidersAdditionalProperty":
51
+ return self.additional_properties[key]
52
+
53
+ def __setitem__(self, key: str, value: "AIConfigProvidersAdditionalProperty") -> None:
54
+ self.additional_properties[key] = value
55
+
56
+ def __delitem__(self, key: str) -> None:
57
+ del self.additional_properties[key]
58
+
59
+ def __contains__(self, key: str) -> bool:
60
+ return key in self.additional_properties
@@ -0,0 +1,65 @@
1
+ from typing import Any, Dict, List, Type, TypeVar, cast
2
+
3
+ from attrs import define as _attrs_define
4
+ from attrs import field as _attrs_field
5
+
6
+ T = TypeVar("T", bound="AIConfigProvidersAdditionalProperty")
7
+
8
+
9
+ @_attrs_define
10
+ class AIConfigProvidersAdditionalProperty:
11
+ """
12
+ Attributes:
13
+ resource_path (str):
14
+ models (List[str]):
15
+ """
16
+
17
+ resource_path: str
18
+ models: List[str]
19
+ additional_properties: Dict[str, Any] = _attrs_field(init=False, factory=dict)
20
+
21
+ def to_dict(self) -> Dict[str, Any]:
22
+ resource_path = self.resource_path
23
+ models = self.models
24
+
25
+ field_dict: Dict[str, Any] = {}
26
+ field_dict.update(self.additional_properties)
27
+ field_dict.update(
28
+ {
29
+ "resource_path": resource_path,
30
+ "models": models,
31
+ }
32
+ )
33
+
34
+ return field_dict
35
+
36
+ @classmethod
37
+ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T:
38
+ d = src_dict.copy()
39
+ resource_path = d.pop("resource_path")
40
+
41
+ models = cast(List[str], d.pop("models"))
42
+
43
+ ai_config_providers_additional_property = cls(
44
+ resource_path=resource_path,
45
+ models=models,
46
+ )
47
+
48
+ ai_config_providers_additional_property.additional_properties = d
49
+ return ai_config_providers_additional_property
50
+
51
+ @property
52
+ def additional_keys(self) -> List[str]:
53
+ return list(self.additional_properties.keys())
54
+
55
+ def __getitem__(self, key: str) -> Any:
56
+ return self.additional_properties[key]
57
+
58
+ def __setitem__(self, key: str, value: Any) -> None:
59
+ self.additional_properties[key] = value
60
+
61
+ def __delitem__(self, key: str) -> None:
62
+ del self.additional_properties[key]
63
+
64
+ def __contains__(self, key: str) -> bool:
65
+ return key in self.additional_properties
@@ -10,6 +10,7 @@ class AIProvider(str, Enum):
10
10
  MISTRAL = "mistral"
11
11
  OPENAI = "openai"
12
12
  OPENROUTER = "openrouter"
13
+ TOGETHERAI = "togetherai"
13
14
 
14
15
  def __str__(self) -> str:
15
16
  return str(self.value)
@@ -0,0 +1,65 @@
1
+ from typing import Any, Dict, List, Type, TypeVar, cast
2
+
3
+ from attrs import define as _attrs_define
4
+ from attrs import field as _attrs_field
5
+
6
+ T = TypeVar("T", bound="AIProviderConfig")
7
+
8
+
9
+ @_attrs_define
10
+ class AIProviderConfig:
11
+ """
12
+ Attributes:
13
+ resource_path (str):
14
+ models (List[str]):
15
+ """
16
+
17
+ resource_path: str
18
+ models: List[str]
19
+ additional_properties: Dict[str, Any] = _attrs_field(init=False, factory=dict)
20
+
21
+ def to_dict(self) -> Dict[str, Any]:
22
+ resource_path = self.resource_path
23
+ models = self.models
24
+
25
+ field_dict: Dict[str, Any] = {}
26
+ field_dict.update(self.additional_properties)
27
+ field_dict.update(
28
+ {
29
+ "resource_path": resource_path,
30
+ "models": models,
31
+ }
32
+ )
33
+
34
+ return field_dict
35
+
36
+ @classmethod
37
+ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T:
38
+ d = src_dict.copy()
39
+ resource_path = d.pop("resource_path")
40
+
41
+ models = cast(List[str], d.pop("models"))
42
+
43
+ ai_provider_config = cls(
44
+ resource_path=resource_path,
45
+ models=models,
46
+ )
47
+
48
+ ai_provider_config.additional_properties = d
49
+ return ai_provider_config
50
+
51
+ @property
52
+ def additional_keys(self) -> List[str]:
53
+ return list(self.additional_properties.keys())
54
+
55
+ def __getitem__(self, key: str) -> Any:
56
+ return self.additional_properties[key]
57
+
58
+ def __setitem__(self, key: str, value: Any) -> None:
59
+ self.additional_properties[key] = value
60
+
61
+ def __delitem__(self, key: str) -> None:
62
+ del self.additional_properties[key]
63
+
64
+ def __contains__(self, key: str) -> bool:
65
+ return key in self.additional_properties
@@ -3,32 +3,32 @@ from typing import Any, Dict, List, Type, TypeVar
3
3
  from attrs import define as _attrs_define
4
4
  from attrs import field as _attrs_field
5
5
 
6
- from ..models.ai_resource_provider import AIResourceProvider
6
+ from ..models.ai_provider_model_provider import AIProviderModelProvider
7
7
 
8
- T = TypeVar("T", bound="AIResource")
8
+ T = TypeVar("T", bound="AIProviderModel")
9
9
 
10
10
 
11
11
  @_attrs_define
12
- class AIResource:
12
+ class AIProviderModel:
13
13
  """
14
14
  Attributes:
15
- path (str):
16
- provider (AIResourceProvider):
15
+ model (str):
16
+ provider (AIProviderModelProvider):
17
17
  """
18
18
 
19
- path: str
20
- provider: AIResourceProvider
19
+ model: str
20
+ provider: AIProviderModelProvider
21
21
  additional_properties: Dict[str, Any] = _attrs_field(init=False, factory=dict)
22
22
 
23
23
  def to_dict(self) -> Dict[str, Any]:
24
- path = self.path
24
+ model = self.model
25
25
  provider = self.provider.value
26
26
 
27
27
  field_dict: Dict[str, Any] = {}
28
28
  field_dict.update(self.additional_properties)
29
29
  field_dict.update(
30
30
  {
31
- "path": path,
31
+ "model": model,
32
32
  "provider": provider,
33
33
  }
34
34
  )
@@ -38,17 +38,17 @@ class AIResource:
38
38
  @classmethod
39
39
  def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T:
40
40
  d = src_dict.copy()
41
- path = d.pop("path")
41
+ model = d.pop("model")
42
42
 
43
- provider = AIResourceProvider(d.pop("provider"))
43
+ provider = AIProviderModelProvider(d.pop("provider"))
44
44
 
45
- ai_resource = cls(
46
- path=path,
45
+ ai_provider_model = cls(
46
+ model=model,
47
47
  provider=provider,
48
48
  )
49
49
 
50
- ai_resource.additional_properties = d
51
- return ai_resource
50
+ ai_provider_model.additional_properties = d
51
+ return ai_provider_model
52
52
 
53
53
  @property
54
54
  def additional_keys(self) -> List[str]:
@@ -1,7 +1,7 @@
1
1
  from enum import Enum
2
2
 
3
3
 
4
- class AIResourceProvider(str, Enum):
4
+ class AIProviderModelProvider(str, Enum):
5
5
  ANTHROPIC = "anthropic"
6
6
  CUSTOMAI = "customai"
7
7
  DEEPSEEK = "deepseek"
@@ -10,6 +10,7 @@ class AIResourceProvider(str, Enum):
10
10
  MISTRAL = "mistral"
11
11
  OPENAI = "openai"
12
12
  OPENROUTER = "openrouter"
13
+ TOGETHERAI = "togetherai"
13
14
 
14
15
  def __str__(self) -> str:
15
16
  return str(self.value)
@@ -10,9 +10,11 @@ class ArchiveScriptByHashResponse200Language(str, Enum):
10
10
  DENO = "deno"
11
11
  GO = "go"
12
12
  GRAPHQL = "graphql"
13
+ JAVA = "java"
13
14
  MSSQL = "mssql"
14
15
  MYSQL = "mysql"
15
16
  NATIVETS = "nativets"
17
+ NU = "nu"
16
18
  ORACLEDB = "oracledb"
17
19
  PHP = "php"
18
20
  POSTGRESQL = "postgresql"
@@ -0,0 +1,13 @@
1
+ from enum import Enum
2
+
3
+
4
+ class AuthenticationMethod(str, Enum):
5
+ API_KEY = "api_key"
6
+ BASIC_HTTP = "basic_http"
7
+ CUSTOM_SCRIPT = "custom_script"
8
+ NONE = "none"
9
+ SIGNATURE = "signature"
10
+ WINDMILL = "windmill"
11
+
12
+ def __str__(self) -> str:
13
+ return str(self.value)
@@ -10,9 +10,11 @@ class CompletedJobLanguage(str, Enum):
10
10
  DENO = "deno"
11
11
  GO = "go"
12
12
  GRAPHQL = "graphql"
13
+ JAVA = "java"
13
14
  MSSQL = "mssql"
14
15
  MYSQL = "mysql"
15
16
  NATIVETS = "nativets"
17
+ NU = "nu"
16
18
  ORACLEDB = "oracledb"
17
19
  PHP = "php"
18
20
  POSTGRESQL = "postgresql"
@@ -3,6 +3,7 @@ from typing import TYPE_CHECKING, Any, Dict, List, Type, TypeVar, Union
3
3
  from attrs import define as _attrs_define
4
4
  from attrs import field as _attrs_field
5
5
 
6
+ from ..models.create_http_trigger_json_body_authentication_method import CreateHttpTriggerJsonBodyAuthenticationMethod
6
7
  from ..models.create_http_trigger_json_body_http_method import CreateHttpTriggerJsonBodyHttpMethod
7
8
  from ..types import UNSET, Unset
8
9
 
@@ -23,10 +24,11 @@ class CreateHttpTriggerJsonBody:
23
24
  is_flow (bool):
24
25
  http_method (CreateHttpTriggerJsonBodyHttpMethod):
25
26
  is_async (bool):
26
- requires_auth (bool):
27
+ authentication_method (CreateHttpTriggerJsonBodyAuthenticationMethod):
27
28
  is_static_website (bool):
28
29
  workspaced_route (Union[Unset, bool]):
29
30
  static_asset_config (Union[Unset, CreateHttpTriggerJsonBodyStaticAssetConfig]):
31
+ authentication_resource_path (Union[Unset, str]):
30
32
  wrap_body (Union[Unset, bool]):
31
33
  raw_string (Union[Unset, bool]):
32
34
  """
@@ -37,10 +39,11 @@ class CreateHttpTriggerJsonBody:
37
39
  is_flow: bool
38
40
  http_method: CreateHttpTriggerJsonBodyHttpMethod
39
41
  is_async: bool
40
- requires_auth: bool
42
+ authentication_method: CreateHttpTriggerJsonBodyAuthenticationMethod
41
43
  is_static_website: bool
42
44
  workspaced_route: Union[Unset, bool] = UNSET
43
45
  static_asset_config: Union[Unset, "CreateHttpTriggerJsonBodyStaticAssetConfig"] = UNSET
46
+ authentication_resource_path: Union[Unset, str] = UNSET
44
47
  wrap_body: Union[Unset, bool] = UNSET
45
48
  raw_string: Union[Unset, bool] = UNSET
46
49
  additional_properties: Dict[str, Any] = _attrs_field(init=False, factory=dict)
@@ -53,13 +56,15 @@ class CreateHttpTriggerJsonBody:
53
56
  http_method = self.http_method.value
54
57
 
55
58
  is_async = self.is_async
56
- requires_auth = self.requires_auth
59
+ authentication_method = self.authentication_method.value
60
+
57
61
  is_static_website = self.is_static_website
58
62
  workspaced_route = self.workspaced_route
59
63
  static_asset_config: Union[Unset, Dict[str, Any]] = UNSET
60
64
  if not isinstance(self.static_asset_config, Unset):
61
65
  static_asset_config = self.static_asset_config.to_dict()
62
66
 
67
+ authentication_resource_path = self.authentication_resource_path
63
68
  wrap_body = self.wrap_body
64
69
  raw_string = self.raw_string
65
70
 
@@ -73,7 +78,7 @@ class CreateHttpTriggerJsonBody:
73
78
  "is_flow": is_flow,
74
79
  "http_method": http_method,
75
80
  "is_async": is_async,
76
- "requires_auth": requires_auth,
81
+ "authentication_method": authentication_method,
77
82
  "is_static_website": is_static_website,
78
83
  }
79
84
  )
@@ -81,6 +86,8 @@ class CreateHttpTriggerJsonBody:
81
86
  field_dict["workspaced_route"] = workspaced_route
82
87
  if static_asset_config is not UNSET:
83
88
  field_dict["static_asset_config"] = static_asset_config
89
+ if authentication_resource_path is not UNSET:
90
+ field_dict["authentication_resource_path"] = authentication_resource_path
84
91
  if wrap_body is not UNSET:
85
92
  field_dict["wrap_body"] = wrap_body
86
93
  if raw_string is not UNSET:
@@ -107,7 +114,7 @@ class CreateHttpTriggerJsonBody:
107
114
 
108
115
  is_async = d.pop("is_async")
109
116
 
110
- requires_auth = d.pop("requires_auth")
117
+ authentication_method = CreateHttpTriggerJsonBodyAuthenticationMethod(d.pop("authentication_method"))
111
118
 
112
119
  is_static_website = d.pop("is_static_website")
113
120
 
@@ -120,6 +127,8 @@ class CreateHttpTriggerJsonBody:
120
127
  else:
121
128
  static_asset_config = CreateHttpTriggerJsonBodyStaticAssetConfig.from_dict(_static_asset_config)
122
129
 
130
+ authentication_resource_path = d.pop("authentication_resource_path", UNSET)
131
+
123
132
  wrap_body = d.pop("wrap_body", UNSET)
124
133
 
125
134
  raw_string = d.pop("raw_string", UNSET)
@@ -131,10 +140,11 @@ class CreateHttpTriggerJsonBody:
131
140
  is_flow=is_flow,
132
141
  http_method=http_method,
133
142
  is_async=is_async,
134
- requires_auth=requires_auth,
143
+ authentication_method=authentication_method,
135
144
  is_static_website=is_static_website,
136
145
  workspaced_route=workspaced_route,
137
146
  static_asset_config=static_asset_config,
147
+ authentication_resource_path=authentication_resource_path,
138
148
  wrap_body=wrap_body,
139
149
  raw_string=raw_string,
140
150
  )
@@ -0,0 +1,13 @@
1
+ from enum import Enum
2
+
3
+
4
+ class CreateHttpTriggerJsonBodyAuthenticationMethod(str, Enum):
5
+ API_KEY = "api_key"
6
+ BASIC_HTTP = "basic_http"
7
+ CUSTOM_SCRIPT = "custom_script"
8
+ NONE = "none"
9
+ SIGNATURE = "signature"
10
+ WINDMILL = "windmill"
11
+
12
+ def __str__(self) -> str:
13
+ return str(self.value)
@@ -42,6 +42,7 @@ class CreateScheduleJsonBody:
42
42
  retry (Union[Unset, CreateScheduleJsonBodyRetry]):
43
43
  no_flow_overlap (Union[Unset, bool]):
44
44
  summary (Union[Unset, str]):
45
+ description (Union[Unset, str]):
45
46
  tag (Union[Unset, str]):
46
47
  paused_until (Union[Unset, datetime.datetime]):
47
48
  cron_version (Union[Unset, str]):
@@ -67,6 +68,7 @@ class CreateScheduleJsonBody:
67
68
  retry: Union[Unset, "CreateScheduleJsonBodyRetry"] = UNSET
68
69
  no_flow_overlap: Union[Unset, bool] = UNSET
69
70
  summary: Union[Unset, str] = UNSET
71
+ description: Union[Unset, str] = UNSET
70
72
  tag: Union[Unset, str] = UNSET
71
73
  paused_until: Union[Unset, datetime.datetime] = UNSET
72
74
  cron_version: Union[Unset, str] = UNSET
@@ -106,6 +108,7 @@ class CreateScheduleJsonBody:
106
108
 
107
109
  no_flow_overlap = self.no_flow_overlap
108
110
  summary = self.summary
111
+ description = self.description
109
112
  tag = self.tag
110
113
  paused_until: Union[Unset, str] = UNSET
111
114
  if not isinstance(self.paused_until, Unset):
@@ -153,6 +156,8 @@ class CreateScheduleJsonBody:
153
156
  field_dict["no_flow_overlap"] = no_flow_overlap
154
157
  if summary is not UNSET:
155
158
  field_dict["summary"] = summary
159
+ if description is not UNSET:
160
+ field_dict["description"] = description
156
161
  if tag is not UNSET:
157
162
  field_dict["tag"] = tag
158
163
  if paused_until is not UNSET:
@@ -231,6 +236,8 @@ class CreateScheduleJsonBody:
231
236
 
232
237
  summary = d.pop("summary", UNSET)
233
238
 
239
+ description = d.pop("description", UNSET)
240
+
234
241
  tag = d.pop("tag", UNSET)
235
242
 
236
243
  _paused_until = d.pop("paused_until", UNSET)
@@ -263,6 +270,7 @@ class CreateScheduleJsonBody:
263
270
  retry=retry,
264
271
  no_flow_overlap=no_flow_overlap,
265
272
  summary=summary,
273
+ description=description,
266
274
  tag=tag,
267
275
  paused_until=paused_until,
268
276
  cron_version=cron_version,
@@ -10,9 +10,11 @@ class CreateScriptJsonBodyLanguage(str, Enum):
10
10
  DENO = "deno"
11
11
  GO = "go"
12
12
  GRAPHQL = "graphql"
13
+ JAVA = "java"
13
14
  MSSQL = "mssql"
14
15
  MYSQL = "mysql"
15
16
  NATIVETS = "nativets"
17
+ NU = "nu"
16
18
  ORACLEDB = "oracledb"
17
19
  PHP = "php"
18
20
  POSTGRESQL = "postgresql"
@@ -10,9 +10,11 @@ class DeleteCompletedJobResponse200Language(str, Enum):
10
10
  DENO = "deno"
11
11
  GO = "go"
12
12
  GRAPHQL = "graphql"
13
+ JAVA = "java"
13
14
  MSSQL = "mssql"
14
15
  MYSQL = "mysql"
15
16
  NATIVETS = "nativets"
17
+ NU = "nu"
16
18
  ORACLEDB = "oracledb"
17
19
  PHP = "php"
18
20
  POSTGRESQL = "postgresql"
@@ -10,9 +10,11 @@ class DeleteScriptByHashResponse200Language(str, Enum):
10
10
  DENO = "deno"
11
11
  GO = "go"
12
12
  GRAPHQL = "graphql"
13
+ JAVA = "java"
13
14
  MSSQL = "mssql"
14
15
  MYSQL = "mysql"
15
16
  NATIVETS = "nativets"
17
+ NU = "nu"
16
18
  ORACLEDB = "oracledb"
17
19
  PHP = "php"
18
20
  POSTGRESQL = "postgresql"