From 456a9f5fae27256505539051948f3c5f96e3057f Mon Sep 17 00:00:00 2001 From: Jerry Jeon Date: Fri, 12 Apr 2024 18:26:20 +0900 Subject: [PATCH] Fix bugs - read receipt in the Group Channel - Updated required field for invite api --- .idea/.gitignore | 2 + .idea/gradle.xml | 2 +- .idea/misc.xml | 2 + README.md | 4 +- api/openapi.yaml | 24 +++++++-- build.gradle | 2 +- build.sbt | 2 +- docs/GcInviteAsMembersData.md | 6 +-- docs/SendBirdGroupChannel.md | 1 + pom.xml | 2 +- .../client/model/AbstractOpenApiSchema.java | 2 +- .../model/AddApnsPushConfigurationData.java | 2 +- .../AddApnsPushConfigurationResponse.java | 2 +- ...rationResponsePushConfigurationsInner.java | 2 +- .../model/AddEmojiCategoriesResponse.java | 2 +- ...ategoriesResponseEmojiCategoriesInner.java | 2 +- .../client/model/AddEmojisData.java | 2 +- .../client/model/AddEmojisResponse.java | 2 +- .../model/AddExtraDataToMessageData.java | 2 +- .../model/AddExtraDataToMessageResponse.java | 2 +- .../model/AddFcmPushConfigurationData.java | 2 +- .../AddFcmPushConfigurationResponse.java | 2 +- ...rationResponsePushConfigurationsInner.java | 2 +- .../model/AddHmsPushConfigurationData.java | 2 +- .../AddHmsPushConfigurationResponse.java | 2 +- ...rationResponsePushConfigurationsInner.java | 2 +- .../client/model/AddIpToWhitelistData.java | 2 +- .../model/AddIpToWhitelistResponse.java | 2 +- .../model/AddReactionToAMessageData.java | 2 +- .../model/AddReactionToAMessageResponse.java | 2 +- .../AddRegistrationOrDeviceTokenData.java | 2 +- .../AddRegistrationOrDeviceTokenResponse.java | 2 +- ...romChannelsWithCustomChannelTypesData.java | 2 +- ...rsInChannelsWithCustomChannelTypeData.java | 2 +- ...hCustomChannelTypeDataBannedListInner.java | 2 +- .../org/openapitools/client/model/Blob.java | 2 +- .../client/model/BlockUserData.java | 2 +- .../client/model/BlockUserResponse.java | 2 +- ...shNotificationContentTemplateResponse.java | 2 +- .../ChooseWhichEventsToSubscribeToData.java | 2 +- ...hooseWhichEventsToSubscribeToResponse.java | 2 +- ...ichEventsToSubscribeToResponseWebhook.java | 2 +- .../client/model/ConfigureAutoEventData.java | 2 +- ...onfigureAutoEventDataAutoEventMessage.java | 2 +- .../client/model/CreateBotData.java | 2 +- .../client/model/CreateBotResponse.java | 2 +- .../client/model/CreateBotResponseBot.java | 2 +- .../model/CreateChannelMetacounterData.java | 2 +- .../model/CreateChannelMetadataData.java | 2 +- .../model/CreateChannelMetadataResponse.java | 2 +- .../client/model/CreateUserData.java | 2 +- .../client/model/CreateUserMetadataData.java | 2 +- .../model/CreateUserMetadataResponse.java | 2 +- .../client/model/CreateUserTokenData.java | 2 +- .../client/model/CreateUserTokenResponse.java | 2 +- .../CustomTypeListBannedUsersResponse.java | 2 +- ...DeleteAllowedIpsFromWhitelistResponse.java | 2 +- .../DeleteApnsCertificateByIdResponse.java | 2 +- .../client/model/EnableReactionsData.java | 2 +- .../client/model/EnableReactionsResponse.java | 2 +- .../openapitools/client/model/Function.java | 2 +- .../client/model/GcAcceptInvitationData.java | 2 +- .../client/model/GcBanUserData.java | 2 +- .../client/model/GcBanUserResponse.java | 2 +- .../model/GcCheckIfMemberByIdResponse.java | 2 +- .../client/model/GcCreateChannelData.java | 2 +- .../client/model/GcDeclineInvitationData.java | 2 +- .../client/model/GcFreezeChannelData.java | 2 +- .../model/GcHideOrArchiveChannelData.java | 2 +- .../client/model/GcInviteAsMembersData.java | 31 ++++++------ .../client/model/GcJoinChannelData.java | 2 +- .../client/model/GcLeaveChannelData.java | 2 +- .../model/GcListBannedUsersResponse.java | 2 +- .../client/model/GcListChannelsResponse.java | 2 +- .../client/model/GcListMembersResponse.java | 2 +- .../model/GcListMutedUsersResponse.java | 2 +- .../client/model/GcListOperatorsResponse.java | 2 +- .../GcMarkAllMessagesAsDeliveredData.java | 2 +- .../GcMarkAllMessagesAsDeliveredResponse.java | 2 +- .../model/GcMarkAllMessagesAsReadData.java | 2 +- .../client/model/GcMuteUserData.java | 2 +- .../client/model/GcRegisterOperatorsData.java | 2 +- .../model/GcRegisterOperatorsResponse.java | 2 +- .../client/model/GcResetChatHistoryData.java | 2 +- .../model/GcResetChatHistoryResponse.java | 2 +- .../client/model/GcTypingIndicatorsData.java | 2 +- .../client/model/GcUpdateBanByIdData.java | 2 +- .../client/model/GcUpdateBanByIdResponse.java | 2 +- .../model/GcUpdateChannelByUrlData.java | 2 +- .../client/model/GcViewBanByIdResponse.java | 2 +- .../client/model/GcViewMuteByIdResponse.java | 2 +- ...erOfEachMembersUnreadMessagesResponse.java | 2 +- .../model/GenerateSecondaryApiTokenData.java | 2 +- .../GenerateSecondaryApiTokenResponse.java | 2 +- ...ledOpenRateOfAnnouncementByIdResponse.java | 2 +- ...edOpenRateOfAnnouncementGroupResponse.java | 2 +- ...dOpenStatusOfAnnouncementByIdResponse.java | 2 +- ...nouncementByIdResponseOpenStatusInner.java | 2 +- .../model/GetStatisticsDailyResponse.java | 2 +- ...tatisticsDailyResponseStatisticsInner.java | 2 +- .../model/GetStatisticsMonthlyResponse.java | 2 +- .../client/model/GetStatisticsResponse.java | 2 +- .../client/model/JoinChannelsData.java | 2 +- .../client/model/JoinChannelsResponse.java | 2 +- .../model/LeaveMyGroupChannelsData.java | 2 +- ...stAllEmojisAndEmojiCategoriesResponse.java | 2 +- ...ategoriesResponseEmojiCategoriesInner.java | 2 +- ...sponseEmojiCategoriesInnerEmojisInner.java | 2 +- .../model/ListAnnouncementGroupsResponse.java | 2 +- .../model/ListAnnouncementsResponse.java | 2 +- ...nouncementsResponseAnnouncementsInner.java | 2 +- .../model/ListBannedChannelsResponse.java | 2 +- ...edChannelsResponseBannedChannelsInner.java | 2 +- .../model/ListBlockedUsersResponse.java | 2 +- .../client/model/ListBotsResponse.java | 2 +- .../model/ListBotsResponseBotsInner.java | 2 +- ...ExportsByMessageChannelOrUserResponse.java | 2 +- ...hannelOrUserResponseExportedDataInner.java | 2 +- ...elOrUserResponseExportedDataInnerFile.java | 2 +- .../client/model/ListEmojisResponse.java | 2 +- .../model/ListGdprRequestsResponse.java | 2 +- ...ListGdprRequestsResponseRequestsInner.java | 2 +- .../client/model/ListMessagesResponse.java | 2 +- .../ListMessagesResponseMessagesInner.java | 2 +- ...istMessagesResponseMessagesInnerOgTag.java | 2 +- ...agesResponseMessagesInnerOgTagOgImage.java | 2 +- ...onseMessagesInnerSortedMetaarrayInner.java | 2 +- .../model/ListMutedChannelsResponse.java | 2 +- ...nnelsWithCustomChannelType200Response.java | 2 +- .../model/ListMyGroupChannelsResponse.java | 2 +- .../model/ListPushConfigurationsResponse.java | 2 +- ...ationsResponsePushConfigurationsInner.java | 2 +- ...hNotificationContentTemplatesResponse.java | 2 +- ...atesResponsePushMessageTemplatesInner.java | 2 +- ...onsePushMessageTemplatesInnerTemplate.java | 2 +- .../model/ListReactionsOfMessageResponse.java | 2 +- ...istRegistrationOrDeviceTokensResponse.java | 2 +- .../ListReportsOnChannelByUrlResponse.java | 2 +- .../ListReportsOnMessageByIdResponse.java | 2 +- ...sOnMessageByIdResponseReportLogsInner.java | 2 +- .../model/ListReportsOnUserByIdResponse.java | 2 +- .../client/model/ListReportsResponse.java | 2 +- .../ListReportsResponseReportLogsInner.java | 2 +- .../model/ListSecondaryApiTokensResponse.java | 2 +- ...ondaryApiTokensResponseApiTokensInner.java | 2 +- .../client/model/ListUsersResponse.java | 2 +- .../model/MarkAllMessagesAsReadData.java | 2 +- .../openapitools/client/model/ModelFile.java | 2 +- ...eInChannelsWithCustomChannelTypesData.java | 2 +- ...rsInChannelsWithCustomChannelTypeData.java | 2 +- .../client/model/OcBanUserData.java | 2 +- .../client/model/OcBanUserResponse.java | 2 +- .../client/model/OcCreateChannelData.java | 2 +- .../OcDeleteChannelByUrl200Response.java | 2 +- .../client/model/OcFreezeChannelData.java | 2 +- .../model/OcListBannedUsersResponse.java | 2 +- ...istBannedUsersResponseBannedListInner.java | 2 +- .../client/model/OcListChannelsResponse.java | 2 +- .../model/OcListMutedUsersResponse.java | 2 +- .../client/model/OcListOperatorsResponse.java | 2 +- .../model/OcListParticipantsResponse.java | 2 +- .../client/model/OcMuteUserData.java | 2 +- .../client/model/OcRegisterOperatorsData.java | 2 +- .../client/model/OcUpdateBanByIdData.java | 2 +- .../client/model/OcUpdateBanByIdResponse.java | 2 +- .../model/OcUpdateChannelByUrlData.java | 2 +- .../client/model/OcViewBanByIdResponse.java | 2 +- .../client/model/OcViewMuteByIdResponse.java | 2 +- .../RegisterAndScheduleDataExportData.java | 2 +- ...RegisterAndScheduleDataExportResponse.java | 2 +- ...rToChannelsWithCustomChannelTypesData.java | 2 +- .../client/model/RegisterGdprRequestData.java | 2 +- .../model/RegisterGdprRequestResponse.java | 2 +- .../RemovePushConfigurationByIdResponse.java | 2 +- .../RemoveReactionFromAMessageResponse.java | 2 +- ...istrationOrDeviceTokenByTokenResponse.java | 2 +- ...OrDeviceTokenFromOwnerByTokenResponse.java | 2 +- ...moveRegistrationOrDeviceTokenResponse.java | 2 +- .../client/model/ReportChannelByUrlData.java | 2 +- .../model/ReportChannelByUrlResponse.java | 2 +- .../client/model/ReportMessageByIdData.java | 2 +- .../model/ReportMessageByIdResponse.java | 2 +- .../client/model/ReportUserByIdData.java | 2 +- .../client/model/ReportUserByIdResponse.java | 2 +- .../model/ResetPushPreferencesResponse.java | 2 +- ...rieveAdvancedAnalyticsMetricsResponse.java | 2 +- .../model/RetrieveIpWhitelistResponse.java | 2 +- ...etrieveListOfSubscribedEventsResponse.java | 2 +- ...ListOfSubscribedEventsResponseWebhook.java | 2 +- ...evokeSecondaryApiTokenByTokenResponse.java | 2 +- .../openapitools/client/model/SBObject.java | 2 +- .../model/ScheduleAnnouncementData.java | 2 +- .../ScheduleAnnouncementDataMessage.java | 2 +- .../model/ScheduleAnnouncementResponse.java | 2 +- ...ouncementResponseCreateChannelOptions.java | 2 +- .../ScheduleAnnouncementResponseMessage.java | 2 +- .../client/model/SendBirdAdminMessage.java | 2 +- .../SendBirdAppleCriticalAlertOptions.java | 2 +- .../SendBirdAutoEventMessageSettings.java | 2 +- .../client/model/SendBirdBaseChannel.java | 2 +- .../model/SendBirdBaseMessageInstance.java | 2 +- .../model/SendBirdBotsMessageResponse.java | 2 +- .../SendBirdBotsMessageResponseMessage.java | 2 +- ...ResponseMessageExtendedMessagePayload.java | 2 +- ...tsMessageResponseMessageMessageEvents.java | 2 +- .../client/model/SendBirdChannelResponse.java | 4 +- .../client/model/SendBirdEmoji.java | 2 +- .../client/model/SendBirdEmojiCategory.java | 2 +- .../model/SendBirdFileMessageParams.java | 2 +- .../client/model/SendBirdGroupChannel.java | 50 +++++++++++++++++-- .../model/SendBirdGroupChannelChannel.java | 2 +- .../model/SendBirdGroupChannelCollection.java | 2 +- .../model/SendBirdGroupChannelCreatedBy.java | 2 +- ...ndBirdGroupChannelDisappearingMessage.java | 2 +- .../SendBirdGroupChannelSmsFallback.java | 2 +- .../client/model/SendBirdMember.java | 2 +- .../model/SendBirdMessageMetaArray.java | 2 +- .../client/model/SendBirdMessageResponse.java | 2 +- ...irdMessageResponseMentionedUsersInner.java | 2 +- .../model/SendBirdMessageResponseUser.java | 2 +- .../client/model/SendBirdOGImage.java | 2 +- .../client/model/SendBirdOGMetaData.java | 2 +- .../client/model/SendBirdOpenChannel.java | 2 +- .../client/model/SendBirdPlugin.java | 2 +- .../client/model/SendBirdPoll.java | 2 +- .../client/model/SendBirdPollDetails.java | 2 +- .../client/model/SendBirdPollOption.java | 2 +- .../model/SendBirdPollUpdatedVoteCount.java | 2 +- .../client/model/SendBirdReaction.java | 2 +- .../client/model/SendBirdRestrictionInfo.java | 2 +- .../model/SendBirdScheduledMessage.java | 2 +- .../client/model/SendBirdSender.java | 2 +- .../client/model/SendBirdThreadInfo.java | 2 +- .../model/SendBirdThumbnailSBObject.java | 2 +- .../client/model/SendBirdThumbnailSize.java | 2 +- .../client/model/SendBirdUser.java | 2 +- .../model/SendBirdUserMessageParams.java | 2 +- .../client/model/SendBotSMessageData.java | 2 +- ...BotSMessageDataExtendedMessagePayload.java | 2 +- .../client/model/SendMessageData.java | 2 +- .../client/model/SetDomainFilterData.java | 2 +- .../SetDomainFilterDataDomainFilter.java | 2 +- .../SetDomainFilterDataImageModeration.java | 2 +- ...DomainFilterDataImageModerationLimits.java | 2 +- .../SetDomainFilterDataProfanityFilter.java | 2 +- ...rDataProfanityFilterRegexFiltersInner.java | 2 +- ...ilterDataProfanityTriggeredModeration.java | 2 +- ...ranslateMessageIntoOtherLanguagesData.java | 2 +- .../model/UpdateAnnouncementByIdData.java | 2 +- .../model/UpdateAnnouncementByIdResponse.java | 2 +- ...UpdateAnnouncementByIdResponseMessage.java | 2 +- .../UpdateApnsPushConfigurationByIdData.java | 2 +- ...dateApnsPushConfigurationByIdResponse.java | 2 +- .../client/model/UpdateBotByIdData.java | 2 +- .../client/model/UpdateBotByIdResponse.java | 2 +- ...UpdateChannelInvitationPreferenceData.java | 2 +- ...teChannelInvitationPreferenceResponse.java | 2 +- .../model/UpdateChannelMetacounterData.java | 2 +- .../model/UpdateChannelMetadataData.java | 2 +- ...dateCountPreferenceOfChannelByUrlData.java | 2 +- ...CountPreferenceOfChannelByUrlResponse.java | 2 +- ...efaultChannelInvitationPreferenceData.java | 2 +- ...ltChannelInvitationPreferenceResponse.java | 2 +- .../model/UpdateEmojiCategoryUrlByIdData.java | 2 +- .../client/model/UpdateEmojiUrlByKeyData.java | 2 +- .../model/UpdateExtraDataInMessageData.java | 2 +- .../UpdateExtraDataInMessageResponse.java | 2 +- ...InMessageResponseSortedMetaarrayInner.java | 2 +- .../UpdateFcmPushConfigurationByIdData.java | 2 +- ...pdateFcmPushConfigurationByIdResponse.java | 2 +- .../UpdateHmsPushConfigurationByIdData.java | 2 +- ...pdateHmsPushConfigurationByIdResponse.java | 2 +- .../client/model/UpdateMessageByIdData.java | 2 +- ...tePushNotificationContentTemplateData.java | 2 +- ...shNotificationContentTemplateResponse.java | 2 +- .../model/UpdatePushPreferencesData.java | 2 +- ...atePushPreferencesForChannelByUrlData.java | 2 +- ...ushPreferencesForChannelByUrlResponse.java | 2 +- .../model/UpdatePushPreferencesResponse.java | 2 +- .../client/model/UpdateUserByIdData.java | 2 +- .../client/model/UpdateUserMetadataData.java | 2 +- .../model/UpdateUserMetadataResponse.java | 2 +- .../client/model/UseDefaultEmojisData.java | 2 +- .../model/UseDefaultEmojisResponse.java | 2 +- ...pplicationsPushSettingsGet200Response.java | 2 +- .../V3ApplicationsPushSettingsGetRequest.java | 2 +- ...ssagesScheduledMessageIdDeleteRequest.java | 2 +- .../client/model/V3PollsGetRequest.java | 2 +- .../model/V3PollsPollIdDeleteRequest.java | 2 +- .../model/V3PollsPollIdDeleteRequest1.java | 2 +- ...llsPollIdOptionsOptionIdDeleteRequest.java | 2 +- ...IdOptionsOptionIdVotersGet200Response.java | 2 +- ...tionIdVotersGet200ResponseVotersInner.java | 2 +- ...PollIdOptionsOptionIdVotersGetRequest.java | 2 +- .../model/V3PollsPollIdVotePutRequest.java | 2 +- ...3ScheduledMessagesCountGet200Response.java | 2 +- .../V3ScheduledMessagesGet200Response.java | 2 +- .../model/ViewAnnouncementByIdResponse.java | 2 +- .../client/model/ViewBotByIdResponse.java | 2 +- ...ewChannelInvitationPreferenceResponse.java | 2 +- ...CountPreferenceOfChannelByUrlResponse.java | 2 +- .../model/ViewDataExportByIdResponse.java | 2 +- ...ltChannelInvitationPreferenceResponse.java | 2 +- .../model/ViewGdprRequestByIdResponse.java | 2 +- ...wNumberOfChannelsByJoinStatusResponse.java | 2 +- ...rOfChannelsWithUnreadMessagesResponse.java | 2 +- ...NumberOfConcurrentConnectionsResponse.java | 2 +- .../ViewNumberOfDailyActiveUsersResponse.java | 2 +- ...iewNumberOfMonthlyActiveUsersResponse.java | 2 +- .../ViewNumberOfPeakConnectionsResponse.java | 2 +- ...nnectionsResponsePeakConnectionsInner.java | 2 +- .../ViewNumberOfUnreadItemsResponse.java | 2 +- .../ViewNumberOfUnreadMessagesResponse.java | 2 +- .../ViewPushConfigurationByIdResponse.java | 2 +- ...shNotificationContentTemplateResponse.java | 2 +- ...lateResponsePushMessageTemplatesInner.java | 2 +- ...ushPreferencesForChannelByUrlResponse.java | 2 +- .../model/ViewPushPreferencesResponse.java | 2 +- .../ViewSecondaryApiTokenByTokenResponse.java | 2 +- ...otalNumberOfMessagesInChannelResponse.java | 2 +- .../model/ViewUserMetadataResponse.java | 2 +- ...tionOrDeviceTokenByTokenResponseInner.java | 2 +- .../java/org/sendbird/client/ApiClient.java | 4 +- .../org/sendbird/client/ApiException.java | 2 +- .../org/sendbird/client/Configuration.java | 2 +- src/main/java/org/sendbird/client/JSON.java | 2 +- src/main/java/org/sendbird/client/JSON.java-e | 2 +- .../sendbird/client/JavaTimeFormatter.java | 2 +- src/main/java/org/sendbird/client/Pair.java | 2 +- .../java/org/sendbird/client/StringUtil.java | 2 +- .../sendbird/client/api/AnnouncementApi.java | 2 +- .../sendbird/client/api/ApplicationApi.java | 2 +- .../java/org/sendbird/client/api/BotApi.java | 2 +- .../sendbird/client/api/DataExportApi.java | 2 +- .../sendbird/client/api/DeleteAPinApi.java | 2 +- .../sendbird/client/api/GroupChannelApi.java | 2 +- .../org/sendbird/client/api/MessageApi.java | 2 +- .../org/sendbird/client/api/MetadataApi.java | 2 +- .../sendbird/client/api/ModerationApi.java | 2 +- .../sendbird/client/api/OpenChannelApi.java | 2 +- .../sendbird/client/api/PinAMessageApi.java | 2 +- .../java/org/sendbird/client/api/PollApi.java | 2 +- .../org/sendbird/client/api/PrivacyApi.java | 2 +- .../client/api/PushNotificationsApi.java | 2 +- .../org/sendbird/client/api/ReportApi.java | 2 +- .../client/api/ScheduledMessageApi.java | 2 +- .../sendbird/client/api/StatisticsApi.java | 2 +- .../java/org/sendbird/client/api/UserApi.java | 2 +- .../org/sendbird/client/api/WebhookApi.java | 2 +- .../org/sendbird/client/auth/ApiKeyAuth.java | 2 +- .../sendbird/client/auth/HttpBasicAuth.java | 2 +- .../sendbird/client/auth/HttpBearerAuth.java | 2 +- 352 files changed, 440 insertions(+), 372 deletions(-) diff --git a/.idea/.gitignore b/.idea/.gitignore index 26d33521..8f00030d 100644 --- a/.idea/.gitignore +++ b/.idea/.gitignore @@ -1,3 +1,5 @@ # Default ignored files /shelf/ /workspace.xml +# GitHub Copilot persisted chat sessions +/copilot/chatSessions diff --git a/.idea/gradle.xml b/.idea/gradle.xml index 7d3b3e85..24fe4fe2 100644 --- a/.idea/gradle.xml +++ b/.idea/gradle.xml @@ -5,7 +5,7 @@