Skip to content
Merged
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-js-1765369961.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'magicbell-js': minor
---

Automatic minor version bump for changes in `magicbell-js`.
5 changes: 3 additions & 2 deletions packages/magicbell-js/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ import { Client } from 'magicbell-js/project-client';
});

const { data } = await client.broadcasts.listBroadcasts({
limit: 1,
limit: 9,
startingAfter: 'starting_after',
endingBefore: 'ending_before',
});
Expand Down Expand Up @@ -178,6 +178,7 @@ The SDK includes several models that represent the data structures used in API r
| [UserCollection](docs/project-client/models/UserCollection.md) | |
| [User](docs/project-client/models/User.md) | |
| [Links](docs/project-client/models/Links.md) | |
| [WorkflowList](docs/project-client/models/WorkflowList.md) | |
| [WorkflowDefinition](docs/project-client/models/WorkflowDefinition.md) | |
| [ExecuteWorkflowRequest](docs/project-client/models/ExecuteWorkflowRequest.md) | |
| [CreateRunResponse](docs/project-client/models/CreateRunResponse.md) | |
Expand Down Expand Up @@ -238,7 +239,7 @@ import { Client } from 'magicbell-js/user-client';
});

const { data } = await client.channels.listInboxTokens({
limit: 123,
limit: 10,
startingAfter: 'starting_after',
endingBefore: 'ending_before',
});
Expand Down
3 changes: 2 additions & 1 deletion packages/magicbell-js/docs/project-client/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ import { Client } from 'magicbell-js/project-client';
});

const { data } = await client.broadcasts.listBroadcasts({
limit: 1,
limit: 9,
startingAfter: 'starting_after',
endingBefore: 'ending_before',
});
Expand Down Expand Up @@ -180,6 +180,7 @@ The SDK includes several models that represent the data structures used in API r
| [UserCollection](models/UserCollection.md) | |
| [User](models/User.md) | |
| [Links](models/Links.md) | |
| [WorkflowList](models/WorkflowList.md) | |
| [WorkflowDefinition](models/WorkflowDefinition.md) | |
| [ExecuteWorkflowRequest](models/ExecuteWorkflowRequest.md) | |
| [CreateRunResponse](models/CreateRunResponse.md) | |
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,16 @@
| Name | Type | Required | Description |
| :------------- | :------------- | :------- | :----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| appId | string | ✅ | The default bundle identifier of the application that is configured with this project. It can be overriden on a per token basis, when registering device tokens. |
| badge | Badge | ✅ | |
| badge | Badge | ✅ | Controls whether the app icon badge counts unread or unseen notifications. |
| certificate | string | ✅ | The APNs certificate in P8 format. Generate it at [developer.apple.com](https://developer.apple.com/account/resources/authkeys/add) with the 'Apple Push Notification service (APNs)' option selected. |
| keyId | string | ✅ | |
| teamId | string | ✅ | |
| payloadVersion | PayloadVersion | ❌ | |
| keyId | string | ✅ | The 10-character Key ID from your Apple Developer account used with the P8 certificate. |
| teamId | string | ✅ | The Apple Developer Team ID that owns the configured key. |
| payloadVersion | PayloadVersion | ❌ | Internal payload format version used by MagicBell. |

# Badge

Controls whether the app icon badge counts unread or unseen notifications.

**Properties**

| Name | Type | Required | Description |
Expand All @@ -22,6 +24,8 @@

# PayloadVersion

Internal payload format version used by MagicBell.

**Properties**

| Name | Type | Required | Description |
Expand Down
20 changes: 10 additions & 10 deletions packages/magicbell-js/docs/project-client/models/ApnsToken.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,19 +2,19 @@

**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 | InstallationId | ❌ | (Optional) The APNs environment the token is registered for. If none is provided we assume the token is used in `production`. |
| updatedAt | string | ❌ | |
| Name | Type | Required | Description |
| :------------- | :------------- | :------- | :----------------------------------------------------------------------------------------------------------------------------------------------- |
| createdAt | string | ✅ | The timestamp when the token was created. |
| deviceToken | string | ✅ | The APNs device token to register with MagicBell. |
| id | string | ✅ | The unique identifier for the token. |
| appId | string | ❌ | The bundle identifier of the application registering this token. Use this to override the default identifier configured on the APNs integration. |
| discardedAt | string | ❌ | The timestamp when the token was discarded, if applicable. |
| installationId | InstallationId | ❌ | The APNs environment this token belongs to. If omitted we assume it targets `production`. |
| updatedAt | string | ❌ | The timestamp when the token metadata last changed. |

# InstallationId

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

**Properties**

Expand Down
Loading
Loading