Skip to content

Commit feb569e

Browse files
committed
fixed build
1 parent 51dd8f6 commit feb569e

File tree

207 files changed

+2826
-2820
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

207 files changed

+2826
-2820
lines changed

.openapi-generator/FILES

Lines changed: 248 additions & 248 deletions
Large diffs are not rendered by default.

api/openapi.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9234,6 +9234,12 @@ components:
92349234
properties: {}
92359235
type: object
92369236
MigrateMessagesRequest:
9237+
example:
9238+
rewind_read_ts: true
9239+
messages:
9240+
- null
9241+
- null
9242+
update_read_ts: true
92379243
properties:
92389244
messages:
92399245
items:

docs/AddARegistrationOrDeviceTokenResponse.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
|------------ | ------------- | ------------- | -------------|
1010
|**token** | **String** | | [optional] |
1111
|**type** | **String** | | [optional] |
12-
|**user** | [**SendbirdBasicUserInfo**](SendbirdBasicUserInfo.md) | | [optional] |
12+
|**user** | [**SendBirdBasicUserInfo**](SendBirdBasicUserInfo.md) | | [optional] |
1313

1414

1515

docs/AddExtraDataToAMessageRequest.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77

88
| Name | Type | Description | Notes |
99
|------------ | ------------- | ------------- | -------------|
10-
|**sortedMetaarray** | [**List<SendbirdSortedMetaarrayInner>**](SendbirdSortedMetaarrayInner.md) | | |
10+
|**sortedMetaarray** | [**List<SendBirdSortedMetaarrayInner>**](SendBirdSortedMetaarrayInner.md) | | |
1111

1212

1313

docs/AddExtraDataToAMessageResponse.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77

88
| Name | Type | Description | Notes |
99
|------------ | ------------- | ------------- | -------------|
10-
|**sortedMetaarray** | [**List<SendbirdSortedMetaarrayInner>**](SendbirdSortedMetaarrayInner.md) | | [optional] |
10+
|**sortedMetaarray** | [**List<SendBirdSortedMetaarrayInner>**](SendBirdSortedMetaarrayInner.md) | | [optional] |
1111

1212

1313

docs/AnnouncementApi.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ All URIs are relative to *https://api-APP_ID.sendbird.com*
1010

1111
## scheduleAnAnnouncement
1212

13-
> SendBirdScheduleAnAnnouncementResponse scheduleAnAnnouncement().apiToken(apiToken).sendBirdScheduleAnAnnouncementRequest(sendBirdScheduleAnAnnouncementRequest).execute();
13+
> ScheduleAnAnnouncementResponse scheduleAnAnnouncement().apiToken(apiToken).scheduleAnAnnouncementRequest(scheduleAnAnnouncementRequest).execute();
1414
1515
Schedule an announcement
1616

@@ -37,11 +37,11 @@ public class Example {
3737

3838
AnnouncementApi apiInstance = new AnnouncementApi(defaultClient);
3939
String apiToken = "{{API_TOKEN}}"; // String |
40-
SendBirdScheduleAnAnnouncementRequest sendBirdScheduleAnAnnouncementRequest = new SendBirdScheduleAnAnnouncementRequest(); // SendBirdScheduleAnAnnouncementRequest |
40+
ScheduleAnAnnouncementRequest scheduleAnAnnouncementRequest = new ScheduleAnAnnouncementRequest(); // ScheduleAnAnnouncementRequest |
4141
try {
42-
SendBirdScheduleAnAnnouncementResponse result = api.scheduleAnAnnouncement()
42+
ScheduleAnAnnouncementResponse result = api.scheduleAnAnnouncement()
4343
.apiToken(apiToken)
44-
.sendBirdScheduleAnAnnouncementRequest(sendBirdScheduleAnAnnouncementRequest)
44+
.scheduleAnAnnouncementRequest(scheduleAnAnnouncementRequest)
4545
.execute();
4646
System.out.println(result);
4747
} catch (ApiException e) {
@@ -61,11 +61,11 @@ public class Example {
6161
| Name | Type | Description | Notes |
6262
|------------- | ------------- | ------------- | -------------|
6363
| **apiToken** | **String**| | [optional] |
64-
| **sendBirdScheduleAnAnnouncementRequest** | [**SendBirdScheduleAnAnnouncementRequest**](SendBirdScheduleAnAnnouncementRequest.md)| | [optional] |
64+
| **scheduleAnAnnouncementRequest** | [**ScheduleAnAnnouncementRequest**](ScheduleAnAnnouncementRequest.md)| | [optional] |
6565

6666
### Return type
6767

68-
[**SendBirdScheduleAnAnnouncementResponse**](SendBirdScheduleAnAnnouncementResponse.md)
68+
[**ScheduleAnAnnouncementResponse**](ScheduleAnAnnouncementResponse.md)
6969

7070
### Authorization
7171

docs/BlockAUserResponse.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77

88
| Name | Type | Description | Notes |
99
|------------ | ------------- | ------------- | -------------|
10-
|**users** | [**List<SendbirdUser>**](SendbirdUser.md) | | [optional] |
10+
|**users** | [**List<SendBirdUser>**](SendBirdUser.md) | | [optional] |
1111
|**next** | **String** | | [optional] |
1212

1313

docs/BotApi.md

Lines changed: 31 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ All URIs are relative to *https://api-APP_ID.sendbird.com*
1818

1919
## createABot
2020

21-
> SendBirdCreateABotResponse createABot().apiToken(apiToken).sendBirdCreateABotRequest(sendBirdCreateABotRequest).execute();
21+
> CreateABotResponse createABot().apiToken(apiToken).createABotRequest(createABotRequest).execute();
2222
2323
Create a bot
2424

@@ -48,11 +48,11 @@ public class Example {
4848

4949
BotApi apiInstance = new BotApi(defaultClient);
5050
String apiToken = "{{API_TOKEN}}"; // String |
51-
SendBirdCreateABotRequest sendBirdCreateABotRequest = new SendBirdCreateABotRequest(); // SendBirdCreateABotRequest |
51+
CreateABotRequest createABotRequest = new CreateABotRequest(); // CreateABotRequest |
5252
try {
53-
SendBirdCreateABotResponse result = api.createABot()
53+
CreateABotResponse result = api.createABot()
5454
.apiToken(apiToken)
55-
.sendBirdCreateABotRequest(sendBirdCreateABotRequest)
55+
.createABotRequest(createABotRequest)
5656
.execute();
5757
System.out.println(result);
5858
} catch (ApiException e) {
@@ -72,11 +72,11 @@ public class Example {
7272
| Name | Type | Description | Notes |
7373
|------------- | ------------- | ------------- | -------------|
7474
| **apiToken** | **String**| | [optional] |
75-
| **sendBirdCreateABotRequest** | [**SendBirdCreateABotRequest**](SendBirdCreateABotRequest.md)| | [optional] |
75+
| **createABotRequest** | [**CreateABotRequest**](CreateABotRequest.md)| | [optional] |
7676

7777
### Return type
7878

79-
[**SendBirdCreateABotResponse**](SendBirdCreateABotResponse.md)
79+
[**CreateABotResponse**](CreateABotResponse.md)
8080

8181
### Authorization
8282

@@ -169,7 +169,7 @@ No authorization required
169169

170170
## joinChannels
171171

172-
> SendBirdSendBirdGroupChannelDetail joinChannels(botUserid).apiToken(apiToken).sendBirdJoinChannelsRequest(sendBirdJoinChannelsRequest).execute();
172+
> SendBirdGroupChannelDetail joinChannels(botUserid).apiToken(apiToken).joinChannelsRequest(joinChannelsRequest).execute();
173173
174174
Join channels
175175

@@ -197,11 +197,11 @@ public class Example {
197197
BotApi apiInstance = new BotApi(defaultClient);
198198
String botUserid = "botUserid_example"; // String | (Required)
199199
String apiToken = "{{API_TOKEN}}"; // String |
200-
SendBirdJoinChannelsRequest sendBirdJoinChannelsRequest = new SendBirdJoinChannelsRequest(); // SendBirdJoinChannelsRequest |
200+
JoinChannelsRequest joinChannelsRequest = new JoinChannelsRequest(); // JoinChannelsRequest |
201201
try {
202-
SendBirdSendBirdGroupChannelDetail result = api.joinChannels(botUserid)
202+
SendBirdGroupChannelDetail result = api.joinChannels(botUserid)
203203
.apiToken(apiToken)
204-
.sendBirdJoinChannelsRequest(sendBirdJoinChannelsRequest)
204+
.joinChannelsRequest(joinChannelsRequest)
205205
.execute();
206206
System.out.println(result);
207207
} catch (ApiException e) {
@@ -222,11 +222,11 @@ public class Example {
222222
|------------- | ------------- | ------------- | -------------|
223223
| **botUserid** | **String**| (Required) | |
224224
| **apiToken** | **String**| | [optional] |
225-
| **sendBirdJoinChannelsRequest** | [**SendBirdJoinChannelsRequest**](SendBirdJoinChannelsRequest.md)| | [optional] |
225+
| **joinChannelsRequest** | [**JoinChannelsRequest**](JoinChannelsRequest.md)| | [optional] |
226226

227227
### Return type
228228

229-
[**SendBirdSendBirdGroupChannelDetail**](SendBirdSendBirdGroupChannelDetail.md)
229+
[**SendBirdGroupChannelDetail**](SendBirdGroupChannelDetail.md)
230230

231231
### Authorization
232232

@@ -393,7 +393,7 @@ No authorization required
393393

394394
## listBots
395395

396-
> SendBirdListBotsResponse listBots().token(token).limit(limit).apiToken(apiToken).execute();
396+
> ListBotsResponse listBots().token(token).limit(limit).apiToken(apiToken).execute();
397397
398398
List bots
399399

@@ -423,7 +423,7 @@ public class Example {
423423
Integer limit = 56; // Integer |
424424
String apiToken = "{{API_TOKEN}}"; // String |
425425
try {
426-
SendBirdListBotsResponse result = api.listBots()
426+
ListBotsResponse result = api.listBots()
427427
.token(token)
428428
.limit(limit)
429429
.apiToken(apiToken)
@@ -451,7 +451,7 @@ public class Example {
451451

452452
### Return type
453453

454-
[**SendBirdListBotsResponse**](SendBirdListBotsResponse.md)
454+
[**ListBotsResponse**](ListBotsResponse.md)
455455

456456
### Authorization
457457

@@ -470,7 +470,7 @@ No authorization required
470470

471471
## sendABotMessage
472472

473-
> SendBirdSendABotMessageResponse sendABotMessage(botUserid).messageType(messageType).channelUrl(channelUrl).apiToken(apiToken).message(message).mentioned(mentioned).extendedMessagePayload(extendedMessagePayload)._file(_file).requireAuth(requireAuth).mentionType(mentionType).mentionedUserIds(mentionedUserIds).isSilent(isSilent).sortedMetaarray(sortedMetaarray).apnsBundleId(apnsBundleId).appleCriticalAlertOptions(appleCriticalAlertOptions).sound(sound).volume(volume).createdAt(createdAt).customType(customType).data(data).dedupId(dedupId).markAsRead(markAsRead).sendPush(sendPush).execute();
473+
> SendABotMessageResponse sendABotMessage(botUserid).messageType(messageType).channelUrl(channelUrl).apiToken(apiToken).message(message).mentioned(mentioned).extendedMessagePayload(extendedMessagePayload)._file(_file).requireAuth(requireAuth).mentionType(mentionType).mentionedUserIds(mentionedUserIds).isSilent(isSilent).sortedMetaarray(sortedMetaarray).apnsBundleId(apnsBundleId).appleCriticalAlertOptions(appleCriticalAlertOptions).sound(sound).volume(volume).createdAt(createdAt).customType(customType).data(data).dedupId(dedupId).markAsRead(markAsRead).sendPush(sendPush).execute();
474474
475475
Send a bot's message
476476

@@ -508,13 +508,13 @@ public class Example {
508508
String apiToken = "{{API_TOKEN}}"; // String |
509509
String message = "message_example"; // String | Specifies the content of the message. * This property is required when message_type is MESG.
510510
List<String> mentioned = Arrays.asList(); // List<String> | * This property is available when message_type is MESG.
511-
SendBirdSendBirdExtendedMessagePayload extendedMessagePayload = new SendBirdSendBirdExtendedMessagePayload(); // SendBirdSendBirdExtendedMessagePayload |
511+
SendBirdExtendedMessagePayload extendedMessagePayload = new SendBirdExtendedMessagePayload(); // SendBirdExtendedMessagePayload |
512512
File _file = new File("/path/to/file"); // File | When sending a single file with a message, specifies the data of the file to upload to the Sendbird server in raw binary format. When sending a request containing a file, change the value of the content-type header to multipart/form-data;boundary={your_unique_boundary_string} in the request. * This property is required when message_type is FILE. * This doesn't allow a converted base64-encoded string from a file as its value.
513513
Boolean requireAuth = true; // Boolean | Determines whether to require an authentication key to verify if the file is being properly accessed. Only the user who uploaded the file or users who are in the channel where the file was uploaded should have access. The authentication key managed internally by the Sendbird system is generated every time a user logs in to the Sendbird server and is valid for three days starting from the last login. If set to false, Sendbird tries to access a file without any key. To access encrypted files, such as the files in the Sendbird server which are by default encrypted, the property must be set to true. (Default: false) The require_auth parameter only works if the file or URL is managed by Sendbird, which means that when you upload files using multipart format or provide URLs that point to the files hosted on the Sendbird server. However, if the file is hosted on a server or service that is not managed by Sendbird, access control and authentication for the file should be handled by the respective server or service hosting the file. * This property is available when message_type is FILE.
514514
String mentionType = "users"; // String | * This property is available when message_type is FILE.
515515
List<String> mentionedUserIds = Arrays.asList(); // List<String> | * This property is available when message_type is FILE.
516516
Boolean isSilent = true; // Boolean | * This property is available when message_type is FILE.
517-
List<SendBirdSendBirdSortedMetaarrayInner> sortedMetaarray = Arrays.asList(); // List<SendBirdSendBirdSortedMetaarrayInner> |
517+
List<SendBirdSortedMetaarrayInner> sortedMetaarray = Arrays.asList(); // List<SendBirdSortedMetaarrayInner> |
518518
String apnsBundleId = "apnsBundleId_example"; // String | * This property is available when message_type is FILE.
519519
Object appleCriticalAlertOptions = null; // Object | * This property is available when message_type is FILE.
520520
String sound = "sound_example"; // String | * This property is available when message_type is FILE.
@@ -526,7 +526,7 @@ public class Example {
526526
Boolean markAsRead = true; // Boolean |
527527
Boolean sendPush = true; // Boolean |
528528
try {
529-
SendBirdSendABotMessageResponse result = api.sendABotMessage(botUserid)
529+
SendABotMessageResponse result = api.sendABotMessage(botUserid)
530530
.messageType(messageType)
531531
.channelUrl(channelUrl)
532532
.apiToken(apiToken)
@@ -573,13 +573,13 @@ public class Example {
573573
| **apiToken** | **String**| | [optional] |
574574
| **message** | **String**| Specifies the content of the message. * This property is required when message_type is MESG. | [optional] |
575575
| **mentioned** | **List&lt;String&gt;**| * This property is available when message_type is MESG. | [optional] |
576-
| **extendedMessagePayload** | [**SendBirdSendBirdExtendedMessagePayload**](SendBirdSendBirdExtendedMessagePayload.md)| | [optional] |
576+
| **extendedMessagePayload** | [**SendBirdExtendedMessagePayload**](SendBirdExtendedMessagePayload.md)| | [optional] |
577577
| **_file** | **File**| When sending a single file with a message, specifies the data of the file to upload to the Sendbird server in raw binary format. When sending a request containing a file, change the value of the content-type header to multipart/form-data;boundary&#x3D;{your_unique_boundary_string} in the request. * This property is required when message_type is FILE. * This doesn&#39;t allow a converted base64-encoded string from a file as its value. | [optional] |
578578
| **requireAuth** | **Boolean**| Determines whether to require an authentication key to verify if the file is being properly accessed. Only the user who uploaded the file or users who are in the channel where the file was uploaded should have access. The authentication key managed internally by the Sendbird system is generated every time a user logs in to the Sendbird server and is valid for three days starting from the last login. If set to false, Sendbird tries to access a file without any key. To access encrypted files, such as the files in the Sendbird server which are by default encrypted, the property must be set to true. (Default: false) The require_auth parameter only works if the file or URL is managed by Sendbird, which means that when you upload files using multipart format or provide URLs that point to the files hosted on the Sendbird server. However, if the file is hosted on a server or service that is not managed by Sendbird, access control and authentication for the file should be handled by the respective server or service hosting the file. * This property is available when message_type is FILE. | [optional] |
579579
| **mentionType** | **String**| * This property is available when message_type is FILE. | [optional] [enum: users, channel] |
580580
| **mentionedUserIds** | **List&lt;String&gt;**| * This property is available when message_type is FILE. | [optional] |
581581
| **isSilent** | **Boolean**| * This property is available when message_type is FILE. | [optional] |
582-
| **sortedMetaarray** | [**List&lt;SendBirdSendBirdSortedMetaarrayInner&gt;**](SendBirdSendBirdSortedMetaarrayInner.md)| | [optional] |
582+
| **sortedMetaarray** | [**List&lt;SendBirdSortedMetaarrayInner&gt;**](SendBirdSortedMetaarrayInner.md)| | [optional] |
583583
| **apnsBundleId** | **String**| * This property is available when message_type is FILE. | [optional] |
584584
| **appleCriticalAlertOptions** | **Object**| * This property is available when message_type is FILE. | [optional] |
585585
| **sound** | **String**| * This property is available when message_type is FILE. | [optional] |
@@ -593,7 +593,7 @@ public class Example {
593593

594594
### Return type
595595

596-
[**SendBirdSendABotMessageResponse**](SendBirdSendABotMessageResponse.md)
596+
[**SendABotMessageResponse**](SendABotMessageResponse.md)
597597

598598
### Authorization
599599

@@ -612,7 +612,7 @@ No authorization required
612612

613613
## updateBotById
614614

615-
> SendBirdUpdateBotByIdResponse updateBotById(botUserid).apiToken(apiToken).sendBirdUpdateBotByIdData(sendBirdUpdateBotByIdData).execute();
615+
> UpdateBotByIdResponse updateBotById(botUserid).apiToken(apiToken).updateBotByIdData(updateBotByIdData).execute();
616616
617617
Update a bot
618618

@@ -641,11 +641,11 @@ public class Example {
641641
BotApi apiInstance = new BotApi(defaultClient);
642642
String botUserid = "botUserid_example"; // String |
643643
String apiToken = "{{API_TOKEN}}"; // String |
644-
SendBirdUpdateBotByIdData sendBirdUpdateBotByIdData = new SendBirdUpdateBotByIdData(); // SendBirdUpdateBotByIdData |
644+
UpdateBotByIdData updateBotByIdData = new UpdateBotByIdData(); // UpdateBotByIdData |
645645
try {
646-
SendBirdUpdateBotByIdResponse result = api.updateBotById(botUserid)
646+
UpdateBotByIdResponse result = api.updateBotById(botUserid)
647647
.apiToken(apiToken)
648-
.sendBirdUpdateBotByIdData(sendBirdUpdateBotByIdData)
648+
.updateBotByIdData(updateBotByIdData)
649649
.execute();
650650
System.out.println(result);
651651
} catch (ApiException e) {
@@ -666,11 +666,11 @@ public class Example {
666666
|------------- | ------------- | ------------- | -------------|
667667
| **botUserid** | **String**| | |
668668
| **apiToken** | **String**| | [optional] |
669-
| **sendBirdUpdateBotByIdData** | [**SendBirdUpdateBotByIdData**](SendBirdUpdateBotByIdData.md)| | [optional] |
669+
| **updateBotByIdData** | [**UpdateBotByIdData**](UpdateBotByIdData.md)| | [optional] |
670670

671671
### Return type
672672

673-
[**SendBirdUpdateBotByIdResponse**](SendBirdUpdateBotByIdResponse.md)
673+
[**UpdateBotByIdResponse**](UpdateBotByIdResponse.md)
674674

675675
### Authorization
676676

@@ -689,7 +689,7 @@ No authorization required
689689

690690
## viewBotById
691691

692-
> SendBirdViewBotByIdResponse viewBotById(botUserid).apiToken(apiToken).execute();
692+
> ViewBotByIdResponse viewBotById(botUserid).apiToken(apiToken).execute();
693693
694694
View a bot
695695

@@ -719,7 +719,7 @@ public class Example {
719719
String botUserid = "botUserid_example"; // String |
720720
String apiToken = "{{API_TOKEN}}"; // String |
721721
try {
722-
SendBirdViewBotByIdResponse result = api.viewBotById(botUserid)
722+
ViewBotByIdResponse result = api.viewBotById(botUserid)
723723
.apiToken(apiToken)
724724
.execute();
725725
System.out.println(result);
@@ -744,7 +744,7 @@ public class Example {
744744

745745
### Return type
746746

747-
[**SendBirdViewBotByIdResponse**](SendBirdViewBotByIdResponse.md)
747+
[**ViewBotByIdResponse**](ViewBotByIdResponse.md)
748748

749749
### Authorization
750750

docs/CreateAGroupChannelRequest.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
|**operatorIds** | **List&lt;String&gt;** | | [optional] |
2626
|**strict** | **Boolean** | | [optional] |
2727
|**userIds** | **List&lt;String&gt;** | | [optional] |
28-
|**users** | [**List&lt;SendbirdUser&gt;**](SendbirdUser.md) | | |
28+
|**users** | [**List&lt;SendBirdUser&gt;**](SendBirdUser.md) | | |
2929

3030

3131

0 commit comments

Comments
 (0)