From 8fc4fc34bb87bcbf5333344ad3e6977daba30fed Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Fri, 4 Aug 2023 11:09:06 +0900 Subject: [PATCH] Bump version to 3.2.0 (#500) Co-authored-by: github-actions --- linebot/__about__.py | 2 +- linebot/v3/audience/__init__.py | 2 +- .../v3/audience/api/async_manage_audience.py | 30 ++++++++++--------- linebot/v3/audience/api/manage_audience.py | 26 ++++++++-------- linebot/v3/audience/api_client.py | 2 +- linebot/v3/audience/async_api_client.py | 2 +- linebot/v3/audience/configuration.py | 2 +- linebot/v3/audience/docs/ManageAudience.md | 24 +++++++-------- linebot/v3/insight/__init__.py | 2 +- linebot/v3/insight/api_client.py | 2 +- linebot/v3/insight/async_api_client.py | 2 +- linebot/v3/insight/configuration.py | 2 +- linebot/v3/liff/__init__.py | 2 +- linebot/v3/liff/api_client.py | 2 +- linebot/v3/liff/async_api_client.py | 2 +- linebot/v3/liff/configuration.py | 2 +- linebot/v3/messaging/__init__.py | 2 +- linebot/v3/messaging/api_client.py | 2 +- linebot/v3/messaging/async_api_client.py | 2 +- linebot/v3/messaging/configuration.py | 2 +- linebot/v3/module/__init__.py | 2 +- linebot/v3/module/api_client.py | 2 +- linebot/v3/module/async_api_client.py | 2 +- linebot/v3/module/configuration.py | 2 +- linebot/v3/moduleattach/__init__.py | 2 +- linebot/v3/moduleattach/api_client.py | 2 +- linebot/v3/moduleattach/async_api_client.py | 2 +- linebot/v3/moduleattach/configuration.py | 2 +- linebot/v3/oauth/__init__.py | 2 +- linebot/v3/oauth/api_client.py | 2 +- linebot/v3/oauth/async_api_client.py | 2 +- linebot/v3/oauth/configuration.py | 2 +- linebot/v3/shop/__init__.py | 2 +- linebot/v3/shop/api_client.py | 2 +- linebot/v3/shop/async_api_client.py | 2 +- linebot/v3/shop/configuration.py | 2 +- 36 files changed, 75 insertions(+), 71 deletions(-) diff --git a/linebot/__about__.py b/linebot/__about__.py index ad2ed0a6..845bb4c5 100644 --- a/linebot/__about__.py +++ b/linebot/__about__.py @@ -15,7 +15,7 @@ """Meta data of line-bot-sdk.""" -__version__ = '3.1.0' +__version__ = '3.2.0' __author__ = 'LINE Corporation' __copyright__ = 'Copyright 2016, LINE Corporation' __license__ = 'Apache 2.0' diff --git a/linebot/v3/audience/__init__.py b/linebot/v3/audience/__init__.py index 1207c8b9..3de36175 100644 --- a/linebot/v3/audience/__init__.py +++ b/linebot/v3/audience/__init__.py @@ -14,7 +14,7 @@ """ -__version__ = "3.1.0" +__version__ = "3.2.0" # import apis into sdk package from linebot.v3.audience.api.manage_audience import ManageAudience diff --git a/linebot/v3/audience/api/async_manage_audience.py b/linebot/v3/audience/api/async_manage_audience.py index ffe02309..b3e66d2a 100644 --- a/linebot/v3/audience/api/async_manage_audience.py +++ b/linebot/v3/audience/api/async_manage_audience.py @@ -22,6 +22,8 @@ from pydantic.v1 import Field, StrictBool, StrictInt, StrictStr, conint +from typing import Optional + from linebot.v3.audience.models.add_audience_to_audience_group_request import AddAudienceToAudienceGroupRequest from linebot.v3.audience.models.audience_group_create_route import AudienceGroupCreateRoute from linebot.v3.audience.models.audience_group_status import AudienceGroupStatus @@ -1253,15 +1255,15 @@ def get_audience_group_authority_level_with_http_info(self, **kwargs) -> ApiResp _request_auth=_params.get('_request_auth')) @overload - async def get_audience_groups(self, page : Annotated[conint(strict=True, ge=1), Field(..., description="The page to return when getting (paginated) results. Must be 1 or higher.")], description : Annotated[StrictStr, Field(..., description="The name of the audience(s) to return. You can search for partial matches. This is case-insensitive, meaning AUDIENCE and audience are considered identical. If omitted, the name of the audience(s) will not be used as a search criterion. ")], status : Annotated[AudienceGroupStatus, Field(..., description="The status of the audience(s) to return. If omitted, the status of the audience(s) will not be used as a search criterion. ")], size : Annotated[conint(strict=True, le=40), Field(..., description="The number of audiences per page. Default: 20 Max: 40 ")], includes_external_public_groups : Annotated[StrictBool, Field(..., description="true (default): Get public audiences created in all channels linked to the same bot. false: Get audiences created in the same channel. ")], create_route : Annotated[AudienceGroupCreateRoute, Field(..., description="How the audience was created. If omitted, all audiences are included. `OA_MANAGER`: Return only audiences created with LINE Official Account Manager (opens new window). `MESSAGING_API`: Return only audiences created with Messaging API. ")], **kwargs) -> GetAudienceGroupsResponse: # noqa: E501 + async def get_audience_groups(self, page : Annotated[conint(strict=True, ge=1), Field(..., description="The page to return when getting (paginated) results. Must be 1 or higher.")], description : Annotated[Optional[StrictStr], Field(description="The name of the audience(s) to return. You can search for partial matches. This is case-insensitive, meaning AUDIENCE and audience are considered identical. If omitted, the name of the audience(s) will not be used as a search criterion. ")] = None, status : Annotated[Optional[AudienceGroupStatus], Field(description="The status of the audience(s) to return. If omitted, the status of the audience(s) will not be used as a search criterion. ")] = None, size : Annotated[Optional[conint(strict=True, le=40)], Field(description="The number of audiences per page. Default: 20 Max: 40 ")] = None, includes_external_public_groups : Annotated[Optional[StrictBool], Field(description="true (default): Get public audiences created in all channels linked to the same bot. false: Get audiences created in the same channel. ")] = None, create_route : Annotated[Optional[AudienceGroupCreateRoute], Field(description="How the audience was created. If omitted, all audiences are included. `OA_MANAGER`: Return only audiences created with LINE Official Account Manager (opens new window). `MESSAGING_API`: Return only audiences created with Messaging API. ")] = None, **kwargs) -> GetAudienceGroupsResponse: # noqa: E501 ... @overload - def get_audience_groups(self, page : Annotated[conint(strict=True, ge=1), Field(..., description="The page to return when getting (paginated) results. Must be 1 or higher.")], description : Annotated[StrictStr, Field(..., description="The name of the audience(s) to return. You can search for partial matches. This is case-insensitive, meaning AUDIENCE and audience are considered identical. If omitted, the name of the audience(s) will not be used as a search criterion. ")], status : Annotated[AudienceGroupStatus, Field(..., description="The status of the audience(s) to return. If omitted, the status of the audience(s) will not be used as a search criterion. ")], size : Annotated[conint(strict=True, le=40), Field(..., description="The number of audiences per page. Default: 20 Max: 40 ")], includes_external_public_groups : Annotated[StrictBool, Field(..., description="true (default): Get public audiences created in all channels linked to the same bot. false: Get audiences created in the same channel. ")], create_route : Annotated[AudienceGroupCreateRoute, Field(..., description="How the audience was created. If omitted, all audiences are included. `OA_MANAGER`: Return only audiences created with LINE Official Account Manager (opens new window). `MESSAGING_API`: Return only audiences created with Messaging API. ")], async_req: Optional[bool]=True, **kwargs) -> GetAudienceGroupsResponse: # noqa: E501 + def get_audience_groups(self, page : Annotated[conint(strict=True, ge=1), Field(..., description="The page to return when getting (paginated) results. Must be 1 or higher.")], description : Annotated[Optional[StrictStr], Field(description="The name of the audience(s) to return. You can search for partial matches. This is case-insensitive, meaning AUDIENCE and audience are considered identical. If omitted, the name of the audience(s) will not be used as a search criterion. ")] = None, status : Annotated[Optional[AudienceGroupStatus], Field(description="The status of the audience(s) to return. If omitted, the status of the audience(s) will not be used as a search criterion. ")] = None, size : Annotated[Optional[conint(strict=True, le=40)], Field(description="The number of audiences per page. Default: 20 Max: 40 ")] = None, includes_external_public_groups : Annotated[Optional[StrictBool], Field(description="true (default): Get public audiences created in all channels linked to the same bot. false: Get audiences created in the same channel. ")] = None, create_route : Annotated[Optional[AudienceGroupCreateRoute], Field(description="How the audience was created. If omitted, all audiences are included. `OA_MANAGER`: Return only audiences created with LINE Official Account Manager (opens new window). `MESSAGING_API`: Return only audiences created with Messaging API. ")] = None, async_req: Optional[bool]=True, **kwargs) -> GetAudienceGroupsResponse: # noqa: E501 ... @validate_arguments - def get_audience_groups(self, page : Annotated[conint(strict=True, ge=1), Field(..., description="The page to return when getting (paginated) results. Must be 1 or higher.")], description : Annotated[StrictStr, Field(..., description="The name of the audience(s) to return. You can search for partial matches. This is case-insensitive, meaning AUDIENCE and audience are considered identical. If omitted, the name of the audience(s) will not be used as a search criterion. ")], status : Annotated[AudienceGroupStatus, Field(..., description="The status of the audience(s) to return. If omitted, the status of the audience(s) will not be used as a search criterion. ")], size : Annotated[conint(strict=True, le=40), Field(..., description="The number of audiences per page. Default: 20 Max: 40 ")], includes_external_public_groups : Annotated[StrictBool, Field(..., description="true (default): Get public audiences created in all channels linked to the same bot. false: Get audiences created in the same channel. ")], create_route : Annotated[AudienceGroupCreateRoute, Field(..., description="How the audience was created. If omitted, all audiences are included. `OA_MANAGER`: Return only audiences created with LINE Official Account Manager (opens new window). `MESSAGING_API`: Return only audiences created with Messaging API. ")], async_req: Optional[bool]=None, **kwargs) -> Union[GetAudienceGroupsResponse, Awaitable[GetAudienceGroupsResponse]]: # noqa: E501 + def get_audience_groups(self, page : Annotated[conint(strict=True, ge=1), Field(..., description="The page to return when getting (paginated) results. Must be 1 or higher.")], description : Annotated[Optional[StrictStr], Field(description="The name of the audience(s) to return. You can search for partial matches. This is case-insensitive, meaning AUDIENCE and audience are considered identical. If omitted, the name of the audience(s) will not be used as a search criterion. ")] = None, status : Annotated[Optional[AudienceGroupStatus], Field(description="The status of the audience(s) to return. If omitted, the status of the audience(s) will not be used as a search criterion. ")] = None, size : Annotated[Optional[conint(strict=True, le=40)], Field(description="The number of audiences per page. Default: 20 Max: 40 ")] = None, includes_external_public_groups : Annotated[Optional[StrictBool], Field(description="true (default): Get public audiences created in all channels linked to the same bot. false: Get audiences created in the same channel. ")] = None, create_route : Annotated[Optional[AudienceGroupCreateRoute], Field(description="How the audience was created. If omitted, all audiences are included. `OA_MANAGER`: Return only audiences created with LINE Official Account Manager (opens new window). `MESSAGING_API`: Return only audiences created with Messaging API. ")] = None, async_req: Optional[bool]=None, **kwargs) -> Union[GetAudienceGroupsResponse, Awaitable[GetAudienceGroupsResponse]]: # noqa: E501 """get_audience_groups # noqa: E501 Gets data for more than one audience. # noqa: E501 @@ -1273,15 +1275,15 @@ def get_audience_groups(self, page : Annotated[conint(strict=True, ge=1), Field( :param page: The page to return when getting (paginated) results. Must be 1 or higher. (required) :type page: int - :param description: The name of the audience(s) to return. You can search for partial matches. This is case-insensitive, meaning AUDIENCE and audience are considered identical. If omitted, the name of the audience(s) will not be used as a search criterion. (required) + :param description: The name of the audience(s) to return. You can search for partial matches. This is case-insensitive, meaning AUDIENCE and audience are considered identical. If omitted, the name of the audience(s) will not be used as a search criterion. :type description: str - :param status: The status of the audience(s) to return. If omitted, the status of the audience(s) will not be used as a search criterion. (required) + :param status: The status of the audience(s) to return. If omitted, the status of the audience(s) will not be used as a search criterion. :type status: AudienceGroupStatus - :param size: The number of audiences per page. Default: 20 Max: 40 (required) + :param size: The number of audiences per page. Default: 20 Max: 40 :type size: int - :param includes_external_public_groups: true (default): Get public audiences created in all channels linked to the same bot. false: Get audiences created in the same channel. (required) + :param includes_external_public_groups: true (default): Get public audiences created in all channels linked to the same bot. false: Get audiences created in the same channel. :type includes_external_public_groups: bool - :param create_route: How the audience was created. If omitted, all audiences are included. `OA_MANAGER`: Return only audiences created with LINE Official Account Manager (opens new window). `MESSAGING_API`: Return only audiences created with Messaging API. (required) + :param create_route: How the audience was created. If omitted, all audiences are included. `OA_MANAGER`: Return only audiences created with LINE Official Account Manager (opens new window). `MESSAGING_API`: Return only audiences created with Messaging API. :type create_route: AudienceGroupCreateRoute :param async_req: Whether to execute the request asynchronously. :type async_req: bool, optional @@ -1302,7 +1304,7 @@ def get_audience_groups(self, page : Annotated[conint(strict=True, ge=1), Field( return self.get_audience_groups_with_http_info(page, description, status, size, includes_external_public_groups, create_route, **kwargs) # noqa: E501 @validate_arguments - def get_audience_groups_with_http_info(self, page : Annotated[conint(strict=True, ge=1), Field(..., description="The page to return when getting (paginated) results. Must be 1 or higher.")], description : Annotated[StrictStr, Field(..., description="The name of the audience(s) to return. You can search for partial matches. This is case-insensitive, meaning AUDIENCE and audience are considered identical. If omitted, the name of the audience(s) will not be used as a search criterion. ")], status : Annotated[AudienceGroupStatus, Field(..., description="The status of the audience(s) to return. If omitted, the status of the audience(s) will not be used as a search criterion. ")], size : Annotated[conint(strict=True, le=40), Field(..., description="The number of audiences per page. Default: 20 Max: 40 ")], includes_external_public_groups : Annotated[StrictBool, Field(..., description="true (default): Get public audiences created in all channels linked to the same bot. false: Get audiences created in the same channel. ")], create_route : Annotated[AudienceGroupCreateRoute, Field(..., description="How the audience was created. If omitted, all audiences are included. `OA_MANAGER`: Return only audiences created with LINE Official Account Manager (opens new window). `MESSAGING_API`: Return only audiences created with Messaging API. ")], **kwargs) -> ApiResponse: # noqa: E501 + def get_audience_groups_with_http_info(self, page : Annotated[conint(strict=True, ge=1), Field(..., description="The page to return when getting (paginated) results. Must be 1 or higher.")], description : Annotated[Optional[StrictStr], Field(description="The name of the audience(s) to return. You can search for partial matches. This is case-insensitive, meaning AUDIENCE and audience are considered identical. If omitted, the name of the audience(s) will not be used as a search criterion. ")] = None, status : Annotated[Optional[AudienceGroupStatus], Field(description="The status of the audience(s) to return. If omitted, the status of the audience(s) will not be used as a search criterion. ")] = None, size : Annotated[Optional[conint(strict=True, le=40)], Field(description="The number of audiences per page. Default: 20 Max: 40 ")] = None, includes_external_public_groups : Annotated[Optional[StrictBool], Field(description="true (default): Get public audiences created in all channels linked to the same bot. false: Get audiences created in the same channel. ")] = None, create_route : Annotated[Optional[AudienceGroupCreateRoute], Field(description="How the audience was created. If omitted, all audiences are included. `OA_MANAGER`: Return only audiences created with LINE Official Account Manager (opens new window). `MESSAGING_API`: Return only audiences created with Messaging API. ")] = None, **kwargs) -> ApiResponse: # noqa: E501 """get_audience_groups # noqa: E501 Gets data for more than one audience. # noqa: E501 @@ -1314,15 +1316,15 @@ def get_audience_groups_with_http_info(self, page : Annotated[conint(strict=True :param page: The page to return when getting (paginated) results. Must be 1 or higher. (required) :type page: int - :param description: The name of the audience(s) to return. You can search for partial matches. This is case-insensitive, meaning AUDIENCE and audience are considered identical. If omitted, the name of the audience(s) will not be used as a search criterion. (required) + :param description: The name of the audience(s) to return. You can search for partial matches. This is case-insensitive, meaning AUDIENCE and audience are considered identical. If omitted, the name of the audience(s) will not be used as a search criterion. :type description: str - :param status: The status of the audience(s) to return. If omitted, the status of the audience(s) will not be used as a search criterion. (required) + :param status: The status of the audience(s) to return. If omitted, the status of the audience(s) will not be used as a search criterion. :type status: AudienceGroupStatus - :param size: The number of audiences per page. Default: 20 Max: 40 (required) + :param size: The number of audiences per page. Default: 20 Max: 40 :type size: int - :param includes_external_public_groups: true (default): Get public audiences created in all channels linked to the same bot. false: Get audiences created in the same channel. (required) + :param includes_external_public_groups: true (default): Get public audiences created in all channels linked to the same bot. false: Get audiences created in the same channel. :type includes_external_public_groups: bool - :param create_route: How the audience was created. If omitted, all audiences are included. `OA_MANAGER`: Return only audiences created with LINE Official Account Manager (opens new window). `MESSAGING_API`: Return only audiences created with Messaging API. (required) + :param create_route: How the audience was created. If omitted, all audiences are included. `OA_MANAGER`: Return only audiences created with LINE Official Account Manager (opens new window). `MESSAGING_API`: Return only audiences created with Messaging API. :type create_route: AudienceGroupCreateRoute :param async_req: Whether to execute the request asynchronously. :type async_req: bool, optional diff --git a/linebot/v3/audience/api/manage_audience.py b/linebot/v3/audience/api/manage_audience.py index c3fa9efc..e90dbd20 100644 --- a/linebot/v3/audience/api/manage_audience.py +++ b/linebot/v3/audience/api/manage_audience.py @@ -20,6 +20,8 @@ from pydantic.v1 import Field, StrictBool, StrictInt, StrictStr, conint +from typing import Optional + from linebot.v3.audience.models.add_audience_to_audience_group_request import AddAudienceToAudienceGroupRequest from linebot.v3.audience.models.audience_group_create_route import AudienceGroupCreateRoute from linebot.v3.audience.models.audience_group_status import AudienceGroupStatus @@ -1171,7 +1173,7 @@ def get_audience_group_authority_level_with_http_info(self, **kwargs) -> ApiResp _request_auth=_params.get('_request_auth')) @validate_arguments - def get_audience_groups(self, page : Annotated[conint(strict=True, ge=1), Field(..., description="The page to return when getting (paginated) results. Must be 1 or higher.")], description : Annotated[StrictStr, Field(..., description="The name of the audience(s) to return. You can search for partial matches. This is case-insensitive, meaning AUDIENCE and audience are considered identical. If omitted, the name of the audience(s) will not be used as a search criterion. ")], status : Annotated[AudienceGroupStatus, Field(..., description="The status of the audience(s) to return. If omitted, the status of the audience(s) will not be used as a search criterion. ")], size : Annotated[conint(strict=True, le=40), Field(..., description="The number of audiences per page. Default: 20 Max: 40 ")], includes_external_public_groups : Annotated[StrictBool, Field(..., description="true (default): Get public audiences created in all channels linked to the same bot. false: Get audiences created in the same channel. ")], create_route : Annotated[AudienceGroupCreateRoute, Field(..., description="How the audience was created. If omitted, all audiences are included. `OA_MANAGER`: Return only audiences created with LINE Official Account Manager (opens new window). `MESSAGING_API`: Return only audiences created with Messaging API. ")], **kwargs) -> GetAudienceGroupsResponse: # noqa: E501 + def get_audience_groups(self, page : Annotated[conint(strict=True, ge=1), Field(..., description="The page to return when getting (paginated) results. Must be 1 or higher.")], description : Annotated[Optional[StrictStr], Field(description="The name of the audience(s) to return. You can search for partial matches. This is case-insensitive, meaning AUDIENCE and audience are considered identical. If omitted, the name of the audience(s) will not be used as a search criterion. ")] = None, status : Annotated[Optional[AudienceGroupStatus], Field(description="The status of the audience(s) to return. If omitted, the status of the audience(s) will not be used as a search criterion. ")] = None, size : Annotated[Optional[conint(strict=True, le=40)], Field(description="The number of audiences per page. Default: 20 Max: 40 ")] = None, includes_external_public_groups : Annotated[Optional[StrictBool], Field(description="true (default): Get public audiences created in all channels linked to the same bot. false: Get audiences created in the same channel. ")] = None, create_route : Annotated[Optional[AudienceGroupCreateRoute], Field(description="How the audience was created. If omitted, all audiences are included. `OA_MANAGER`: Return only audiences created with LINE Official Account Manager (opens new window). `MESSAGING_API`: Return only audiences created with Messaging API. ")] = None, **kwargs) -> GetAudienceGroupsResponse: # noqa: E501 """get_audience_groups # noqa: E501 Gets data for more than one audience. # noqa: E501 @@ -1183,15 +1185,15 @@ def get_audience_groups(self, page : Annotated[conint(strict=True, ge=1), Field( :param page: The page to return when getting (paginated) results. Must be 1 or higher. (required) :type page: int - :param description: The name of the audience(s) to return. You can search for partial matches. This is case-insensitive, meaning AUDIENCE and audience are considered identical. If omitted, the name of the audience(s) will not be used as a search criterion. (required) + :param description: The name of the audience(s) to return. You can search for partial matches. This is case-insensitive, meaning AUDIENCE and audience are considered identical. If omitted, the name of the audience(s) will not be used as a search criterion. :type description: str - :param status: The status of the audience(s) to return. If omitted, the status of the audience(s) will not be used as a search criterion. (required) + :param status: The status of the audience(s) to return. If omitted, the status of the audience(s) will not be used as a search criterion. :type status: AudienceGroupStatus - :param size: The number of audiences per page. Default: 20 Max: 40 (required) + :param size: The number of audiences per page. Default: 20 Max: 40 :type size: int - :param includes_external_public_groups: true (default): Get public audiences created in all channels linked to the same bot. false: Get audiences created in the same channel. (required) + :param includes_external_public_groups: true (default): Get public audiences created in all channels linked to the same bot. false: Get audiences created in the same channel. :type includes_external_public_groups: bool - :param create_route: How the audience was created. If omitted, all audiences are included. `OA_MANAGER`: Return only audiences created with LINE Official Account Manager (opens new window). `MESSAGING_API`: Return only audiences created with Messaging API. (required) + :param create_route: How the audience was created. If omitted, all audiences are included. `OA_MANAGER`: Return only audiences created with LINE Official Account Manager (opens new window). `MESSAGING_API`: Return only audiences created with Messaging API. :type create_route: AudienceGroupCreateRoute :param async_req: Whether to execute the request asynchronously. :type async_req: bool, optional @@ -1210,7 +1212,7 @@ def get_audience_groups(self, page : Annotated[conint(strict=True, ge=1), Field( return self.get_audience_groups_with_http_info(page, description, status, size, includes_external_public_groups, create_route, **kwargs) # noqa: E501 @validate_arguments - def get_audience_groups_with_http_info(self, page : Annotated[conint(strict=True, ge=1), Field(..., description="The page to return when getting (paginated) results. Must be 1 or higher.")], description : Annotated[StrictStr, Field(..., description="The name of the audience(s) to return. You can search for partial matches. This is case-insensitive, meaning AUDIENCE and audience are considered identical. If omitted, the name of the audience(s) will not be used as a search criterion. ")], status : Annotated[AudienceGroupStatus, Field(..., description="The status of the audience(s) to return. If omitted, the status of the audience(s) will not be used as a search criterion. ")], size : Annotated[conint(strict=True, le=40), Field(..., description="The number of audiences per page. Default: 20 Max: 40 ")], includes_external_public_groups : Annotated[StrictBool, Field(..., description="true (default): Get public audiences created in all channels linked to the same bot. false: Get audiences created in the same channel. ")], create_route : Annotated[AudienceGroupCreateRoute, Field(..., description="How the audience was created. If omitted, all audiences are included. `OA_MANAGER`: Return only audiences created with LINE Official Account Manager (opens new window). `MESSAGING_API`: Return only audiences created with Messaging API. ")], **kwargs) -> ApiResponse: # noqa: E501 + def get_audience_groups_with_http_info(self, page : Annotated[conint(strict=True, ge=1), Field(..., description="The page to return when getting (paginated) results. Must be 1 or higher.")], description : Annotated[Optional[StrictStr], Field(description="The name of the audience(s) to return. You can search for partial matches. This is case-insensitive, meaning AUDIENCE and audience are considered identical. If omitted, the name of the audience(s) will not be used as a search criterion. ")] = None, status : Annotated[Optional[AudienceGroupStatus], Field(description="The status of the audience(s) to return. If omitted, the status of the audience(s) will not be used as a search criterion. ")] = None, size : Annotated[Optional[conint(strict=True, le=40)], Field(description="The number of audiences per page. Default: 20 Max: 40 ")] = None, includes_external_public_groups : Annotated[Optional[StrictBool], Field(description="true (default): Get public audiences created in all channels linked to the same bot. false: Get audiences created in the same channel. ")] = None, create_route : Annotated[Optional[AudienceGroupCreateRoute], Field(description="How the audience was created. If omitted, all audiences are included. `OA_MANAGER`: Return only audiences created with LINE Official Account Manager (opens new window). `MESSAGING_API`: Return only audiences created with Messaging API. ")] = None, **kwargs) -> ApiResponse: # noqa: E501 """get_audience_groups # noqa: E501 Gets data for more than one audience. # noqa: E501 @@ -1222,15 +1224,15 @@ def get_audience_groups_with_http_info(self, page : Annotated[conint(strict=True :param page: The page to return when getting (paginated) results. Must be 1 or higher. (required) :type page: int - :param description: The name of the audience(s) to return. You can search for partial matches. This is case-insensitive, meaning AUDIENCE and audience are considered identical. If omitted, the name of the audience(s) will not be used as a search criterion. (required) + :param description: The name of the audience(s) to return. You can search for partial matches. This is case-insensitive, meaning AUDIENCE and audience are considered identical. If omitted, the name of the audience(s) will not be used as a search criterion. :type description: str - :param status: The status of the audience(s) to return. If omitted, the status of the audience(s) will not be used as a search criterion. (required) + :param status: The status of the audience(s) to return. If omitted, the status of the audience(s) will not be used as a search criterion. :type status: AudienceGroupStatus - :param size: The number of audiences per page. Default: 20 Max: 40 (required) + :param size: The number of audiences per page. Default: 20 Max: 40 :type size: int - :param includes_external_public_groups: true (default): Get public audiences created in all channels linked to the same bot. false: Get audiences created in the same channel. (required) + :param includes_external_public_groups: true (default): Get public audiences created in all channels linked to the same bot. false: Get audiences created in the same channel. :type includes_external_public_groups: bool - :param create_route: How the audience was created. If omitted, all audiences are included. `OA_MANAGER`: Return only audiences created with LINE Official Account Manager (opens new window). `MESSAGING_API`: Return only audiences created with Messaging API. (required) + :param create_route: How the audience was created. If omitted, all audiences are included. `OA_MANAGER`: Return only audiences created with LINE Official Account Manager (opens new window). `MESSAGING_API`: Return only audiences created with Messaging API. :type create_route: AudienceGroupCreateRoute :param async_req: Whether to execute the request asynchronously. :type async_req: bool, optional diff --git a/linebot/v3/audience/api_client.py b/linebot/v3/audience/api_client.py index afc9bf88..85e2e924 100644 --- a/linebot/v3/audience/api_client.py +++ b/linebot/v3/audience/api_client.py @@ -77,7 +77,7 @@ def __init__(self, configuration=None, header_name=None, header_value=None, self.default_headers['Authorization'] = 'Bearer ' + configuration.access_token self.cookie = cookie # Set default User-Agent. - self.user_agent = 'line-bot-sdk-python/3.1.0' + self.user_agent = 'line-bot-sdk-python/3.2.0' self.client_side_validation = configuration.client_side_validation def __enter__(self): diff --git a/linebot/v3/audience/async_api_client.py b/linebot/v3/audience/async_api_client.py index 5b101670..42608c70 100644 --- a/linebot/v3/audience/async_api_client.py +++ b/linebot/v3/audience/async_api_client.py @@ -77,7 +77,7 @@ def __init__(self, configuration=None, header_name=None, header_value=None, self.default_headers['Authorization'] = 'Bearer ' + configuration.access_token self.cookie = cookie # Set default User-Agent. - self.user_agent = 'line-bot-sdk-python-async/3.1.0' + self.user_agent = 'line-bot-sdk-python-async/3.2.0' self.client_side_validation = configuration.client_side_validation async def __aenter__(self): diff --git a/linebot/v3/audience/configuration.py b/linebot/v3/audience/configuration.py index 417c5fce..6618b047 100644 --- a/linebot/v3/audience/configuration.py +++ b/linebot/v3/audience/configuration.py @@ -372,7 +372,7 @@ def to_debug_report(self): "OS: {env}\n"\ "Python Version: {pyversion}\n"\ "Version of the API: 0.0.1\n"\ - "SDK Package Version: 3.1.0".\ + "SDK Package Version: 3.2.0".\ format(env=sys.platform, pyversion=sys.version) def get_host_settings(self): diff --git a/linebot/v3/audience/docs/ManageAudience.md b/linebot/v3/audience/docs/ManageAudience.md index f65abdd0..19eb12fe 100644 --- a/linebot/v3/audience/docs/ManageAudience.md +++ b/linebot/v3/audience/docs/ManageAudience.md @@ -610,7 +610,7 @@ This endpoint does not need any parameter. [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **get_audience_groups** -> GetAudienceGroupsResponse get_audience_groups(page, description, status, size, includes_external_public_groups, create_route) +> GetAudienceGroupsResponse get_audience_groups(page, description=description, status=status, size=size, includes_external_public_groups=includes_external_public_groups, create_route=create_route) @@ -650,14 +650,14 @@ with linebot.v3.audience.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = linebot.v3.audience.ManageAudience(api_client) page = 56 # int | The page to return when getting (paginated) results. Must be 1 or higher. - description = 'description_example' # str | The name of the audience(s) to return. You can search for partial matches. This is case-insensitive, meaning AUDIENCE and audience are considered identical. If omitted, the name of the audience(s) will not be used as a search criterion. - status = linebot.v3.audience.AudienceGroupStatus() # AudienceGroupStatus | The status of the audience(s) to return. If omitted, the status of the audience(s) will not be used as a search criterion. - size = 20 # int | The number of audiences per page. Default: 20 Max: 40 - includes_external_public_groups = true # bool | true (default): Get public audiences created in all channels linked to the same bot. false: Get audiences created in the same channel. - create_route = linebot.v3.audience.AudienceGroupCreateRoute() # AudienceGroupCreateRoute | How the audience was created. If omitted, all audiences are included. `OA_MANAGER`: Return only audiences created with LINE Official Account Manager (opens new window). `MESSAGING_API`: Return only audiences created with Messaging API. + description = 'description_example' # str | The name of the audience(s) to return. You can search for partial matches. This is case-insensitive, meaning AUDIENCE and audience are considered identical. If omitted, the name of the audience(s) will not be used as a search criterion. (optional) + status = linebot.v3.audience.AudienceGroupStatus() # AudienceGroupStatus | The status of the audience(s) to return. If omitted, the status of the audience(s) will not be used as a search criterion. (optional) + size = 20 # int | The number of audiences per page. Default: 20 Max: 40 (optional) + includes_external_public_groups = true # bool | true (default): Get public audiences created in all channels linked to the same bot. false: Get audiences created in the same channel. (optional) + create_route = linebot.v3.audience.AudienceGroupCreateRoute() # AudienceGroupCreateRoute | How the audience was created. If omitted, all audiences are included. `OA_MANAGER`: Return only audiences created with LINE Official Account Manager (opens new window). `MESSAGING_API`: Return only audiences created with Messaging API. (optional) try: - api_response = api_instance.get_audience_groups(page, description, status, size, includes_external_public_groups, create_route) + api_response = api_instance.get_audience_groups(page, description=description, status=status, size=size, includes_external_public_groups=includes_external_public_groups, create_route=create_route) print("The response of ManageAudience->get_audience_groups:\n") pprint(api_response) except Exception as e: @@ -670,11 +670,11 @@ with linebot.v3.audience.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **page** | **int**| The page to return when getting (paginated) results. Must be 1 or higher. | - **description** | **str**| The name of the audience(s) to return. You can search for partial matches. This is case-insensitive, meaning AUDIENCE and audience are considered identical. If omitted, the name of the audience(s) will not be used as a search criterion. | - **status** | [**AudienceGroupStatus**](.md)| The status of the audience(s) to return. If omitted, the status of the audience(s) will not be used as a search criterion. | - **size** | **int**| The number of audiences per page. Default: 20 Max: 40 | - **includes_external_public_groups** | **bool**| true (default): Get public audiences created in all channels linked to the same bot. false: Get audiences created in the same channel. | - **create_route** | [**AudienceGroupCreateRoute**](.md)| How the audience was created. If omitted, all audiences are included. `OA_MANAGER`: Return only audiences created with LINE Official Account Manager (opens new window). `MESSAGING_API`: Return only audiences created with Messaging API. | + **description** | **str**| The name of the audience(s) to return. You can search for partial matches. This is case-insensitive, meaning AUDIENCE and audience are considered identical. If omitted, the name of the audience(s) will not be used as a search criterion. | [optional] + **status** | [**AudienceGroupStatus**](.md)| The status of the audience(s) to return. If omitted, the status of the audience(s) will not be used as a search criterion. | [optional] + **size** | **int**| The number of audiences per page. Default: 20 Max: 40 | [optional] + **includes_external_public_groups** | **bool**| true (default): Get public audiences created in all channels linked to the same bot. false: Get audiences created in the same channel. | [optional] + **create_route** | [**AudienceGroupCreateRoute**](.md)| How the audience was created. If omitted, all audiences are included. `OA_MANAGER`: Return only audiences created with LINE Official Account Manager (opens new window). `MESSAGING_API`: Return only audiences created with Messaging API. | [optional] ### Return type diff --git a/linebot/v3/insight/__init__.py b/linebot/v3/insight/__init__.py index 3cf0bb20..6a94dc3e 100644 --- a/linebot/v3/insight/__init__.py +++ b/linebot/v3/insight/__init__.py @@ -14,7 +14,7 @@ """ -__version__ = "3.1.0" +__version__ = "3.2.0" # import apis into sdk package from linebot.v3.insight.api.insight import Insight diff --git a/linebot/v3/insight/api_client.py b/linebot/v3/insight/api_client.py index 64ec8f1b..ed9f6492 100644 --- a/linebot/v3/insight/api_client.py +++ b/linebot/v3/insight/api_client.py @@ -77,7 +77,7 @@ def __init__(self, configuration=None, header_name=None, header_value=None, self.default_headers['Authorization'] = 'Bearer ' + configuration.access_token self.cookie = cookie # Set default User-Agent. - self.user_agent = 'line-bot-sdk-python/3.1.0' + self.user_agent = 'line-bot-sdk-python/3.2.0' self.client_side_validation = configuration.client_side_validation def __enter__(self): diff --git a/linebot/v3/insight/async_api_client.py b/linebot/v3/insight/async_api_client.py index b33aa5d5..221c155d 100644 --- a/linebot/v3/insight/async_api_client.py +++ b/linebot/v3/insight/async_api_client.py @@ -77,7 +77,7 @@ def __init__(self, configuration=None, header_name=None, header_value=None, self.default_headers['Authorization'] = 'Bearer ' + configuration.access_token self.cookie = cookie # Set default User-Agent. - self.user_agent = 'line-bot-sdk-python-async/3.1.0' + self.user_agent = 'line-bot-sdk-python-async/3.2.0' self.client_side_validation = configuration.client_side_validation async def __aenter__(self): diff --git a/linebot/v3/insight/configuration.py b/linebot/v3/insight/configuration.py index 4902ea89..db6a20ba 100644 --- a/linebot/v3/insight/configuration.py +++ b/linebot/v3/insight/configuration.py @@ -372,7 +372,7 @@ def to_debug_report(self): "OS: {env}\n"\ "Python Version: {pyversion}\n"\ "Version of the API: 0.0.1\n"\ - "SDK Package Version: 3.1.0".\ + "SDK Package Version: 3.2.0".\ format(env=sys.platform, pyversion=sys.version) def get_host_settings(self): diff --git a/linebot/v3/liff/__init__.py b/linebot/v3/liff/__init__.py index 0c158820..7b3c9080 100644 --- a/linebot/v3/liff/__init__.py +++ b/linebot/v3/liff/__init__.py @@ -14,7 +14,7 @@ """ -__version__ = "3.1.0" +__version__ = "3.2.0" # import apis into sdk package from linebot.v3.liff.api.liff import Liff diff --git a/linebot/v3/liff/api_client.py b/linebot/v3/liff/api_client.py index b3345379..24449900 100644 --- a/linebot/v3/liff/api_client.py +++ b/linebot/v3/liff/api_client.py @@ -77,7 +77,7 @@ def __init__(self, configuration=None, header_name=None, header_value=None, self.default_headers['Authorization'] = 'Bearer ' + configuration.access_token self.cookie = cookie # Set default User-Agent. - self.user_agent = 'line-bot-sdk-python/3.1.0' + self.user_agent = 'line-bot-sdk-python/3.2.0' self.client_side_validation = configuration.client_side_validation def __enter__(self): diff --git a/linebot/v3/liff/async_api_client.py b/linebot/v3/liff/async_api_client.py index 6df14e95..5e77d4d2 100644 --- a/linebot/v3/liff/async_api_client.py +++ b/linebot/v3/liff/async_api_client.py @@ -77,7 +77,7 @@ def __init__(self, configuration=None, header_name=None, header_value=None, self.default_headers['Authorization'] = 'Bearer ' + configuration.access_token self.cookie = cookie # Set default User-Agent. - self.user_agent = 'line-bot-sdk-python-async/3.1.0' + self.user_agent = 'line-bot-sdk-python-async/3.2.0' self.client_side_validation = configuration.client_side_validation async def __aenter__(self): diff --git a/linebot/v3/liff/configuration.py b/linebot/v3/liff/configuration.py index 71bce616..a9f96658 100644 --- a/linebot/v3/liff/configuration.py +++ b/linebot/v3/liff/configuration.py @@ -372,7 +372,7 @@ def to_debug_report(self): "OS: {env}\n"\ "Python Version: {pyversion}\n"\ "Version of the API: 1.0\n"\ - "SDK Package Version: 3.1.0".\ + "SDK Package Version: 3.2.0".\ format(env=sys.platform, pyversion=sys.version) def get_host_settings(self): diff --git a/linebot/v3/messaging/__init__.py b/linebot/v3/messaging/__init__.py index 93ca1133..f00a3a60 100644 --- a/linebot/v3/messaging/__init__.py +++ b/linebot/v3/messaging/__init__.py @@ -14,7 +14,7 @@ """ -__version__ = "3.1.0" +__version__ = "3.2.0" # import apis into sdk package from linebot.v3.messaging.api.messaging_api import MessagingApi diff --git a/linebot/v3/messaging/api_client.py b/linebot/v3/messaging/api_client.py index 0cf39900..f6c2c6c8 100644 --- a/linebot/v3/messaging/api_client.py +++ b/linebot/v3/messaging/api_client.py @@ -77,7 +77,7 @@ def __init__(self, configuration=None, header_name=None, header_value=None, self.default_headers['Authorization'] = 'Bearer ' + configuration.access_token self.cookie = cookie # Set default User-Agent. - self.user_agent = 'line-bot-sdk-python/3.1.0' + self.user_agent = 'line-bot-sdk-python/3.2.0' self.client_side_validation = configuration.client_side_validation def __enter__(self): diff --git a/linebot/v3/messaging/async_api_client.py b/linebot/v3/messaging/async_api_client.py index bf02d786..396f360b 100644 --- a/linebot/v3/messaging/async_api_client.py +++ b/linebot/v3/messaging/async_api_client.py @@ -77,7 +77,7 @@ def __init__(self, configuration=None, header_name=None, header_value=None, self.default_headers['Authorization'] = 'Bearer ' + configuration.access_token self.cookie = cookie # Set default User-Agent. - self.user_agent = 'line-bot-sdk-python-async/3.1.0' + self.user_agent = 'line-bot-sdk-python-async/3.2.0' self.client_side_validation = configuration.client_side_validation async def __aenter__(self): diff --git a/linebot/v3/messaging/configuration.py b/linebot/v3/messaging/configuration.py index f354de69..dc09195b 100644 --- a/linebot/v3/messaging/configuration.py +++ b/linebot/v3/messaging/configuration.py @@ -372,7 +372,7 @@ def to_debug_report(self): "OS: {env}\n"\ "Python Version: {pyversion}\n"\ "Version of the API: 0.0.1\n"\ - "SDK Package Version: 3.1.0".\ + "SDK Package Version: 3.2.0".\ format(env=sys.platform, pyversion=sys.version) def get_host_settings(self): diff --git a/linebot/v3/module/__init__.py b/linebot/v3/module/__init__.py index da4e2e6f..f73c5c41 100644 --- a/linebot/v3/module/__init__.py +++ b/linebot/v3/module/__init__.py @@ -14,7 +14,7 @@ """ -__version__ = "3.1.0" +__version__ = "3.2.0" # import apis into sdk package from linebot.v3.module.api.line_module import LineModule diff --git a/linebot/v3/module/api_client.py b/linebot/v3/module/api_client.py index fc92019e..685b1c5a 100644 --- a/linebot/v3/module/api_client.py +++ b/linebot/v3/module/api_client.py @@ -77,7 +77,7 @@ def __init__(self, configuration=None, header_name=None, header_value=None, self.default_headers['Authorization'] = 'Bearer ' + configuration.access_token self.cookie = cookie # Set default User-Agent. - self.user_agent = 'line-bot-sdk-python/3.1.0' + self.user_agent = 'line-bot-sdk-python/3.2.0' self.client_side_validation = configuration.client_side_validation def __enter__(self): diff --git a/linebot/v3/module/async_api_client.py b/linebot/v3/module/async_api_client.py index cd543a4b..0ecde090 100644 --- a/linebot/v3/module/async_api_client.py +++ b/linebot/v3/module/async_api_client.py @@ -77,7 +77,7 @@ def __init__(self, configuration=None, header_name=None, header_value=None, self.default_headers['Authorization'] = 'Bearer ' + configuration.access_token self.cookie = cookie # Set default User-Agent. - self.user_agent = 'line-bot-sdk-python-async/3.1.0' + self.user_agent = 'line-bot-sdk-python-async/3.2.0' self.client_side_validation = configuration.client_side_validation async def __aenter__(self): diff --git a/linebot/v3/module/configuration.py b/linebot/v3/module/configuration.py index f12ed7e3..d440e6ac 100644 --- a/linebot/v3/module/configuration.py +++ b/linebot/v3/module/configuration.py @@ -372,7 +372,7 @@ def to_debug_report(self): "OS: {env}\n"\ "Python Version: {pyversion}\n"\ "Version of the API: 0.0.1\n"\ - "SDK Package Version: 3.1.0".\ + "SDK Package Version: 3.2.0".\ format(env=sys.platform, pyversion=sys.version) def get_host_settings(self): diff --git a/linebot/v3/moduleattach/__init__.py b/linebot/v3/moduleattach/__init__.py index d79e0936..a1103cee 100644 --- a/linebot/v3/moduleattach/__init__.py +++ b/linebot/v3/moduleattach/__init__.py @@ -14,7 +14,7 @@ """ -__version__ = "3.1.0" +__version__ = "3.2.0" # import apis into sdk package from linebot.v3.moduleattach.api.line_module_attach import LineModuleAttach diff --git a/linebot/v3/moduleattach/api_client.py b/linebot/v3/moduleattach/api_client.py index 3dbc68cb..62024098 100644 --- a/linebot/v3/moduleattach/api_client.py +++ b/linebot/v3/moduleattach/api_client.py @@ -77,7 +77,7 @@ def __init__(self, configuration=None, header_name=None, header_value=None, self.default_headers['Authorization'] = 'Bearer ' + configuration.access_token self.cookie = cookie # Set default User-Agent. - self.user_agent = 'line-bot-sdk-python/3.1.0' + self.user_agent = 'line-bot-sdk-python/3.2.0' self.client_side_validation = configuration.client_side_validation def __enter__(self): diff --git a/linebot/v3/moduleattach/async_api_client.py b/linebot/v3/moduleattach/async_api_client.py index b0c820c4..de46a3a7 100644 --- a/linebot/v3/moduleattach/async_api_client.py +++ b/linebot/v3/moduleattach/async_api_client.py @@ -77,7 +77,7 @@ def __init__(self, configuration=None, header_name=None, header_value=None, self.default_headers['Authorization'] = 'Bearer ' + configuration.access_token self.cookie = cookie # Set default User-Agent. - self.user_agent = 'line-bot-sdk-python-async/3.1.0' + self.user_agent = 'line-bot-sdk-python-async/3.2.0' self.client_side_validation = configuration.client_side_validation async def __aenter__(self): diff --git a/linebot/v3/moduleattach/configuration.py b/linebot/v3/moduleattach/configuration.py index 9376e304..6489929f 100644 --- a/linebot/v3/moduleattach/configuration.py +++ b/linebot/v3/moduleattach/configuration.py @@ -388,7 +388,7 @@ def to_debug_report(self): "OS: {env}\n"\ "Python Version: {pyversion}\n"\ "Version of the API: 0.0.1\n"\ - "SDK Package Version: 3.1.0".\ + "SDK Package Version: 3.2.0".\ format(env=sys.platform, pyversion=sys.version) def get_host_settings(self): diff --git a/linebot/v3/oauth/__init__.py b/linebot/v3/oauth/__init__.py index 207d6b00..fc836c7f 100644 --- a/linebot/v3/oauth/__init__.py +++ b/linebot/v3/oauth/__init__.py @@ -14,7 +14,7 @@ """ -__version__ = "3.1.0" +__version__ = "3.2.0" # import apis into sdk package from linebot.v3.oauth.api.channel_access_token import ChannelAccessToken diff --git a/linebot/v3/oauth/api_client.py b/linebot/v3/oauth/api_client.py index 35bfeb30..937d2da0 100644 --- a/linebot/v3/oauth/api_client.py +++ b/linebot/v3/oauth/api_client.py @@ -77,7 +77,7 @@ def __init__(self, configuration=None, header_name=None, header_value=None, self.default_headers['Authorization'] = 'Bearer ' + configuration.access_token self.cookie = cookie # Set default User-Agent. - self.user_agent = 'line-bot-sdk-python/3.1.0' + self.user_agent = 'line-bot-sdk-python/3.2.0' self.client_side_validation = configuration.client_side_validation def __enter__(self): diff --git a/linebot/v3/oauth/async_api_client.py b/linebot/v3/oauth/async_api_client.py index 16c6c6d0..6bf9cc63 100644 --- a/linebot/v3/oauth/async_api_client.py +++ b/linebot/v3/oauth/async_api_client.py @@ -77,7 +77,7 @@ def __init__(self, configuration=None, header_name=None, header_value=None, self.default_headers['Authorization'] = 'Bearer ' + configuration.access_token self.cookie = cookie # Set default User-Agent. - self.user_agent = 'line-bot-sdk-python-async/3.1.0' + self.user_agent = 'line-bot-sdk-python-async/3.2.0' self.client_side_validation = configuration.client_side_validation async def __aenter__(self): diff --git a/linebot/v3/oauth/configuration.py b/linebot/v3/oauth/configuration.py index b3afe36f..577dd356 100644 --- a/linebot/v3/oauth/configuration.py +++ b/linebot/v3/oauth/configuration.py @@ -372,7 +372,7 @@ def to_debug_report(self): "OS: {env}\n"\ "Python Version: {pyversion}\n"\ "Version of the API: 0.0.1\n"\ - "SDK Package Version: 3.1.0".\ + "SDK Package Version: 3.2.0".\ format(env=sys.platform, pyversion=sys.version) def get_host_settings(self): diff --git a/linebot/v3/shop/__init__.py b/linebot/v3/shop/__init__.py index c63ad2a1..d2788a83 100644 --- a/linebot/v3/shop/__init__.py +++ b/linebot/v3/shop/__init__.py @@ -14,7 +14,7 @@ """ -__version__ = "3.1.0" +__version__ = "3.2.0" # import apis into sdk package from linebot.v3.shop.api.shop import Shop diff --git a/linebot/v3/shop/api_client.py b/linebot/v3/shop/api_client.py index 2cab236c..3e725c7b 100644 --- a/linebot/v3/shop/api_client.py +++ b/linebot/v3/shop/api_client.py @@ -77,7 +77,7 @@ def __init__(self, configuration=None, header_name=None, header_value=None, self.default_headers['Authorization'] = 'Bearer ' + configuration.access_token self.cookie = cookie # Set default User-Agent. - self.user_agent = 'line-bot-sdk-python/3.1.0' + self.user_agent = 'line-bot-sdk-python/3.2.0' self.client_side_validation = configuration.client_side_validation def __enter__(self): diff --git a/linebot/v3/shop/async_api_client.py b/linebot/v3/shop/async_api_client.py index b91e866d..104b4728 100644 --- a/linebot/v3/shop/async_api_client.py +++ b/linebot/v3/shop/async_api_client.py @@ -77,7 +77,7 @@ def __init__(self, configuration=None, header_name=None, header_value=None, self.default_headers['Authorization'] = 'Bearer ' + configuration.access_token self.cookie = cookie # Set default User-Agent. - self.user_agent = 'line-bot-sdk-python-async/3.1.0' + self.user_agent = 'line-bot-sdk-python-async/3.2.0' self.client_side_validation = configuration.client_side_validation async def __aenter__(self): diff --git a/linebot/v3/shop/configuration.py b/linebot/v3/shop/configuration.py index 7bc4625f..ffac61de 100644 --- a/linebot/v3/shop/configuration.py +++ b/linebot/v3/shop/configuration.py @@ -372,7 +372,7 @@ def to_debug_report(self): "OS: {env}\n"\ "Python Version: {pyversion}\n"\ "Version of the API: 0.0.1\n"\ - "SDK Package Version: 3.1.0".\ + "SDK Package Version: 3.2.0".\ format(env=sys.platform, pyversion=sys.version) def get_host_settings(self):