Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: regen sdk #14

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .changeset/auto-bump-magicbell-java-user-client-1740373451.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"magicbell-java-user-client": minor
---

Automatic minor version bump for changes in `magicbell-java-user-client`.
46 changes: 27 additions & 19 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,8 @@ Below is a comprehensive example demonstrating how to authenticate and call a si
```java
import com.magicbell.magicbelluserclient.MagicbellUserClient;
import com.magicbell.magicbelluserclient.config.MagicbellUserClientConfig;
import com.magicbell.magicbelluserclient.models.ArrayOfMetadataApnsTokens;
import com.magicbell.magicbelluserclient.exceptions.ApiException;
import com.magicbell.magicbelluserclient.models.ArrayOfApnsTokenResponses;
import com.magicbell.magicbelluserclient.models.GetMobilePushApnsTokensParameters;

public class Main {
Expand All @@ -128,14 +129,20 @@ public class Main {

GetMobilePushApnsTokensParameters requestParameters = GetMobilePushApnsTokensParameters
.builder()
.pageSize(8L)
.pageAfter("page[after]")
.pageBefore("page[before]")
.limit(8L)
.startingAfter("starting_after")
.endingBefore("ending_before")
.build();

ArrayOfMetadataApnsTokens response = magicbellUserClient.channels.getMobilePushApnsTokens(requestParameters);
try {
ArrayOfApnsTokenResponses response = magicbellUserClient.channels.getMobilePushApnsTokens(requestParameters);

System.out.println(response);
System.out.println(response);
} catch (ApiException e) {
e.printStackTrace();
}

System.exit(0);
}
}

Expand Down Expand Up @@ -164,25 +171,25 @@ The SDK includes several models that represent the data structures used in API r

| Name | Description |
| :--------------------------------------------------------------------------------------------- | :---------- |
| [ArrayOfMetadataApnsTokens](documentation/models/ArrayOfMetadataApnsTokens.md) | |
| [ArrayOfApnsTokenResponses](documentation/models/ArrayOfApnsTokenResponses.md) | |
| [ApnsToken](documentation/models/ApnsToken.md) | |
| [MetadataApnsToken](documentation/models/MetadataApnsToken.md) | |
| [ApnsTokenResponse](documentation/models/ApnsTokenResponse.md) | |
| [DiscardResult](documentation/models/DiscardResult.md) | |
| [ArrayOfMetadataExpoTokens](documentation/models/ArrayOfMetadataExpoTokens.md) | |
| [ArrayOfExpoTokenResponses](documentation/models/ArrayOfExpoTokenResponses.md) | |
| [ExpoToken](documentation/models/ExpoToken.md) | |
| [MetadataExpoToken](documentation/models/MetadataExpoToken.md) | |
| [ArrayOfMetadataFcmTokens](documentation/models/ArrayOfMetadataFcmTokens.md) | |
| [ExpoTokenResponse](documentation/models/ExpoTokenResponse.md) | |
| [ArrayOfFcmTokenResponses](documentation/models/ArrayOfFcmTokenResponses.md) | |
| [FcmToken](documentation/models/FcmToken.md) | |
| [MetadataFcmToken](documentation/models/MetadataFcmToken.md) | |
| [ArrayOfMetadataSlackTokens](documentation/models/ArrayOfMetadataSlackTokens.md) | |
| [FcmTokenResponse](documentation/models/FcmTokenResponse.md) | |
| [ArrayOfSlackTokenResponses](documentation/models/ArrayOfSlackTokenResponses.md) | |
| [SlackToken](documentation/models/SlackToken.md) | |
| [MetadataSlackToken](documentation/models/MetadataSlackToken.md) | |
| [ArrayOfMetadataTeamsTokens](documentation/models/ArrayOfMetadataTeamsTokens.md) | |
| [SlackTokenResponse](documentation/models/SlackTokenResponse.md) | |
| [ArrayOfTeamsTokenResponses](documentation/models/ArrayOfTeamsTokenResponses.md) | |
| [TeamsToken](documentation/models/TeamsToken.md) | |
| [MetadataTeamsToken](documentation/models/MetadataTeamsToken.md) | |
| [ArrayOfMetadataWebPushTokens](documentation/models/ArrayOfMetadataWebPushTokens.md) | |
| [TeamsTokenResponse](documentation/models/TeamsTokenResponse.md) | |
| [ArrayOfWebPushTokenResponses](documentation/models/ArrayOfWebPushTokenResponses.md) | |
| [WebPushToken](documentation/models/WebPushToken.md) | |
| [MetadataWebPushToken](documentation/models/MetadataWebPushToken.md) | |
| [WebPushTokenResponse](documentation/models/WebPushTokenResponse.md) | |
| [InboxConfig](documentation/models/InboxConfig.md) | |
| [SlackInstallation](documentation/models/SlackInstallation.md) | |
| [SlackFinishInstallResponse](documentation/models/SlackFinishInstallResponse.md) | |
Expand All @@ -191,7 +198,6 @@ The SDK includes several models that represent the data structures used in API r
| [TemplatesInstallation](documentation/models/TemplatesInstallation.md) | |
| [WebPushStartInstallationResponse](documentation/models/WebPushStartInstallationResponse.md) | |
| [Links](documentation/models/Links.md) | |
| [TokenMetadata](documentation/models/TokenMetadata.md) | |
| [GetMobilePushApnsTokensParameters](documentation/models/GetMobilePushApnsTokensParameters.md) | |
| [GetMobilePushExpoTokensParameters](documentation/models/GetMobilePushExpoTokensParameters.md) | |
| [GetMobilePushFcmTokensParameters](documentation/models/GetMobilePushFcmTokensParameters.md) | |
Expand All @@ -206,3 +212,5 @@ The SDK includes several models that represent the data structures used in API r
This SDK is licensed under the MIT License.

See the [LICENSE](LICENSE) file for more details.

<!-- This file was generated by liblab | https://liblab.com/ -->
2 changes: 2 additions & 0 deletions documentation/models/ApnsToken.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,5 @@
| deviceToken | String | ✅ | |
| 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. |
| installationId | ApnsTokenInstallationId | ❌ | (Optional) The APNs environment the token is registered for. If none is provided we assume the token is used in `production`. |

<!-- This file was generated by liblab | https://liblab.com/ -->
2 changes: 2 additions & 0 deletions documentation/models/ApnsTokenInstallationId.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,5 @@
| :---------- | :----- | :------- | :------------ |
| DEVELOPMENT | String | ✅ | "development" |
| PRODUCTION | String | ✅ | "production" |

<!-- This file was generated by liblab | https://liblab.com/ -->
15 changes: 15 additions & 0 deletions documentation/models/ApnsTokenResponse.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# ApnsTokenResponse

**Properties**

| Name | Type | Required | Description |
| :------------- | :------------------------------ | :------- | :-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| createdAt | String | ✅ | |
| deviceToken | String | ✅ | |
| id | String | ✅ | |
| 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. |
| discardedAt | String | ❌ | |
| installationId | ApnsTokenResponseInstallationId | ❌ | (Optional) The APNs environment the token is registered for. If none is provided we assume the token is used in `production`. |
| updatedAt | String | ❌ | |

<!-- This file was generated by liblab | https://liblab.com/ -->
12 changes: 12 additions & 0 deletions documentation/models/ApnsTokenResponseInstallationId.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# ApnsTokenResponseInstallationId

(Optional) The APNs environment the token is registered for. If none is provided we assume the token is used in `production`.

**Properties**

| Name | Type | Required | Description |
| :---------- | :----- | :------- | :------------ |
| DEVELOPMENT | String | ✅ | "development" |
| PRODUCTION | String | ✅ | "production" |

<!-- This file was generated by liblab | https://liblab.com/ -->
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
# ArrayOfMetadataApnsTokens
# ArrayOfApnsTokenResponses

**Properties**

| Name | Type | Required | Description |
| :---- | :------------------------ | :------- | :---------- |
| data | List\<MetadataApnsToken\> | ❌ | |
| data | List\<ApnsTokenResponse\> | ❌ | |
| links | Links | ❌ | |

<!-- This file was generated by liblab | https://liblab.com/ -->
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
# ArrayOfMetadataExpoTokens
# ArrayOfExpoTokenResponses

**Properties**

| Name | Type | Required | Description |
| :---- | :------------------------ | :------- | :---------- |
| data | List\<MetadataExpoToken\> | ❌ | |
| data | List\<ExpoTokenResponse\> | ❌ | |
| links | Links | ❌ | |

<!-- This file was generated by liblab | https://liblab.com/ -->
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
# ArrayOfMetadataFcmTokens
# ArrayOfFcmTokenResponses

**Properties**

| Name | Type | Required | Description |
| :---- | :----------------------- | :------- | :---------- |
| data | List\<MetadataFcmToken\> | ❌ | |
| data | List\<FcmTokenResponse\> | ❌ | |
| links | Links | ❌ | |

<!-- This file was generated by liblab | https://liblab.com/ -->
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
# ArrayOfMetadataTeamsTokens
# ArrayOfSlackTokenResponses

**Properties**

| Name | Type | Required | Description |
| :---- | :------------------------- | :------- | :---------- |
| data | List\<MetadataTeamsToken\> | ❌ | |
| data | List\<SlackTokenResponse\> | ❌ | |
| links | Links | ❌ | |

<!-- This file was generated by liblab | https://liblab.com/ -->
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
# ArrayOfMetadataSlackTokens
# ArrayOfTeamsTokenResponses

**Properties**

| Name | Type | Required | Description |
| :---- | :------------------------- | :------- | :---------- |
| data | List\<MetadataSlackToken\> | ❌ | |
| data | List\<TeamsTokenResponse\> | ❌ | |
| links | Links | ❌ | |

<!-- This file was generated by liblab | https://liblab.com/ -->
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
# ArrayOfMetadataWebPushTokens
# ArrayOfWebPushTokenResponses

**Properties**

| Name | Type | Required | Description |
| :---- | :--------------------------- | :------- | :---------- |
| data | List\<MetadataWebPushToken\> | ❌ | |
| data | List\<WebPushTokenResponse\> | ❌ | |
| links | Links | ❌ | |

<!-- This file was generated by liblab | https://liblab.com/ -->
2 changes: 2 additions & 0 deletions documentation/models/AuthedUser.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,5 @@
| refreshToken | String | ❌ | |
| scope | String | ❌ | |
| tokenType | String | ❌ | |

<!-- This file was generated by liblab | https://liblab.com/ -->
2 changes: 2 additions & 0 deletions documentation/models/Banner.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,5 @@
| fontSize | String | ✅ | |
| textColor | String | ✅ | |
| backgroundOpacity | Double | ❌ | |

<!-- This file was generated by liblab | https://liblab.com/ -->
2 changes: 2 additions & 0 deletions documentation/models/DefaultHover.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,5 @@
| Name | Type | Required | Description |
| :-------------- | :----- | :------- | :---------- |
| backgroundColor | String | ✅ | |

<!-- This file was generated by liblab | https://liblab.com/ -->
2 changes: 2 additions & 0 deletions documentation/models/DefaultState.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,5 @@
| Name | Type | Required | Description |
| :---- | :----- | :------- | :---------- |
| color | String | ✅ | |

<!-- This file was generated by liblab | https://liblab.com/ -->
2 changes: 2 additions & 0 deletions documentation/models/Default_.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,5 @@
| textColor | String | ✅ | |
| hover | DefaultHover | ❌ | |
| state | DefaultState | ❌ | |

<!-- This file was generated by liblab | https://liblab.com/ -->
2 changes: 2 additions & 0 deletions documentation/models/Dialog.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,5 @@
| accentColor | String | ✅ | |
| backgroundColor | String | ✅ | |
| textColor | String | ✅ | |

<!-- This file was generated by liblab | https://liblab.com/ -->
2 changes: 2 additions & 0 deletions documentation/models/DiscardResult.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,5 @@
| :---------- | :----- | :------- | :---------- |
| discardedAt | String | ❌ | |
| id | String | ❌ | |

<!-- This file was generated by liblab | https://liblab.com/ -->
2 changes: 2 additions & 0 deletions documentation/models/Enterprise.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,5 @@
| :--- | :----- | :------- | :---------- |
| id | String | ✅ | |
| name | String | ✅ | |

<!-- This file was generated by liblab | https://liblab.com/ -->
2 changes: 2 additions & 0 deletions documentation/models/ExpoToken.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,5 @@
| Name | Type | Required | Description |
| :---------- | :----- | :------- | :---------- |
| deviceToken | String | ✅ | |

<!-- This file was generated by liblab | https://liblab.com/ -->
Original file line number Diff line number Diff line change
@@ -1,10 +1,13 @@
# TokenMetadata
# ExpoTokenResponse

**Properties**

| Name | Type | Required | Description |
| :---------- | :----- | :------- | :---------- |
| createdAt | String | ✅ | |
| deviceToken | String | ✅ | |
| id | String | ✅ | |
| discardedAt | String | ❌ | |
| updatedAt | String | ❌ | |

<!-- This file was generated by liblab | https://liblab.com/ -->
2 changes: 2 additions & 0 deletions documentation/models/FcmToken.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,5 @@
| :------------- | :--------------------- | :------- | :---------- |
| deviceToken | String | ✅ | |
| installationId | FcmTokenInstallationId | ❌ | |

<!-- This file was generated by liblab | https://liblab.com/ -->
2 changes: 2 additions & 0 deletions documentation/models/FcmTokenInstallationId.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,5 @@
| :---------- | :----- | :------- | :------------ |
| DEVELOPMENT | String | ✅ | "development" |
| PRODUCTION | String | ✅ | "production" |

<!-- This file was generated by liblab | https://liblab.com/ -->
14 changes: 14 additions & 0 deletions documentation/models/FcmTokenResponse.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
# FcmTokenResponse

**Properties**

| Name | Type | Required | Description |
| :------------- | :----------------------------- | :------- | :---------- |
| createdAt | String | ✅ | |
| deviceToken | String | ✅ | |
| id | String | ✅ | |
| discardedAt | String | ❌ | |
| installationId | FcmTokenResponseInstallationId | ❌ | |
| updatedAt | String | ❌ | |

<!-- This file was generated by liblab | https://liblab.com/ -->
10 changes: 10 additions & 0 deletions documentation/models/FcmTokenResponseInstallationId.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
# FcmTokenResponseInstallationId

**Properties**

| Name | Type | Required | Description |
| :---------- | :----- | :------- | :------------ |
| DEVELOPMENT | String | ✅ | "development" |
| PRODUCTION | String | ✅ | "production" |

<!-- This file was generated by liblab | https://liblab.com/ -->
2 changes: 2 additions & 0 deletions documentation/models/Footer.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,5 @@
| borderRadius | String | ✅ | |
| fontSize | String | ✅ | |
| textColor | String | ✅ | |

<!-- This file was generated by liblab | https://liblab.com/ -->
12 changes: 7 additions & 5 deletions documentation/models/GetMobilePushApnsTokensParameters.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,10 @@

**Properties**

| Name | Type | Required | Description |
| :--------- | :----- | :------- | :---------- |
| pageSize | Long | ❌ | |
| pageAfter | String | ❌ | |
| pageBefore | String | ❌ | |
| Name | Type | Required | Description |
| :------------ | :----- | :------- | :---------- |
| limit | Long | ❌ | |
| startingAfter | String | ❌ | |
| endingBefore | String | ❌ | |

<!-- This file was generated by liblab | https://liblab.com/ -->
12 changes: 7 additions & 5 deletions documentation/models/GetMobilePushExpoTokensParameters.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,10 @@

**Properties**

| Name | Type | Required | Description |
| :--------- | :----- | :------- | :---------- |
| pageSize | Long | ❌ | |
| pageAfter | String | ❌ | |
| pageBefore | String | ❌ | |
| Name | Type | Required | Description |
| :------------ | :----- | :------- | :---------- |
| limit | Long | ❌ | |
| startingAfter | String | ❌ | |
| endingBefore | String | ❌ | |

<!-- This file was generated by liblab | https://liblab.com/ -->
12 changes: 7 additions & 5 deletions documentation/models/GetMobilePushFcmTokensParameters.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,10 @@

**Properties**

| Name | Type | Required | Description |
| :--------- | :----- | :------- | :---------- |
| pageSize | Long | ❌ | |
| pageAfter | String | ❌ | |
| pageBefore | String | ❌ | |
| Name | Type | Required | Description |
| :------------ | :----- | :------- | :---------- |
| limit | Long | ❌ | |
| startingAfter | String | ❌ | |
| endingBefore | String | ❌ | |

<!-- This file was generated by liblab | https://liblab.com/ -->
Loading