bundlesocial 2.1.0 → 2.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.mts +78 -14
- package/dist/index.d.ts +78 -14
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -350,9 +350,13 @@ type SocialAccountConnectData = {
|
|
|
350
350
|
* Body
|
|
351
351
|
*/
|
|
352
352
|
requestBody?: {
|
|
353
|
-
type: 'TIKTOK' | 'YOUTUBE' | 'INSTAGRAM' | 'FACEBOOK' | 'TWITTER' | 'THREADS' | 'LINKEDIN' | 'PINTEREST' | 'REDDIT' | 'DISCORD' | 'SLACK';
|
|
353
|
+
type: 'TIKTOK' | 'YOUTUBE' | 'INSTAGRAM' | 'FACEBOOK' | 'TWITTER' | 'THREADS' | 'LINKEDIN' | 'PINTEREST' | 'REDDIT' | 'DISCORD' | 'SLACK' | 'MASTODON';
|
|
354
354
|
teamId: string;
|
|
355
355
|
redirectUrl: string;
|
|
356
|
+
/**
|
|
357
|
+
* Mastodon only
|
|
358
|
+
*/
|
|
359
|
+
serverUrl?: string;
|
|
356
360
|
};
|
|
357
361
|
};
|
|
358
362
|
type SocialAccountConnectResponse = {
|
|
@@ -366,7 +370,7 @@ type SocialAccountDisconnectData = {
|
|
|
366
370
|
* Body
|
|
367
371
|
*/
|
|
368
372
|
requestBody?: {
|
|
369
|
-
type: 'TIKTOK' | 'YOUTUBE' | 'INSTAGRAM' | 'FACEBOOK' | 'TWITTER' | 'THREADS' | 'LINKEDIN' | 'PINTEREST' | 'REDDIT' | 'DISCORD' | 'SLACK';
|
|
373
|
+
type: 'TIKTOK' | 'YOUTUBE' | 'INSTAGRAM' | 'FACEBOOK' | 'TWITTER' | 'THREADS' | 'LINKEDIN' | 'PINTEREST' | 'REDDIT' | 'DISCORD' | 'SLACK' | 'MASTODON';
|
|
370
374
|
teamId: string;
|
|
371
375
|
};
|
|
372
376
|
};
|
|
@@ -740,7 +744,12 @@ type PostGetResponse = {
|
|
|
740
744
|
*/
|
|
741
745
|
avatarUrl?: string | null;
|
|
742
746
|
} | null;
|
|
743
|
-
MASTODON?:
|
|
747
|
+
MASTODON?: {
|
|
748
|
+
text?: string | null;
|
|
749
|
+
uploadIds?: Array<(string)> | null;
|
|
750
|
+
privacy?: 'PUBLIC' | 'UNLISTED' | 'PRIVATE' | 'DIRECT' | null;
|
|
751
|
+
spoiler?: string | null;
|
|
752
|
+
} | null;
|
|
744
753
|
};
|
|
745
754
|
error?: string | null;
|
|
746
755
|
errors?: {
|
|
@@ -1018,7 +1027,12 @@ type PostUpdateData = {
|
|
|
1018
1027
|
*/
|
|
1019
1028
|
avatarUrl?: string | null;
|
|
1020
1029
|
} | null;
|
|
1021
|
-
MASTODON?:
|
|
1030
|
+
MASTODON?: {
|
|
1031
|
+
text?: string | null;
|
|
1032
|
+
uploadIds?: Array<(string)> | null;
|
|
1033
|
+
privacy?: 'PUBLIC' | 'UNLISTED' | 'PRIVATE' | 'DIRECT' | null;
|
|
1034
|
+
spoiler?: string | null;
|
|
1035
|
+
} | null;
|
|
1022
1036
|
};
|
|
1023
1037
|
};
|
|
1024
1038
|
};
|
|
@@ -1162,7 +1176,12 @@ type PostUpdateResponse = {
|
|
|
1162
1176
|
*/
|
|
1163
1177
|
avatarUrl?: string | null;
|
|
1164
1178
|
} | null;
|
|
1165
|
-
MASTODON?:
|
|
1179
|
+
MASTODON?: {
|
|
1180
|
+
text?: string | null;
|
|
1181
|
+
uploadIds?: Array<(string)> | null;
|
|
1182
|
+
privacy?: 'PUBLIC' | 'UNLISTED' | 'PRIVATE' | 'DIRECT' | null;
|
|
1183
|
+
spoiler?: string | null;
|
|
1184
|
+
} | null;
|
|
1166
1185
|
};
|
|
1167
1186
|
error?: string | null;
|
|
1168
1187
|
errors?: {
|
|
@@ -1381,7 +1400,12 @@ type PostDeleteResponse = {
|
|
|
1381
1400
|
*/
|
|
1382
1401
|
avatarUrl?: string | null;
|
|
1383
1402
|
} | null;
|
|
1384
|
-
MASTODON?:
|
|
1403
|
+
MASTODON?: {
|
|
1404
|
+
text?: string | null;
|
|
1405
|
+
uploadIds?: Array<(string)> | null;
|
|
1406
|
+
privacy?: 'PUBLIC' | 'UNLISTED' | 'PRIVATE' | 'DIRECT' | null;
|
|
1407
|
+
spoiler?: string | null;
|
|
1408
|
+
} | null;
|
|
1385
1409
|
};
|
|
1386
1410
|
error?: string | null;
|
|
1387
1411
|
errors?: {
|
|
@@ -1608,7 +1632,12 @@ type PostGetListResponse = {
|
|
|
1608
1632
|
*/
|
|
1609
1633
|
avatarUrl?: string | null;
|
|
1610
1634
|
} | null;
|
|
1611
|
-
MASTODON?:
|
|
1635
|
+
MASTODON?: {
|
|
1636
|
+
text?: string | null;
|
|
1637
|
+
uploadIds?: Array<(string)> | null;
|
|
1638
|
+
privacy?: 'PUBLIC' | 'UNLISTED' | 'PRIVATE' | 'DIRECT' | null;
|
|
1639
|
+
spoiler?: string | null;
|
|
1640
|
+
} | null;
|
|
1612
1641
|
};
|
|
1613
1642
|
error?: string | null;
|
|
1614
1643
|
errors?: {
|
|
@@ -1888,7 +1917,12 @@ type PostCreateData = {
|
|
|
1888
1917
|
*/
|
|
1889
1918
|
avatarUrl?: string | null;
|
|
1890
1919
|
} | null;
|
|
1891
|
-
MASTODON?:
|
|
1920
|
+
MASTODON?: {
|
|
1921
|
+
text?: string | null;
|
|
1922
|
+
uploadIds?: Array<(string)> | null;
|
|
1923
|
+
privacy?: 'PUBLIC' | 'UNLISTED' | 'PRIVATE' | 'DIRECT' | null;
|
|
1924
|
+
spoiler?: string | null;
|
|
1925
|
+
} | null;
|
|
1892
1926
|
};
|
|
1893
1927
|
};
|
|
1894
1928
|
};
|
|
@@ -2032,7 +2066,12 @@ type PostCreateResponse = {
|
|
|
2032
2066
|
*/
|
|
2033
2067
|
avatarUrl?: string | null;
|
|
2034
2068
|
} | null;
|
|
2035
|
-
MASTODON?:
|
|
2069
|
+
MASTODON?: {
|
|
2070
|
+
text?: string | null;
|
|
2071
|
+
uploadIds?: Array<(string)> | null;
|
|
2072
|
+
privacy?: 'PUBLIC' | 'UNLISTED' | 'PRIVATE' | 'DIRECT' | null;
|
|
2073
|
+
spoiler?: string | null;
|
|
2074
|
+
} | null;
|
|
2036
2075
|
};
|
|
2037
2076
|
error?: string | null;
|
|
2038
2077
|
errors?: {
|
|
@@ -3430,7 +3469,12 @@ type $OpenApiTs = {
|
|
|
3430
3469
|
*/
|
|
3431
3470
|
avatarUrl?: string | null;
|
|
3432
3471
|
} | null;
|
|
3433
|
-
MASTODON?:
|
|
3472
|
+
MASTODON?: {
|
|
3473
|
+
text?: string | null;
|
|
3474
|
+
uploadIds?: Array<(string)> | null;
|
|
3475
|
+
privacy?: 'PUBLIC' | 'UNLISTED' | 'PRIVATE' | 'DIRECT' | null;
|
|
3476
|
+
spoiler?: string | null;
|
|
3477
|
+
} | null;
|
|
3434
3478
|
};
|
|
3435
3479
|
error?: string | null;
|
|
3436
3480
|
errors?: {
|
|
@@ -3753,7 +3797,12 @@ type $OpenApiTs = {
|
|
|
3753
3797
|
*/
|
|
3754
3798
|
avatarUrl?: string | null;
|
|
3755
3799
|
} | null;
|
|
3756
|
-
MASTODON?:
|
|
3800
|
+
MASTODON?: {
|
|
3801
|
+
text?: string | null;
|
|
3802
|
+
uploadIds?: Array<(string)> | null;
|
|
3803
|
+
privacy?: 'PUBLIC' | 'UNLISTED' | 'PRIVATE' | 'DIRECT' | null;
|
|
3804
|
+
spoiler?: string | null;
|
|
3805
|
+
} | null;
|
|
3757
3806
|
};
|
|
3758
3807
|
error?: string | null;
|
|
3759
3808
|
errors?: {
|
|
@@ -4017,7 +4066,12 @@ type $OpenApiTs = {
|
|
|
4017
4066
|
*/
|
|
4018
4067
|
avatarUrl?: string | null;
|
|
4019
4068
|
} | null;
|
|
4020
|
-
MASTODON?:
|
|
4069
|
+
MASTODON?: {
|
|
4070
|
+
text?: string | null;
|
|
4071
|
+
uploadIds?: Array<(string)> | null;
|
|
4072
|
+
privacy?: 'PUBLIC' | 'UNLISTED' | 'PRIVATE' | 'DIRECT' | null;
|
|
4073
|
+
spoiler?: string | null;
|
|
4074
|
+
} | null;
|
|
4021
4075
|
};
|
|
4022
4076
|
error?: string | null;
|
|
4023
4077
|
errors?: {
|
|
@@ -4284,7 +4338,12 @@ type $OpenApiTs = {
|
|
|
4284
4338
|
*/
|
|
4285
4339
|
avatarUrl?: string | null;
|
|
4286
4340
|
} | null;
|
|
4287
|
-
MASTODON?:
|
|
4341
|
+
MASTODON?: {
|
|
4342
|
+
text?: string | null;
|
|
4343
|
+
uploadIds?: Array<(string)> | null;
|
|
4344
|
+
privacy?: 'PUBLIC' | 'UNLISTED' | 'PRIVATE' | 'DIRECT' | null;
|
|
4345
|
+
spoiler?: string | null;
|
|
4346
|
+
} | null;
|
|
4288
4347
|
};
|
|
4289
4348
|
error?: string | null;
|
|
4290
4349
|
errors?: {
|
|
@@ -4609,7 +4668,12 @@ type $OpenApiTs = {
|
|
|
4609
4668
|
*/
|
|
4610
4669
|
avatarUrl?: string | null;
|
|
4611
4670
|
} | null;
|
|
4612
|
-
MASTODON?:
|
|
4671
|
+
MASTODON?: {
|
|
4672
|
+
text?: string | null;
|
|
4673
|
+
uploadIds?: Array<(string)> | null;
|
|
4674
|
+
privacy?: 'PUBLIC' | 'UNLISTED' | 'PRIVATE' | 'DIRECT' | null;
|
|
4675
|
+
spoiler?: string | null;
|
|
4676
|
+
} | null;
|
|
4613
4677
|
};
|
|
4614
4678
|
error?: string | null;
|
|
4615
4679
|
errors?: {
|
package/dist/index.d.ts
CHANGED
|
@@ -350,9 +350,13 @@ type SocialAccountConnectData = {
|
|
|
350
350
|
* Body
|
|
351
351
|
*/
|
|
352
352
|
requestBody?: {
|
|
353
|
-
type: 'TIKTOK' | 'YOUTUBE' | 'INSTAGRAM' | 'FACEBOOK' | 'TWITTER' | 'THREADS' | 'LINKEDIN' | 'PINTEREST' | 'REDDIT' | 'DISCORD' | 'SLACK';
|
|
353
|
+
type: 'TIKTOK' | 'YOUTUBE' | 'INSTAGRAM' | 'FACEBOOK' | 'TWITTER' | 'THREADS' | 'LINKEDIN' | 'PINTEREST' | 'REDDIT' | 'DISCORD' | 'SLACK' | 'MASTODON';
|
|
354
354
|
teamId: string;
|
|
355
355
|
redirectUrl: string;
|
|
356
|
+
/**
|
|
357
|
+
* Mastodon only
|
|
358
|
+
*/
|
|
359
|
+
serverUrl?: string;
|
|
356
360
|
};
|
|
357
361
|
};
|
|
358
362
|
type SocialAccountConnectResponse = {
|
|
@@ -366,7 +370,7 @@ type SocialAccountDisconnectData = {
|
|
|
366
370
|
* Body
|
|
367
371
|
*/
|
|
368
372
|
requestBody?: {
|
|
369
|
-
type: 'TIKTOK' | 'YOUTUBE' | 'INSTAGRAM' | 'FACEBOOK' | 'TWITTER' | 'THREADS' | 'LINKEDIN' | 'PINTEREST' | 'REDDIT' | 'DISCORD' | 'SLACK';
|
|
373
|
+
type: 'TIKTOK' | 'YOUTUBE' | 'INSTAGRAM' | 'FACEBOOK' | 'TWITTER' | 'THREADS' | 'LINKEDIN' | 'PINTEREST' | 'REDDIT' | 'DISCORD' | 'SLACK' | 'MASTODON';
|
|
370
374
|
teamId: string;
|
|
371
375
|
};
|
|
372
376
|
};
|
|
@@ -740,7 +744,12 @@ type PostGetResponse = {
|
|
|
740
744
|
*/
|
|
741
745
|
avatarUrl?: string | null;
|
|
742
746
|
} | null;
|
|
743
|
-
MASTODON?:
|
|
747
|
+
MASTODON?: {
|
|
748
|
+
text?: string | null;
|
|
749
|
+
uploadIds?: Array<(string)> | null;
|
|
750
|
+
privacy?: 'PUBLIC' | 'UNLISTED' | 'PRIVATE' | 'DIRECT' | null;
|
|
751
|
+
spoiler?: string | null;
|
|
752
|
+
} | null;
|
|
744
753
|
};
|
|
745
754
|
error?: string | null;
|
|
746
755
|
errors?: {
|
|
@@ -1018,7 +1027,12 @@ type PostUpdateData = {
|
|
|
1018
1027
|
*/
|
|
1019
1028
|
avatarUrl?: string | null;
|
|
1020
1029
|
} | null;
|
|
1021
|
-
MASTODON?:
|
|
1030
|
+
MASTODON?: {
|
|
1031
|
+
text?: string | null;
|
|
1032
|
+
uploadIds?: Array<(string)> | null;
|
|
1033
|
+
privacy?: 'PUBLIC' | 'UNLISTED' | 'PRIVATE' | 'DIRECT' | null;
|
|
1034
|
+
spoiler?: string | null;
|
|
1035
|
+
} | null;
|
|
1022
1036
|
};
|
|
1023
1037
|
};
|
|
1024
1038
|
};
|
|
@@ -1162,7 +1176,12 @@ type PostUpdateResponse = {
|
|
|
1162
1176
|
*/
|
|
1163
1177
|
avatarUrl?: string | null;
|
|
1164
1178
|
} | null;
|
|
1165
|
-
MASTODON?:
|
|
1179
|
+
MASTODON?: {
|
|
1180
|
+
text?: string | null;
|
|
1181
|
+
uploadIds?: Array<(string)> | null;
|
|
1182
|
+
privacy?: 'PUBLIC' | 'UNLISTED' | 'PRIVATE' | 'DIRECT' | null;
|
|
1183
|
+
spoiler?: string | null;
|
|
1184
|
+
} | null;
|
|
1166
1185
|
};
|
|
1167
1186
|
error?: string | null;
|
|
1168
1187
|
errors?: {
|
|
@@ -1381,7 +1400,12 @@ type PostDeleteResponse = {
|
|
|
1381
1400
|
*/
|
|
1382
1401
|
avatarUrl?: string | null;
|
|
1383
1402
|
} | null;
|
|
1384
|
-
MASTODON?:
|
|
1403
|
+
MASTODON?: {
|
|
1404
|
+
text?: string | null;
|
|
1405
|
+
uploadIds?: Array<(string)> | null;
|
|
1406
|
+
privacy?: 'PUBLIC' | 'UNLISTED' | 'PRIVATE' | 'DIRECT' | null;
|
|
1407
|
+
spoiler?: string | null;
|
|
1408
|
+
} | null;
|
|
1385
1409
|
};
|
|
1386
1410
|
error?: string | null;
|
|
1387
1411
|
errors?: {
|
|
@@ -1608,7 +1632,12 @@ type PostGetListResponse = {
|
|
|
1608
1632
|
*/
|
|
1609
1633
|
avatarUrl?: string | null;
|
|
1610
1634
|
} | null;
|
|
1611
|
-
MASTODON?:
|
|
1635
|
+
MASTODON?: {
|
|
1636
|
+
text?: string | null;
|
|
1637
|
+
uploadIds?: Array<(string)> | null;
|
|
1638
|
+
privacy?: 'PUBLIC' | 'UNLISTED' | 'PRIVATE' | 'DIRECT' | null;
|
|
1639
|
+
spoiler?: string | null;
|
|
1640
|
+
} | null;
|
|
1612
1641
|
};
|
|
1613
1642
|
error?: string | null;
|
|
1614
1643
|
errors?: {
|
|
@@ -1888,7 +1917,12 @@ type PostCreateData = {
|
|
|
1888
1917
|
*/
|
|
1889
1918
|
avatarUrl?: string | null;
|
|
1890
1919
|
} | null;
|
|
1891
|
-
MASTODON?:
|
|
1920
|
+
MASTODON?: {
|
|
1921
|
+
text?: string | null;
|
|
1922
|
+
uploadIds?: Array<(string)> | null;
|
|
1923
|
+
privacy?: 'PUBLIC' | 'UNLISTED' | 'PRIVATE' | 'DIRECT' | null;
|
|
1924
|
+
spoiler?: string | null;
|
|
1925
|
+
} | null;
|
|
1892
1926
|
};
|
|
1893
1927
|
};
|
|
1894
1928
|
};
|
|
@@ -2032,7 +2066,12 @@ type PostCreateResponse = {
|
|
|
2032
2066
|
*/
|
|
2033
2067
|
avatarUrl?: string | null;
|
|
2034
2068
|
} | null;
|
|
2035
|
-
MASTODON?:
|
|
2069
|
+
MASTODON?: {
|
|
2070
|
+
text?: string | null;
|
|
2071
|
+
uploadIds?: Array<(string)> | null;
|
|
2072
|
+
privacy?: 'PUBLIC' | 'UNLISTED' | 'PRIVATE' | 'DIRECT' | null;
|
|
2073
|
+
spoiler?: string | null;
|
|
2074
|
+
} | null;
|
|
2036
2075
|
};
|
|
2037
2076
|
error?: string | null;
|
|
2038
2077
|
errors?: {
|
|
@@ -3430,7 +3469,12 @@ type $OpenApiTs = {
|
|
|
3430
3469
|
*/
|
|
3431
3470
|
avatarUrl?: string | null;
|
|
3432
3471
|
} | null;
|
|
3433
|
-
MASTODON?:
|
|
3472
|
+
MASTODON?: {
|
|
3473
|
+
text?: string | null;
|
|
3474
|
+
uploadIds?: Array<(string)> | null;
|
|
3475
|
+
privacy?: 'PUBLIC' | 'UNLISTED' | 'PRIVATE' | 'DIRECT' | null;
|
|
3476
|
+
spoiler?: string | null;
|
|
3477
|
+
} | null;
|
|
3434
3478
|
};
|
|
3435
3479
|
error?: string | null;
|
|
3436
3480
|
errors?: {
|
|
@@ -3753,7 +3797,12 @@ type $OpenApiTs = {
|
|
|
3753
3797
|
*/
|
|
3754
3798
|
avatarUrl?: string | null;
|
|
3755
3799
|
} | null;
|
|
3756
|
-
MASTODON?:
|
|
3800
|
+
MASTODON?: {
|
|
3801
|
+
text?: string | null;
|
|
3802
|
+
uploadIds?: Array<(string)> | null;
|
|
3803
|
+
privacy?: 'PUBLIC' | 'UNLISTED' | 'PRIVATE' | 'DIRECT' | null;
|
|
3804
|
+
spoiler?: string | null;
|
|
3805
|
+
} | null;
|
|
3757
3806
|
};
|
|
3758
3807
|
error?: string | null;
|
|
3759
3808
|
errors?: {
|
|
@@ -4017,7 +4066,12 @@ type $OpenApiTs = {
|
|
|
4017
4066
|
*/
|
|
4018
4067
|
avatarUrl?: string | null;
|
|
4019
4068
|
} | null;
|
|
4020
|
-
MASTODON?:
|
|
4069
|
+
MASTODON?: {
|
|
4070
|
+
text?: string | null;
|
|
4071
|
+
uploadIds?: Array<(string)> | null;
|
|
4072
|
+
privacy?: 'PUBLIC' | 'UNLISTED' | 'PRIVATE' | 'DIRECT' | null;
|
|
4073
|
+
spoiler?: string | null;
|
|
4074
|
+
} | null;
|
|
4021
4075
|
};
|
|
4022
4076
|
error?: string | null;
|
|
4023
4077
|
errors?: {
|
|
@@ -4284,7 +4338,12 @@ type $OpenApiTs = {
|
|
|
4284
4338
|
*/
|
|
4285
4339
|
avatarUrl?: string | null;
|
|
4286
4340
|
} | null;
|
|
4287
|
-
MASTODON?:
|
|
4341
|
+
MASTODON?: {
|
|
4342
|
+
text?: string | null;
|
|
4343
|
+
uploadIds?: Array<(string)> | null;
|
|
4344
|
+
privacy?: 'PUBLIC' | 'UNLISTED' | 'PRIVATE' | 'DIRECT' | null;
|
|
4345
|
+
spoiler?: string | null;
|
|
4346
|
+
} | null;
|
|
4288
4347
|
};
|
|
4289
4348
|
error?: string | null;
|
|
4290
4349
|
errors?: {
|
|
@@ -4609,7 +4668,12 @@ type $OpenApiTs = {
|
|
|
4609
4668
|
*/
|
|
4610
4669
|
avatarUrl?: string | null;
|
|
4611
4670
|
} | null;
|
|
4612
|
-
MASTODON?:
|
|
4671
|
+
MASTODON?: {
|
|
4672
|
+
text?: string | null;
|
|
4673
|
+
uploadIds?: Array<(string)> | null;
|
|
4674
|
+
privacy?: 'PUBLIC' | 'UNLISTED' | 'PRIVATE' | 'DIRECT' | null;
|
|
4675
|
+
spoiler?: string | null;
|
|
4676
|
+
} | null;
|
|
4613
4677
|
};
|
|
4614
4678
|
error?: string | null;
|
|
4615
4679
|
errors?: {
|