airia 0.1.18__tar.gz → 0.1.19__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (75) hide show
  1. {airia-0.1.18 → airia-0.1.19}/PKG-INFO +1 -1
  2. {airia-0.1.18 → airia-0.1.19}/airia/client/pipelines_config/async_pipelines_config.py +65 -0
  3. {airia-0.1.18 → airia-0.1.19}/airia/client/pipelines_config/base_pipelines_config.py +38 -0
  4. {airia-0.1.18 → airia-0.1.19}/airia/client/pipelines_config/sync_pipelines_config.py +65 -0
  5. {airia-0.1.18 → airia-0.1.19}/airia/types/api/pipelines_config/__init__.py +6 -0
  6. airia-0.1.19/airia/types/api/pipelines_config/get_pipelines_config.py +381 -0
  7. {airia-0.1.18 → airia-0.1.19}/airia.egg-info/PKG-INFO +1 -1
  8. {airia-0.1.18 → airia-0.1.19}/airia.egg-info/SOURCES.txt +1 -0
  9. {airia-0.1.18 → airia-0.1.19}/pyproject.toml +1 -1
  10. {airia-0.1.18 → airia-0.1.19}/LICENSE +0 -0
  11. {airia-0.1.18 → airia-0.1.19}/README.md +0 -0
  12. {airia-0.1.18 → airia-0.1.19}/airia/__init__.py +0 -0
  13. {airia-0.1.18 → airia-0.1.19}/airia/client/__init__.py +0 -0
  14. {airia-0.1.18 → airia-0.1.19}/airia/client/_request_handler/__init__.py +0 -0
  15. {airia-0.1.18 → airia-0.1.19}/airia/client/_request_handler/async_request_handler.py +0 -0
  16. {airia-0.1.18 → airia-0.1.19}/airia/client/_request_handler/base_request_handler.py +0 -0
  17. {airia-0.1.18 → airia-0.1.19}/airia/client/_request_handler/sync_request_handler.py +0 -0
  18. {airia-0.1.18 → airia-0.1.19}/airia/client/async_client.py +0 -0
  19. {airia-0.1.18 → airia-0.1.19}/airia/client/base_client.py +0 -0
  20. {airia-0.1.18 → airia-0.1.19}/airia/client/conversations/__init__.py +0 -0
  21. {airia-0.1.18 → airia-0.1.19}/airia/client/conversations/async_conversations.py +0 -0
  22. {airia-0.1.18 → airia-0.1.19}/airia/client/conversations/base_conversations.py +0 -0
  23. {airia-0.1.18 → airia-0.1.19}/airia/client/conversations/sync_conversations.py +0 -0
  24. {airia-0.1.18 → airia-0.1.19}/airia/client/data_vector_search/__init__.py +0 -0
  25. {airia-0.1.18 → airia-0.1.19}/airia/client/data_vector_search/async_data_vector_search.py +0 -0
  26. {airia-0.1.18 → airia-0.1.19}/airia/client/data_vector_search/base_data_vector_search.py +0 -0
  27. {airia-0.1.18 → airia-0.1.19}/airia/client/data_vector_search/sync_data_vector_search.py +0 -0
  28. {airia-0.1.18 → airia-0.1.19}/airia/client/deployments/__init__.py +0 -0
  29. {airia-0.1.18 → airia-0.1.19}/airia/client/deployments/async_deployments.py +0 -0
  30. {airia-0.1.18 → airia-0.1.19}/airia/client/deployments/base_deployments.py +0 -0
  31. {airia-0.1.18 → airia-0.1.19}/airia/client/deployments/sync_deployments.py +0 -0
  32. {airia-0.1.18 → airia-0.1.19}/airia/client/pipeline_execution/__init__.py +0 -0
  33. {airia-0.1.18 → airia-0.1.19}/airia/client/pipeline_execution/async_pipeline_execution.py +0 -0
  34. {airia-0.1.18 → airia-0.1.19}/airia/client/pipeline_execution/base_pipeline_execution.py +0 -0
  35. {airia-0.1.18 → airia-0.1.19}/airia/client/pipeline_execution/sync_pipeline_execution.py +0 -0
  36. {airia-0.1.18 → airia-0.1.19}/airia/client/pipelines_config/__init__.py +0 -0
  37. {airia-0.1.18 → airia-0.1.19}/airia/client/project/__init__.py +0 -0
  38. {airia-0.1.18 → airia-0.1.19}/airia/client/project/async_project.py +0 -0
  39. {airia-0.1.18 → airia-0.1.19}/airia/client/project/base_project.py +0 -0
  40. {airia-0.1.18 → airia-0.1.19}/airia/client/project/sync_project.py +0 -0
  41. {airia-0.1.18 → airia-0.1.19}/airia/client/store/__init__.py +0 -0
  42. {airia-0.1.18 → airia-0.1.19}/airia/client/store/async_store.py +0 -0
  43. {airia-0.1.18 → airia-0.1.19}/airia/client/store/base_store.py +0 -0
  44. {airia-0.1.18 → airia-0.1.19}/airia/client/store/sync_store.py +0 -0
  45. {airia-0.1.18 → airia-0.1.19}/airia/client/sync_client.py +0 -0
  46. {airia-0.1.18 → airia-0.1.19}/airia/constants.py +0 -0
  47. {airia-0.1.18 → airia-0.1.19}/airia/exceptions.py +0 -0
  48. {airia-0.1.18 → airia-0.1.19}/airia/logs.py +0 -0
  49. {airia-0.1.18 → airia-0.1.19}/airia/types/__init__.py +0 -0
  50. {airia-0.1.18 → airia-0.1.19}/airia/types/_api_version.py +0 -0
  51. {airia-0.1.18 → airia-0.1.19}/airia/types/_request_data.py +0 -0
  52. {airia-0.1.18 → airia-0.1.19}/airia/types/api/__init__.py +0 -0
  53. {airia-0.1.18 → airia-0.1.19}/airia/types/api/conversations/__init__.py +0 -0
  54. {airia-0.1.18 → airia-0.1.19}/airia/types/api/conversations/_conversations.py +0 -0
  55. {airia-0.1.18 → airia-0.1.19}/airia/types/api/data_vector_search/__init__.py +0 -0
  56. {airia-0.1.18 → airia-0.1.19}/airia/types/api/data_vector_search/get_file_chunks.py +0 -0
  57. {airia-0.1.18 → airia-0.1.19}/airia/types/api/deployments/__init__.py +0 -0
  58. {airia-0.1.18 → airia-0.1.19}/airia/types/api/deployments/get_deployment.py +0 -0
  59. {airia-0.1.18 → airia-0.1.19}/airia/types/api/deployments/get_deployments.py +0 -0
  60. {airia-0.1.18 → airia-0.1.19}/airia/types/api/pipeline_execution/__init__.py +0 -0
  61. {airia-0.1.18 → airia-0.1.19}/airia/types/api/pipeline_execution/_pipeline_execution.py +0 -0
  62. {airia-0.1.18 → airia-0.1.19}/airia/types/api/pipelines_config/export_pipeline_definition.py +0 -0
  63. {airia-0.1.18 → airia-0.1.19}/airia/types/api/pipelines_config/get_pipeline_config.py +0 -0
  64. {airia-0.1.18 → airia-0.1.19}/airia/types/api/project/__init__.py +0 -0
  65. {airia-0.1.18 → airia-0.1.19}/airia/types/api/project/get_projects.py +0 -0
  66. {airia-0.1.18 → airia-0.1.19}/airia/types/api/store/__init__.py +0 -0
  67. {airia-0.1.18 → airia-0.1.19}/airia/types/api/store/get_file.py +0 -0
  68. {airia-0.1.18 → airia-0.1.19}/airia/types/api/store/get_files.py +0 -0
  69. {airia-0.1.18 → airia-0.1.19}/airia/types/sse/__init__.py +0 -0
  70. {airia-0.1.18 → airia-0.1.19}/airia/types/sse/sse_messages.py +0 -0
  71. {airia-0.1.18 → airia-0.1.19}/airia/utils/sse_parser.py +0 -0
  72. {airia-0.1.18 → airia-0.1.19}/airia.egg-info/dependency_links.txt +0 -0
  73. {airia-0.1.18 → airia-0.1.19}/airia.egg-info/requires.txt +0 -0
  74. {airia-0.1.18 → airia-0.1.19}/airia.egg-info/top_level.txt +0 -0
  75. {airia-0.1.18 → airia-0.1.19}/setup.cfg +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: airia
3
- Version: 0.1.18
3
+ Version: 0.1.19
4
4
  Summary: Python SDK for Airia API
5
5
  Author-email: Airia LLC <support@airia.com>
6
6
  License: MIT
@@ -4,6 +4,7 @@ from ...types._api_version import ApiVersion
4
4
  from ...types.api.pipelines_config import (
5
5
  PipelineConfigResponse,
6
6
  ExportPipelineDefinitionResponse,
7
+ GetPipelinesConfigResponse,
7
8
  )
8
9
  from .._request_handler import AsyncRequestHandler
9
10
  from .base_pipelines_config import BasePipelinesConfig
@@ -123,3 +124,67 @@ class AsyncPipelinesConfig(BasePipelinesConfig):
123
124
  resp = await self._request_handler.make_request("GET", request_data)
124
125
 
125
126
  return ExportPipelineDefinitionResponse(**resp)
127
+
128
+ async def get_pipelines_config(
129
+ self, project_id: Optional[str] = None, correlation_id: Optional[str] = None
130
+ ) -> GetPipelinesConfigResponse:
131
+ """
132
+ Retrieve a list of pipeline configurations, optionally filtered by project ID.
133
+
134
+ This method fetches a list of pipeline configurations including their
135
+ deployment details, execution statistics, version information, and metadata.
136
+ The results can be filtered by project ID to retrieve only pipelines
137
+ belonging to a specific project.
138
+
139
+ Args:
140
+ project_id (str, optional): The unique identifier of the project to filter
141
+ pipelines by. If not provided, pipelines from all accessible projects
142
+ will be returned.
143
+ correlation_id (str, optional): A unique identifier for request tracing
144
+ and logging. If not provided, one will be automatically generated.
145
+
146
+ Returns:
147
+ GetPipelinesConfigResponse: A response object containing the list of
148
+ pipeline configurations and the total count.
149
+
150
+ Raises:
151
+ AiriaAPIError: If the API request fails, including cases where:
152
+ - Authentication fails (401)
153
+ - Access is forbidden (403)
154
+ - Server errors (5xx)
155
+
156
+ Example:
157
+ ```python
158
+ from airia import AiriaAsyncClient
159
+
160
+ client = AiriaAsyncClient(api_key="your_api_key")
161
+
162
+ # Get all pipeline configurations
163
+ pipelines = await client.pipelines_config.get_pipelines_config()
164
+ print(f"Total pipelines: {pipelines.total_count}")
165
+ for pipeline in pipelines.items:
166
+ print(f"Pipeline: {pipeline.name}")
167
+ print(f"Execution name: {pipeline.execution_name}")
168
+ if pipeline.execution_stats:
169
+ print(f"Success count: {pipeline.execution_stats.success_count}")
170
+
171
+ # Get pipelines for a specific project
172
+ project_pipelines = await client.pipelines_config.get_pipelines_config(
173
+ project_id="your_project_id"
174
+ )
175
+ print(f"Project pipelines: {project_pipelines.total_count}")
176
+ ```
177
+
178
+ Note:
179
+ This method retrieves pipeline configuration information only. To execute
180
+ a pipeline, use the execute_pipeline() method with the appropriate
181
+ pipeline identifier.
182
+ """
183
+ request_data = self._pre_get_pipelines_config(
184
+ project_id=project_id,
185
+ correlation_id=correlation_id,
186
+ api_version=ApiVersion.V1.value,
187
+ )
188
+ resp = await self._request_handler.make_request("GET", request_data)
189
+
190
+ return GetPipelinesConfigResponse(**resp)
@@ -76,3 +76,41 @@ class BasePipelinesConfig:
76
76
  )
77
77
 
78
78
  return request_data
79
+
80
+ def _pre_get_pipelines_config(
81
+ self,
82
+ project_id: Optional[str] = None,
83
+ correlation_id: Optional[str] = None,
84
+ api_version: str = ApiVersion.V1.value,
85
+ ):
86
+ """
87
+ Prepare request data for getting pipelines configuration endpoint.
88
+
89
+ Args:
90
+ project_id: Optional project ID filter
91
+ correlation_id: Optional correlation ID for tracing
92
+ api_version: API version to use for the request
93
+
94
+ Returns:
95
+ RequestData: Prepared request data for the pipelines config endpoint
96
+
97
+ Raises:
98
+ ValueError: If an invalid API version is provided
99
+ """
100
+ if api_version not in ApiVersion.as_list():
101
+ raise ValueError(
102
+ f"Invalid API version: {api_version}. Valid versions are: {', '.join(ApiVersion.as_list())}"
103
+ )
104
+ url = urljoin(
105
+ self._request_handler.base_url,
106
+ f"{api_version}/PipelinesConfig",
107
+ )
108
+ params = {}
109
+ if project_id is not None:
110
+ params["projectId"] = project_id
111
+
112
+ request_data = self._request_handler.prepare_request(
113
+ url, params=params, correlation_id=correlation_id
114
+ )
115
+
116
+ return request_data
@@ -4,6 +4,7 @@ from ...types._api_version import ApiVersion
4
4
  from ...types.api.pipelines_config import (
5
5
  PipelineConfigResponse,
6
6
  ExportPipelineDefinitionResponse,
7
+ GetPipelinesConfigResponse,
7
8
  )
8
9
  from .._request_handler import RequestHandler
9
10
  from .base_pipelines_config import BasePipelinesConfig
@@ -123,3 +124,67 @@ class PipelinesConfig(BasePipelinesConfig):
123
124
  resp = self._request_handler.make_request("GET", request_data)
124
125
 
125
126
  return ExportPipelineDefinitionResponse(**resp)
127
+
128
+ def get_pipelines_config(
129
+ self, project_id: Optional[str] = None, correlation_id: Optional[str] = None
130
+ ) -> GetPipelinesConfigResponse:
131
+ """
132
+ Retrieve a list of pipeline configurations, optionally filtered by project ID.
133
+
134
+ This method fetches a list of pipeline configurations including their
135
+ deployment details, execution statistics, version information, and metadata.
136
+ The results can be filtered by project ID to retrieve only pipelines
137
+ belonging to a specific project.
138
+
139
+ Args:
140
+ project_id (str, optional): The unique identifier of the project to filter
141
+ pipelines by. If not provided, pipelines from all accessible projects
142
+ will be returned.
143
+ correlation_id (str, optional): A unique identifier for request tracing
144
+ and logging. If not provided, one will be automatically generated.
145
+
146
+ Returns:
147
+ GetPipelinesConfigResponse: A response object containing the list of
148
+ pipeline configurations and the total count.
149
+
150
+ Raises:
151
+ AiriaAPIError: If the API request fails, including cases where:
152
+ - Authentication fails (401)
153
+ - Access is forbidden (403)
154
+ - Server errors (5xx)
155
+
156
+ Example:
157
+ ```python
158
+ from airia import AiriaClient
159
+
160
+ client = AiriaClient(api_key="your_api_key")
161
+
162
+ # Get all pipeline configurations
163
+ pipelines = client.pipelines_config.get_pipelines_config()
164
+ print(f"Total pipelines: {pipelines.total_count}")
165
+ for pipeline in pipelines.items:
166
+ print(f"Pipeline: {pipeline.name}")
167
+ print(f"Execution name: {pipeline.execution_name}")
168
+ if pipeline.execution_stats:
169
+ print(f"Success count: {pipeline.execution_stats.success_count}")
170
+
171
+ # Get pipelines for a specific project
172
+ project_pipelines = client.pipelines_config.get_pipelines_config(
173
+ project_id="your_project_id"
174
+ )
175
+ print(f"Project pipelines: {project_pipelines.total_count}")
176
+ ```
177
+
178
+ Note:
179
+ This method retrieves pipeline configuration information only. To execute
180
+ a pipeline, use the execute_pipeline() method with the appropriate
181
+ pipeline identifier.
182
+ """
183
+ request_data = self._pre_get_pipelines_config(
184
+ project_id=project_id,
185
+ correlation_id=correlation_id,
186
+ api_version=ApiVersion.V1.value,
187
+ )
188
+ resp = self._request_handler.make_request("GET", request_data)
189
+
190
+ return GetPipelinesConfigResponse(**resp)
@@ -16,6 +16,10 @@ from .get_pipeline_config import (
16
16
  PipelineStepPosition,
17
17
  PipelineVersion,
18
18
  )
19
+ from .get_pipelines_config import (
20
+ GetPipelinesConfigResponse,
21
+ PipelineConfigItem,
22
+ )
19
23
  from .export_pipeline_definition import (
20
24
  AgentDetailItemDefinition,
21
25
  ExportPipelineDefinitionResponse,
@@ -52,7 +56,9 @@ __all__ = [
52
56
  "DeploymentAssignment",
53
57
  "DeploymentUserPrompt",
54
58
  "ExportPipelineDefinitionResponse",
59
+ "GetPipelinesConfigResponse",
55
60
  "Pipeline",
61
+ "PipelineConfigItem",
56
62
  "PipelineConfigResponse",
57
63
  "PipelineExecutionStats",
58
64
  "PipelineStep",
@@ -0,0 +1,381 @@
1
+ """Types for the get_pipelines_config API response.
2
+
3
+ This module defines data structures for the pipelines configuration list endpoint,
4
+ including pipeline configurations with their deployment details, execution statistics,
5
+ version information, and metadata.
6
+ """
7
+
8
+ from __future__ import annotations
9
+
10
+ from datetime import datetime
11
+ from typing import Any, List, Optional
12
+
13
+ from pydantic import BaseModel, Field
14
+
15
+
16
+ class PipelineExecutionStats(BaseModel):
17
+ """Statistics about pipeline executions.
18
+
19
+ Attributes:
20
+ success_count: Number of successful executions
21
+ failure_count: Number of failed executions
22
+ """
23
+
24
+ success_count: int = Field(
25
+ alias="successCount", description="Number of successful executions"
26
+ )
27
+ failure_count: int = Field(
28
+ alias="failureCount", description="Number of failed executions"
29
+ )
30
+
31
+
32
+ class PipelineVersion(BaseModel):
33
+ """Represents a version of a pipeline.
34
+
35
+ Attributes:
36
+ pipeline_id: The unique identifier of the pipeline
37
+ major_version: Major version number
38
+ minor_version: Minor version number
39
+ version_number: Full version number as string
40
+ is_draft_version: Whether this is a draft version
41
+ is_latest: Whether this is the latest version
42
+ steps: Pipeline steps (optional)
43
+ alignment: Layout alignment of the pipeline
44
+ description: Version description (optional)
45
+ version_name: Name of the version (optional)
46
+ is_deprecated: Whether this version is deprecated
47
+ id: Unique identifier for this version
48
+ tenant_id: Tenant identifier
49
+ project_id: Project identifier
50
+ created_at: Creation timestamp
51
+ updated_at: Last update timestamp
52
+ user_id: User identifier who created this version
53
+ """
54
+
55
+ pipeline_id: str = Field(
56
+ alias="pipelineId", description="The unique identifier of the pipeline"
57
+ )
58
+ major_version: int = Field(alias="majorVersion", description="Major version number")
59
+ minor_version: int = Field(alias="minorVersion", description="Minor version number")
60
+ version_number: str = Field(
61
+ alias="versionNumber", description="Full version number as string"
62
+ )
63
+ is_draft_version: bool = Field(
64
+ alias="isDraftVersion", description="Whether this is a draft version"
65
+ )
66
+ is_latest: bool = Field(
67
+ alias="isLatest", description="Whether this is the latest version"
68
+ )
69
+ steps: Optional[Any] = Field(None, description="Pipeline steps")
70
+ alignment: str = Field(description="Layout alignment of the pipeline")
71
+ description: Optional[str] = Field(None, description="Version description")
72
+ version_name: Optional[str] = Field(
73
+ alias="versionName", default=None, description="Name of the version"
74
+ )
75
+ is_deprecated: bool = Field(
76
+ alias="isDeprecated", description="Whether this version is deprecated"
77
+ )
78
+ id: str = Field(description="Unique identifier for this version")
79
+ tenant_id: str = Field(alias="tenantId", description="Tenant identifier")
80
+ project_id: str = Field(alias="projectId", description="Project identifier")
81
+ created_at: datetime = Field(alias="createdAt", description="Creation timestamp")
82
+ updated_at: datetime = Field(alias="updatedAt", description="Last update timestamp")
83
+ user_id: Optional[str] = Field(
84
+ alias="userId",
85
+ default=None,
86
+ description="User identifier who created this version",
87
+ )
88
+
89
+
90
+ class DeploymentAssignment(BaseModel):
91
+ """Represents a deployment assignment.
92
+
93
+ This is a placeholder for deployment assignment data structure.
94
+ """
95
+
96
+ pass
97
+
98
+
99
+ class Deployment(BaseModel):
100
+ """Represents a deployment configuration.
101
+
102
+ Attributes:
103
+ pipeline_id: The pipeline identifier this deployment belongs to
104
+ name: Name of the deployment
105
+ description: Description of the deployment
106
+ pipeline: Pipeline details (optional)
107
+ deployment_user_prompts: User prompts for deployment (optional)
108
+ deployment_prompt: Deployment prompt (optional)
109
+ project_id: Project identifier
110
+ is_recommended: Whether this deployment is recommended
111
+ tags: List of tags associated with the deployment
112
+ deployment_type: Type of deployment
113
+ conversation_type: Type of conversation
114
+ about: About information (optional)
115
+ is_deployed_via_assistants: Whether deployed via assistants
116
+ assignments: List of deployment assignments
117
+ supported_input_modes: List of supported input modes
118
+ id: Unique identifier for the deployment
119
+ tenant_id: Tenant identifier
120
+ created_at: Creation timestamp
121
+ updated_at: Last update timestamp
122
+ user_id: User identifier who created the deployment
123
+ """
124
+
125
+ pipeline_id: str = Field(
126
+ alias="pipelineId",
127
+ description="The pipeline identifier this deployment belongs to",
128
+ )
129
+ name: str = Field(description="Name of the deployment")
130
+ description: str = Field(description="Description of the deployment")
131
+ pipeline: Optional[Any] = Field(None, description="Pipeline details")
132
+ deployment_user_prompts: Optional[Any] = Field(
133
+ alias="deploymentUserPrompts",
134
+ default=None,
135
+ description="User prompts for deployment",
136
+ )
137
+ deployment_prompt: Optional[str] = Field(
138
+ alias="deploymentPrompt", default=None, description="Deployment prompt"
139
+ )
140
+ project_id: str = Field(alias="projectId", description="Project identifier")
141
+ is_recommended: bool = Field(
142
+ alias="isRecommended", description="Whether this deployment is recommended"
143
+ )
144
+ tags: List[str] = Field(
145
+ default_factory=list, description="List of tags associated with the deployment"
146
+ )
147
+ deployment_type: str = Field(
148
+ alias="deploymentType", description="Type of deployment"
149
+ )
150
+ conversation_type: str = Field(
151
+ alias="conversationType", description="Type of conversation"
152
+ )
153
+ about: Optional[Any] = Field(None, description="About information")
154
+ is_deployed_via_assistants: bool = Field(
155
+ alias="isDeployedViaAssistants", description="Whether deployed via assistants"
156
+ )
157
+ assignments: List[DeploymentAssignment] = Field(
158
+ default_factory=list, description="List of deployment assignments"
159
+ )
160
+ supported_input_modes: List[str] = Field(
161
+ alias="supportedInputModes", description="List of supported input modes"
162
+ )
163
+ id: str = Field(description="Unique identifier for the deployment")
164
+ tenant_id: str = Field(alias="tenantId", description="Tenant identifier")
165
+ created_at: datetime = Field(alias="createdAt", description="Creation timestamp")
166
+ updated_at: datetime = Field(alias="updatedAt", description="Last update timestamp")
167
+ user_id: Optional[str] = Field(
168
+ alias="userId",
169
+ default=None,
170
+ description="User identifier who created the deployment",
171
+ )
172
+
173
+
174
+ class AgentTrigger(BaseModel):
175
+ """Represents an agent trigger configuration.
176
+
177
+ Attributes:
178
+ email_id: Email identifier for the trigger
179
+ allowed_type: Type of allowed values
180
+ allowed_values: Comma-separated allowed values
181
+ pipeline_id: Pipeline identifier
182
+ data_source_id: Data source identifier (optional)
183
+ store_connector_id: Store connector identifier
184
+ email_action: Email action to perform
185
+ forward_to: Forward destination (optional)
186
+ id: Unique identifier for the trigger
187
+ tenant_id: Tenant identifier
188
+ project_id: Project identifier
189
+ created_at: Creation timestamp
190
+ updated_at: Last update timestamp
191
+ user_id: User identifier who created the trigger
192
+ """
193
+
194
+ email_id: str = Field(
195
+ alias="emailId", description="Email identifier for the trigger"
196
+ )
197
+ allowed_type: str = Field(alias="allowedType", description="Type of allowed values")
198
+ allowed_values: str = Field(
199
+ alias="allowedValues", description="Comma-separated allowed values"
200
+ )
201
+ pipeline_id: str = Field(alias="pipelineId", description="Pipeline identifier")
202
+ data_source_id: Optional[str] = Field(
203
+ alias="dataSourceId", default=None, description="Data source identifier"
204
+ )
205
+ store_connector_id: Optional[str] = Field(
206
+ alias="storeConnectorId", default=None, description="Store connector identifier"
207
+ )
208
+ email_action: str = Field(
209
+ alias="emailAction", description="Email action to perform"
210
+ )
211
+ forward_to: Optional[str] = Field(
212
+ alias="forwardTo", default=None, description="Forward destination"
213
+ )
214
+ id: str = Field(description="Unique identifier for the trigger")
215
+ tenant_id: str = Field(alias="tenantId", description="Tenant identifier")
216
+ project_id: str = Field(alias="projectId", description="Project identifier")
217
+ created_at: datetime = Field(alias="createdAt", description="Creation timestamp")
218
+ updated_at: datetime = Field(alias="updatedAt", description="Last update timestamp")
219
+ user_id: Optional[str] = Field(
220
+ alias="userId",
221
+ default=None,
222
+ description="User identifier who created the trigger",
223
+ )
224
+
225
+
226
+ class PipelineConfigItem(BaseModel):
227
+ """Represents a single pipeline configuration item.
228
+
229
+ Attributes:
230
+ deployment_id: Deployment identifier (optional)
231
+ deployment_name: Name of the deployment
232
+ deployment_description: Description of the deployment
233
+ user_keys: User keys (optional)
234
+ group_keys: Group keys (optional)
235
+ agent_icon: Agent icon (optional)
236
+ external: Whether this is an external pipeline
237
+ active_version_id: ID of the active version
238
+ name: Name of the pipeline
239
+ execution_name: Execution name for the pipeline
240
+ description: Description of the pipeline
241
+ video_link: Link to video documentation
242
+ agent_icon_id: Agent icon identifier (optional)
243
+ agent_unicode_icon: Unicode icon for the agent
244
+ versions: List of pipeline versions
245
+ execution_stats: Execution statistics
246
+ industry: Industry category
247
+ sub_industries: Sub-industry categories (optional)
248
+ agent_details: Agent details (optional)
249
+ agent_details_tags: Agent details tags (optional)
250
+ active_version: The active version details
251
+ backup_pipeline_id: Backup pipeline ID (optional)
252
+ deployment: Deployment configuration (optional)
253
+ library_agent_id: Library agent ID (optional)
254
+ library_imported_hash: Hash of imported library
255
+ library_imported_version: Version of imported library
256
+ is_deleted: Whether this pipeline is deleted (optional)
257
+ agent_trigger: Agent trigger configuration (optional)
258
+ api_key_id: API key identifier (optional)
259
+ is_seeded: Whether this pipeline is seeded
260
+ behaviours: Behaviours configuration (optional)
261
+ department_id: Department identifier (optional)
262
+ department: Department information (optional)
263
+ id: Unique identifier for the pipeline
264
+ tenant_id: Tenant identifier
265
+ project_id: Project identifier
266
+ created_at: Creation timestamp
267
+ updated_at: Last update timestamp
268
+ user_id: User identifier who created the pipeline
269
+ """
270
+
271
+ deployment_id: Optional[str] = Field(
272
+ alias="deploymentId", default=None, description="Deployment identifier"
273
+ )
274
+ deployment_name: str = Field(
275
+ alias="deploymentName", description="Name of the deployment"
276
+ )
277
+ deployment_description: str = Field(
278
+ alias="deploymentDescription", description="Description of the deployment"
279
+ )
280
+ user_keys: Optional[Any] = Field(
281
+ alias="userKeys", default=None, description="User keys"
282
+ )
283
+ group_keys: Optional[Any] = Field(
284
+ alias="groupKeys", default=None, description="Group keys"
285
+ )
286
+ agent_icon: Optional[Any] = Field(
287
+ alias="agentIcon", default=None, description="Agent icon"
288
+ )
289
+ external: bool = Field(description="Whether this is an external pipeline")
290
+ active_version_id: str = Field(
291
+ alias="activeVersionId", description="ID of the active version"
292
+ )
293
+ name: str = Field(description="Name of the pipeline")
294
+ execution_name: str = Field(
295
+ alias="executionName", description="Execution name for the pipeline"
296
+ )
297
+ description: str = Field(description="Description of the pipeline")
298
+ video_link: str = Field(
299
+ alias="videoLink", description="Link to video documentation"
300
+ )
301
+ agent_icon_id: Optional[str] = Field(
302
+ alias="agentIconId", default=None, description="Agent icon identifier"
303
+ )
304
+ agent_unicode_icon: str = Field(
305
+ alias="agentUnicodeIcon", description="Unicode icon for the agent"
306
+ )
307
+ versions: List[PipelineVersion] = Field(description="List of pipeline versions")
308
+ execution_stats: Optional[PipelineExecutionStats] = Field(
309
+ alias="executionStats", default=None, description="Execution statistics"
310
+ )
311
+ industry: str = Field(description="Industry category")
312
+ sub_industries: Optional[Any] = Field(
313
+ alias="subIndustries", default=None, description="Sub-industry categories"
314
+ )
315
+ agent_details: Optional[Any] = Field(
316
+ alias="agentDetails", default=None, description="Agent details"
317
+ )
318
+ agent_details_tags: Optional[Any] = Field(
319
+ alias="agentDetailsTags", default=None, description="Agent details tags"
320
+ )
321
+ active_version: PipelineVersion = Field(
322
+ alias="activeVersion", description="The active version details"
323
+ )
324
+ backup_pipeline_id: Optional[str] = Field(
325
+ alias="backupPipelineId", default=None, description="Backup pipeline ID"
326
+ )
327
+ deployment: Optional[Deployment] = Field(
328
+ None, description="Deployment configuration"
329
+ )
330
+ library_agent_id: Optional[str] = Field(
331
+ alias="libraryAgentId", default=None, description="Library agent ID"
332
+ )
333
+ library_imported_hash: str = Field(
334
+ alias="libraryImportedHash", description="Hash of imported library"
335
+ )
336
+ library_imported_version: str = Field(
337
+ alias="libraryImportedVersion", description="Version of imported library"
338
+ )
339
+ is_deleted: Optional[bool] = Field(
340
+ alias="isDeleted", default=None, description="Whether this pipeline is deleted"
341
+ )
342
+ agent_trigger: Optional[AgentTrigger] = Field(
343
+ alias="agentTrigger", default=None, description="Agent trigger configuration"
344
+ )
345
+ api_key_id: Optional[str] = Field(
346
+ alias="apiKeyId", default=None, description="API key identifier"
347
+ )
348
+ is_seeded: bool = Field(
349
+ alias="isSeeded", description="Whether this pipeline is seeded"
350
+ )
351
+ behaviours: Optional[Any] = Field(None, description="Behaviours configuration")
352
+ department_id: Optional[str] = Field(
353
+ alias="departmentId", default=None, description="Department identifier"
354
+ )
355
+ department: Optional[Any] = Field(None, description="Department information")
356
+ id: str = Field(description="Unique identifier for the pipeline")
357
+ tenant_id: str = Field(alias="tenantId", description="Tenant identifier")
358
+ project_id: str = Field(alias="projectId", description="Project identifier")
359
+ created_at: datetime = Field(alias="createdAt", description="Creation timestamp")
360
+ updated_at: datetime = Field(alias="updatedAt", description="Last update timestamp")
361
+ user_id: Optional[str] = Field(
362
+ alias="userId",
363
+ default=None,
364
+ description="User identifier who created the pipeline",
365
+ )
366
+
367
+
368
+ class GetPipelinesConfigResponse(BaseModel):
369
+ """Response model for the get_pipelines_config endpoint.
370
+
371
+ Attributes:
372
+ items: List of pipeline configuration items
373
+ total_count: Total count of pipeline configurations
374
+ """
375
+
376
+ items: List[PipelineConfigItem] = Field(
377
+ description="List of pipeline configuration items"
378
+ )
379
+ total_count: int = Field(
380
+ alias="totalCount", description="Total count of pipeline configurations"
381
+ )
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: airia
3
- Version: 0.1.18
3
+ Version: 0.1.19
4
4
  Summary: Python SDK for Airia API
5
5
  Author-email: Airia LLC <support@airia.com>
6
6
  License: MIT
@@ -62,6 +62,7 @@ airia/types/api/pipeline_execution/_pipeline_execution.py
62
62
  airia/types/api/pipelines_config/__init__.py
63
63
  airia/types/api/pipelines_config/export_pipeline_definition.py
64
64
  airia/types/api/pipelines_config/get_pipeline_config.py
65
+ airia/types/api/pipelines_config/get_pipelines_config.py
65
66
  airia/types/api/project/__init__.py
66
67
  airia/types/api/project/get_projects.py
67
68
  airia/types/api/store/__init__.py
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "airia"
7
- version = "0.1.18"
7
+ version = "0.1.19"
8
8
  description = "Python SDK for Airia API"
9
9
  license = { text = "MIT" }
10
10
  authors = [{ name = "Airia LLC", email = "support@airia.com" }]
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes