diff --git a/src/workato_platform_cli/client/workato_api/models/asset.py b/src/workato_platform_cli/client/workato_api/models/asset.py index 55b6b34..16f05b5 100644 --- a/src/workato_platform_cli/client/workato_api/models/asset.py +++ b/src/workato_platform_cli/client/workato_api/models/asset.py @@ -42,8 +42,8 @@ class Asset(BaseModel): @field_validator('type') def type_validate_enum(cls, value): """Validates the enum""" - if value not in set(['recipe', 'connection', 'lookup_table', 'workato_db_table', 'account_property', 'project_property', 'workato_schema', 'workato_template', 'lcap_app', 'lcap_page', 'custom_adapter', 'topic', 'api_group', 'api_endpoint']): - raise ValueError("must be one of enum values ('recipe', 'connection', 'lookup_table', 'workato_db_table', 'account_property', 'project_property', 'workato_schema', 'workato_template', 'lcap_app', 'lcap_page', 'custom_adapter', 'topic', 'api_group', 'api_endpoint')") + if value not in set(['recipe', 'connection', 'lookup_table', 'workato_db_table', 'account_property', 'project_property', 'workato_schema', 'workato_template', 'lcap_app', 'lcap_page', 'custom_adapter', 'topic', 'api_group', 'api_endpoint', 'agentic_genie', 'agentic_skill', 'data_pipeline', 'decision_engine_model', 'agentic_knowledge_base']): + raise ValueError("must be one of enum values ('recipe', 'connection', 'lookup_table', 'workato_db_table', 'account_property', 'project_property', 'workato_schema', 'workato_template', 'lcap_app', 'lcap_page', 'custom_adapter', 'topic', 'api_group', 'api_endpoint', 'agentic_genie', 'agentic_skill', 'data_pipeline', 'decision_engine_model', 'agentic_knowledge_base')") return value @field_validator('status') diff --git a/src/workato_platform_cli/client/workato_api/models/asset_reference.py b/src/workato_platform_cli/client/workato_api/models/asset_reference.py index e32f57f..dcceea4 100644 --- a/src/workato_platform_cli/client/workato_api/models/asset_reference.py +++ b/src/workato_platform_cli/client/workato_api/models/asset_reference.py @@ -40,8 +40,8 @@ class AssetReference(BaseModel): @field_validator('type') def type_validate_enum(cls, value): """Validates the enum""" - if value not in set(['recipe', 'connection', 'lookup_table', 'workato_db_table', 'account_property', 'project_property', 'workato_schema', 'workato_template', 'lcap_app', 'lcap_page', 'custom_adapter', 'topic', 'api_group', 'api_endpoint']): - raise ValueError("must be one of enum values ('recipe', 'connection', 'lookup_table', 'workato_db_table', 'account_property', 'project_property', 'workato_schema', 'workato_template', 'lcap_app', 'lcap_page', 'custom_adapter', 'topic', 'api_group', 'api_endpoint')") + if value not in set(['recipe', 'connection', 'lookup_table', 'workato_db_table', 'account_property', 'project_property', 'workato_schema', 'workato_template', 'lcap_app', 'lcap_page', 'custom_adapter', 'topic', 'api_group', 'api_endpoint', 'agentic_genie', 'agentic_skill', 'data_pipeline', 'decision_engine_model', 'agentic_knowledge_base']): + raise ValueError("must be one of enum values ('recipe', 'connection', 'lookup_table', 'workato_db_table', 'account_property', 'project_property', 'workato_schema', 'workato_template', 'lcap_app', 'lcap_page', 'custom_adapter', 'topic', 'api_group', 'api_endpoint', 'agentic_genie', 'agentic_skill', 'data_pipeline', 'decision_engine_model', 'agentic_knowledge_base')") return value model_config = ConfigDict( diff --git a/workato-api-spec.yaml b/workato-api-spec.yaml index f94b3f3..28360cc 100644 --- a/workato-api-spec.yaml +++ b/workato-api-spec.yaml @@ -1698,6 +1698,11 @@ components: topic, api_group, api_endpoint, + agentic_genie, + agentic_skill, + data_pipeline, + decision_engine_model, + agentic_knowledge_base, ] example: "recipe" version: @@ -1804,6 +1809,11 @@ components: topic, api_group, api_endpoint, + agentic_genie, + agentic_skill, + data_pipeline, + decision_engine_model, + agentic_knowledge_base, ] checked: type: boolean