Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix bugs #27

Merged
merged 1 commit into from
Apr 12, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
2 changes: 2 additions & 0 deletions .idea/.gitignore

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion .idea/gradle.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions .idea/misc.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ Add these dependency to your project's POM:
<dependency>
<groupId>org.sendbird</groupId>
<artifactId>sendbird-platform-sdk</artifactId>
<version>1.0.21</version>
<version>1.0.22</version>
</dependency>
</dependencies>
```
Expand All @@ -110,7 +110,7 @@ Add this dependency to your project's build file:
```groovy

dependencies {
implementation "org.sendbird:sendbird-platform-sdk:1.0.21"
implementation "org.sendbird:sendbird-platform-sdk:1.0.22"
}

allprojects {
Expand Down
24 changes: 20 additions & 4 deletions api/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11541,6 +11541,8 @@ components:
- exclude_user_ids
- exclude_user_ids
wait_seconds: 9.965781217890562
read_receipt:
key: 3
ignore_profanity_filter: true
is_access_code_required: true
properties:
Expand Down Expand Up @@ -11656,6 +11658,11 @@ components:
type: number
channel:
$ref: '#/components/schemas/SendBird_GroupChannel_channel'
read_receipt:
additionalProperties:
format: int64
type: integer
type: object
type: object
SendBird.GroupChannelCollection:
properties:
Expand Down Expand Up @@ -13262,6 +13269,8 @@ components:
- exclude_user_ids
- exclude_user_ids
wait_seconds: 9.965781217890562
read_receipt:
key: 3
ignore_profanity_filter: true
is_access_code_required: true
- message_offset_timestamp: 1.1730742509559433
Expand Down Expand Up @@ -13481,9 +13490,11 @@ components:
- exclude_user_ids
- exclude_user_ids
wait_seconds: 9.965781217890562
read_receipt:
key: 3
ignore_profanity_filter: true
is_access_code_required: true
ts: 3.5571952270680973
ts: 6.965117697638846
properties:
channels:
items:
Expand Down Expand Up @@ -15102,6 +15113,8 @@ components:
- exclude_user_ids
- exclude_user_ids
wait_seconds: 9.965781217890562
read_receipt:
key: 3
ignore_profanity_filter: true
is_access_code_required: true
- message_offset_timestamp: 1.1730742509559433
Expand Down Expand Up @@ -15321,6 +15334,8 @@ components:
- exclude_user_ids
- exclude_user_ids
wait_seconds: 9.965781217890562
read_receipt:
key: 3
ignore_profanity_filter: true
is_access_code_required: true
ts: 0.8008281904610115
Expand Down Expand Up @@ -17273,6 +17288,8 @@ components:
- exclude_user_ids
- exclude_user_ids
wait_seconds: 9.965781217890562
read_receipt:
key: 3
ignore_profanity_filter: true
is_access_code_required: true
- message_offset_timestamp: 1.1730742509559433
Expand Down Expand Up @@ -17492,6 +17509,8 @@ components:
- exclude_user_ids
- exclude_user_ids
wait_seconds: 9.965781217890562
read_receipt:
key: 3
ignore_profanity_filter: true
is_access_code_required: true
properties:
Expand Down Expand Up @@ -20312,10 +20331,7 @@ components:
type: object
required:
- channel_url
- hidden_status
- invitation_status
- user_ids
- users
title: gcInviteAsMembersData
type: object
gcAcceptInvitationData:
Expand Down
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ apply plugin: 'eclipse'
apply plugin: 'com.diffplug.spotless'

group = 'org.sendbird'
version = '1.0.21'
version = '1.0.22'

buildscript {
repositories {
Expand Down
2 changes: 1 addition & 1 deletion build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ lazy val root = (project in file(".")).
settings(
organization := "org.sendbird",
name := "sendbird-platform-sdk",
version := "1.0.21",
version := "1.0.22",
scalaVersion := "2.11.4",
scalacOptions ++= Seq("-feature"),
Compile / javacOptions ++= Seq("-Xlint:deprecation"),
Expand Down
6 changes: 3 additions & 3 deletions docs/GcInviteAsMembersData.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@
|------------ | ------------- | ------------- | -------------|
|**channelUrl** | **String** | Specifies the URL of the channel to invite into. | |
|**userIds** | **List&lt;String&gt;** | Specifies an array of one or more user IDs to invite into the channel. The maximum number of users to be invited at once is 100. The users can be used instead of this property. | |
|**users** | **List&lt;String&gt;** | Specifies a list of one or more &#x60;JSON&#x60; objects which contain the user_id property to invite into the channel. The maximum number of users to be invited at once is 100. The user_ids can be used instead of this property. | |
|**invitationStatus** | **Object** | Specifies one or more key-value pair items which set the invitation status of each user invited to the channel. The key should be a user_id and the value should be their joining status. Acceptable values are joined, invited_by_friend, and invited_by_non_friend. (Default: joined) | |
|**hiddenStatus** | **Object** | Specifies one or more key-value pair items which set the channel&#39;s hidden status for each user. The key should be a user_id and the value should be their hidden status. Acceptable values are limited to the following:&lt;br /&gt;- unhidden (default): the channel is included in when retrieving a list of group channels.&lt;br /&gt;- hidden_allow_auto_unhide: the channel automatically gets unhidden when receiving a new message.&lt;br /&gt;- hidden_prevent_auto_unhide: the channel keeps hidden though receiving a new message. | |
|**users** | **List&lt;String&gt;** | Specifies a list of one or more &#x60;JSON&#x60; objects which contain the user_id property to invite into the channel. The maximum number of users to be invited at once is 100. The user_ids can be used instead of this property. | [optional] |
|**invitationStatus** | **Object** | Specifies one or more key-value pair items which set the invitation status of each user invited to the channel. The key should be a user_id and the value should be their joining status. Acceptable values are joined, invited_by_friend, and invited_by_non_friend. (Default: joined) | [optional] |
|**hiddenStatus** | **Object** | Specifies one or more key-value pair items which set the channel&#39;s hidden status for each user. The key should be a user_id and the value should be their hidden status. Acceptable values are limited to the following:&lt;br /&gt;- unhidden (default): the channel is included in when retrieving a list of group channels.&lt;br /&gt;- hidden_allow_auto_unhide: the channel automatically gets unhidden when receiving a new message.&lt;br /&gt;- hidden_prevent_auto_unhide: the channel keeps hidden though receiving a new message. | [optional] |



1 change: 1 addition & 0 deletions docs/SendBirdGroupChannel.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@
|**unreadMentionCount** | **BigDecimal** | | [optional] |
|**unreadMessageCount** | **BigDecimal** | | [optional] |
|**channel** | [**SendBirdGroupChannelChannel**](SendBirdGroupChannelChannel.md) | | [optional] |
|**readReceipt** | **Map&lt;String, Long&gt;** | | [optional] |



Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<artifactId>sendbird-platform-sdk</artifactId>
<packaging>jar</packaging>
<name>sendbird-platform-sdk</name>
<version>1.0.21</version>
<version>1.0.22</version>
<url>https://github.com/sendbird/sendbird-platform-sdk-java</url>
<description>Sendbird Platform API SDK</description>
<scm>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
/**
* Abstract class for oneOf,anyOf schemas defined in OpenAPI spec
*/
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-14T21:00:42.844610+09:00[Asia/Seoul]")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-04-12T17:36:06.761039+09:00[Asia/Seoul]")
public abstract class AbstractOpenApiSchema {

// store the actual instance of the schema/object
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
AddApnsPushConfigurationData.JSON_PROPERTY_APNS_TYPE
})
@JsonTypeName("addApnsPushConfigurationData")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-14T21:00:42.844610+09:00[Asia/Seoul]")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-04-12T17:36:06.761039+09:00[Asia/Seoul]")
public class AddApnsPushConfigurationData {
public static final String JSON_PROPERTY_APNS_CERT = "apns_cert";
private File apnsCert;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
AddApnsPushConfigurationResponse.JSON_PROPERTY_PUSH_CONFIGURATIONS
})
@JsonTypeName("addApnsPushConfigurationResponse")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-14T21:00:42.844610+09:00[Asia/Seoul]")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-04-12T17:36:06.761039+09:00[Asia/Seoul]")
public class AddApnsPushConfigurationResponse {
public static final String JSON_PROPERTY_PUSH_CONFIGURATIONS = "push_configurations";
private List<AddApnsPushConfigurationResponsePushConfigurationsInner> pushConfigurations = null;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
AddApnsPushConfigurationResponsePushConfigurationsInner.JSON_PROPERTY_PUSH_SOUND
})
@JsonTypeName("addApnsPushConfigurationResponse_push_configurations_inner")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-14T21:00:42.844610+09:00[Asia/Seoul]")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-04-12T17:36:06.761039+09:00[Asia/Seoul]")
public class AddApnsPushConfigurationResponsePushConfigurationsInner {
public static final String JSON_PROPERTY_ID = "id";
private String id;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
AddEmojiCategoriesResponse.JSON_PROPERTY_EMOJI_CATEGORIES
})
@JsonTypeName("addEmojiCategoriesResponse")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-14T21:00:42.844610+09:00[Asia/Seoul]")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-04-12T17:36:06.761039+09:00[Asia/Seoul]")
public class AddEmojiCategoriesResponse {
public static final String JSON_PROPERTY_EMOJI_CATEGORIES = "emoji_categories";
private List<AddEmojiCategoriesResponseEmojiCategoriesInner> emojiCategories = null;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
AddEmojiCategoriesResponseEmojiCategoriesInner.JSON_PROPERTY_URL
})
@JsonTypeName("addEmojiCategoriesResponse_emoji_categories_inner")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-14T21:00:42.844610+09:00[Asia/Seoul]")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-04-12T17:36:06.761039+09:00[Asia/Seoul]")
public class AddEmojiCategoriesResponseEmojiCategoriesInner {
public static final String JSON_PROPERTY_ID = "id";
private BigDecimal id;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
AddEmojisData.JSON_PROPERTY_EMOJIS
})
@JsonTypeName("addEmojisData")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-14T21:00:42.844610+09:00[Asia/Seoul]")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-04-12T17:36:06.761039+09:00[Asia/Seoul]")
public class AddEmojisData {
public static final String JSON_PROPERTY_EMOJI_CATEGORY_ID = "emoji_category_id";
private Integer emojiCategoryId;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
AddEmojisResponse.JSON_PROPERTY_EMOJIS
})
@JsonTypeName("addEmojisResponse")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-14T21:00:42.844610+09:00[Asia/Seoul]")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-04-12T17:36:06.761039+09:00[Asia/Seoul]")
public class AddEmojisResponse {
public static final String JSON_PROPERTY_EMOJIS = "emojis";
private List<ListAllEmojisAndEmojiCategoriesResponseEmojiCategoriesInnerEmojisInner> emojis = null;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
AddExtraDataToMessageData.JSON_PROPERTY_SORTED_METAARRAY
})
@JsonTypeName("addExtraDataToMessageData")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-14T21:00:42.844610+09:00[Asia/Seoul]")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-04-12T17:36:06.761039+09:00[Asia/Seoul]")
public class AddExtraDataToMessageData {
public static final String JSON_PROPERTY_CHANNEL_TYPE = "channel_type";
private String channelType;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
AddExtraDataToMessageResponse.JSON_PROPERTY_SORTED_METAARRAY
})
@JsonTypeName("addExtraDataToMessageResponse")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-14T21:00:42.844610+09:00[Asia/Seoul]")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-04-12T17:36:06.761039+09:00[Asia/Seoul]")
public class AddExtraDataToMessageResponse {
public static final String JSON_PROPERTY_SORTED_METAARRAY = "sorted_metaarray";
private List<ListMessagesResponseMessagesInnerSortedMetaarrayInner> sortedMetaarray = null;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
AddFcmPushConfigurationData.JSON_PROPERTY_PUSH_SOUND
})
@JsonTypeName("addFcmPushConfigurationData")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-14T21:00:42.844610+09:00[Asia/Seoul]")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-04-12T17:36:06.761039+09:00[Asia/Seoul]")
public class AddFcmPushConfigurationData {
public static final String JSON_PROPERTY_API_KEY = "api_key";
private String apiKey;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
AddFcmPushConfigurationResponse.JSON_PROPERTY_PUSH_CONFIGURATIONS
})
@JsonTypeName("addFcmPushConfigurationResponse")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-14T21:00:42.844610+09:00[Asia/Seoul]")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-04-12T17:36:06.761039+09:00[Asia/Seoul]")
public class AddFcmPushConfigurationResponse {
public static final String JSON_PROPERTY_PUSH_CONFIGURATIONS = "push_configurations";
private List<AddFcmPushConfigurationResponsePushConfigurationsInner> pushConfigurations = null;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
AddFcmPushConfigurationResponsePushConfigurationsInner.JSON_PROPERTY_PUSH_SOUND
})
@JsonTypeName("addFcmPushConfigurationResponse_push_configurations_inner")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-14T21:00:42.844610+09:00[Asia/Seoul]")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-04-12T17:36:06.761039+09:00[Asia/Seoul]")
public class AddFcmPushConfigurationResponsePushConfigurationsInner {
public static final String JSON_PROPERTY_ID = "id";
private String id;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
AddHmsPushConfigurationData.JSON_PROPERTY_PUSH_SOUND
})
@JsonTypeName("addHmsPushConfigurationData")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-14T21:00:42.844610+09:00[Asia/Seoul]")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-04-12T17:36:06.761039+09:00[Asia/Seoul]")
public class AddHmsPushConfigurationData {
public static final String JSON_PROPERTY_HUAWEI_APP_ID = "huawei_app_id";
private String huaweiAppId;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
AddHmsPushConfigurationResponse.JSON_PROPERTY_PUSH_CONFIGURATIONS
})
@JsonTypeName("addHmsPushConfigurationResponse")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-14T21:00:42.844610+09:00[Asia/Seoul]")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-04-12T17:36:06.761039+09:00[Asia/Seoul]")
public class AddHmsPushConfigurationResponse {
public static final String JSON_PROPERTY_PUSH_CONFIGURATIONS = "push_configurations";
private List<AddHmsPushConfigurationResponsePushConfigurationsInner> pushConfigurations = null;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
AddHmsPushConfigurationResponsePushConfigurationsInner.JSON_PROPERTY_PUSH_SOUND
})
@JsonTypeName("addHmsPushConfigurationResponse_push_configurations_inner")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-14T21:00:42.844610+09:00[Asia/Seoul]")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-04-12T17:36:06.761039+09:00[Asia/Seoul]")
public class AddHmsPushConfigurationResponsePushConfigurationsInner {
public static final String JSON_PROPERTY_ID = "id";
private String id;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
AddIpToWhitelistData.JSON_PROPERTY_IP_WHITELIST_ADDRESSES
})
@JsonTypeName("addIpToWhitelistData")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-14T21:00:42.844610+09:00[Asia/Seoul]")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-04-12T17:36:06.761039+09:00[Asia/Seoul]")
public class AddIpToWhitelistData {
public static final String JSON_PROPERTY_IP_WHITELIST_ADDRESSES = "ip_whitelist_addresses";
private List<String> ipWhitelistAddresses = new ArrayList<>();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
AddIpToWhitelistResponse.JSON_PROPERTY_IP_WHITELIST_ADDRESSES
})
@JsonTypeName("addIpToWhitelistResponse")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-14T21:00:42.844610+09:00[Asia/Seoul]")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-04-12T17:36:06.761039+09:00[Asia/Seoul]")
public class AddIpToWhitelistResponse {
public static final String JSON_PROPERTY_IP_WHITELIST_ADDRESSES = "ip_whitelist_addresses";
private List<String> ipWhitelistAddresses = null;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
AddReactionToAMessageData.JSON_PROPERTY_REACTION
})
@JsonTypeName("addReactionToAMessageData")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-14T21:00:42.844610+09:00[Asia/Seoul]")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-04-12T17:36:06.761039+09:00[Asia/Seoul]")
public class AddReactionToAMessageData {
public static final String JSON_PROPERTY_CHANNEL_TYPE = "channel_type";
private String channelType;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
AddReactionToAMessageResponse.JSON_PROPERTY_MSG_ID
})
@JsonTypeName("addReactionToAMessageResponse")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-14T21:00:42.844610+09:00[Asia/Seoul]")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-04-12T17:36:06.761039+09:00[Asia/Seoul]")
public class AddReactionToAMessageResponse {
public static final String JSON_PROPERTY_USER_ID = "user_id";
private String userId;
Expand Down
Loading
Loading