Skip to content

Commit d26f684

Browse files
authored
chore: regen sdk (#19)
1 parent 8562753 commit d26f684

226 files changed

Lines changed: 8472 additions & 1998 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"magicbell-java-user-client": minor
3+
---
4+
5+
Automatic minor version bump for changes in `magicbell-java-user-client`.

README.md

Lines changed: 56 additions & 51 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
Welcome to the MagicbellUserClient SDK documentation. This guide will help you get started with integrating and using the MagicbellUserClient SDK in your project.
44

5-
[![This SDK was generated by liblab](https://public-liblab-readme-assets.s3.us-east-1.amazonaws.com/built-by-liblab-icon.svg)](https://liblab.com/?utm_source=readme)
5+
[![This SDK was generated by liblab](https://raw.githubusercontent.com/liblaber/liblab-assets/main/assets/built-by-liblab-icon.svg)](https://liblab.com/?utm_source=readme)
66

77
## Versions
88

@@ -116,9 +116,9 @@ Below is a comprehensive example demonstrating how to authenticate and call a si
116116
```java
117117
import com.magicbell.magicbelluserclient.MagicbellUserClient;
118118
import com.magicbell.magicbelluserclient.config.MagicbellUserClientConfig;
119-
import com.magicbell.magicbelluserclient.exceptions.ApiException;
120-
import com.magicbell.magicbelluserclient.models.GetInAppInboxTokensParameters;
119+
import com.magicbell.magicbelluserclient.exceptions.ApiError;
121120
import com.magicbell.magicbelluserclient.models.InboxTokenResponseCollection;
121+
import com.magicbell.magicbelluserclient.models.ListInboxTokensParameters;
122122

123123
public class Main {
124124

@@ -127,17 +127,17 @@ public class Main {
127127

128128
MagicbellUserClient magicbellUserClient = new MagicbellUserClient(config);
129129

130-
GetInAppInboxTokensParameters requestParameters = GetInAppInboxTokensParameters.builder()
131-
.limit(10L)
130+
ListInboxTokensParameters requestParameters = ListInboxTokensParameters.builder()
131+
.limit(8L)
132132
.startingAfter("starting_after")
133133
.endingBefore("ending_before")
134134
.build();
135135

136136
try {
137-
InboxTokenResponseCollection response = magicbellUserClient.channels.getInAppInboxTokens(requestParameters);
137+
InboxTokenResponseCollection response = magicbellUserClient.channels.listInboxTokens(requestParameters);
138138

139139
System.out.println(response);
140-
} catch (ApiException e) {
140+
} catch (ApiError e) {
141141
e.printStackTrace();
142142
}
143143

@@ -151,7 +151,7 @@ public class Main {
151151

152152
The SDK provides various services to interact with the API.
153153

154-
<details>
154+
<details>
155155
<summary>Below is a list of all available services with links to their detailed documentation:</summary>
156156

157157
| Name |
@@ -166,51 +166,56 @@ The SDK provides various services to interact with the API.
166166

167167
The SDK includes several models that represent the data structures used in API requests and responses. These models help in organizing and managing the data efficiently.
168168

169-
<details>
169+
<details>
170170
<summary>Below is a list of all available models with links to their detailed documentation:</summary>
171171

172-
| Name | Description |
173-
| :--------------------------------------------------------------------------------------------- | :---------- |
174-
| [InboxTokenResponseCollection](documentation/models/InboxTokenResponseCollection.md) | |
175-
| [InboxToken](documentation/models/InboxToken.md) | |
176-
| [InboxTokenResponse](documentation/models/InboxTokenResponse.md) | |
177-
| [DiscardResult](documentation/models/DiscardResult.md) | |
178-
| [ApnsTokenCollection](documentation/models/ApnsTokenCollection.md) | |
179-
| [ApnsTokenPayload](documentation/models/ApnsTokenPayload.md) | |
180-
| [ApnsToken](documentation/models/ApnsToken.md) | |
181-
| [ExpoTokenCollection](documentation/models/ExpoTokenCollection.md) | |
182-
| [ExpoTokenPayload](documentation/models/ExpoTokenPayload.md) | |
183-
| [ExpoToken](documentation/models/ExpoToken.md) | |
184-
| [FcmTokenCollection](documentation/models/FcmTokenCollection.md) | |
185-
| [FcmTokenPayload](documentation/models/FcmTokenPayload.md) | |
186-
| [FcmToken](documentation/models/FcmToken.md) | |
187-
| [SlackTokenCollection](documentation/models/SlackTokenCollection.md) | |
188-
| [SlackTokenPayload](documentation/models/SlackTokenPayload.md) | |
189-
| [SlackToken](documentation/models/SlackToken.md) | |
190-
| [TeamsTokenCollection](documentation/models/TeamsTokenCollection.md) | |
191-
| [TeamsTokenPayload](documentation/models/TeamsTokenPayload.md) | |
192-
| [TeamsToken](documentation/models/TeamsToken.md) | |
193-
| [WebPushTokenCollection](documentation/models/WebPushTokenCollection.md) | |
194-
| [WebPushTokenPayload](documentation/models/WebPushTokenPayload.md) | |
195-
| [WebPushToken](documentation/models/WebPushToken.md) | |
196-
| [InboxConfigPayload](documentation/models/InboxConfigPayload.md) | |
197-
| [SlackInstallation](documentation/models/SlackInstallation.md) | |
198-
| [SlackFinishInstallResponse](documentation/models/SlackFinishInstallResponse.md) | |
199-
| [SlackStartInstall](documentation/models/SlackStartInstall.md) | |
200-
| [SlackStartInstallResponseContent](documentation/models/SlackStartInstallResponseContent.md) | |
201-
| [TemplatesInstallation](documentation/models/TemplatesInstallation.md) | |
202-
| [WebPushStartInstallationResponse](documentation/models/WebPushStartInstallationResponse.md) | |
203-
| [NotificationCollection](documentation/models/NotificationCollection.md) | |
204-
| [Links](documentation/models/Links.md) | |
205-
| [Notification](documentation/models/Notification.md) | |
206-
| [GetInAppInboxTokensParameters](documentation/models/GetInAppInboxTokensParameters.md) | |
207-
| [GetMobilePushApnsTokensParameters](documentation/models/GetMobilePushApnsTokensParameters.md) | |
208-
| [GetMobilePushExpoTokensParameters](documentation/models/GetMobilePushExpoTokensParameters.md) | |
209-
| [GetMobilePushFcmTokensParameters](documentation/models/GetMobilePushFcmTokensParameters.md) | |
210-
| [GetSlackTokensParameters](documentation/models/GetSlackTokensParameters.md) | |
211-
| [GetTeamsTokensParameters](documentation/models/GetTeamsTokensParameters.md) | |
212-
| [GetWebPushTokensParameters](documentation/models/GetWebPushTokensParameters.md) | |
213-
| [ListNotificationsParameters](documentation/models/ListNotificationsParameters.md) | |
172+
| Name | Description |
173+
| :--------------------------------------------------------------------------------------------------------- | :---------- |
174+
| [InboxTokenResponseCollection](documentation/models/InboxTokenResponseCollection.md) | |
175+
| [InboxTokenResponse](documentation/models/InboxTokenResponse.md) | |
176+
| [Links](documentation/models/Links.md) | |
177+
| [ListInboxTokensParameters](documentation/models/ListInboxTokensParameters.md) | |
178+
| [InboxToken](documentation/models/InboxToken.md) | |
179+
| [DiscardResult](documentation/models/DiscardResult.md) | |
180+
| [ApnsTokenCollection](documentation/models/ApnsTokenCollection.md) | |
181+
| [ApnsToken](documentation/models/ApnsToken.md) | |
182+
| [ListApnsTokensParameters](documentation/models/ListApnsTokensParameters.md) | |
183+
| [ApnsTokenPayload](documentation/models/ApnsTokenPayload.md) | |
184+
| [ExpoTokenCollection](documentation/models/ExpoTokenCollection.md) | |
185+
| [ExpoToken](documentation/models/ExpoToken.md) | |
186+
| [ListExpoTokensParameters](documentation/models/ListExpoTokensParameters.md) | |
187+
| [ExpoTokenPayload](documentation/models/ExpoTokenPayload.md) | |
188+
| [FcmTokenCollection](documentation/models/FcmTokenCollection.md) | |
189+
| [FcmToken](documentation/models/FcmToken.md) | |
190+
| [ListFcmTokensParameters](documentation/models/ListFcmTokensParameters.md) | |
191+
| [FcmTokenPayload](documentation/models/FcmTokenPayload.md) | |
192+
| [SlackTokenCollection](documentation/models/SlackTokenCollection.md) | |
193+
| [SlackToken](documentation/models/SlackToken.md) | |
194+
| [ListMagicbellSlackbotTokensParameters](documentation/models/ListMagicbellSlackbotTokensParameters.md) | |
195+
| [SlackTokenPayload](documentation/models/SlackTokenPayload.md) | |
196+
| [ListSlackTokensParameters](documentation/models/ListSlackTokensParameters.md) | |
197+
| [TeamsTokenCollection](documentation/models/TeamsTokenCollection.md) | |
198+
| [TeamsToken](documentation/models/TeamsToken.md) | |
199+
| [ListTeamsTokensParameters](documentation/models/ListTeamsTokensParameters.md) | |
200+
| [TeamsTokenPayload](documentation/models/TeamsTokenPayload.md) | |
201+
| [UserPreferences](documentation/models/UserPreferences.md) | |
202+
| [WebPushTokenCollection](documentation/models/WebPushTokenCollection.md) | |
203+
| [WebPushToken](documentation/models/WebPushToken.md) | |
204+
| [ListWebPushTokensParameters](documentation/models/ListWebPushTokensParameters.md) | |
205+
| [WebPushTokenPayload](documentation/models/WebPushTokenPayload.md) | |
206+
| [InboxConfigPayload](documentation/models/InboxConfigPayload.md) | |
207+
| [SlackInstallation](documentation/models/SlackInstallation.md) | |
208+
| [SlackFinishInstallResponse](documentation/models/SlackFinishInstallResponse.md) | |
209+
| [SlackStartInstallResponseContent](documentation/models/SlackStartInstallResponseContent.md) | |
210+
| [SlackStartInstall](documentation/models/SlackStartInstall.md) | |
211+
| [WebPushStartInstallationResponse](documentation/models/WebPushStartInstallationResponse.md) | |
212+
| [NotificationCollection](documentation/models/NotificationCollection.md) | |
213+
| [Notification](documentation/models/Notification.md) | |
214+
| [ListNotificationsParameters](documentation/models/ListNotificationsParameters.md) | |
215+
| [ArchiveAllNotificationsParameters](documentation/models/ArchiveAllNotificationsParameters.md) | |
216+
| [MarkAllNotificationsReadParameters](documentation/models/MarkAllNotificationsReadParameters.md) | |
217+
| [CountResponse](documentation/models/CountResponse.md) | |
218+
| [FetchUnreadNotificationsCountParameters](documentation/models/FetchUnreadNotificationsCountParameters.md) | |
214219

215220
</details>
216221

documentation/models/ApnsToken.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,12 @@
22

33
**Properties**
44

5-
| Name | Type | Required | Description |
6-
| :------------- | :---------------------- | :------- | :-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
7-
| createdAt | String || |
8-
| deviceToken | String || |
9-
| id | String || |
10-
| appId | String || (Optional) The bundle identifier of the application that is registering this token. Use this field to override the default identifier specified in the projects APNs integration. |
11-
| discardedAt | String || |
12-
| installationId | ApnsTokenInstallationId || (Optional) The APNs environment the token is registered for. If none is provided we assume the token is used in `production`. |
13-
| updatedAt | String || |
5+
| Name | Type | Required | Description |
6+
| :------------- | :---------------------- | :------- | :----------------------------------------------------------------------------------------------------------------------------------------------- |
7+
| createdAt | String || The timestamp when the token was created. |
8+
| deviceToken | String || The APNs device token to register with MagicBell. |
9+
| id | String || The unique identifier for the token. |
10+
| appId | String || The bundle identifier of the application registering this token. Use this to override the default identifier configured on the APNs integration. |
11+
| discardedAt | String || The timestamp when the token was discarded, if applicable. |
12+
| installationId | ApnsTokenInstallationId || The APNs environment this token belongs to. If omitted we assume it targets `production`. |
13+
| updatedAt | String || The timestamp when the token metadata last changed. |

documentation/models/ApnsTokenCollection.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
**Properties**
44

5-
| Name | Type | Required | Description |
6-
| :---- | :---------------- | :------- | :---------- |
7-
| data | List\<ApnsToken\> || |
8-
| links | Links || |
5+
| Name | Type | Required | Description |
6+
| :---- | :------------------------------ | :------- | :---------- |
7+
| data | List<[ApnsToken](ApnsToken.md)> || |
8+
| links | [Links](Links.md) || |

documentation/models/ApnsTokenInstallationId.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# ApnsTokenInstallationId
22

3-
(Optional) The APNs environment the token is registered for. If none is provided we assume the token is used in `production`.
3+
The APNs environment this token belongs to. If omitted we assume it targets `production`.
44

55
**Properties**
66

0 commit comments

Comments
 (0)