@@ -25,6 +25,7 @@ def __init__(self, client: Client) -> None:
2525 self .twilio = TwilioClient (client )
2626 self .email = EmailClient (client )
2727 self .mcp_server = McpServerClient (client )
28+ self .skill_server = SkillServerClient (client )
2829 self .microsoft_teams = MicrosoftTeamsClient (client )
2930 self .google_chat = GoogleChatClient (client )
3031 self .trigger = TriggerClient (client )
@@ -995,6 +996,60 @@ def delete(
995996 )
996997
997998
999+ class SkillServerClient :
1000+ def __init__ (self , client : Client ) -> None :
1001+ self ._client = client
1002+
1003+ def list (
1004+ self ,
1005+ request : types .SkillServerIntegrationListParams | Request | None = None ,
1006+ ) -> Response [types .SkillServerIntegrationListResponse , types .SkillServerIntegrationListStreamItem ]:
1007+ return self ._client .client_fetch (
1008+ "/api/v1/integration/skillserver/list" ,
1009+ query = request ,
1010+ parse = types .SkillServerIntegrationListResponse .from_dict ,
1011+ stream_parse = types .SkillServerIntegrationListStreamItem .from_dict ,
1012+ )
1013+
1014+ def fetch (self , integration_id : str ) -> Response [types .SkillServerIntegrationFetchResponse , Any ]:
1015+ return self ._client .client_fetch (
1016+ f"/api/v1/integration/skillserver/{ integration_id } /fetch" ,
1017+ parse = types .SkillServerIntegrationFetchResponse .from_dict ,
1018+ )
1019+
1020+ def create (
1021+ self ,
1022+ request : types .SkillServerIntegrationCreateRequest | Request ,
1023+ ) -> Response [types .SkillServerIntegrationCreateResponse , Any ]:
1024+ return self ._client .client_fetch (
1025+ "/api/v1/integration/skillserver/create" ,
1026+ record = request ,
1027+ parse = types .SkillServerIntegrationCreateResponse .from_dict ,
1028+ )
1029+
1030+ def update (
1031+ self ,
1032+ integration_id : str ,
1033+ request : types .SkillServerIntegrationUpdateRequest | Request ,
1034+ ) -> Response [types .SkillServerIntegrationUpdateResponse , Any ]:
1035+ return self ._client .client_fetch (
1036+ f"/api/v1/integration/skillserver/{ integration_id } /update" ,
1037+ record = request ,
1038+ parse = types .SkillServerIntegrationUpdateResponse .from_dict ,
1039+ )
1040+
1041+ def delete (
1042+ self ,
1043+ integration_id : str ,
1044+ request : Request | None = None ,
1045+ ) -> Response [types .SkillServerIntegrationDeleteResponse , Any ]:
1046+ return self ._client .client_fetch (
1047+ f"/api/v1/integration/skillserver/{ integration_id } /delete" ,
1048+ record = request or {},
1049+ parse = types .SkillServerIntegrationDeleteResponse .from_dict ,
1050+ )
1051+
1052+
9981053class MicrosoftTeamsClient :
9991054 def __init__ (self , client : Client ) -> None :
10001055 self ._client = client
0 commit comments