From dce69c437b999cb092d54de659f92a687b594165 Mon Sep 17 00:00:00 2001 From: sdk-team Date: Wed, 20 Aug 2025 07:32:17 +0000 Subject: [PATCH 1/2] Generated 2025-08-12 for IntlMarket. --- aliyun-python-sdk-intlmarket/ChangeLog.txt | 3 + aliyun-python-sdk-intlmarket/LICENSE | 13 ++++ aliyun-python-sdk-intlmarket/MANIFEST.in | 1 + aliyun-python-sdk-intlmarket/README.rst | 15 ++++ .../aliyunsdkintlmarket/__init__.py | 1 + .../aliyunsdkintlmarket/request/__init__.py | 0 .../request/v20250812/CreateOrderRequest.py | 58 ++++++++++++++ .../request/v20250812/DescribePriceRequest.py | 38 +++++++++ .../request/v20250812/__init__.py | 0 aliyun-python-sdk-intlmarket/setup.cfg | 5 ++ aliyun-python-sdk-intlmarket/setup.py | 78 +++++++++++++++++++ 11 files changed, 212 insertions(+) create mode 100644 aliyun-python-sdk-intlmarket/ChangeLog.txt create mode 100644 aliyun-python-sdk-intlmarket/LICENSE create mode 100644 aliyun-python-sdk-intlmarket/MANIFEST.in create mode 100644 aliyun-python-sdk-intlmarket/README.rst create mode 100644 aliyun-python-sdk-intlmarket/aliyunsdkintlmarket/__init__.py create mode 100644 aliyun-python-sdk-intlmarket/aliyunsdkintlmarket/request/__init__.py create mode 100644 aliyun-python-sdk-intlmarket/aliyunsdkintlmarket/request/v20250812/CreateOrderRequest.py create mode 100644 aliyun-python-sdk-intlmarket/aliyunsdkintlmarket/request/v20250812/DescribePriceRequest.py create mode 100644 aliyun-python-sdk-intlmarket/aliyunsdkintlmarket/request/v20250812/__init__.py create mode 100644 aliyun-python-sdk-intlmarket/setup.cfg create mode 100644 aliyun-python-sdk-intlmarket/setup.py diff --git a/aliyun-python-sdk-intlmarket/ChangeLog.txt b/aliyun-python-sdk-intlmarket/ChangeLog.txt new file mode 100644 index 0000000000..dd751e54da --- /dev/null +++ b/aliyun-python-sdk-intlmarket/ChangeLog.txt @@ -0,0 +1,3 @@ +2025-08-20 Version: 1.0.0 +- Generated 2025-08-12 for `IntlMarket`. + diff --git a/aliyun-python-sdk-intlmarket/LICENSE b/aliyun-python-sdk-intlmarket/LICENSE new file mode 100644 index 0000000000..85815c8027 --- /dev/null +++ b/aliyun-python-sdk-intlmarket/LICENSE @@ -0,0 +1,13 @@ +Copyright 1999-present Alibaba Group Holding Ltd. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. \ No newline at end of file diff --git a/aliyun-python-sdk-intlmarket/MANIFEST.in b/aliyun-python-sdk-intlmarket/MANIFEST.in new file mode 100644 index 0000000000..03d3d04ba9 --- /dev/null +++ b/aliyun-python-sdk-intlmarket/MANIFEST.in @@ -0,0 +1 @@ +include LICENSE README.rst ChangeLog.txt \ No newline at end of file diff --git a/aliyun-python-sdk-intlmarket/README.rst b/aliyun-python-sdk-intlmarket/README.rst new file mode 100644 index 0000000000..fe65a4c8b0 --- /dev/null +++ b/aliyun-python-sdk-intlmarket/README.rst @@ -0,0 +1,15 @@ +============================================================= +aliyun-python-sdk-intlmarket +============================================================= + +.. This is the intlmarket module of Aliyun Python SDK. + +Aliyun Python SDK is the official software development kit. It makes things easy to integrate your Python application, library, or script with Aliyun services. + +This module works on Python versions: + +3.7 and greater + +**Documentation:** + +Please visit `http://develop.aliyun.com/sdk/python `_ diff --git a/aliyun-python-sdk-intlmarket/aliyunsdkintlmarket/__init__.py b/aliyun-python-sdk-intlmarket/aliyunsdkintlmarket/__init__.py new file mode 100644 index 0000000000..75977e6f41 --- /dev/null +++ b/aliyun-python-sdk-intlmarket/aliyunsdkintlmarket/__init__.py @@ -0,0 +1 @@ +__version__ = '1.0.0' \ No newline at end of file diff --git a/aliyun-python-sdk-intlmarket/aliyunsdkintlmarket/request/__init__.py b/aliyun-python-sdk-intlmarket/aliyunsdkintlmarket/request/__init__.py new file mode 100644 index 0000000000..e69de29bb2 diff --git a/aliyun-python-sdk-intlmarket/aliyunsdkintlmarket/request/v20250812/CreateOrderRequest.py b/aliyun-python-sdk-intlmarket/aliyunsdkintlmarket/request/v20250812/CreateOrderRequest.py new file mode 100644 index 0000000000..7caddb06ef --- /dev/null +++ b/aliyun-python-sdk-intlmarket/aliyunsdkintlmarket/request/v20250812/CreateOrderRequest.py @@ -0,0 +1,58 @@ +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. + +from aliyunsdkcore.request import RpcRequest + +class CreateOrderRequest(RpcRequest): + + def __init__(self): + RpcRequest.__init__(self, 'IntlMarket', '2025-08-12', 'CreateOrder') + self.set_protocol_type('https') + self.set_method('POST') + + def get_OrderSouce(self): # String + return self.get_query_params().get('OrderSouce') + + def set_OrderSouce(self, OrderSouce): # String + self.add_query_param('OrderSouce', OrderSouce) + def get_Commodity(self): # String + return self.get_query_params().get('Commodity') + + def set_Commodity(self, Commodity): # String + self.add_query_param('Commodity', Commodity) + def get_ClientToken(self): # String + return self.get_query_params().get('ClientToken') + + def set_ClientToken(self, ClientToken): # String + self.add_query_param('ClientToken', ClientToken) + def get_OwnerId(self): # String + return self.get_query_params().get('OwnerId') + + def set_OwnerId(self, OwnerId): # String + self.add_query_param('OwnerId', OwnerId) + def get_PaymentType(self): # String + return self.get_query_params().get('PaymentType') + + def set_PaymentType(self, PaymentType): # String + self.add_query_param('PaymentType', PaymentType) + def get_OrderType(self): # String + return self.get_query_params().get('OrderType') + + def set_OrderType(self, OrderType): # String + self.add_query_param('OrderType', OrderType) diff --git a/aliyun-python-sdk-intlmarket/aliyunsdkintlmarket/request/v20250812/DescribePriceRequest.py b/aliyun-python-sdk-intlmarket/aliyunsdkintlmarket/request/v20250812/DescribePriceRequest.py new file mode 100644 index 0000000000..799741f00a --- /dev/null +++ b/aliyun-python-sdk-intlmarket/aliyunsdkintlmarket/request/v20250812/DescribePriceRequest.py @@ -0,0 +1,38 @@ +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. + +from aliyunsdkcore.request import RpcRequest + +class DescribePriceRequest(RpcRequest): + + def __init__(self): + RpcRequest.__init__(self, 'IntlMarket', '2025-08-12', 'DescribePrice') + self.set_protocol_type('https') + self.set_method('POST') + + def get_Commodity(self): # String + return self.get_query_params().get('Commodity') + + def set_Commodity(self, Commodity): # String + self.add_query_param('Commodity', Commodity) + def get_OrderType(self): # String + return self.get_query_params().get('OrderType') + + def set_OrderType(self, OrderType): # String + self.add_query_param('OrderType', OrderType) diff --git a/aliyun-python-sdk-intlmarket/aliyunsdkintlmarket/request/v20250812/__init__.py b/aliyun-python-sdk-intlmarket/aliyunsdkintlmarket/request/v20250812/__init__.py new file mode 100644 index 0000000000..e69de29bb2 diff --git a/aliyun-python-sdk-intlmarket/setup.cfg b/aliyun-python-sdk-intlmarket/setup.cfg new file mode 100644 index 0000000000..f091bdf4a4 --- /dev/null +++ b/aliyun-python-sdk-intlmarket/setup.cfg @@ -0,0 +1,5 @@ +[metadata] +license_file = LICENSE + +[bdist_wheel] +universal = 1 diff --git a/aliyun-python-sdk-intlmarket/setup.py b/aliyun-python-sdk-intlmarket/setup.py new file mode 100644 index 0000000000..316a53d38b --- /dev/null +++ b/aliyun-python-sdk-intlmarket/setup.py @@ -0,0 +1,78 @@ +#!/usr/bin/python +''' + Licensed to the Apache Software Foundation (ASF) under one + or more contributor license agreements. See the NOTICE file + distributed with this work for additional information + regarding copyright ownership. The ASF licenses this file + to you under the Apache License, Version 2.0 (the + "License"); you may not use this file except in compliance + with the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, + software distributed under the License is distributed on an + "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + KIND, either express or implied. See the License for the + specific language governing permissions and limitations + under the License. +''' + +from setuptools import setup, find_packages +import os +import sys + +""" +setup module for intlmarket. + +Created on 7/3/2015 + +@author: alex +""" + +PACKAGE = "aliyunsdkintlmarket" +NAME = "aliyun-python-sdk-intlmarket" +DESCRIPTION = "The intlmarket module of Aliyun Python sdk." +AUTHOR = "Aliyun" +AUTHOR_EMAIL = "aliyun-developers-efficiency@list.alibaba-inc.com" +URL = "http://develop.aliyun.com/sdk/python" + +TOPDIR = os.path.dirname(__file__) or "." +VERSION = __import__(PACKAGE).__version__ + +desc_file = open("README.rst") +try: + LONG_DESCRIPTION = desc_file.read() +finally: + desc_file.close() + +setup( + name=NAME, + version=VERSION, + description=DESCRIPTION, + long_description=LONG_DESCRIPTION, + author=AUTHOR, + author_email=AUTHOR_EMAIL, + license="Apache", + url=URL, + keywords=["aliyun","sdk","intlmarket"], + packages=find_packages(exclude=["tests*"]), + include_package_data=True, + platforms="any", + install_requires=["aliyun-python-sdk-core>=2.11.5",], + classifiers=( + "Development Status :: 4 - Beta", + "Intended Audience :: Developers", + "License :: OSI Approved :: Apache Software License", + "Programming Language :: Python", + "Programming Language :: Python :: 3", + "Programming Language :: Python :: 3.7", + "Programming Language :: Python :: 3.8", + "Programming Language :: Python :: 3.9", + "Programming Language :: Python :: 3.10", + "Programming Language :: Python :: 3.11", + "Programming Language :: Python :: 3.12", + "Topic :: Software Development", + ) + +) \ No newline at end of file From 4d2bbf2b016a50e8583572800ac4ab9bdb1f24b2 Mon Sep 17 00:00:00 2001 From: sdk-team Date: Wed, 20 Aug 2025 09:37:58 +0000 Subject: [PATCH 2/2] Add Chat Session Query Support. --- aliyun-python-sdk-lingmou/ChangeLog.txt | 4 ++ .../aliyunsdklingmou/__init__.py | 2 +- .../CloseChatInstanceSessionsRequest.py | 39 +++++++++++++++++++ .../QueryChatInstanceSessionsRequest.py | 39 +++++++++++++++++++ 4 files changed, 83 insertions(+), 1 deletion(-) create mode 100644 aliyun-python-sdk-lingmou/aliyunsdklingmou/request/v20250527/CloseChatInstanceSessionsRequest.py create mode 100644 aliyun-python-sdk-lingmou/aliyunsdklingmou/request/v20250527/QueryChatInstanceSessionsRequest.py diff --git a/aliyun-python-sdk-lingmou/ChangeLog.txt b/aliyun-python-sdk-lingmou/ChangeLog.txt index 0339228183..679f19cf6f 100644 --- a/aliyun-python-sdk-lingmou/ChangeLog.txt +++ b/aliyun-python-sdk-lingmou/ChangeLog.txt @@ -1,3 +1,7 @@ +2025-08-20 Version: 1.0.1 +- Add Chat Session Query Support. +- Add Chat Session Close Support. + 2025-07-16 Version: 1.0.0 - Add Support For Create Chat Session. diff --git a/aliyun-python-sdk-lingmou/aliyunsdklingmou/__init__.py b/aliyun-python-sdk-lingmou/aliyunsdklingmou/__init__.py index 75977e6f41..6c4c011435 100644 --- a/aliyun-python-sdk-lingmou/aliyunsdklingmou/__init__.py +++ b/aliyun-python-sdk-lingmou/aliyunsdklingmou/__init__.py @@ -1 +1 @@ -__version__ = '1.0.0' \ No newline at end of file +__version__ = '1.0.1' \ No newline at end of file diff --git a/aliyun-python-sdk-lingmou/aliyunsdklingmou/request/v20250527/CloseChatInstanceSessionsRequest.py b/aliyun-python-sdk-lingmou/aliyunsdklingmou/request/v20250527/CloseChatInstanceSessionsRequest.py new file mode 100644 index 0000000000..28a8c6ab37 --- /dev/null +++ b/aliyun-python-sdk-lingmou/aliyunsdklingmou/request/v20250527/CloseChatInstanceSessionsRequest.py @@ -0,0 +1,39 @@ +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. + +from aliyunsdkcore.request import RoaRequest + +class CloseChatInstanceSessionsRequest(RoaRequest): + + def __init__(self): + RoaRequest.__init__(self, 'LingMou', '2025-05-27', 'CloseChatInstanceSessions') + self.set_protocol_type('https') + self.set_uri_pattern('/openapi/chat/instances/[instanceId]/sessions/close') + self.set_method('PUT') + + def get_instanceId(self): # String + return self.get_path_params().get('instanceId') + + def set_instanceId(self, instanceId): # String + self.add_path_param('instanceId', instanceId) + def get_sessionIds(self): # String + return self.get_body_params().get('sessionIds') + + def set_sessionIds(self, sessionIds): # String + self.add_body_params('sessionIds', sessionIds) diff --git a/aliyun-python-sdk-lingmou/aliyunsdklingmou/request/v20250527/QueryChatInstanceSessionsRequest.py b/aliyun-python-sdk-lingmou/aliyunsdklingmou/request/v20250527/QueryChatInstanceSessionsRequest.py new file mode 100644 index 0000000000..0634341a1f --- /dev/null +++ b/aliyun-python-sdk-lingmou/aliyunsdklingmou/request/v20250527/QueryChatInstanceSessionsRequest.py @@ -0,0 +1,39 @@ +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. + +from aliyunsdkcore.request import RoaRequest + +class QueryChatInstanceSessionsRequest(RoaRequest): + + def __init__(self): + RoaRequest.__init__(self, 'LingMou', '2025-05-27', 'QueryChatInstanceSessions') + self.set_protocol_type('https') + self.set_uri_pattern('/openapi/chat/instances/[instanceId]/sessions') + self.set_method('GET') + + def get_instanceId(self): # String + return self.get_path_params().get('instanceId') + + def set_instanceId(self, instanceId): # String + self.add_path_param('instanceId', instanceId) + def get_sessionIds(self): # String + return self.get_query_params().get('sessionIds') + + def set_sessionIds(self, sessionIds): # String + self.add_query_param('sessionIds', sessionIds)