Skip to content

Commit 982937b

Browse files
authored
chore: regen sdks (#580)
1 parent 8692200 commit 982937b

28 files changed

+119
-187
lines changed
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'magicbell-js': minor
3+
---
4+
5+
Automatic minor version bump for changes in `magicbell-js`.

packages/magicbell-js/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ import { Client } from 'magicbell-js/project-client';
6464
});
6565

6666
const { data } = await client.broadcasts.listBroadcasts({
67-
limit: 10,
67+
limit: 1,
6868
startingAfter: 'starting_after',
6969
endingBefore: 'ending_before',
7070
});
@@ -238,7 +238,7 @@ import { Client } from 'magicbell-js/user-client';
238238
});
239239

240240
const { data } = await client.channels.listInboxTokens({
241-
limit: 4,
241+
limit: 123,
242242
startingAfter: 'starting_after',
243243
endingBefore: 'ending_before',
244244
});

packages/magicbell-js/docs/project-client/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ import { Client } from 'magicbell-js/project-client';
6666
});
6767

6868
const { data } = await client.broadcasts.listBroadcasts({
69-
limit: 10,
69+
limit: 1,
7070
startingAfter: 'starting_after',
7171
endingBefore: 'ending_before',
7272
});

packages/magicbell-js/docs/project-client/models/ApnsToken.md

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -2,17 +2,17 @@
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 || |
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 | InstallationId || (Optional) The APNs environment the token is registered for. If none is provided we assume the token is used in `production`. |
13+
| updatedAt | string || |
1414

15-
# ApnsTokenInstallationId
15+
# InstallationId
1616

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

packages/magicbell-js/docs/project-client/models/FcmToken.md

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

33
**Properties**
44

5-
| Name | Type | Required | Description |
6-
| :------------- | :--------------------- | :------- | :---------- |
7-
| createdAt | string || |
8-
| deviceToken | string || |
9-
| id | string || |
10-
| discardedAt | string || |
11-
| installationId | FcmTokenInstallationId || |
12-
| updatedAt | string || |
13-
14-
# FcmTokenInstallationId
15-
16-
**Properties**
17-
18-
| Name | Type | Required | Description |
19-
| :---------- | :----- | :------- | :------------ |
20-
| DEVELOPMENT | string || "development" |
21-
| PRODUCTION | string || "production" |
5+
| Name | Type | Required | Description |
6+
| :---------- | :----- | :------- | :---------- |
7+
| createdAt | string || |
8+
| deviceToken | string || |
9+
| id | string || |
10+
| discardedAt | string || |
11+
| updatedAt | string || |

packages/magicbell-js/docs/project-client/services/BroadcastsService.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ import { Client } from 'magicbell-js/project-client';
3838
});
3939

4040
const { data } = await client.broadcasts.listBroadcasts({
41-
limit: 10,
41+
limit: 1,
4242
startingAfter: 'starting_after',
4343
endingBefore: 'ending_before',
4444
});
@@ -158,7 +158,7 @@ import {
158158
const statusStatus = StatusStatus.ENQUEUED;
159159

160160
const summary: Summary = {
161-
failures: 7,
161+
failures: 4,
162162
total: 5,
163163
};
164164

packages/magicbell-js/docs/project-client/services/ChannelsService.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ import { CategoryDeliveryConfig, CategoryDeliveryConfigChannels, Channel, Client
6262

6363
const categoryDeliveryConfigChannels: CategoryDeliveryConfigChannels = {
6464
channel: channel,
65-
delay: 9,
65+
delay: 1,
6666
if: 'if',
6767
};
6868

@@ -250,7 +250,7 @@ import { Client } from 'magicbell-js/project-client';
250250
});
251251

252252
const { data } = await client.channels.listUserApnsTokens('user_id', {
253-
limit: 9,
253+
limit: 3,
254254
startingAfter: 'starting_after',
255255
endingBefore: 'ending_before',
256256
});
@@ -358,7 +358,7 @@ import { Client } from 'magicbell-js/project-client';
358358
});
359359

360360
const { data } = await client.channels.listUserExpoTokens('user_id', {
361-
limit: 4,
361+
limit: 123,
362362
startingAfter: 'starting_after',
363363
endingBefore: 'ending_before',
364364
});
@@ -466,7 +466,7 @@ import { Client } from 'magicbell-js/project-client';
466466
});
467467

468468
const { data } = await client.channels.listUserFcmTokens('user_id', {
469-
limit: 1,
469+
limit: 2,
470470
startingAfter: 'starting_after',
471471
endingBefore: 'ending_before',
472472
});
@@ -682,7 +682,7 @@ import { Client } from 'magicbell-js/project-client';
682682
});
683683

684684
const { data } = await client.channels.listUserSlackTokens('user_id', {
685-
limit: 2,
685+
limit: 8,
686686
startingAfter: 'starting_after',
687687
endingBefore: 'ending_before',
688688
});
@@ -790,7 +790,7 @@ import { Client } from 'magicbell-js/project-client';
790790
});
791791

792792
const { data } = await client.channels.listUserTeamsTokens('user_id', {
793-
limit: 10,
793+
limit: 1,
794794
startingAfter: 'starting_after',
795795
endingBefore: 'ending_before',
796796
});
@@ -898,7 +898,7 @@ import { Client } from 'magicbell-js/project-client';
898898
});
899899

900900
const { data } = await client.channels.listUserWebPushTokens('user_id', {
901-
limit: 9,
901+
limit: 123,
902902
startingAfter: 'starting_after',
903903
endingBefore: 'ending_before',
904904
});

packages/magicbell-js/docs/project-client/services/EventsService.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ import { Client } from 'magicbell-js/project-client';
3737
});
3838

3939
const { data } = await client.events.listEvents({
40-
limit: 9,
40+
limit: 1,
4141
startingAfter: 'starting_after',
4242
endingBefore: 'ending_before',
4343
});

packages/magicbell-js/docs/project-client/services/IntegrationsService.md

Lines changed: 15 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ import { Client } from 'magicbell-js/project-client';
8484
});
8585

8686
const { data } = await client.integrations.listIntegrations({
87-
limit: 8,
87+
limit: 2,
8888
startingAfter: 'starting_after',
8989
endingBefore: 'ending_before',
9090
});
@@ -154,13 +154,13 @@ import { ApnsConfigPayload, Badge, Client, PayloadVersion } from 'magicbell-js/p
154154
const apnsConfigPayload: ApnsConfigPayload = {
155155
appId: "app_id",
156156
badge: badge,
157-
certificate: "----BEGIN PRIVATE KEY-------
158-
LJfxDl7=
159-
-END PRIVATE KEYYY-----------
157+
certificate: " BEGIN PRIVATE KEY--
158+
2tSdsGz=
159+
--------- END PRIVATE KEYYYYYYYYYYY--------
160160
",
161-
keyId: "nulla anim",
161+
keyId: "proident s",
162162
payloadVersion: payloadVersion,
163-
teamId: "inirurecon"
163+
teamId: "laborum ut"
164164
};
165165

166166
const { data } = await client.integrations.saveApnsIntegration(apnsConfigPayload);
@@ -452,10 +452,9 @@ import { Client, FcmConfigPayload, Type_ } from 'magicbell-js/project-client';
452452
clientEmail: "client_email",
453453
clientId: "client_id",
454454
clientX509CertUrl: "client_x509_cert_url",
455-
privateKey: "BEGINXANBXVGZX-------
456-
ky4I+=
457-
----ENDUJ-------
458-
",
455+
privateKey: "----BEGINZZASTRAXC-
456+
NBdNmSp
457+
------- ENDTLCHMVK----------",
459458
privateKeyId: "private_key_id",
460459
projectId: "project_id",
461460
tokenUri: "token_uri",
@@ -676,7 +675,7 @@ import {
676675

677676
const banner: Banner = {
678677
backgroundColor: 'backgroundColor',
679-
backgroundOpacity: 0.59,
678+
backgroundOpacity: 4.93,
680679
fontSize: 'fontSize',
681680
textColor: 'textColor',
682681
};
@@ -1384,10 +1383,10 @@ import { Client, SlackConfigPayload } from 'magicbell-js/project-client';
13841383
});
13851384

13861385
const slackConfigPayload: SlackConfigPayload = {
1387-
appId: '0N',
1388-
clientId: '5304524.8556302494',
1389-
clientSecret: 'amet culpa Excepteurculpa quis a',
1390-
signingSecret: 'ut irurereprehenderit voluptatea',
1386+
appId: 'O7RI',
1387+
clientId: '104.7350704',
1388+
clientSecret: 'officia fugiat nostrud Excepteur',
1389+
signingSecret: 'non sit exanim ad enim eaexlabor',
13911390
};
13921391

13931392
const { data } = await client.integrations.saveSlackIntegration(slackConfigPayload);
@@ -1694,7 +1693,7 @@ import { Client, TwilioConfigPayload } from 'magicbell-js/project-client';
16941693
accountSid: 'account_sid',
16951694
apiKey: 'api_key',
16961695
apiSecret: 'api_secret',
1697-
from: '+8217286788160',
1696+
from: '+28378825295343',
16981697
};
16991698

17001699
const { data } = await client.integrations.saveTwilioIntegration(twilioConfigPayload);

packages/magicbell-js/docs/project-client/services/UsersService.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ import { Client } from 'magicbell-js/project-client';
3939
});
4040

4141
const { data } = await client.users.listUsers({
42-
limit: 8,
42+
limit: 1,
4343
startingAfter: 'starting_after',
4444
endingBefore: 'ending_before',
4545
query: 'query',

0 commit comments

Comments
 (0)