bundlesocial 2.0.0 → 2.1.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 CHANGED
@@ -83,6 +83,7 @@ type OrganizationGetOrganizationResponse = {
83
83
  defaultPaymentMethodFilled?: boolean;
84
84
  billingAddressFilled?: boolean;
85
85
  apiAccess?: boolean;
86
+ ref?: string | null;
86
87
  createdAt: string | null;
87
88
  updatedAt: string | null;
88
89
  deletedAt?: string | null;
@@ -136,7 +137,9 @@ type OrganizationGetOrganizationResponse = {
136
137
  organizationSubscriptionId: string;
137
138
  teamId: string;
138
139
  stripePriceId: string;
139
- tier: 'PRO';
140
+ tier: 'PRO' | 'CUSTOM';
141
+ maxMonthlyPosts: number;
142
+ maxDailyPosts: number;
140
143
  createdAt: string | null;
141
144
  updatedAt: string | null;
142
145
  } | null;
@@ -162,6 +165,7 @@ type TeamGetTeamResponse = {
162
165
  defaultPaymentMethodFilled?: boolean;
163
166
  billingAddressFilled?: boolean;
164
167
  apiAccess?: boolean;
168
+ ref?: string | null;
165
169
  createdAt: string | null;
166
170
  updatedAt: string | null;
167
171
  deletedAt?: string | null;
@@ -190,7 +194,7 @@ type TeamGetTeamResponse = {
190
194
  }>;
191
195
  socialAccounts: Array<{
192
196
  id: string;
193
- type: 'TIKTOK' | 'YOUTUBE' | 'INSTAGRAM' | 'FACEBOOK' | 'TWITTER' | 'THREADS' | 'LINKEDIN' | 'PINTEREST' | 'REDDIT' | 'TELEGRAM' | 'DISCORD' | 'SLACK';
197
+ type: 'TIKTOK' | 'YOUTUBE' | 'INSTAGRAM' | 'FACEBOOK' | 'TWITTER' | 'THREADS' | 'LINKEDIN' | 'PINTEREST' | 'REDDIT' | 'MASTODON' | 'DISCORD' | 'SLACK';
194
198
  teamId: string;
195
199
  username?: string | null;
196
200
  displayName?: string | null;
@@ -216,12 +220,51 @@ type TeamGetTeamResponse = {
216
220
  usage: {
217
221
  monthlyPosts: number;
218
222
  };
223
+ bio?: {
224
+ id: string;
225
+ username: string;
226
+ name: string | null;
227
+ description: string | null;
228
+ avatarUrl: string | null;
229
+ socials: {
230
+ [key: string]: (string | null);
231
+ } | null;
232
+ teamId: string;
233
+ createdAt: string | null;
234
+ updatedAt: string | null;
235
+ items: Array<{
236
+ id: string;
237
+ bioId: string;
238
+ name: string;
239
+ link: string;
240
+ icon?: string | null;
241
+ enabled: boolean;
242
+ order?: number | null;
243
+ createdAt: string | null;
244
+ updatedAt: string | null;
245
+ analytics: Array<{
246
+ id: string;
247
+ count: number;
248
+ bioItemId: string;
249
+ deviceType: {
250
+ [key: string]: (number);
251
+ };
252
+ country: {
253
+ [key: string]: (number);
254
+ };
255
+ createdAt: string | null;
256
+ updatedAt: string | null;
257
+ }>;
258
+ }>;
259
+ } | null;
219
260
  teamPlan?: {
220
261
  id: string;
221
262
  organizationSubscriptionId: string;
222
263
  teamId: string;
223
264
  stripePriceId: string;
224
- tier: 'PRO';
265
+ tier: 'PRO' | 'CUSTOM';
266
+ maxMonthlyPosts: number;
267
+ maxDailyPosts: number;
225
268
  createdAt: string | null;
226
269
  updatedAt: string | null;
227
270
  organizationSubscription?: {
@@ -288,7 +331,7 @@ type TeamCreateTeamData = {
288
331
  */
289
332
  requestBody?: {
290
333
  name: string;
291
- tier: 'FREE' | 'PRO';
334
+ tier: 'FREE' | 'PRO' | 'CUSTOM';
292
335
  avatarUrl?: string | null;
293
336
  };
294
337
  };
@@ -307,7 +350,7 @@ type SocialAccountConnectData = {
307
350
  * Body
308
351
  */
309
352
  requestBody?: {
310
- type: 'TIKTOK' | 'YOUTUBE' | 'INSTAGRAM' | 'FACEBOOK' | 'TWITTER' | 'LINKEDIN' | 'PINTEREST' | 'REDDIT' | 'DISCORD' | 'SLACK';
353
+ type: 'TIKTOK' | 'YOUTUBE' | 'INSTAGRAM' | 'FACEBOOK' | 'TWITTER' | 'THREADS' | 'LINKEDIN' | 'PINTEREST' | 'REDDIT' | 'DISCORD' | 'SLACK';
311
354
  teamId: string;
312
355
  redirectUrl: string;
313
356
  };
@@ -323,13 +366,13 @@ type SocialAccountDisconnectData = {
323
366
  * Body
324
367
  */
325
368
  requestBody?: {
326
- type: 'TIKTOK' | 'YOUTUBE' | 'INSTAGRAM' | 'FACEBOOK' | 'TWITTER' | 'LINKEDIN' | 'PINTEREST' | 'REDDIT' | 'DISCORD' | 'SLACK';
369
+ type: 'TIKTOK' | 'YOUTUBE' | 'INSTAGRAM' | 'FACEBOOK' | 'TWITTER' | 'THREADS' | 'LINKEDIN' | 'PINTEREST' | 'REDDIT' | 'DISCORD' | 'SLACK';
327
370
  teamId: string;
328
371
  };
329
372
  };
330
373
  type SocialAccountDisconnectResponse = {
331
374
  id: string;
332
- type: 'TIKTOK' | 'YOUTUBE' | 'INSTAGRAM' | 'FACEBOOK' | 'TWITTER' | 'THREADS' | 'LINKEDIN' | 'PINTEREST' | 'REDDIT' | 'TELEGRAM' | 'DISCORD' | 'SLACK';
375
+ type: 'TIKTOK' | 'YOUTUBE' | 'INSTAGRAM' | 'FACEBOOK' | 'TWITTER' | 'THREADS' | 'LINKEDIN' | 'PINTEREST' | 'REDDIT' | 'MASTODON' | 'DISCORD' | 'SLACK';
333
376
  teamId: string;
334
377
  username?: string | null;
335
378
  displayName?: string | null;
@@ -364,7 +407,7 @@ type SocialAccountSetChannelData = {
364
407
  };
365
408
  type SocialAccountSetChannelResponse = {
366
409
  id: string;
367
- type: 'TIKTOK' | 'YOUTUBE' | 'INSTAGRAM' | 'FACEBOOK' | 'TWITTER' | 'THREADS' | 'LINKEDIN' | 'PINTEREST' | 'REDDIT' | 'TELEGRAM' | 'DISCORD' | 'SLACK';
410
+ type: 'TIKTOK' | 'YOUTUBE' | 'INSTAGRAM' | 'FACEBOOK' | 'TWITTER' | 'THREADS' | 'LINKEDIN' | 'PINTEREST' | 'REDDIT' | 'MASTODON' | 'DISCORD' | 'SLACK';
368
411
  teamId: string;
369
412
  username?: string | null;
370
413
  displayName?: string | null;
@@ -398,7 +441,7 @@ type SocialAccountRefreshChannelsData = {
398
441
  };
399
442
  type SocialAccountRefreshChannelsResponse = {
400
443
  id: string;
401
- type: 'TIKTOK' | 'YOUTUBE' | 'INSTAGRAM' | 'FACEBOOK' | 'TWITTER' | 'THREADS' | 'LINKEDIN' | 'PINTEREST' | 'REDDIT' | 'TELEGRAM' | 'DISCORD' | 'SLACK';
444
+ type: 'TIKTOK' | 'YOUTUBE' | 'INSTAGRAM' | 'FACEBOOK' | 'TWITTER' | 'THREADS' | 'LINKEDIN' | 'PINTEREST' | 'REDDIT' | 'MASTODON' | 'DISCORD' | 'SLACK';
402
445
  teamId: string;
403
446
  username?: string | null;
404
447
  displayName?: string | null;
@@ -601,6 +644,10 @@ type PostGetResponse = {
601
644
  text?: string | null;
602
645
  uploadIds?: Array<(string)> | null;
603
646
  } | null;
647
+ THREADS?: {
648
+ text?: string | null;
649
+ uploadIds?: Array<(string)> | null;
650
+ } | null;
604
651
  TIKTOK?: {
605
652
  text?: string | null;
606
653
  uploadIds?: Array<(string)> | null;
@@ -693,8 +740,7 @@ type PostGetResponse = {
693
740
  */
694
741
  avatarUrl?: string | null;
695
742
  } | null;
696
- TELEGRAM?: unknown;
697
- THREADS?: unknown;
743
+ MASTODON?: unknown;
698
744
  };
699
745
  error?: string | null;
700
746
  errors?: {
@@ -708,7 +754,7 @@ type PostGetResponse = {
708
754
  DISCORD?: string | null;
709
755
  SLACK?: string | null;
710
756
  YOUTUBE?: string | null;
711
- TELEGRAM?: string | null;
757
+ MASTODON?: string | null;
712
758
  THREADS?: string | null;
713
759
  } | null;
714
760
  externalData?: {
@@ -757,7 +803,7 @@ type PostGetResponse = {
757
803
  id?: string | null;
758
804
  permalink?: string | null;
759
805
  } | null;
760
- TELEGRAM?: {
806
+ MASTODON?: {
761
807
  id?: string | null;
762
808
  permalink?: string | null;
763
809
  } | null;
@@ -804,7 +850,7 @@ type PostGetResponse = {
804
850
  deletedAt?: string | null;
805
851
  socialAccount: {
806
852
  id: string;
807
- type: 'TIKTOK' | 'YOUTUBE' | 'INSTAGRAM' | 'FACEBOOK' | 'TWITTER' | 'THREADS' | 'LINKEDIN' | 'PINTEREST' | 'REDDIT' | 'TELEGRAM' | 'DISCORD' | 'SLACK';
853
+ type: 'TIKTOK' | 'YOUTUBE' | 'INSTAGRAM' | 'FACEBOOK' | 'TWITTER' | 'THREADS' | 'LINKEDIN' | 'PINTEREST' | 'REDDIT' | 'MASTODON' | 'DISCORD' | 'SLACK';
808
854
  teamId: string;
809
855
  username?: string | null;
810
856
  displayName?: string | null;
@@ -838,7 +884,7 @@ type PostUpdateData = {
838
884
  title?: string;
839
885
  postDate?: string;
840
886
  status?: 'DRAFT' | 'SCHEDULED';
841
- socialAccountTypes?: Array<('TIKTOK' | 'YOUTUBE' | 'INSTAGRAM' | 'FACEBOOK' | 'TWITTER' | 'THREADS' | 'LINKEDIN' | 'PINTEREST' | 'REDDIT' | 'TELEGRAM' | 'DISCORD' | 'SLACK')>;
887
+ socialAccountTypes?: Array<('TIKTOK' | 'YOUTUBE' | 'INSTAGRAM' | 'FACEBOOK' | 'TWITTER' | 'THREADS' | 'LINKEDIN' | 'PINTEREST' | 'REDDIT' | 'MASTODON' | 'DISCORD' | 'SLACK')>;
842
888
  data?: {
843
889
  TWITTER?: {
844
890
  text?: string | null;
@@ -876,6 +922,10 @@ type PostUpdateData = {
876
922
  text?: string | null;
877
923
  uploadIds?: Array<(string)> | null;
878
924
  } | null;
925
+ THREADS?: {
926
+ text?: string | null;
927
+ uploadIds?: Array<(string)> | null;
928
+ } | null;
879
929
  TIKTOK?: {
880
930
  text?: string | null;
881
931
  uploadIds?: Array<(string)> | null;
@@ -968,8 +1018,7 @@ type PostUpdateData = {
968
1018
  */
969
1019
  avatarUrl?: string | null;
970
1020
  } | null;
971
- TELEGRAM?: unknown;
972
- THREADS?: unknown;
1021
+ MASTODON?: unknown;
973
1022
  };
974
1023
  };
975
1024
  };
@@ -1017,6 +1066,10 @@ type PostUpdateResponse = {
1017
1066
  text?: string | null;
1018
1067
  uploadIds?: Array<(string)> | null;
1019
1068
  } | null;
1069
+ THREADS?: {
1070
+ text?: string | null;
1071
+ uploadIds?: Array<(string)> | null;
1072
+ } | null;
1020
1073
  TIKTOK?: {
1021
1074
  text?: string | null;
1022
1075
  uploadIds?: Array<(string)> | null;
@@ -1109,8 +1162,7 @@ type PostUpdateResponse = {
1109
1162
  */
1110
1163
  avatarUrl?: string | null;
1111
1164
  } | null;
1112
- TELEGRAM?: unknown;
1113
- THREADS?: unknown;
1165
+ MASTODON?: unknown;
1114
1166
  };
1115
1167
  error?: string | null;
1116
1168
  errors?: {
@@ -1124,7 +1176,7 @@ type PostUpdateResponse = {
1124
1176
  DISCORD?: string | null;
1125
1177
  SLACK?: string | null;
1126
1178
  YOUTUBE?: string | null;
1127
- TELEGRAM?: string | null;
1179
+ MASTODON?: string | null;
1128
1180
  THREADS?: string | null;
1129
1181
  } | null;
1130
1182
  externalData?: {
@@ -1173,7 +1225,7 @@ type PostUpdateResponse = {
1173
1225
  id?: string | null;
1174
1226
  permalink?: string | null;
1175
1227
  } | null;
1176
- TELEGRAM?: {
1228
+ MASTODON?: {
1177
1229
  id?: string | null;
1178
1230
  permalink?: string | null;
1179
1231
  } | null;
@@ -1233,6 +1285,10 @@ type PostDeleteResponse = {
1233
1285
  text?: string | null;
1234
1286
  uploadIds?: Array<(string)> | null;
1235
1287
  } | null;
1288
+ THREADS?: {
1289
+ text?: string | null;
1290
+ uploadIds?: Array<(string)> | null;
1291
+ } | null;
1236
1292
  TIKTOK?: {
1237
1293
  text?: string | null;
1238
1294
  uploadIds?: Array<(string)> | null;
@@ -1325,8 +1381,7 @@ type PostDeleteResponse = {
1325
1381
  */
1326
1382
  avatarUrl?: string | null;
1327
1383
  } | null;
1328
- TELEGRAM?: unknown;
1329
- THREADS?: unknown;
1384
+ MASTODON?: unknown;
1330
1385
  };
1331
1386
  error?: string | null;
1332
1387
  errors?: {
@@ -1340,7 +1395,7 @@ type PostDeleteResponse = {
1340
1395
  DISCORD?: string | null;
1341
1396
  SLACK?: string | null;
1342
1397
  YOUTUBE?: string | null;
1343
- TELEGRAM?: string | null;
1398
+ MASTODON?: string | null;
1344
1399
  THREADS?: string | null;
1345
1400
  } | null;
1346
1401
  externalData?: {
@@ -1389,7 +1444,7 @@ type PostDeleteResponse = {
1389
1444
  id?: string | null;
1390
1445
  permalink?: string | null;
1391
1446
  } | null;
1392
- TELEGRAM?: {
1447
+ MASTODON?: {
1393
1448
  id?: string | null;
1394
1449
  permalink?: string | null;
1395
1450
  } | null;
@@ -1407,7 +1462,7 @@ type PostGetListData = {
1407
1462
  offset?: number | null;
1408
1463
  order?: 'ASC' | 'DESC' | null;
1409
1464
  orderBy?: 'createdAt' | 'updatedAt' | 'postDate' | 'postedDate' | 'deletedAt' | null;
1410
- platforms?: Array<('TIKTOK' | 'YOUTUBE' | 'INSTAGRAM' | 'FACEBOOK' | 'TWITTER' | 'THREADS' | 'LINKEDIN' | 'PINTEREST' | 'REDDIT' | 'TELEGRAM' | 'DISCORD' | 'SLACK')> | null;
1465
+ platforms?: Array<('TIKTOK' | 'YOUTUBE' | 'INSTAGRAM' | 'FACEBOOK' | 'TWITTER' | 'THREADS' | 'LINKEDIN' | 'PINTEREST' | 'REDDIT' | 'MASTODON' | 'DISCORD' | 'SLACK')> | null;
1411
1466
  q?: string | null;
1412
1467
  status?: 'DRAFT' | 'SCHEDULED' | 'POSTED' | 'ERROR' | 'DELETED' | 'PROCESSING' | null;
1413
1468
  teamId: string;
@@ -1457,6 +1512,10 @@ type PostGetListResponse = {
1457
1512
  text?: string | null;
1458
1513
  uploadIds?: Array<(string)> | null;
1459
1514
  } | null;
1515
+ THREADS?: {
1516
+ text?: string | null;
1517
+ uploadIds?: Array<(string)> | null;
1518
+ } | null;
1460
1519
  TIKTOK?: {
1461
1520
  text?: string | null;
1462
1521
  uploadIds?: Array<(string)> | null;
@@ -1549,8 +1608,7 @@ type PostGetListResponse = {
1549
1608
  */
1550
1609
  avatarUrl?: string | null;
1551
1610
  } | null;
1552
- TELEGRAM?: unknown;
1553
- THREADS?: unknown;
1611
+ MASTODON?: unknown;
1554
1612
  };
1555
1613
  error?: string | null;
1556
1614
  errors?: {
@@ -1564,7 +1622,7 @@ type PostGetListResponse = {
1564
1622
  DISCORD?: string | null;
1565
1623
  SLACK?: string | null;
1566
1624
  YOUTUBE?: string | null;
1567
- TELEGRAM?: string | null;
1625
+ MASTODON?: string | null;
1568
1626
  THREADS?: string | null;
1569
1627
  } | null;
1570
1628
  externalData?: {
@@ -1613,7 +1671,7 @@ type PostGetListResponse = {
1613
1671
  id?: string | null;
1614
1672
  permalink?: string | null;
1615
1673
  } | null;
1616
- TELEGRAM?: {
1674
+ MASTODON?: {
1617
1675
  id?: string | null;
1618
1676
  permalink?: string | null;
1619
1677
  } | null;
@@ -1660,7 +1718,7 @@ type PostGetListResponse = {
1660
1718
  deletedAt?: string | null;
1661
1719
  socialAccount: {
1662
1720
  id: string;
1663
- type: 'TIKTOK' | 'YOUTUBE' | 'INSTAGRAM' | 'FACEBOOK' | 'TWITTER' | 'THREADS' | 'LINKEDIN' | 'PINTEREST' | 'REDDIT' | 'TELEGRAM' | 'DISCORD' | 'SLACK';
1721
+ type: 'TIKTOK' | 'YOUTUBE' | 'INSTAGRAM' | 'FACEBOOK' | 'TWITTER' | 'THREADS' | 'LINKEDIN' | 'PINTEREST' | 'REDDIT' | 'MASTODON' | 'DISCORD' | 'SLACK';
1664
1722
  teamId: string;
1665
1723
  username?: string | null;
1666
1724
  displayName?: string | null;
@@ -1696,7 +1754,7 @@ type PostCreateData = {
1696
1754
  title: string;
1697
1755
  postDate: string;
1698
1756
  status: 'DRAFT' | 'SCHEDULED';
1699
- socialAccountTypes: Array<('TIKTOK' | 'YOUTUBE' | 'INSTAGRAM' | 'FACEBOOK' | 'TWITTER' | 'THREADS' | 'LINKEDIN' | 'PINTEREST' | 'REDDIT' | 'TELEGRAM' | 'DISCORD' | 'SLACK')>;
1757
+ socialAccountTypes: Array<('TIKTOK' | 'YOUTUBE' | 'INSTAGRAM' | 'FACEBOOK' | 'TWITTER' | 'THREADS' | 'LINKEDIN' | 'PINTEREST' | 'REDDIT' | 'MASTODON' | 'DISCORD' | 'SLACK')>;
1700
1758
  data: {
1701
1759
  TWITTER?: {
1702
1760
  text?: string | null;
@@ -1734,6 +1792,10 @@ type PostCreateData = {
1734
1792
  text?: string | null;
1735
1793
  uploadIds?: Array<(string)> | null;
1736
1794
  } | null;
1795
+ THREADS?: {
1796
+ text?: string | null;
1797
+ uploadIds?: Array<(string)> | null;
1798
+ } | null;
1737
1799
  TIKTOK?: {
1738
1800
  text?: string | null;
1739
1801
  uploadIds?: Array<(string)> | null;
@@ -1826,8 +1888,7 @@ type PostCreateData = {
1826
1888
  */
1827
1889
  avatarUrl?: string | null;
1828
1890
  } | null;
1829
- TELEGRAM?: unknown;
1830
- THREADS?: unknown;
1891
+ MASTODON?: unknown;
1831
1892
  };
1832
1893
  };
1833
1894
  };
@@ -1875,6 +1936,10 @@ type PostCreateResponse = {
1875
1936
  text?: string | null;
1876
1937
  uploadIds?: Array<(string)> | null;
1877
1938
  } | null;
1939
+ THREADS?: {
1940
+ text?: string | null;
1941
+ uploadIds?: Array<(string)> | null;
1942
+ } | null;
1878
1943
  TIKTOK?: {
1879
1944
  text?: string | null;
1880
1945
  uploadIds?: Array<(string)> | null;
@@ -1967,8 +2032,7 @@ type PostCreateResponse = {
1967
2032
  */
1968
2033
  avatarUrl?: string | null;
1969
2034
  } | null;
1970
- TELEGRAM?: unknown;
1971
- THREADS?: unknown;
2035
+ MASTODON?: unknown;
1972
2036
  };
1973
2037
  error?: string | null;
1974
2038
  errors?: {
@@ -1982,7 +2046,7 @@ type PostCreateResponse = {
1982
2046
  DISCORD?: string | null;
1983
2047
  SLACK?: string | null;
1984
2048
  YOUTUBE?: string | null;
1985
- TELEGRAM?: string | null;
2049
+ MASTODON?: string | null;
1986
2050
  THREADS?: string | null;
1987
2051
  } | null;
1988
2052
  externalData?: {
@@ -2031,7 +2095,7 @@ type PostCreateResponse = {
2031
2095
  id?: string | null;
2032
2096
  permalink?: string | null;
2033
2097
  } | null;
2034
- TELEGRAM?: {
2098
+ MASTODON?: {
2035
2099
  id?: string | null;
2036
2100
  permalink?: string | null;
2037
2101
  } | null;
@@ -2112,6 +2176,7 @@ type $OpenApiTs = {
2112
2176
  defaultPaymentMethodFilled?: boolean;
2113
2177
  billingAddressFilled?: boolean;
2114
2178
  apiAccess?: boolean;
2179
+ ref?: string | null;
2115
2180
  createdAt: string | null;
2116
2181
  updatedAt: string | null;
2117
2182
  deletedAt?: string | null;
@@ -2165,7 +2230,9 @@ type $OpenApiTs = {
2165
2230
  organizationSubscriptionId: string;
2166
2231
  teamId: string;
2167
2232
  stripePriceId: string;
2168
- tier: 'PRO';
2233
+ tier: 'PRO' | 'CUSTOM';
2234
+ maxMonthlyPosts: number;
2235
+ maxDailyPosts: number;
2169
2236
  createdAt: string | null;
2170
2237
  updatedAt: string | null;
2171
2238
  } | null;
@@ -2238,6 +2305,7 @@ type $OpenApiTs = {
2238
2305
  defaultPaymentMethodFilled?: boolean;
2239
2306
  billingAddressFilled?: boolean;
2240
2307
  apiAccess?: boolean;
2308
+ ref?: string | null;
2241
2309
  createdAt: string | null;
2242
2310
  updatedAt: string | null;
2243
2311
  deletedAt?: string | null;
@@ -2266,7 +2334,7 @@ type $OpenApiTs = {
2266
2334
  }>;
2267
2335
  socialAccounts: Array<{
2268
2336
  id: string;
2269
- type: 'TIKTOK' | 'YOUTUBE' | 'INSTAGRAM' | 'FACEBOOK' | 'TWITTER' | 'THREADS' | 'LINKEDIN' | 'PINTEREST' | 'REDDIT' | 'TELEGRAM' | 'DISCORD' | 'SLACK';
2337
+ type: 'TIKTOK' | 'YOUTUBE' | 'INSTAGRAM' | 'FACEBOOK' | 'TWITTER' | 'THREADS' | 'LINKEDIN' | 'PINTEREST' | 'REDDIT' | 'MASTODON' | 'DISCORD' | 'SLACK';
2270
2338
  teamId: string;
2271
2339
  username?: string | null;
2272
2340
  displayName?: string | null;
@@ -2292,12 +2360,51 @@ type $OpenApiTs = {
2292
2360
  usage: {
2293
2361
  monthlyPosts: number;
2294
2362
  };
2363
+ bio?: {
2364
+ id: string;
2365
+ username: string;
2366
+ name: string | null;
2367
+ description: string | null;
2368
+ avatarUrl: string | null;
2369
+ socials: {
2370
+ [key: string]: (string | null);
2371
+ } | null;
2372
+ teamId: string;
2373
+ createdAt: string | null;
2374
+ updatedAt: string | null;
2375
+ items: Array<{
2376
+ id: string;
2377
+ bioId: string;
2378
+ name: string;
2379
+ link: string;
2380
+ icon?: string | null;
2381
+ enabled: boolean;
2382
+ order?: number | null;
2383
+ createdAt: string | null;
2384
+ updatedAt: string | null;
2385
+ analytics: Array<{
2386
+ id: string;
2387
+ count: number;
2388
+ bioItemId: string;
2389
+ deviceType: {
2390
+ [key: string]: (number);
2391
+ };
2392
+ country: {
2393
+ [key: string]: (number);
2394
+ };
2395
+ createdAt: string | null;
2396
+ updatedAt: string | null;
2397
+ }>;
2398
+ }>;
2399
+ } | null;
2295
2400
  teamPlan?: {
2296
2401
  id: string;
2297
2402
  organizationSubscriptionId: string;
2298
2403
  teamId: string;
2299
2404
  stripePriceId: string;
2300
- tier: 'PRO';
2405
+ tier: 'PRO' | 'CUSTOM';
2406
+ maxMonthlyPosts: number;
2407
+ maxDailyPosts: number;
2301
2408
  createdAt: string | null;
2302
2409
  updatedAt: string | null;
2303
2410
  organizationSubscription?: {
@@ -2609,7 +2716,7 @@ type $OpenApiTs = {
2609
2716
  */
2610
2717
  200: {
2611
2718
  id: string;
2612
- type: 'TIKTOK' | 'YOUTUBE' | 'INSTAGRAM' | 'FACEBOOK' | 'TWITTER' | 'THREADS' | 'LINKEDIN' | 'PINTEREST' | 'REDDIT' | 'TELEGRAM' | 'DISCORD' | 'SLACK';
2719
+ type: 'TIKTOK' | 'YOUTUBE' | 'INSTAGRAM' | 'FACEBOOK' | 'TWITTER' | 'THREADS' | 'LINKEDIN' | 'PINTEREST' | 'REDDIT' | 'MASTODON' | 'DISCORD' | 'SLACK';
2613
2720
  teamId: string;
2614
2721
  username?: string | null;
2615
2722
  displayName?: string | null;
@@ -2684,7 +2791,7 @@ type $OpenApiTs = {
2684
2791
  */
2685
2792
  200: {
2686
2793
  id: string;
2687
- type: 'TIKTOK' | 'YOUTUBE' | 'INSTAGRAM' | 'FACEBOOK' | 'TWITTER' | 'THREADS' | 'LINKEDIN' | 'PINTEREST' | 'REDDIT' | 'TELEGRAM' | 'DISCORD' | 'SLACK';
2794
+ type: 'TIKTOK' | 'YOUTUBE' | 'INSTAGRAM' | 'FACEBOOK' | 'TWITTER' | 'THREADS' | 'LINKEDIN' | 'PINTEREST' | 'REDDIT' | 'MASTODON' | 'DISCORD' | 'SLACK';
2688
2795
  teamId: string;
2689
2796
  username?: string | null;
2690
2797
  displayName?: string | null;
@@ -2759,7 +2866,7 @@ type $OpenApiTs = {
2759
2866
  */
2760
2867
  200: {
2761
2868
  id: string;
2762
- type: 'TIKTOK' | 'YOUTUBE' | 'INSTAGRAM' | 'FACEBOOK' | 'TWITTER' | 'THREADS' | 'LINKEDIN' | 'PINTEREST' | 'REDDIT' | 'TELEGRAM' | 'DISCORD' | 'SLACK';
2869
+ type: 'TIKTOK' | 'YOUTUBE' | 'INSTAGRAM' | 'FACEBOOK' | 'TWITTER' | 'THREADS' | 'LINKEDIN' | 'PINTEREST' | 'REDDIT' | 'MASTODON' | 'DISCORD' | 'SLACK';
2763
2870
  teamId: string;
2764
2871
  username?: string | null;
2765
2872
  displayName?: string | null;
@@ -3227,6 +3334,10 @@ type $OpenApiTs = {
3227
3334
  text?: string | null;
3228
3335
  uploadIds?: Array<(string)> | null;
3229
3336
  } | null;
3337
+ THREADS?: {
3338
+ text?: string | null;
3339
+ uploadIds?: Array<(string)> | null;
3340
+ } | null;
3230
3341
  TIKTOK?: {
3231
3342
  text?: string | null;
3232
3343
  uploadIds?: Array<(string)> | null;
@@ -3319,8 +3430,7 @@ type $OpenApiTs = {
3319
3430
  */
3320
3431
  avatarUrl?: string | null;
3321
3432
  } | null;
3322
- TELEGRAM?: unknown;
3323
- THREADS?: unknown;
3433
+ MASTODON?: unknown;
3324
3434
  };
3325
3435
  error?: string | null;
3326
3436
  errors?: {
@@ -3334,7 +3444,7 @@ type $OpenApiTs = {
3334
3444
  DISCORD?: string | null;
3335
3445
  SLACK?: string | null;
3336
3446
  YOUTUBE?: string | null;
3337
- TELEGRAM?: string | null;
3447
+ MASTODON?: string | null;
3338
3448
  THREADS?: string | null;
3339
3449
  } | null;
3340
3450
  externalData?: {
@@ -3383,7 +3493,7 @@ type $OpenApiTs = {
3383
3493
  id?: string | null;
3384
3494
  permalink?: string | null;
3385
3495
  } | null;
3386
- TELEGRAM?: {
3496
+ MASTODON?: {
3387
3497
  id?: string | null;
3388
3498
  permalink?: string | null;
3389
3499
  } | null;
@@ -3430,7 +3540,7 @@ type $OpenApiTs = {
3430
3540
  deletedAt?: string | null;
3431
3541
  socialAccount: {
3432
3542
  id: string;
3433
- type: 'TIKTOK' | 'YOUTUBE' | 'INSTAGRAM' | 'FACEBOOK' | 'TWITTER' | 'THREADS' | 'LINKEDIN' | 'PINTEREST' | 'REDDIT' | 'TELEGRAM' | 'DISCORD' | 'SLACK';
3543
+ type: 'TIKTOK' | 'YOUTUBE' | 'INSTAGRAM' | 'FACEBOOK' | 'TWITTER' | 'THREADS' | 'LINKEDIN' | 'PINTEREST' | 'REDDIT' | 'MASTODON' | 'DISCORD' | 'SLACK';
3434
3544
  teamId: string;
3435
3545
  username?: string | null;
3436
3546
  displayName?: string | null;
@@ -3547,6 +3657,10 @@ type $OpenApiTs = {
3547
3657
  text?: string | null;
3548
3658
  uploadIds?: Array<(string)> | null;
3549
3659
  } | null;
3660
+ THREADS?: {
3661
+ text?: string | null;
3662
+ uploadIds?: Array<(string)> | null;
3663
+ } | null;
3550
3664
  TIKTOK?: {
3551
3665
  text?: string | null;
3552
3666
  uploadIds?: Array<(string)> | null;
@@ -3639,8 +3753,7 @@ type $OpenApiTs = {
3639
3753
  */
3640
3754
  avatarUrl?: string | null;
3641
3755
  } | null;
3642
- TELEGRAM?: unknown;
3643
- THREADS?: unknown;
3756
+ MASTODON?: unknown;
3644
3757
  };
3645
3758
  error?: string | null;
3646
3759
  errors?: {
@@ -3654,7 +3767,7 @@ type $OpenApiTs = {
3654
3767
  DISCORD?: string | null;
3655
3768
  SLACK?: string | null;
3656
3769
  YOUTUBE?: string | null;
3657
- TELEGRAM?: string | null;
3770
+ MASTODON?: string | null;
3658
3771
  THREADS?: string | null;
3659
3772
  } | null;
3660
3773
  externalData?: {
@@ -3703,7 +3816,7 @@ type $OpenApiTs = {
3703
3816
  id?: string | null;
3704
3817
  permalink?: string | null;
3705
3818
  } | null;
3706
- TELEGRAM?: {
3819
+ MASTODON?: {
3707
3820
  id?: string | null;
3708
3821
  permalink?: string | null;
3709
3822
  } | null;
@@ -3808,6 +3921,10 @@ type $OpenApiTs = {
3808
3921
  text?: string | null;
3809
3922
  uploadIds?: Array<(string)> | null;
3810
3923
  } | null;
3924
+ THREADS?: {
3925
+ text?: string | null;
3926
+ uploadIds?: Array<(string)> | null;
3927
+ } | null;
3811
3928
  TIKTOK?: {
3812
3929
  text?: string | null;
3813
3930
  uploadIds?: Array<(string)> | null;
@@ -3900,8 +4017,7 @@ type $OpenApiTs = {
3900
4017
  */
3901
4018
  avatarUrl?: string | null;
3902
4019
  } | null;
3903
- TELEGRAM?: unknown;
3904
- THREADS?: unknown;
4020
+ MASTODON?: unknown;
3905
4021
  };
3906
4022
  error?: string | null;
3907
4023
  errors?: {
@@ -3915,7 +4031,7 @@ type $OpenApiTs = {
3915
4031
  DISCORD?: string | null;
3916
4032
  SLACK?: string | null;
3917
4033
  YOUTUBE?: string | null;
3918
- TELEGRAM?: string | null;
4034
+ MASTODON?: string | null;
3919
4035
  THREADS?: string | null;
3920
4036
  } | null;
3921
4037
  externalData?: {
@@ -3964,7 +4080,7 @@ type $OpenApiTs = {
3964
4080
  id?: string | null;
3965
4081
  permalink?: string | null;
3966
4082
  } | null;
3967
- TELEGRAM?: {
4083
+ MASTODON?: {
3968
4084
  id?: string | null;
3969
4085
  permalink?: string | null;
3970
4086
  } | null;
@@ -4072,6 +4188,10 @@ type $OpenApiTs = {
4072
4188
  text?: string | null;
4073
4189
  uploadIds?: Array<(string)> | null;
4074
4190
  } | null;
4191
+ THREADS?: {
4192
+ text?: string | null;
4193
+ uploadIds?: Array<(string)> | null;
4194
+ } | null;
4075
4195
  TIKTOK?: {
4076
4196
  text?: string | null;
4077
4197
  uploadIds?: Array<(string)> | null;
@@ -4164,8 +4284,7 @@ type $OpenApiTs = {
4164
4284
  */
4165
4285
  avatarUrl?: string | null;
4166
4286
  } | null;
4167
- TELEGRAM?: unknown;
4168
- THREADS?: unknown;
4287
+ MASTODON?: unknown;
4169
4288
  };
4170
4289
  error?: string | null;
4171
4290
  errors?: {
@@ -4179,7 +4298,7 @@ type $OpenApiTs = {
4179
4298
  DISCORD?: string | null;
4180
4299
  SLACK?: string | null;
4181
4300
  YOUTUBE?: string | null;
4182
- TELEGRAM?: string | null;
4301
+ MASTODON?: string | null;
4183
4302
  THREADS?: string | null;
4184
4303
  } | null;
4185
4304
  externalData?: {
@@ -4228,7 +4347,7 @@ type $OpenApiTs = {
4228
4347
  id?: string | null;
4229
4348
  permalink?: string | null;
4230
4349
  } | null;
4231
- TELEGRAM?: {
4350
+ MASTODON?: {
4232
4351
  id?: string | null;
4233
4352
  permalink?: string | null;
4234
4353
  } | null;
@@ -4275,7 +4394,7 @@ type $OpenApiTs = {
4275
4394
  deletedAt?: string | null;
4276
4395
  socialAccount: {
4277
4396
  id: string;
4278
- type: 'TIKTOK' | 'YOUTUBE' | 'INSTAGRAM' | 'FACEBOOK' | 'TWITTER' | 'THREADS' | 'LINKEDIN' | 'PINTEREST' | 'REDDIT' | 'TELEGRAM' | 'DISCORD' | 'SLACK';
4397
+ type: 'TIKTOK' | 'YOUTUBE' | 'INSTAGRAM' | 'FACEBOOK' | 'TWITTER' | 'THREADS' | 'LINKEDIN' | 'PINTEREST' | 'REDDIT' | 'MASTODON' | 'DISCORD' | 'SLACK';
4279
4398
  teamId: string;
4280
4399
  username?: string | null;
4281
4400
  displayName?: string | null;
@@ -4394,6 +4513,10 @@ type $OpenApiTs = {
4394
4513
  text?: string | null;
4395
4514
  uploadIds?: Array<(string)> | null;
4396
4515
  } | null;
4516
+ THREADS?: {
4517
+ text?: string | null;
4518
+ uploadIds?: Array<(string)> | null;
4519
+ } | null;
4397
4520
  TIKTOK?: {
4398
4521
  text?: string | null;
4399
4522
  uploadIds?: Array<(string)> | null;
@@ -4486,8 +4609,7 @@ type $OpenApiTs = {
4486
4609
  */
4487
4610
  avatarUrl?: string | null;
4488
4611
  } | null;
4489
- TELEGRAM?: unknown;
4490
- THREADS?: unknown;
4612
+ MASTODON?: unknown;
4491
4613
  };
4492
4614
  error?: string | null;
4493
4615
  errors?: {
@@ -4501,7 +4623,7 @@ type $OpenApiTs = {
4501
4623
  DISCORD?: string | null;
4502
4624
  SLACK?: string | null;
4503
4625
  YOUTUBE?: string | null;
4504
- TELEGRAM?: string | null;
4626
+ MASTODON?: string | null;
4505
4627
  THREADS?: string | null;
4506
4628
  } | null;
4507
4629
  externalData?: {
@@ -4550,7 +4672,7 @@ type $OpenApiTs = {
4550
4672
  id?: string | null;
4551
4673
  permalink?: string | null;
4552
4674
  } | null;
4553
- TELEGRAM?: {
4675
+ MASTODON?: {
4554
4676
  id?: string | null;
4555
4677
  permalink?: string | null;
4556
4678
  } | null;