@postpeer/node 0.8.2 → 0.8.4

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.cts CHANGED
@@ -365,6 +365,10 @@ type TwitterConfigurations = {
365
365
  thumbnail?: string;
366
366
  }>;
367
367
  }>;
368
+ /**
369
+ * Opt in to long posts (over 280 characters). Skips PostPeer's 280-character pre-check so X can accept up to 25,000 characters for eligible Premium / Premium+ accounts. If the connected account is not eligible, X rejects the post and the error is surfaced back. No extra API cost.
370
+ */
371
+ longPost?: boolean;
368
372
  /**
369
373
  * Cannot be combined with media or threadItems.
370
374
  */
@@ -573,7 +577,7 @@ type FacebookConfigurations = {
573
577
  videoThumbnailUrl?: string;
574
578
  };
575
579
  /**
576
- * Pass this object in platformSpecificData when posting to Instagram. Use contentType to publish Stories; the remaining fields customize Reels.
580
+ * Pass this object in platformSpecificData when posting to Instagram. Use contentType to publish Stories; the remaining fields customize feed posts and Reels.
577
581
  */
578
582
  type InstagramConfigurations = {
579
583
  /**
@@ -592,6 +596,10 @@ type InstagramConfigurations = {
592
596
  * Video-only. Timestamp in milliseconds Instagram extracts as the cover frame. Ignored when coverUrl is set or for image posts.
593
597
  */
594
598
  thumbOffset?: number;
599
+ /**
600
+ * Feed posts, carousels, and Reels only. Up to three Instagram usernames to invite as collaborators. Each account must accept the invitation in Instagram.
601
+ */
602
+ collaborators?: Array<string>;
595
603
  };
596
604
  /**
597
605
  * Pass this object in platformSpecificData when posting to Threads.
@@ -950,11 +958,154 @@ type PostV1ConnectLinkedinSelectionByTokenResponses = {
950
958
  * True when this integration was connected under the customer's own OAuth app (Bring Your Own Keys), i.e. appId is set. False when postpeer's system app is used.
951
959
  */
952
960
  byok: boolean;
961
+ /**
962
+ * Whether this integration can authenticate or needs OAuth reconnection
963
+ */
964
+ authStatus: 'active' | 'reconnect_required';
965
+ /**
966
+ * Stable reason reconnection is required, or null while active
967
+ */
968
+ authFailureReason: 'token_expired' | 'access_revoked' | 'security_invalidation' | 'refresh_rejected' | unknown;
953
969
  createdAt: string;
954
970
  }>;
955
971
  };
956
972
  };
957
973
  type PostV1ConnectLinkedinSelectionByTokenResponse = PostV1ConnectLinkedinSelectionByTokenResponses[keyof PostV1ConnectLinkedinSelectionByTokenResponses];
974
+ type GetV1ConnectFacebookSelectionByTokenData = {
975
+ body?: never;
976
+ path: {
977
+ token: string;
978
+ };
979
+ query?: never;
980
+ url: '/v1/connect/facebook/selection/{token}';
981
+ };
982
+ type GetV1ConnectFacebookSelectionByTokenErrors = {
983
+ /**
984
+ * Default Response
985
+ */
986
+ 404: {
987
+ error: string;
988
+ };
989
+ };
990
+ type GetV1ConnectFacebookSelectionByTokenError = GetV1ConnectFacebookSelectionByTokenErrors[keyof GetV1ConnectFacebookSelectionByTokenErrors];
991
+ type GetV1ConnectFacebookSelectionByTokenResponses = {
992
+ /**
993
+ * Default Response
994
+ */
995
+ 200: {
996
+ success: boolean;
997
+ platform: 'facebook';
998
+ expiresInSeconds: number;
999
+ accounts: Array<{
1000
+ id: string;
1001
+ type: 'page';
1002
+ platformUserId: string;
1003
+ displayName: string | null;
1004
+ username: string | null;
1005
+ imageUrl: string | null;
1006
+ }>;
1007
+ };
1008
+ };
1009
+ type GetV1ConnectFacebookSelectionByTokenResponse = GetV1ConnectFacebookSelectionByTokenResponses[keyof GetV1ConnectFacebookSelectionByTokenResponses];
1010
+ type PostV1ConnectFacebookSelectionByTokenData = {
1011
+ body: {
1012
+ selectedAccountIds: Array<string>;
1013
+ };
1014
+ path: {
1015
+ token: string;
1016
+ };
1017
+ query?: never;
1018
+ url: '/v1/connect/facebook/selection/{token}';
1019
+ };
1020
+ type PostV1ConnectFacebookSelectionByTokenErrors = {
1021
+ /**
1022
+ * Default Response
1023
+ */
1024
+ 400: {
1025
+ error: string;
1026
+ };
1027
+ /**
1028
+ * Default Response
1029
+ */
1030
+ 404: {
1031
+ error: string;
1032
+ };
1033
+ };
1034
+ type PostV1ConnectFacebookSelectionByTokenError = PostV1ConnectFacebookSelectionByTokenErrors[keyof PostV1ConnectFacebookSelectionByTokenErrors];
1035
+ type PostV1ConnectFacebookSelectionByTokenResponses = {
1036
+ /**
1037
+ * Default Response
1038
+ */
1039
+ 200: {
1040
+ success: boolean;
1041
+ platform: 'facebook';
1042
+ message: string;
1043
+ redirectUri?: string;
1044
+ integrations: Array<{
1045
+ /**
1046
+ * Use this as accountId when creating posts
1047
+ */
1048
+ id: string;
1049
+ platform: 'twitter' | 'instagram' | 'youtube' | 'tiktok' | 'pinterest' | 'linkedin' | 'bluesky' | 'facebook' | 'threads' | 'googlebusiness';
1050
+ /**
1051
+ * The user ID on the platform, or null if not yet retrieved
1052
+ */
1053
+ platformUserId: string | null;
1054
+ /**
1055
+ * The public username or handle, including @ for handle-based platforms
1056
+ */
1057
+ username: string | null;
1058
+ /**
1059
+ * Human-readable display name of the connected account
1060
+ */
1061
+ displayName: string | null;
1062
+ /**
1063
+ * Public profile/page URL for the connected account, when it can be derived
1064
+ */
1065
+ profileUrl: string | null;
1066
+ /**
1067
+ * Profile image URL for the connected account, or null if unavailable
1068
+ */
1069
+ imageUrl: string | null;
1070
+ /**
1071
+ * Provider-specific public metadata for this connected account.
1072
+ */
1073
+ platformMetadata?: {
1074
+ [key: string]: unknown;
1075
+ };
1076
+ /**
1077
+ * Profile this integration belongs to, or null if it was connected without a profile
1078
+ */
1079
+ profileId: string | null;
1080
+ /**
1081
+ * The OAuth app (customer's own OAuth app) this integration was connected under, or null if postpeer's system app was used.
1082
+ */
1083
+ appId: string | null;
1084
+ /**
1085
+ * The OAuth app metadata for BYOK integrations, or null when postpeer system app was used.
1086
+ */
1087
+ app: {
1088
+ id?: string;
1089
+ name?: string;
1090
+ imageUrl?: string | null;
1091
+ } | null;
1092
+ /**
1093
+ * True when this integration was connected under the customer's own OAuth app (Bring Your Own Keys), i.e. appId is set. False when postpeer's system app is used.
1094
+ */
1095
+ byok: boolean;
1096
+ /**
1097
+ * Whether this integration can authenticate or needs OAuth reconnection
1098
+ */
1099
+ authStatus: 'active' | 'reconnect_required';
1100
+ /**
1101
+ * Stable reason reconnection is required, or null while active
1102
+ */
1103
+ authFailureReason: 'token_expired' | 'access_revoked' | 'security_invalidation' | 'refresh_rejected' | unknown;
1104
+ createdAt: string;
1105
+ }>;
1106
+ };
1107
+ };
1108
+ type PostV1ConnectFacebookSelectionByTokenResponse = PostV1ConnectFacebookSelectionByTokenResponses[keyof PostV1ConnectFacebookSelectionByTokenResponses];
958
1109
  type GetV1ConnectByPlatformData = {
959
1110
  body?: never;
960
1111
  path: {
@@ -1069,7 +1220,7 @@ type GetV1ConnectIntegrationsData = {
1069
1220
  */
1070
1221
  profileId?: string;
1071
1222
  /**
1072
- * Case-insensitive search across the connected account name (displayName), username, and platform user ID.
1223
+ * Case-insensitive search across the connected account name (displayName), username, and platform user ID. A complete integration ID is also matched exactly.
1073
1224
  */
1074
1225
  q?: string;
1075
1226
  /**
@@ -1146,6 +1297,14 @@ type GetV1ConnectIntegrationsResponses = {
1146
1297
  * True when this integration was connected under the customer's own OAuth app (Bring Your Own Keys), i.e. appId is set. False when postpeer's system app is used.
1147
1298
  */
1148
1299
  byok: boolean;
1300
+ /**
1301
+ * Whether this integration can authenticate or needs OAuth reconnection
1302
+ */
1303
+ authStatus: 'active' | 'reconnect_required';
1304
+ /**
1305
+ * Stable reason reconnection is required, or null while active
1306
+ */
1307
+ authFailureReason: 'token_expired' | 'access_revoked' | 'security_invalidation' | 'refresh_rejected' | unknown;
1149
1308
  createdAt: string;
1150
1309
  }>;
1151
1310
  };
@@ -1155,7 +1314,7 @@ type DeleteV1ConnectIntegrationsByIdData = {
1155
1314
  body?: never;
1156
1315
  path: {
1157
1316
  /**
1158
- * Integration ID to disconnect
1317
+ * Integration ID
1159
1318
  */
1160
1319
  id: string;
1161
1320
  };
@@ -1181,6 +1340,234 @@ type DeleteV1ConnectIntegrationsByIdResponses = {
1181
1340
  };
1182
1341
  };
1183
1342
  type DeleteV1ConnectIntegrationsByIdResponse = DeleteV1ConnectIntegrationsByIdResponses[keyof DeleteV1ConnectIntegrationsByIdResponses];
1343
+ type GetV1ConnectIntegrationsByIdData = {
1344
+ body?: never;
1345
+ path: {
1346
+ /**
1347
+ * Integration ID
1348
+ */
1349
+ id: string;
1350
+ };
1351
+ query?: never;
1352
+ url: '/v1/connect/integrations/{id}';
1353
+ };
1354
+ type GetV1ConnectIntegrationsByIdErrors = {
1355
+ /**
1356
+ * Default Response
1357
+ */
1358
+ 404: {
1359
+ error: string;
1360
+ };
1361
+ };
1362
+ type GetV1ConnectIntegrationsByIdError = GetV1ConnectIntegrationsByIdErrors[keyof GetV1ConnectIntegrationsByIdErrors];
1363
+ type GetV1ConnectIntegrationsByIdResponses = {
1364
+ /**
1365
+ * Default Response
1366
+ */
1367
+ 200: {
1368
+ success: boolean;
1369
+ integration: {
1370
+ /**
1371
+ * Use this as accountId when creating posts
1372
+ */
1373
+ id: string;
1374
+ platform: 'twitter' | 'instagram' | 'youtube' | 'tiktok' | 'pinterest' | 'linkedin' | 'bluesky' | 'facebook' | 'threads' | 'googlebusiness';
1375
+ /**
1376
+ * The user ID on the platform, or null if not yet retrieved
1377
+ */
1378
+ platformUserId: string | null;
1379
+ /**
1380
+ * The public username or handle, including @ for handle-based platforms
1381
+ */
1382
+ username: string | null;
1383
+ /**
1384
+ * Human-readable display name of the connected account
1385
+ */
1386
+ displayName: string | null;
1387
+ /**
1388
+ * Public profile/page URL for the connected account, when it can be derived
1389
+ */
1390
+ profileUrl: string | null;
1391
+ /**
1392
+ * Profile image URL for the connected account, or null if unavailable
1393
+ */
1394
+ imageUrl: string | null;
1395
+ /**
1396
+ * Provider-specific public metadata for this connected account.
1397
+ */
1398
+ platformMetadata?: {
1399
+ [key: string]: unknown;
1400
+ };
1401
+ /**
1402
+ * Profile this integration belongs to, or null if it was connected without a profile
1403
+ */
1404
+ profileId: string | null;
1405
+ /**
1406
+ * The OAuth app (customer's own OAuth app) this integration was connected under, or null if postpeer's system app was used.
1407
+ */
1408
+ appId: string | null;
1409
+ /**
1410
+ * The OAuth app metadata for BYOK integrations, or null when postpeer system app was used.
1411
+ */
1412
+ app: {
1413
+ id?: string;
1414
+ name?: string;
1415
+ imageUrl?: string | null;
1416
+ } | null;
1417
+ /**
1418
+ * True when this integration was connected under the customer's own OAuth app (Bring Your Own Keys), i.e. appId is set. False when postpeer's system app is used.
1419
+ */
1420
+ byok: boolean;
1421
+ /**
1422
+ * Whether this integration can authenticate or needs OAuth reconnection
1423
+ */
1424
+ authStatus: 'active' | 'reconnect_required';
1425
+ /**
1426
+ * Stable reason reconnection is required, or null while active
1427
+ */
1428
+ authFailureReason: 'token_expired' | 'access_revoked' | 'security_invalidation' | 'refresh_rejected' | unknown;
1429
+ createdAt: string;
1430
+ } & {
1431
+ /**
1432
+ * OAuth scopes recorded when this integration was connected
1433
+ */
1434
+ scopes: Array<string>;
1435
+ /**
1436
+ * When the current access token expires, or null when the provider does not report an expiry
1437
+ */
1438
+ accessTokenExpiresAt: string | null;
1439
+ /**
1440
+ * When the refresh token expires, or null when the provider does not report an expiry
1441
+ */
1442
+ refreshTokenExpiresAt: string | null;
1443
+ tokenStatus: {
1444
+ /**
1445
+ * Whether recorded expiry metadata indicates the integration can authenticate. Provider revocation is detected when the integration is used.
1446
+ */
1447
+ valid: boolean;
1448
+ /**
1449
+ * Whether PostPeer automatically refreshes this platform token when needed.
1450
+ */
1451
+ autoRefreshes: boolean;
1452
+ /**
1453
+ * Whether this integration must complete OAuth again
1454
+ */
1455
+ reconnectRequired: boolean;
1456
+ reason: 'token_expired' | 'access_revoked' | 'security_invalidation' | 'refresh_rejected' | unknown;
1457
+ };
1458
+ updatedAt: string;
1459
+ };
1460
+ };
1461
+ };
1462
+ type GetV1ConnectIntegrationsByIdResponse = GetV1ConnectIntegrationsByIdResponses[keyof GetV1ConnectIntegrationsByIdResponses];
1463
+ type PatchV1ConnectIntegrationsByIdData = {
1464
+ body: {
1465
+ /**
1466
+ * Destination profile ID. Pass null to remove the integration from its current profile.
1467
+ */
1468
+ profileId: string | null;
1469
+ };
1470
+ path: {
1471
+ /**
1472
+ * Integration ID
1473
+ */
1474
+ id: string;
1475
+ };
1476
+ query?: never;
1477
+ url: '/v1/connect/integrations/{id}';
1478
+ };
1479
+ type PatchV1ConnectIntegrationsByIdErrors = {
1480
+ /**
1481
+ * Default Response
1482
+ */
1483
+ 400: {
1484
+ error: string;
1485
+ };
1486
+ /**
1487
+ * Default Response
1488
+ */
1489
+ 404: {
1490
+ error: string;
1491
+ };
1492
+ /**
1493
+ * Default Response
1494
+ */
1495
+ 409: {
1496
+ error: string;
1497
+ };
1498
+ };
1499
+ type PatchV1ConnectIntegrationsByIdError = PatchV1ConnectIntegrationsByIdErrors[keyof PatchV1ConnectIntegrationsByIdErrors];
1500
+ type PatchV1ConnectIntegrationsByIdResponses = {
1501
+ /**
1502
+ * Default Response
1503
+ */
1504
+ 200: {
1505
+ success: boolean;
1506
+ integration: {
1507
+ /**
1508
+ * Use this as accountId when creating posts
1509
+ */
1510
+ id: string;
1511
+ platform: 'twitter' | 'instagram' | 'youtube' | 'tiktok' | 'pinterest' | 'linkedin' | 'bluesky' | 'facebook' | 'threads' | 'googlebusiness';
1512
+ /**
1513
+ * The user ID on the platform, or null if not yet retrieved
1514
+ */
1515
+ platformUserId: string | null;
1516
+ /**
1517
+ * The public username or handle, including @ for handle-based platforms
1518
+ */
1519
+ username: string | null;
1520
+ /**
1521
+ * Human-readable display name of the connected account
1522
+ */
1523
+ displayName: string | null;
1524
+ /**
1525
+ * Public profile/page URL for the connected account, when it can be derived
1526
+ */
1527
+ profileUrl: string | null;
1528
+ /**
1529
+ * Profile image URL for the connected account, or null if unavailable
1530
+ */
1531
+ imageUrl: string | null;
1532
+ /**
1533
+ * Provider-specific public metadata for this connected account.
1534
+ */
1535
+ platformMetadata?: {
1536
+ [key: string]: unknown;
1537
+ };
1538
+ /**
1539
+ * Profile this integration belongs to, or null if it was connected without a profile
1540
+ */
1541
+ profileId: string | null;
1542
+ /**
1543
+ * The OAuth app (customer's own OAuth app) this integration was connected under, or null if postpeer's system app was used.
1544
+ */
1545
+ appId: string | null;
1546
+ /**
1547
+ * The OAuth app metadata for BYOK integrations, or null when postpeer system app was used.
1548
+ */
1549
+ app: {
1550
+ id?: string;
1551
+ name?: string;
1552
+ imageUrl?: string | null;
1553
+ } | null;
1554
+ /**
1555
+ * True when this integration was connected under the customer's own OAuth app (Bring Your Own Keys), i.e. appId is set. False when postpeer's system app is used.
1556
+ */
1557
+ byok: boolean;
1558
+ /**
1559
+ * Whether this integration can authenticate or needs OAuth reconnection
1560
+ */
1561
+ authStatus: 'active' | 'reconnect_required';
1562
+ /**
1563
+ * Stable reason reconnection is required, or null while active
1564
+ */
1565
+ authFailureReason: 'token_expired' | 'access_revoked' | 'security_invalidation' | 'refresh_rejected' | unknown;
1566
+ createdAt: string;
1567
+ };
1568
+ };
1569
+ };
1570
+ type PatchV1ConnectIntegrationsByIdResponse = PatchV1ConnectIntegrationsByIdResponses[keyof PatchV1ConnectIntegrationsByIdResponses];
1184
1571
  type GetV1ProfilesData = {
1185
1572
  body?: never;
1186
1573
  path?: never;
@@ -3404,6 +3791,20 @@ declare class Linkedin extends HeyApiClient {
3404
3791
  */
3405
3792
  submitSelection<ThrowOnError extends boolean = false>(options: Options<PostV1ConnectLinkedinSelectionByTokenData, ThrowOnError>): RequestResult<PostV1ConnectLinkedinSelectionByTokenResponses, PostV1ConnectLinkedinSelectionByTokenErrors, ThrowOnError>;
3406
3793
  }
3794
+ declare class Facebook extends HeyApiClient {
3795
+ /**
3796
+ * Get pending Facebook Page choices
3797
+ *
3798
+ * Returns the Facebook Pages available after OAuth when the user must choose which Pages to connect. The selection token is short-lived and one-time.
3799
+ */
3800
+ getSelection<ThrowOnError extends boolean = false>(options: Options<GetV1ConnectFacebookSelectionByTokenData, ThrowOnError>): RequestResult<GetV1ConnectFacebookSelectionByTokenResponses, GetV1ConnectFacebookSelectionByTokenErrors, ThrowOnError>;
3801
+ /**
3802
+ * Save selected Facebook Pages
3803
+ *
3804
+ * Saves only the selected Facebook Pages as integrations, then invalidates the one-time selection token.
3805
+ */
3806
+ submitSelection<ThrowOnError extends boolean = false>(options: Options<PostV1ConnectFacebookSelectionByTokenData, ThrowOnError>): RequestResult<PostV1ConnectFacebookSelectionByTokenResponses, PostV1ConnectFacebookSelectionByTokenErrors, ThrowOnError>;
3807
+ }
3407
3808
  declare class Integrations extends HeyApiClient {
3408
3809
  /**
3409
3810
  * List integrations connected to this project
@@ -3413,12 +3814,18 @@ declare class Integrations extends HeyApiClient {
3413
3814
  * Disconnect a platform integration
3414
3815
  */
3415
3816
  disconnect<ThrowOnError extends boolean = false>(options: Options<DeleteV1ConnectIntegrationsByIdData, ThrowOnError>): RequestResult<DeleteV1ConnectIntegrationsByIdResponses, DeleteV1ConnectIntegrationsByIdErrors, ThrowOnError>;
3817
+ /**
3818
+ * Get integration details
3819
+ *
3820
+ * Returns one integration, including its recorded OAuth scopes and token expiry metadata. OAuth tokens are never returned.
3821
+ */
3822
+ get<ThrowOnError extends boolean = false>(options: Options<GetV1ConnectIntegrationsByIdData, ThrowOnError>): RequestResult<GetV1ConnectIntegrationsByIdResponses, GetV1ConnectIntegrationsByIdErrors, ThrowOnError>;
3416
3823
  }
3417
3824
  declare class Connect extends HeyApiClient {
3418
3825
  /**
3419
3826
  * Get OAuth URL for a platform
3420
3827
  *
3421
- * Initiates an OAuth connection flow. By default, PostPeer hosts any required account selection UI and then returns the user to redirectUri. For LinkedIn custom account-selection UI, pass headless=true; if selection is required, the callback redirects to redirectUri with status=selection_required, platform=linkedin, and selectionToken.
3828
+ * Initiates an OAuth connection flow. By default, PostPeer hosts any required account selection UI and then returns the user to redirectUri. For LinkedIn or Facebook custom account-selection UI, pass headless=true; if selection is required, the callback redirects to redirectUri with status=selection_required, platform, and selectionToken.
3422
3829
  */
3423
3830
  getOAuthUrl<ThrowOnError extends boolean = false>(options: Options<GetV1ConnectByPlatformData, ThrowOnError>): RequestResult<GetV1ConnectByPlatformResponses, GetV1ConnectByPlatformErrors, ThrowOnError>;
3424
3831
  /**
@@ -3429,6 +3836,8 @@ declare class Connect extends HeyApiClient {
3429
3836
  bluesky<ThrowOnError extends boolean = false>(options: Options<PostV1ConnectBlueskyAuthData, ThrowOnError>): RequestResult<unknown, PostV1ConnectBlueskyAuthErrors, ThrowOnError>;
3430
3837
  private _linkedin?;
3431
3838
  get linkedin(): Linkedin;
3839
+ private _facebook?;
3840
+ get facebook(): Facebook;
3432
3841
  private _integrations?;
3433
3842
  get integrations(): Integrations;
3434
3843
  }
@@ -3618,6 +4027,12 @@ declare class PostPeer$1 extends HeyApiClient {
3618
4027
  client?: Client;
3619
4028
  key?: string;
3620
4029
  });
4030
+ /**
4031
+ * Move an integration to another profile
4032
+ *
4033
+ * Reassigns an existing integration to another profile in the same project. Pass profileId=null to leave the integration unassigned. OAuth credentials and existing posts are unchanged.
4034
+ */
4035
+ moveIntegration<ThrowOnError extends boolean = false>(options: Options<PatchV1ConnectIntegrationsByIdData, ThrowOnError>): RequestResult<PatchV1ConnectIntegrationsByIdResponses, PatchV1ConnectIntegrationsByIdErrors, ThrowOnError>;
3621
4036
  private _health?;
3622
4037
  get health(): Health;
3623
4038
  private _connect?;
@@ -3715,6 +4130,6 @@ declare class APIUserAbortError extends APIConnectionError {
3715
4130
  constructor(options?: ErrorOptions);
3716
4131
  }
3717
4132
 
3718
- declare const VERSION = "0.8.2";
4133
+ declare const VERSION = "0.8.4";
3719
4134
 
3720
- export { APIConnectionError, APIConnectionTimeoutError, APIError, APIUserAbortError, AuthenticationError, BadRequestError, type BlueskyConfigurations, type ClientOptions, ConflictError, type DeleteV1AppsByIdData, type DeleteV1AppsByIdError, type DeleteV1AppsByIdErrors, type DeleteV1AppsByIdResponse, type DeleteV1AppsByIdResponses, type DeleteV1ConnectIntegrationsByIdData, type DeleteV1ConnectIntegrationsByIdError, type DeleteV1ConnectIntegrationsByIdErrors, type DeleteV1ConnectIntegrationsByIdResponse, type DeleteV1ConnectIntegrationsByIdResponses, type DeleteV1NotificationsByIdData, type DeleteV1NotificationsByIdError, type DeleteV1NotificationsByIdErrors, type DeleteV1NotificationsByIdResponse, type DeleteV1NotificationsByIdResponses, type DeleteV1PostsByPostIdData, type DeleteV1PostsByPostIdError, type DeleteV1PostsByPostIdErrors, type DeleteV1PostsByPostIdResponse, type DeleteV1PostsByPostIdResponses, type DeleteV1PostsScheduledByPostIdData, type DeleteV1PostsScheduledByPostIdError, type DeleteV1PostsScheduledByPostIdErrors, type DeleteV1PostsScheduledByPostIdResponse, type DeleteV1PostsScheduledByPostIdResponses, type DeleteV1ProfilesByIdData, type DeleteV1ProfilesByIdError, type DeleteV1ProfilesByIdErrors, type DeleteV1ProfilesByIdResponse, type DeleteV1ProfilesByIdResponses, type ErrorResponse, type FacebookConfigurations, type GetV1AnalyticsData, type GetV1AnalyticsError, type GetV1AnalyticsErrors, type GetV1AnalyticsResponse, type GetV1AnalyticsResponses, type GetV1AppsByIdData, type GetV1AppsByIdError, type GetV1AppsByIdErrors, type GetV1AppsByIdResponse, type GetV1AppsByIdResponses, type GetV1AppsData, type GetV1AppsResponse, type GetV1AppsResponses, type GetV1ConnectByPlatformData, type GetV1ConnectByPlatformError, type GetV1ConnectByPlatformErrors, type GetV1ConnectByPlatformResponse, type GetV1ConnectByPlatformResponses, type GetV1ConnectIntegrationsData, type GetV1ConnectIntegrationsResponse, type GetV1ConnectIntegrationsResponses, type GetV1ConnectLinkedinSelectionByTokenData, type GetV1ConnectLinkedinSelectionByTokenError, type GetV1ConnectLinkedinSelectionByTokenErrors, type GetV1ConnectLinkedinSelectionByTokenResponse, type GetV1ConnectLinkedinSelectionByTokenResponses, type GetV1HealthAuthData, type GetV1HealthAuthResponse, type GetV1HealthAuthResponses, type GetV1HealthData, type GetV1HealthResponse, type GetV1HealthResponses, type GetV1NotificationsByIdData, type GetV1NotificationsByIdError, type GetV1NotificationsByIdErrors, type GetV1NotificationsByIdResponse, type GetV1NotificationsByIdResponses, type GetV1NotificationsData, type GetV1NotificationsResponse, type GetV1NotificationsResponses, type GetV1PinterestBoardsData, type GetV1PinterestBoardsError, type GetV1PinterestBoardsErrors, type GetV1PinterestBoardsResponse, type GetV1PinterestBoardsResponses, type GetV1PlatformsData, type GetV1PlatformsResponse, type GetV1PlatformsResponses, type GetV1PostsByPostIdData, type GetV1PostsByPostIdError, type GetV1PostsByPostIdErrors, type GetV1PostsByPostIdResponse, type GetV1PostsByPostIdResponses, type GetV1PostsData, type GetV1PostsError, type GetV1PostsErrors, type GetV1PostsResponse, type GetV1PostsResponses, type GetV1PostsScheduledData, type GetV1PostsScheduledResponse, type GetV1PostsScheduledResponses, type GetV1ProfilesByIdData, type GetV1ProfilesByIdError, type GetV1ProfilesByIdErrors, type GetV1ProfilesByIdResponse, type GetV1ProfilesByIdResponses, type GetV1ProfilesData, type GetV1ProfilesResponse, type GetV1ProfilesResponses, type GetV1TiktokCreatorInfoData, type GetV1TiktokCreatorInfoError, type GetV1TiktokCreatorInfoErrors, type GetV1TiktokCreatorInfoResponse, type GetV1TiktokCreatorInfoResponses, type GetV1UsageData, type GetV1UsageError, type GetV1UsageErrors, type GetV1UsageResponse, type GetV1UsageResponses, type GoogleBusinessConfigurations, type InstagramConfigurations, InternalServerError, type LinkedInConfigurations, type LinkedInMention, NotFoundError, type PatchV1AppsByIdData, type PatchV1AppsByIdError, type PatchV1AppsByIdErrors, type PatchV1AppsByIdResponse, type PatchV1AppsByIdResponses, type PatchV1NotificationsByIdData, type PatchV1NotificationsByIdError, type PatchV1NotificationsByIdErrors, type PatchV1NotificationsByIdResponse, type PatchV1NotificationsByIdResponses, type PatchV1PostsScheduledByPostIdData, type PatchV1PostsScheduledByPostIdError, type PatchV1PostsScheduledByPostIdErrors, type PatchV1PostsScheduledByPostIdResponse, type PatchV1PostsScheduledByPostIdResponses, type PatchV1ProfilesByIdData, type PatchV1ProfilesByIdError, type PatchV1ProfilesByIdErrors, type PatchV1ProfilesByIdResponse, type PatchV1ProfilesByIdResponses, PermissionDeniedError, type PinterestConfigurations, type Platform, type PostPayload, PostPeer, PostPeerError, type PostV1AiImageData, type PostV1AiImageError, type PostV1AiImageErrors, type PostV1AiImageResponse, type PostV1AiImageResponses, type PostV1AiWriteData, type PostV1AiWriteError, type PostV1AiWriteErrors, type PostV1AiWriteResponse, type PostV1AiWriteResponses, type PostV1AppsData, type PostV1AppsError, type PostV1AppsErrors, type PostV1AppsResponse, type PostV1AppsResponses, type PostV1ConnectBlueskyAuthData, type PostV1ConnectBlueskyAuthError, type PostV1ConnectBlueskyAuthErrors, type PostV1ConnectLinkedinSelectionByTokenData, type PostV1ConnectLinkedinSelectionByTokenError, type PostV1ConnectLinkedinSelectionByTokenErrors, type PostV1ConnectLinkedinSelectionByTokenResponse, type PostV1ConnectLinkedinSelectionByTokenResponses, type PostV1MediaUploadData, type PostV1MediaUploadError, type PostV1MediaUploadErrors, type PostV1MediaUploadResponse, type PostV1MediaUploadResponses, type PostV1NotificationsData, type PostV1NotificationsError, type PostV1NotificationsErrors, type PostV1NotificationsResponse, type PostV1NotificationsResponses, type PostV1NotificationsTestData, type PostV1NotificationsTestError, type PostV1NotificationsTestErrors, type PostV1NotificationsTestResponse, type PostV1NotificationsTestResponses, type PostV1PostsData, type PostV1PostsError, type PostV1PostsErrors, type PostV1PostsResponse, type PostV1PostsResponses, type PostV1ProfilesData, type PostV1ProfilesResponse, type PostV1ProfilesResponses, type PutV1PostsScheduledByPostIdData, type PutV1PostsScheduledByPostIdError, type PutV1PostsScheduledByPostIdErrors, type PutV1PostsScheduledByPostIdResponse, type PutV1PostsScheduledByPostIdResponses, RateLimitError, type SortOrder, type Status, type ThreadsConfigurations, type TikTokConfigurations, type TwitterConfigurations, UnprocessableEntityError, VERSION, type YouTubeConfigurations, PostPeer as default };
4135
+ export { APIConnectionError, APIConnectionTimeoutError, APIError, APIUserAbortError, AuthenticationError, BadRequestError, type BlueskyConfigurations, type ClientOptions, ConflictError, type DeleteV1AppsByIdData, type DeleteV1AppsByIdError, type DeleteV1AppsByIdErrors, type DeleteV1AppsByIdResponse, type DeleteV1AppsByIdResponses, type DeleteV1ConnectIntegrationsByIdData, type DeleteV1ConnectIntegrationsByIdError, type DeleteV1ConnectIntegrationsByIdErrors, type DeleteV1ConnectIntegrationsByIdResponse, type DeleteV1ConnectIntegrationsByIdResponses, type DeleteV1NotificationsByIdData, type DeleteV1NotificationsByIdError, type DeleteV1NotificationsByIdErrors, type DeleteV1NotificationsByIdResponse, type DeleteV1NotificationsByIdResponses, type DeleteV1PostsByPostIdData, type DeleteV1PostsByPostIdError, type DeleteV1PostsByPostIdErrors, type DeleteV1PostsByPostIdResponse, type DeleteV1PostsByPostIdResponses, type DeleteV1PostsScheduledByPostIdData, type DeleteV1PostsScheduledByPostIdError, type DeleteV1PostsScheduledByPostIdErrors, type DeleteV1PostsScheduledByPostIdResponse, type DeleteV1PostsScheduledByPostIdResponses, type DeleteV1ProfilesByIdData, type DeleteV1ProfilesByIdError, type DeleteV1ProfilesByIdErrors, type DeleteV1ProfilesByIdResponse, type DeleteV1ProfilesByIdResponses, type ErrorResponse, type FacebookConfigurations, type GetV1AnalyticsData, type GetV1AnalyticsError, type GetV1AnalyticsErrors, type GetV1AnalyticsResponse, type GetV1AnalyticsResponses, type GetV1AppsByIdData, type GetV1AppsByIdError, type GetV1AppsByIdErrors, type GetV1AppsByIdResponse, type GetV1AppsByIdResponses, type GetV1AppsData, type GetV1AppsResponse, type GetV1AppsResponses, type GetV1ConnectByPlatformData, type GetV1ConnectByPlatformError, type GetV1ConnectByPlatformErrors, type GetV1ConnectByPlatformResponse, type GetV1ConnectByPlatformResponses, type GetV1ConnectFacebookSelectionByTokenData, type GetV1ConnectFacebookSelectionByTokenError, type GetV1ConnectFacebookSelectionByTokenErrors, type GetV1ConnectFacebookSelectionByTokenResponse, type GetV1ConnectFacebookSelectionByTokenResponses, type GetV1ConnectIntegrationsByIdData, type GetV1ConnectIntegrationsByIdError, type GetV1ConnectIntegrationsByIdErrors, type GetV1ConnectIntegrationsByIdResponse, type GetV1ConnectIntegrationsByIdResponses, type GetV1ConnectIntegrationsData, type GetV1ConnectIntegrationsResponse, type GetV1ConnectIntegrationsResponses, type GetV1ConnectLinkedinSelectionByTokenData, type GetV1ConnectLinkedinSelectionByTokenError, type GetV1ConnectLinkedinSelectionByTokenErrors, type GetV1ConnectLinkedinSelectionByTokenResponse, type GetV1ConnectLinkedinSelectionByTokenResponses, type GetV1HealthAuthData, type GetV1HealthAuthResponse, type GetV1HealthAuthResponses, type GetV1HealthData, type GetV1HealthResponse, type GetV1HealthResponses, type GetV1NotificationsByIdData, type GetV1NotificationsByIdError, type GetV1NotificationsByIdErrors, type GetV1NotificationsByIdResponse, type GetV1NotificationsByIdResponses, type GetV1NotificationsData, type GetV1NotificationsResponse, type GetV1NotificationsResponses, type GetV1PinterestBoardsData, type GetV1PinterestBoardsError, type GetV1PinterestBoardsErrors, type GetV1PinterestBoardsResponse, type GetV1PinterestBoardsResponses, type GetV1PlatformsData, type GetV1PlatformsResponse, type GetV1PlatformsResponses, type GetV1PostsByPostIdData, type GetV1PostsByPostIdError, type GetV1PostsByPostIdErrors, type GetV1PostsByPostIdResponse, type GetV1PostsByPostIdResponses, type GetV1PostsData, type GetV1PostsError, type GetV1PostsErrors, type GetV1PostsResponse, type GetV1PostsResponses, type GetV1PostsScheduledData, type GetV1PostsScheduledResponse, type GetV1PostsScheduledResponses, type GetV1ProfilesByIdData, type GetV1ProfilesByIdError, type GetV1ProfilesByIdErrors, type GetV1ProfilesByIdResponse, type GetV1ProfilesByIdResponses, type GetV1ProfilesData, type GetV1ProfilesResponse, type GetV1ProfilesResponses, type GetV1TiktokCreatorInfoData, type GetV1TiktokCreatorInfoError, type GetV1TiktokCreatorInfoErrors, type GetV1TiktokCreatorInfoResponse, type GetV1TiktokCreatorInfoResponses, type GetV1UsageData, type GetV1UsageError, type GetV1UsageErrors, type GetV1UsageResponse, type GetV1UsageResponses, type GoogleBusinessConfigurations, type InstagramConfigurations, InternalServerError, type LinkedInConfigurations, type LinkedInMention, NotFoundError, type PatchV1AppsByIdData, type PatchV1AppsByIdError, type PatchV1AppsByIdErrors, type PatchV1AppsByIdResponse, type PatchV1AppsByIdResponses, type PatchV1ConnectIntegrationsByIdData, type PatchV1ConnectIntegrationsByIdError, type PatchV1ConnectIntegrationsByIdErrors, type PatchV1ConnectIntegrationsByIdResponse, type PatchV1ConnectIntegrationsByIdResponses, type PatchV1NotificationsByIdData, type PatchV1NotificationsByIdError, type PatchV1NotificationsByIdErrors, type PatchV1NotificationsByIdResponse, type PatchV1NotificationsByIdResponses, type PatchV1PostsScheduledByPostIdData, type PatchV1PostsScheduledByPostIdError, type PatchV1PostsScheduledByPostIdErrors, type PatchV1PostsScheduledByPostIdResponse, type PatchV1PostsScheduledByPostIdResponses, type PatchV1ProfilesByIdData, type PatchV1ProfilesByIdError, type PatchV1ProfilesByIdErrors, type PatchV1ProfilesByIdResponse, type PatchV1ProfilesByIdResponses, PermissionDeniedError, type PinterestConfigurations, type Platform, type PostPayload, PostPeer, PostPeerError, type PostV1AiImageData, type PostV1AiImageError, type PostV1AiImageErrors, type PostV1AiImageResponse, type PostV1AiImageResponses, type PostV1AiWriteData, type PostV1AiWriteError, type PostV1AiWriteErrors, type PostV1AiWriteResponse, type PostV1AiWriteResponses, type PostV1AppsData, type PostV1AppsError, type PostV1AppsErrors, type PostV1AppsResponse, type PostV1AppsResponses, type PostV1ConnectBlueskyAuthData, type PostV1ConnectBlueskyAuthError, type PostV1ConnectBlueskyAuthErrors, type PostV1ConnectFacebookSelectionByTokenData, type PostV1ConnectFacebookSelectionByTokenError, type PostV1ConnectFacebookSelectionByTokenErrors, type PostV1ConnectFacebookSelectionByTokenResponse, type PostV1ConnectFacebookSelectionByTokenResponses, type PostV1ConnectLinkedinSelectionByTokenData, type PostV1ConnectLinkedinSelectionByTokenError, type PostV1ConnectLinkedinSelectionByTokenErrors, type PostV1ConnectLinkedinSelectionByTokenResponse, type PostV1ConnectLinkedinSelectionByTokenResponses, type PostV1MediaUploadData, type PostV1MediaUploadError, type PostV1MediaUploadErrors, type PostV1MediaUploadResponse, type PostV1MediaUploadResponses, type PostV1NotificationsData, type PostV1NotificationsError, type PostV1NotificationsErrors, type PostV1NotificationsResponse, type PostV1NotificationsResponses, type PostV1NotificationsTestData, type PostV1NotificationsTestError, type PostV1NotificationsTestErrors, type PostV1NotificationsTestResponse, type PostV1NotificationsTestResponses, type PostV1PostsData, type PostV1PostsError, type PostV1PostsErrors, type PostV1PostsResponse, type PostV1PostsResponses, type PostV1ProfilesData, type PostV1ProfilesResponse, type PostV1ProfilesResponses, type PutV1PostsScheduledByPostIdData, type PutV1PostsScheduledByPostIdError, type PutV1PostsScheduledByPostIdErrors, type PutV1PostsScheduledByPostIdResponse, type PutV1PostsScheduledByPostIdResponses, RateLimitError, type SortOrder, type Status, type ThreadsConfigurations, type TikTokConfigurations, type TwitterConfigurations, UnprocessableEntityError, VERSION, type YouTubeConfigurations, PostPeer as default };