Skip to content

Commit

Permalink
Merge pull request #12 from sendbird/release/1.0.26
Browse files Browse the repository at this point in the history
Updated version to 1.0.26
  • Loading branch information
jerry-jeon authored Aug 29, 2024
2 parents 78f1077 + c950ff5 commit aa51cb9
Show file tree
Hide file tree
Showing 22 changed files with 50 additions and 115 deletions.
29 changes: 0 additions & 29 deletions .openapi-generator/FILES
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,6 @@ docs/ListGdprRequestsResponseRequestsInner.md
docs/ListMessagesResponse.md
docs/ListMessagesResponseMessagesInner.md
docs/ListMessagesResponseMessagesInnerOgTag.md
docs/ListMessagesResponseMessagesInnerOgTagOgImage.md
docs/ListMessagesResponseMessagesInnerSortedMetaarrayInner.md
docs/ListMutedChannelsResponse.md
docs/ListMutedUsersInChannelsWithCustomChannelType200Response.md
Expand Down Expand Up @@ -520,7 +519,6 @@ sendbird_platform_sdk/model/list_gdpr_requests_response_requests_inner.py
sendbird_platform_sdk/model/list_messages_response.py
sendbird_platform_sdk/model/list_messages_response_messages_inner.py
sendbird_platform_sdk/model/list_messages_response_messages_inner_og_tag.py
sendbird_platform_sdk/model/list_messages_response_messages_inner_og_tag_og_image.py
sendbird_platform_sdk/model/list_messages_response_messages_inner_sorted_metaarray_inner.py
sendbird_platform_sdk/model/list_muted_channels_response.py
sendbird_platform_sdk/model/list_muted_users_in_channels_with_custom_channel_type200_response.py
Expand Down Expand Up @@ -748,31 +746,4 @@ setup.cfg
setup.py
test-requirements.txt
test/__init__.py
test/test_delete_a_pin_api.py
test/test_gc_typing_indicators_data.py
test/test_pin_a_message_api.py
test/test_poll_api.py
test/test_push_notifications_api.py
test/test_scheduled_message_api.py
test/test_send_bird_bots_message_response.py
test/test_send_bird_bots_message_response_message.py
test/test_send_bird_bots_message_response_message_extended_message_payload.py
test/test_send_bird_bots_message_response_message_message_events.py
test/test_send_bird_file.py
test/test_send_bird_parent_message_info.py
test/test_send_bird_scheduled_message.py
test/test_send_bot_s_message_data_extended_message_payload.py
test/test_v3_applications_push_settings_get200_response.py
test/test_v3_applications_push_settings_get_request.py
test/test_v3_group_channels_channel_url_scheduled_messages_scheduled_message_id_delete_request.py
test/test_v3_polls_get_request.py
test/test_v3_polls_poll_id_delete_request.py
test/test_v3_polls_poll_id_delete_request1.py
test/test_v3_polls_poll_id_options_option_id_delete_request.py
test/test_v3_polls_poll_id_options_option_id_voters_get200_response.py
test/test_v3_polls_poll_id_options_option_id_voters_get200_response_voters_inner.py
test/test_v3_polls_poll_id_options_option_id_voters_get_request.py
test/test_v3_polls_poll_id_vote_put_request.py
test/test_v3_scheduled_messages_count_get200_response.py
test/test_v3_scheduled_messages_get200_response.py
tox.ini
18 changes: 9 additions & 9 deletions docs/GcUpdateChannelByUrlData.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,15 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**channel_url** | **str** | Specifies the URL of the channel to update. |
**name** | **str** | Specifies the name of the channel, or the channel topic. The length is limited to 191 characters. |
**cover_url** | **str** | Specifies the unique URL of the cover image. The length is limited to 2,048 characters. |
**cover_file** | **file_type** | Uploads the cover image file for the channel. |
**custom_type** | **str** | Specifies the custom channel type which is used for channel grouping. The length is limited to 128 characters.<br /><br /> Custom types are also used within Sendbird's [Advanced analytics](/docs/chat/v3/platform-api/guides/advanced-analytics) to segment metrics, which enables the sub-classification of data views. |
**data** | **str** | Specifies additional channel information such as a long description of the channel or `JSON` formatted string. |
**is_distinct** | **bool** | Determines whether to reuse an existing channel or create a new channel. If set to true, returns a channel with the current channel members users or creates a new channel if no match is found. Sendbird server can also use the custom channel type in the custom_type property if specified along with the users to return the corresponding channel. If set to false, Sendbird server always creates a new channel with a combination of the users as well as the channel custom type if specified. (Default: false)<br /><br /> Under this property, Sendbird server does not distinguish channels based on other properties such as channel URL or channel name. |
**is_public** | **bool** | Determines whether to allow a user to join the channel without an invitation. (Default: false) |
**access_code** | **str** | This property can be used only when the channel operator wants to set an access code for a public group channel. If specified, the is_access_code_required property of the channel resource is then set to true, and the channel begins to require the specified access code to a user who attempts to join. |
**operator_ids** | **[str]** | Specifies an array of one or more IDs of users to register as operators of the channel. If the operators are not members of the channel yet, they need an [invitation](#2-invite-as-members) to [join](#2-join-a-channel) a privte group channel while they don't need any to join a [public](#-3-private-vs-public) group channel. The maximum allowed number of operators per channel is 100. |
**name** | **str** | Specifies the name of the channel, or the channel topic. The length is limited to 191 characters. | [optional]
**cover_url** | **str** | Specifies the unique URL of the cover image. The length is limited to 2,048 characters. | [optional]
**cover_file** | **file_type** | Uploads the cover image file for the channel. | [optional]
**custom_type** | **str** | Specifies the custom channel type which is used for channel grouping. The length is limited to 128 characters.<br /><br /> Custom types are also used within Sendbird's [Advanced analytics](/docs/chat/v3/platform-api/guides/advanced-analytics) to segment metrics, which enables the sub-classification of data views. | [optional]
**data** | **str** | Specifies additional channel information such as a long description of the channel or `JSON` formatted string. | [optional]
**is_distinct** | **bool** | Determines whether to reuse an existing channel or create a new channel. If set to true, returns a channel with the current channel members users or creates a new channel if no match is found. Sendbird server can also use the custom channel type in the custom_type property if specified along with the users to return the corresponding channel. If set to false, Sendbird server always creates a new channel with a combination of the users as well as the channel custom type if specified. (Default: false)<br /><br /> Under this property, Sendbird server does not distinguish channels based on other properties such as channel URL or channel name. | [optional]
**is_public** | **bool** | Determines whether to allow a user to join the channel without an invitation. (Default: false) | [optional]
**access_code** | **str** | This property can be used only when the channel operator wants to set an access code for a public group channel. If specified, the is_access_code_required property of the channel resource is then set to true, and the channel begins to require the specified access code to a user who attempts to join. | [optional]
**operator_ids** | **[str]** | Specifies an array of one or more IDs of users to register as operators of the channel. If the operators are not members of the channel yet, they need an [invitation](#2-invite-as-members) to [join](#2-join-a-channel) a privte group channel while they don't need any to join a [public](#-3-private-vs-public) group channel. The maximum allowed number of operators per channel is 100. | [optional]
**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional]

[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
Expand Down
2 changes: 1 addition & 1 deletion docs/ListMessagesResponseMessagesInnerOgTag.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ Name | Type | Description | Notes
**ogurl** | **str** | | [optional]
**ogtitle** | **str** | | [optional]
**ogdescription** | **str** | | [optional]
**ogimage** | [**ListMessagesResponseMessagesInnerOgTagOgImage**](ListMessagesResponseMessagesInnerOgTagOgImage.md) | | [optional]
**ogimage** | [**SendBirdOGImage**](SendBirdOGImage.md) | | [optional]
**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional]

[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
Expand Down
6 changes: 4 additions & 2 deletions docs/MessageApi.md
Original file line number Diff line number Diff line change
Expand Up @@ -867,7 +867,9 @@ with sendbird_platform_sdk.ApiClient() as api_client:
api_instance = message_api.MessageApi(api_client)
channel_url = "channel_url_example" # str |
api_token = "{{API_TOKEN}}" # str | (optional)
user_ids = "user_ids_example" # str | (optional)
user_ids = [
"user_ids_example",
] # [str] | (optional)

# example passing only required values which don't have defaults set
try:
Expand All @@ -894,7 +896,7 @@ Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**channel_url** | **str**| |
**api_token** | **str**| | [optional]
**user_ids** | **str**| | [optional]
**user_ids** | **[str]**| | [optional]

### Return type

Expand Down
2 changes: 1 addition & 1 deletion docs/RemoveRegistrationOrDeviceTokenByTokenResponse.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**token** | **[str]** | | [optional]
**token** | **str** | | [optional]
**user** | [**SendBirdUser**](SendBirdUser.md) | | [optional]
**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional]

Expand Down
1 change: 0 additions & 1 deletion docs/SendBirdBaseChannel.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ Name | Type | Description | Notes
**custom_type** | **str** | | [optional]
**data** | **str** | | [optional]
**is_ephemeral** | **bool** | | [optional]
**is_frozen** | **bool** | | [optional]
**name** | **str** | | [optional]
**url** | **str** | | [optional]
**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional]
Expand Down
1 change: 0 additions & 1 deletion docs/SendBirdChannelResponse.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ Name | Type | Description | Notes
**is_discoverable** | **bool** | | [optional]
**is_distinct** | **bool** | | [optional]
**is_ephemeral** | **bool** | | [optional]
**is_frozen** | **bool** | | [optional]
**is_hidden** | **bool** | | [optional]
**is_public** | **bool** | | [optional]
**is_push_enabled** | **bool** | | [optional]
Expand Down
1 change: 0 additions & 1 deletion docs/SendBirdGroupChannel.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ Name | Type | Description | Notes
**is_discoverable** | **bool** | | [optional]
**is_distinct** | **bool** | | [optional]
**is_ephemeral** | **bool** | | [optional]
**is_frozen** | **bool** | | [optional]
**is_hidden** | **bool** | | [optional]
**is_public** | **bool** | | [optional]
**is_push_enabled** | **bool** | | [optional]
Expand Down
1 change: 0 additions & 1 deletion docs/SendBirdOpenChannel.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ Name | Type | Description | Notes
**data** | **str** | | [optional]
**is_dynamic_partitioned** | **bool** | | [optional]
**is_ephemeral** | **bool** | | [optional]
**is_frozen** | **bool** | | [optional]
**max_length_message** | **float** | | [optional]
**operators** | [**[SendBirdUser]**](SendBirdUser.md) | | [optional]
**participant_count** | **float** | | [optional]
Expand Down
2 changes: 1 addition & 1 deletion sendbird_platform_sdk/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"""


__version__ = "1.0.24"
__version__ = "1.0.26"

# import ApiClient
from sendbird_platform_sdk.api_client import ApiClient
Expand Down
5 changes: 3 additions & 2 deletions sendbird_platform_sdk/api/message_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -698,7 +698,7 @@ def __init__(self, api_client=None):
'api_token':
(str,),
'user_ids':
(str,),
([str],),
},
'attribute_map': {
'channel_url': 'channel_url',
Expand All @@ -711,6 +711,7 @@ def __init__(self, api_client=None):
'user_ids': 'query',
},
'collection_format_map': {
'user_ids': 'multi',
}
},
headers_map={
Expand Down Expand Up @@ -2911,7 +2912,7 @@ def gc_view_number_of_each_members_unread_messages(
Keyword Args:
api_token (str): [optional]
user_ids (str): [optional]
user_ids ([str]): [optional]
_return_http_data_only (bool): response data without head status
code and headers. Default is True.
_preload_content (bool): if False, the urllib3.HTTPResponse object
Expand Down
2 changes: 1 addition & 1 deletion sendbird_platform_sdk/api_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ def __init__(self, configuration=None, header_name=None, header_value=None,
self.default_headers[header_name] = header_value
self.cookie = cookie
# Set default User-Agent.
self.user_agent = 'OpenAPI-Generator/1.0.24/python'
self.user_agent = 'OpenAPI-Generator/1.0.26/python'

def __enter__(self):
return self
Expand Down
2 changes: 1 addition & 1 deletion sendbird_platform_sdk/configuration.py
Original file line number Diff line number Diff line change
Expand Up @@ -381,7 +381,7 @@ def to_debug_report(self):
"OS: {env}\n"\
"Python Version: {pyversion}\n"\
"Version of the API: 1.0.0\n"\
"SDK Package Version: 1.0.24".\
"SDK Package Version: 1.0.26".\
format(env=sys.platform, pyversion=sys.version)

def get_host_settings(self):
Expand Down
Loading

0 comments on commit aa51cb9

Please sign in to comment.