Skip to content

Commit f6a8b76

Browse files
committed
chore: regen sdk
1 parent 22c4c1c commit f6a8b76

File tree

73 files changed

+867
-533
lines changed

Some content is hidden

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

73 files changed

+867
-533
lines changed
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

+22-16
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,8 @@ 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.models.ArrayOfMetadataApnsTokens;
119+
import com.magicbell.magicbelluserclient.exceptions.ApiException;
120+
import com.magicbell.magicbelluserclient.models.ArrayOfApnsTokenResponses;
120121
import com.magicbell.magicbelluserclient.models.GetMobilePushApnsTokensParameters;
121122

122123
public class Main {
@@ -133,9 +134,15 @@ public class Main {
133134
.pageBefore("page[before]")
134135
.build();
135136

136-
ArrayOfMetadataApnsTokens response = magicbellUserClient.channels.getMobilePushApnsTokens(requestParameters);
137+
try {
138+
ArrayOfApnsTokenResponses response = magicbellUserClient.channels.getMobilePushApnsTokens(requestParameters);
137139

138-
System.out.println(response);
140+
System.out.println(response);
141+
} catch (ApiException e) {
142+
e.printStackTrace();
143+
}
144+
145+
System.exit(0);
139146
}
140147
}
141148

@@ -164,25 +171,25 @@ 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) | |
174+
| [ArrayOfApnsTokenResponses](documentation/models/ArrayOfApnsTokenResponses.md) | |
168175
| [ApnsToken](documentation/models/ApnsToken.md) | |
169-
| [MetadataApnsToken](documentation/models/MetadataApnsToken.md) | |
176+
| [ApnsTokenResponse](documentation/models/ApnsTokenResponse.md) | |
170177
| [DiscardResult](documentation/models/DiscardResult.md) | |
171-
| [ArrayOfMetadataExpoTokens](documentation/models/ArrayOfMetadataExpoTokens.md) | |
178+
| [ArrayOfExpoTokenResponses](documentation/models/ArrayOfExpoTokenResponses.md) | |
172179
| [ExpoToken](documentation/models/ExpoToken.md) | |
173-
| [MetadataExpoToken](documentation/models/MetadataExpoToken.md) | |
174-
| [ArrayOfMetadataFcmTokens](documentation/models/ArrayOfMetadataFcmTokens.md) | |
180+
| [ExpoTokenResponse](documentation/models/ExpoTokenResponse.md) | |
181+
| [ArrayOfFcmTokenResponses](documentation/models/ArrayOfFcmTokenResponses.md) | |
175182
| [FcmToken](documentation/models/FcmToken.md) | |
176-
| [MetadataFcmToken](documentation/models/MetadataFcmToken.md) | |
177-
| [ArrayOfMetadataSlackTokens](documentation/models/ArrayOfMetadataSlackTokens.md) | |
183+
| [FcmTokenResponse](documentation/models/FcmTokenResponse.md) | |
184+
| [ArrayOfSlackTokenResponses](documentation/models/ArrayOfSlackTokenResponses.md) | |
178185
| [SlackToken](documentation/models/SlackToken.md) | |
179-
| [MetadataSlackToken](documentation/models/MetadataSlackToken.md) | |
180-
| [ArrayOfMetadataTeamsTokens](documentation/models/ArrayOfMetadataTeamsTokens.md) | |
186+
| [SlackTokenResponse](documentation/models/SlackTokenResponse.md) | |
187+
| [ArrayOfTeamsTokenResponses](documentation/models/ArrayOfTeamsTokenResponses.md) | |
181188
| [TeamsToken](documentation/models/TeamsToken.md) | |
182-
| [MetadataTeamsToken](documentation/models/MetadataTeamsToken.md) | |
183-
| [ArrayOfMetadataWebPushTokens](documentation/models/ArrayOfMetadataWebPushTokens.md) | |
189+
| [TeamsTokenResponse](documentation/models/TeamsTokenResponse.md) | |
190+
| [ArrayOfWebPushTokenResponses](documentation/models/ArrayOfWebPushTokenResponses.md) | |
184191
| [WebPushToken](documentation/models/WebPushToken.md) | |
185-
| [MetadataWebPushToken](documentation/models/MetadataWebPushToken.md) | |
192+
| [WebPushTokenResponse](documentation/models/WebPushTokenResponse.md) | |
186193
| [InboxConfig](documentation/models/InboxConfig.md) | |
187194
| [SlackInstallation](documentation/models/SlackInstallation.md) | |
188195
| [SlackFinishInstallResponse](documentation/models/SlackFinishInstallResponse.md) | |
@@ -191,7 +198,6 @@ The SDK includes several models that represent the data structures used in API r
191198
| [TemplatesInstallation](documentation/models/TemplatesInstallation.md) | |
192199
| [WebPushStartInstallationResponse](documentation/models/WebPushStartInstallationResponse.md) | |
193200
| [Links](documentation/models/Links.md) | |
194-
| [TokenMetadata](documentation/models/TokenMetadata.md) | |
195201
| [GetMobilePushApnsTokensParameters](documentation/models/GetMobilePushApnsTokensParameters.md) | |
196202
| [GetMobilePushExpoTokensParameters](documentation/models/GetMobilePushExpoTokensParameters.md) | |
197203
| [GetMobilePushFcmTokensParameters](documentation/models/GetMobilePushFcmTokensParameters.md) | |
+13
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
# ApnsTokenResponse
2+
3+
**Properties**
4+
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 | ApnsTokenResponseInstallationId || (Optional) The APNs environment the token is registered for. If none is provided we assume the token is used in `production`. |
13+
| updatedAt | String || |
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
# ApnsTokenResponseInstallationId
2+
3+
(Optional) The APNs environment the token is registered for. If none is provided we assume the token is used in `production`.
4+
5+
**Properties**
6+
7+
| Name | Type | Required | Description |
8+
| :---------- | :----- | :------- | :------------ |
9+
| DEVELOPMENT | String || "development" |
10+
| PRODUCTION | String || "production" |
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
# ArrayOfMetadataApnsTokens
1+
# ArrayOfApnsTokenResponses
22

33
**Properties**
44

55
| Name | Type | Required | Description |
66
| :---- | :------------------------ | :------- | :---------- |
7-
| data | List\<MetadataApnsToken\> || |
7+
| data | List\<ApnsTokenResponse\> || |
88
| links | Links || |
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
# ArrayOfMetadataExpoTokens
1+
# ArrayOfExpoTokenResponses
22

33
**Properties**
44

55
| Name | Type | Required | Description |
66
| :---- | :------------------------ | :------- | :---------- |
7-
| data | List\<MetadataExpoToken\> || |
7+
| data | List\<ExpoTokenResponse\> || |
88
| links | Links || |
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
# ArrayOfMetadataFcmTokens
1+
# ArrayOfFcmTokenResponses
22

33
**Properties**
44

55
| Name | Type | Required | Description |
66
| :---- | :----------------------- | :------- | :---------- |
7-
| data | List\<MetadataFcmToken\> || |
7+
| data | List\<FcmTokenResponse\> || |
88
| links | Links || |
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
# ArrayOfMetadataTeamsTokens
1+
# ArrayOfSlackTokenResponses
22

33
**Properties**
44

55
| Name | Type | Required | Description |
66
| :---- | :------------------------- | :------- | :---------- |
7-
| data | List\<MetadataTeamsToken\> || |
7+
| data | List\<SlackTokenResponse\> || |
88
| links | Links || |
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
# ArrayOfMetadataSlackTokens
1+
# ArrayOfTeamsTokenResponses
22

33
**Properties**
44

55
| Name | Type | Required | Description |
66
| :---- | :------------------------- | :------- | :---------- |
7-
| data | List\<MetadataSlackToken\> || |
7+
| data | List\<TeamsTokenResponse\> || |
88
| links | Links || |
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
# ArrayOfMetadataWebPushTokens
1+
# ArrayOfWebPushTokenResponses
22

33
**Properties**
44

55
| Name | Type | Required | Description |
66
| :---- | :--------------------------- | :------- | :---------- |
7-
| data | List\<MetadataWebPushToken\> || |
7+
| data | List\<WebPushTokenResponse\> || |
88
| links | Links || |
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
1-
# TokenMetadata
1+
# ExpoTokenResponse
22

33
**Properties**
44

55
| Name | Type | Required | Description |
66
| :---------- | :----- | :------- | :---------- |
77
| createdAt | String || |
8+
| deviceToken | String || |
89
| id | String || |
910
| discardedAt | String || |
1011
| updatedAt | String || |
+12
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
# FcmTokenResponse
2+
3+
**Properties**
4+
5+
| Name | Type | Required | Description |
6+
| :------------- | :----------------------------- | :------- | :---------- |
7+
| createdAt | String || |
8+
| deviceToken | String || |
9+
| id | String || |
10+
| discardedAt | String || |
11+
| installationId | FcmTokenResponseInstallationId || |
12+
| updatedAt | String || |
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
# FcmTokenResponseInstallationId
2+
3+
**Properties**
4+
5+
| Name | Type | Required | Description |
6+
| :---------- | :----- | :------- | :------------ |
7+
| DEVELOPMENT | String || "development" |
8+
| PRODUCTION | String || "production" |

documentation/models/MetadataApnsToken.md

-8
This file was deleted.

documentation/models/MetadataExpoToken.md

-8
This file was deleted.

documentation/models/MetadataFcmToken.md

-8
This file was deleted.

documentation/models/MetadataSlackToken.md

-8
This file was deleted.

documentation/models/MetadataTeamsToken.md

-8
This file was deleted.

documentation/models/MetadataWebPushToken.md

-8
This file was deleted.

documentation/models/SlackToken.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,5 @@
44

55
| Name | Type | Required | Description |
66
| :------ | :---------------- | :------- | :---------- |
7-
| oauth | Oauth || |
7+
| oauth | SlackTokenOauth || |
88
| webhook | SlackTokenWebhook || |

documentation/models/Oauth.md documentation/models/SlackTokenOauth.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Oauth
1+
# SlackTokenOauth
22

33
**Properties**
44

+12
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
# SlackTokenResponse
2+
3+
**Properties**
4+
5+
| Name | Type | Required | Description |
6+
| :---------- | :------------------------ | :------- | :---------- |
7+
| createdAt | String || |
8+
| id | String || |
9+
| discardedAt | String || |
10+
| oauth | SlackTokenResponseOauth || |
11+
| updatedAt | String || |
12+
| webhook | SlackTokenResponseWebhook || |
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
# SlackTokenResponseOauth
2+
3+
**Properties**
4+
5+
| Name | Type | Required | Description |
6+
| :------------- | :----- | :------- | :---------- |
7+
| channelId | String || |
8+
| installationId | String || |
9+
| scope | String || |
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
# SlackTokenResponseWebhook
2+
3+
**Properties**
4+
5+
| Name | Type | Required | Description |
6+
| :--- | :----- | :------- | :---------- |
7+
| url | String || |
+11
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
# TeamsTokenResponse
2+
3+
**Properties**
4+
5+
| Name | Type | Required | Description |
6+
| :---------- | :------------------------ | :------- | :---------- |
7+
| createdAt | String || |
8+
| id | String || |
9+
| discardedAt | String || |
10+
| updatedAt | String || |
11+
| webhook | TeamsTokenResponseWebhook || |
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
# TeamsTokenResponseWebhook
2+
3+
**Properties**
4+
5+
| Name | Type | Required | Description |
6+
| :--- | :----- | :------- | :---------- |
7+
| url | String || |

documentation/models/WebPushToken.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
**Properties**
44

5-
| Name | Type | Required | Description |
6-
| :------- | :----- | :------- | :---------- |
7-
| endpoint | String || |
8-
| keys | Keys || |
5+
| Name | Type | Required | Description |
6+
| :------- | :--------------- | :------- | :---------- |
7+
| endpoint | String || |
8+
| keys | WebPushTokenKeys || |

documentation/models/Keys.md documentation/models/WebPushTokenKeys.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Keys
1+
# WebPushTokenKeys
22

33
**Properties**
44

Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
# WebPushTokenResponse
2+
3+
**Properties**
4+
5+
| Name | Type | Required | Description |
6+
| :---------- | :----------------------- | :------- | :---------- |
7+
| createdAt | String || |
8+
| endpoint | String || |
9+
| id | String || |
10+
| keys | WebPushTokenResponseKeys || |
11+
| discardedAt | String || |
12+
| updatedAt | String || |
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
# WebPushTokenResponseKeys
2+
3+
**Properties**
4+
5+
| Name | Type | Required | Description |
6+
| :----- | :----- | :------- | :---------- |
7+
| auth | String || |
8+
| p256dh | String || |

0 commit comments

Comments
 (0)