@@ -11,7 +11,7 @@ Welcome to the MagicbellUserClient SDK documentation. This guide will help you g
1111
1212## About the API
1313
14- OpenAPI 3.0.3 Specification for MagicBell API.
14+ OpenAPI 3.1.0 Specification for MagicBell API.
1515
1616## Table of Contents
1717
@@ -116,8 +116,9 @@ Below is a comprehensive example demonstrating how to authenticate and call a si
116116``` java
117117import com.magicbell.magicbelluserclient.MagicbellUserClient ;
118118import com.magicbell.magicbelluserclient.config.MagicbellUserClientConfig ;
119- import com.magicbell.magicbelluserclient.models.ArrayOfMetadataApnsTokens ;
120- import com.magicbell.magicbelluserclient.models.GetMobilePushApnsTokensParameters ;
119+ import com.magicbell.magicbelluserclient.exceptions.ApiException ;
120+ import com.magicbell.magicbelluserclient.models.GetInAppInboxTokensParameters ;
121+ import com.magicbell.magicbelluserclient.models.InboxTokenResponseCollection ;
121122
122123public class Main {
123124
@@ -126,16 +127,21 @@ public class Main {
126127
127128 MagicbellUserClient magicbellUserClient = new MagicbellUserClient (config);
128129
129- GetMobilePushApnsTokensParameters requestParameters = GetMobilePushApnsTokensParameters
130- .builder()
131- .pageSize(8L )
132- .pageAfter(" page[after]" )
133- .pageBefore(" page[before]" )
130+ GetInAppInboxTokensParameters requestParameters = GetInAppInboxTokensParameters . builder()
131+ .limit(10L )
132+ .startingAfter(" starting_after" )
133+ .endingBefore(" ending_before" )
134134 .build();
135135
136- ArrayOfMetadataApnsTokens response = magicbellUserClient. channels. getMobilePushApnsTokens(requestParameters);
136+ try {
137+ InboxTokenResponseCollection response = magicbellUserClient. channels. getInAppInboxTokens(requestParameters);
137138
138- System . out. println(response);
139+ System . out. println(response);
140+ } catch (ApiException e) {
141+ e. printStackTrace();
142+ }
143+
144+ System . exit(0 );
139145 }
140146}
141147
@@ -148,10 +154,11 @@ The SDK provides various services to interact with the API.
148154<details >
149155<summary >Below is a list of all available services with links to their detailed documentation:</summary >
150156
151- | Name |
152- | :---------------------------------------------------------------------------------------------------------------------------------------- |
153- | ChannelsService: [[ Java] ( documentation/services/ChannelsService.md )] [[ Kotlin] ( documentation/services/ChannelsService.kt.md )] |
154- | IntegrationsService: [[ Java] ( documentation/services/IntegrationsService.md )] [[ Kotlin] ( documentation/services/IntegrationsService.kt.md )] |
157+ | Name |
158+ | :------------------------------------------------------------------------------------------------------------------------------------------- |
159+ | ChannelsService: [[ Java] ( documentation/services/ChannelsService.md )] [[ Kotlin] ( documentation/services/ChannelsService.kt.md )] |
160+ | IntegrationsService: [[ Java] ( documentation/services/IntegrationsService.md )] [[ Kotlin] ( documentation/services/IntegrationsService.kt.md )] |
161+ | NotificationsService: [[ Java] ( documentation/services/NotificationsService.md )] [[ Kotlin] ( documentation/services/NotificationsService.kt.md )] |
155162
156163</details >
157164
@@ -164,40 +171,46 @@ The SDK includes several models that represent the data structures used in API r
164171
165172| Name | Description |
166173| :--------------------------------------------------------------------------------------------- | :---------- |
167- | [ ArrayOfMetadataApnsTokens ] ( documentation/models/ArrayOfMetadataApnsTokens .md ) | |
168- | [ ApnsToken ] ( documentation/models/ApnsToken .md ) | |
169- | [ MetadataApnsToken ] ( documentation/models/MetadataApnsToken .md ) | |
174+ | [ InboxTokenResponseCollection ] ( documentation/models/InboxTokenResponseCollection .md ) | |
175+ | [ InboxToken ] ( documentation/models/InboxToken .md ) | |
176+ | [ InboxTokenResponse ] ( documentation/models/InboxTokenResponse .md ) | |
170177| [ DiscardResult] ( documentation/models/DiscardResult.md ) | |
171- | [ ArrayOfMetadataExpoTokens] ( documentation/models/ArrayOfMetadataExpoTokens.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 ) | |
172183| [ ExpoToken] ( documentation/models/ExpoToken.md ) | |
173- | [ MetadataExpoToken ] ( documentation/models/MetadataExpoToken .md ) | |
174- | [ ArrayOfMetadataFcmTokens ] ( documentation/models/ArrayOfMetadataFcmTokens .md ) | |
184+ | [ FcmTokenCollection ] ( documentation/models/FcmTokenCollection .md ) | |
185+ | [ FcmTokenPayload ] ( documentation/models/FcmTokenPayload .md ) | |
175186| [ FcmToken] ( documentation/models/FcmToken.md ) | |
176- | [ MetadataFcmToken ] ( documentation/models/MetadataFcmToken .md ) | |
177- | [ ArrayOfMetadataSlackTokens ] ( documentation/models/ArrayOfMetadataSlackTokens .md ) | |
187+ | [ SlackTokenCollection ] ( documentation/models/SlackTokenCollection .md ) | |
188+ | [ SlackTokenPayload ] ( documentation/models/SlackTokenPayload .md ) | |
178189| [ SlackToken] ( documentation/models/SlackToken.md ) | |
179- | [ MetadataSlackToken ] ( documentation/models/MetadataSlackToken .md ) | |
180- | [ ArrayOfMetadataTeamsTokens ] ( documentation/models/ArrayOfMetadataTeamsTokens .md ) | |
190+ | [ TeamsTokenCollection ] ( documentation/models/TeamsTokenCollection .md ) | |
191+ | [ TeamsTokenPayload ] ( documentation/models/TeamsTokenPayload .md ) | |
181192| [ TeamsToken] ( documentation/models/TeamsToken.md ) | |
182- | [ MetadataTeamsToken ] ( documentation/models/MetadataTeamsToken .md ) | |
183- | [ ArrayOfMetadataWebPushTokens ] ( documentation/models/ArrayOfMetadataWebPushTokens .md ) | |
193+ | [ WebPushTokenCollection ] ( documentation/models/WebPushTokenCollection .md ) | |
194+ | [ WebPushTokenPayload ] ( documentation/models/WebPushTokenPayload .md ) | |
184195| [ WebPushToken] ( documentation/models/WebPushToken.md ) | |
185- | [ MetadataWebPushToken] ( documentation/models/MetadataWebPushToken.md ) | |
186- | [ InboxConfig] ( documentation/models/InboxConfig.md ) | |
196+ | [ InboxConfigPayload] ( documentation/models/InboxConfigPayload.md ) | |
187197| [ SlackInstallation] ( documentation/models/SlackInstallation.md ) | |
188198| [ SlackFinishInstallResponse] ( documentation/models/SlackFinishInstallResponse.md ) | |
189199| [ SlackStartInstall] ( documentation/models/SlackStartInstall.md ) | |
190200| [ SlackStartInstallResponseContent] ( documentation/models/SlackStartInstallResponseContent.md ) | |
191201| [ TemplatesInstallation] ( documentation/models/TemplatesInstallation.md ) | |
192202| [ WebPushStartInstallationResponse] ( documentation/models/WebPushStartInstallationResponse.md ) | |
203+ | [ NotificationCollection] ( documentation/models/NotificationCollection.md ) | |
193204| [ Links] ( documentation/models/Links.md ) | |
194- | [ TokenMetadata] ( documentation/models/TokenMetadata.md ) | |
205+ | [ Notification] ( documentation/models/Notification.md ) | |
206+ | [ GetInAppInboxTokensParameters] ( documentation/models/GetInAppInboxTokensParameters.md ) | |
195207| [ GetMobilePushApnsTokensParameters] ( documentation/models/GetMobilePushApnsTokensParameters.md ) | |
196208| [ GetMobilePushExpoTokensParameters] ( documentation/models/GetMobilePushExpoTokensParameters.md ) | |
197209| [ GetMobilePushFcmTokensParameters] ( documentation/models/GetMobilePushFcmTokensParameters.md ) | |
198210| [ GetSlackTokensParameters] ( documentation/models/GetSlackTokensParameters.md ) | |
199211| [ GetTeamsTokensParameters] ( documentation/models/GetTeamsTokensParameters.md ) | |
200212| [ GetWebPushTokensParameters] ( documentation/models/GetWebPushTokensParameters.md ) | |
213+ | [ ListNotificationsParameters] ( documentation/models/ListNotificationsParameters.md ) | |
201214
202215</details >
203216
0 commit comments