@postrun/js 1.3.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.
@@ -19,7 +19,6 @@ declare const zErrorCode: z.ZodEnum<{
19
19
  account_not_available: "account_not_available";
20
20
  connection_reauth_required: "connection_reauth_required";
21
21
  connection_not_pending: "connection_not_pending";
22
- connection_in_use: "connection_in_use";
23
22
  not_implemented: "not_implemented";
24
23
  connection_discovery_failed: "connection_discovery_failed";
25
24
  media_processing: "media_processing";
@@ -66,9 +65,11 @@ declare const zErrorCode: z.ZodEnum<{
66
65
  media_failed: "media_failed";
67
66
  media_unsupported: "media_unsupported";
68
67
  media_kind_mismatch: "media_kind_mismatch";
68
+ variant_unparseable: "variant_unparseable";
69
69
  publishing_unavailable: "publishing_unavailable";
70
70
  x_duplicate_content: "x_duplicate_content";
71
71
  x_not_authorized: "x_not_authorized";
72
+ x_access_not_permitted: "x_access_not_permitted";
72
73
  x_rate_limited: "x_rate_limited";
73
74
  x_publish_failed: "x_publish_failed";
74
75
  x_media_upload_failed: "x_media_upload_failed";
@@ -96,6 +97,7 @@ declare const zErrorCode: z.ZodEnum<{
96
97
  tiktok_rate_limited: "tiktok_rate_limited";
97
98
  tiktok_publish_failed: "tiktok_publish_failed";
98
99
  connection_platform_mismatch: "connection_platform_mismatch";
100
+ connection_removed: "connection_removed";
99
101
  }>;
100
102
  declare const zProfilesListQuery: z.ZodObject<{
101
103
  limit: z.ZodDefault<z.ZodOptional<z.ZodInt>>;
@@ -1139,7 +1141,7 @@ declare const zPostsListResponse: z.ZodObject<{
1139
1141
  variants: z.ZodArray<z.ZodObject<{
1140
1142
  id: z.ZodString;
1141
1143
  object: z.ZodLiteral<"post_variant">;
1142
- connection_id: z.ZodString;
1144
+ connection_id: z.ZodNullable<z.ZodString>;
1143
1145
  platform: z.ZodEnum<{
1144
1146
  x: "x";
1145
1147
  linkedin: "linkedin";
@@ -1413,7 +1415,7 @@ declare const zPostsCreateResponse: z.ZodObject<{
1413
1415
  variants: z.ZodArray<z.ZodObject<{
1414
1416
  id: z.ZodString;
1415
1417
  object: z.ZodLiteral<"post_variant">;
1416
- connection_id: z.ZodString;
1418
+ connection_id: z.ZodNullable<z.ZodString>;
1417
1419
  platform: z.ZodEnum<{
1418
1420
  x: "x";
1419
1421
  linkedin: "linkedin";
@@ -1497,7 +1499,7 @@ declare const zPostsGetResponse: z.ZodObject<{
1497
1499
  variants: z.ZodArray<z.ZodObject<{
1498
1500
  id: z.ZodString;
1499
1501
  object: z.ZodLiteral<"post_variant">;
1500
- connection_id: z.ZodString;
1502
+ connection_id: z.ZodNullable<z.ZodString>;
1501
1503
  platform: z.ZodEnum<{
1502
1504
  x: "x";
1503
1505
  linkedin: "linkedin";
@@ -1768,7 +1770,7 @@ declare const zPostsUpdateResponse: z.ZodObject<{
1768
1770
  variants: z.ZodArray<z.ZodObject<{
1769
1771
  id: z.ZodString;
1770
1772
  object: z.ZodLiteral<"post_variant">;
1771
- connection_id: z.ZodString;
1773
+ connection_id: z.ZodNullable<z.ZodString>;
1772
1774
  platform: z.ZodEnum<{
1773
1775
  x: "x";
1774
1776
  linkedin: "linkedin";
@@ -2026,7 +2028,6 @@ declare const zPostsValidateResponse: z.ZodObject<{
2026
2028
  account_not_available: "account_not_available";
2027
2029
  connection_reauth_required: "connection_reauth_required";
2028
2030
  connection_not_pending: "connection_not_pending";
2029
- connection_in_use: "connection_in_use";
2030
2031
  not_implemented: "not_implemented";
2031
2032
  connection_discovery_failed: "connection_discovery_failed";
2032
2033
  media_processing: "media_processing";
@@ -2073,9 +2074,11 @@ declare const zPostsValidateResponse: z.ZodObject<{
2073
2074
  media_failed: "media_failed";
2074
2075
  media_unsupported: "media_unsupported";
2075
2076
  media_kind_mismatch: "media_kind_mismatch";
2077
+ variant_unparseable: "variant_unparseable";
2076
2078
  publishing_unavailable: "publishing_unavailable";
2077
2079
  x_duplicate_content: "x_duplicate_content";
2078
2080
  x_not_authorized: "x_not_authorized";
2081
+ x_access_not_permitted: "x_access_not_permitted";
2079
2082
  x_rate_limited: "x_rate_limited";
2080
2083
  x_publish_failed: "x_publish_failed";
2081
2084
  x_media_upload_failed: "x_media_upload_failed";
@@ -2103,6 +2106,7 @@ declare const zPostsValidateResponse: z.ZodObject<{
2103
2106
  tiktok_rate_limited: "tiktok_rate_limited";
2104
2107
  tiktok_publish_failed: "tiktok_publish_failed";
2105
2108
  connection_platform_mismatch: "connection_platform_mismatch";
2109
+ connection_removed: "connection_removed";
2106
2110
  }>;
2107
2111
  message: z.ZodString;
2108
2112
  hint: z.ZodOptional<z.ZodString>;
@@ -19,7 +19,6 @@ declare const zErrorCode: z.ZodEnum<{
19
19
  account_not_available: "account_not_available";
20
20
  connection_reauth_required: "connection_reauth_required";
21
21
  connection_not_pending: "connection_not_pending";
22
- connection_in_use: "connection_in_use";
23
22
  not_implemented: "not_implemented";
24
23
  connection_discovery_failed: "connection_discovery_failed";
25
24
  media_processing: "media_processing";
@@ -66,9 +65,11 @@ declare const zErrorCode: z.ZodEnum<{
66
65
  media_failed: "media_failed";
67
66
  media_unsupported: "media_unsupported";
68
67
  media_kind_mismatch: "media_kind_mismatch";
68
+ variant_unparseable: "variant_unparseable";
69
69
  publishing_unavailable: "publishing_unavailable";
70
70
  x_duplicate_content: "x_duplicate_content";
71
71
  x_not_authorized: "x_not_authorized";
72
+ x_access_not_permitted: "x_access_not_permitted";
72
73
  x_rate_limited: "x_rate_limited";
73
74
  x_publish_failed: "x_publish_failed";
74
75
  x_media_upload_failed: "x_media_upload_failed";
@@ -96,6 +97,7 @@ declare const zErrorCode: z.ZodEnum<{
96
97
  tiktok_rate_limited: "tiktok_rate_limited";
97
98
  tiktok_publish_failed: "tiktok_publish_failed";
98
99
  connection_platform_mismatch: "connection_platform_mismatch";
100
+ connection_removed: "connection_removed";
99
101
  }>;
100
102
  declare const zProfilesListQuery: z.ZodObject<{
101
103
  limit: z.ZodDefault<z.ZodOptional<z.ZodInt>>;
@@ -1139,7 +1141,7 @@ declare const zPostsListResponse: z.ZodObject<{
1139
1141
  variants: z.ZodArray<z.ZodObject<{
1140
1142
  id: z.ZodString;
1141
1143
  object: z.ZodLiteral<"post_variant">;
1142
- connection_id: z.ZodString;
1144
+ connection_id: z.ZodNullable<z.ZodString>;
1143
1145
  platform: z.ZodEnum<{
1144
1146
  x: "x";
1145
1147
  linkedin: "linkedin";
@@ -1413,7 +1415,7 @@ declare const zPostsCreateResponse: z.ZodObject<{
1413
1415
  variants: z.ZodArray<z.ZodObject<{
1414
1416
  id: z.ZodString;
1415
1417
  object: z.ZodLiteral<"post_variant">;
1416
- connection_id: z.ZodString;
1418
+ connection_id: z.ZodNullable<z.ZodString>;
1417
1419
  platform: z.ZodEnum<{
1418
1420
  x: "x";
1419
1421
  linkedin: "linkedin";
@@ -1497,7 +1499,7 @@ declare const zPostsGetResponse: z.ZodObject<{
1497
1499
  variants: z.ZodArray<z.ZodObject<{
1498
1500
  id: z.ZodString;
1499
1501
  object: z.ZodLiteral<"post_variant">;
1500
- connection_id: z.ZodString;
1502
+ connection_id: z.ZodNullable<z.ZodString>;
1501
1503
  platform: z.ZodEnum<{
1502
1504
  x: "x";
1503
1505
  linkedin: "linkedin";
@@ -1768,7 +1770,7 @@ declare const zPostsUpdateResponse: z.ZodObject<{
1768
1770
  variants: z.ZodArray<z.ZodObject<{
1769
1771
  id: z.ZodString;
1770
1772
  object: z.ZodLiteral<"post_variant">;
1771
- connection_id: z.ZodString;
1773
+ connection_id: z.ZodNullable<z.ZodString>;
1772
1774
  platform: z.ZodEnum<{
1773
1775
  x: "x";
1774
1776
  linkedin: "linkedin";
@@ -2026,7 +2028,6 @@ declare const zPostsValidateResponse: z.ZodObject<{
2026
2028
  account_not_available: "account_not_available";
2027
2029
  connection_reauth_required: "connection_reauth_required";
2028
2030
  connection_not_pending: "connection_not_pending";
2029
- connection_in_use: "connection_in_use";
2030
2031
  not_implemented: "not_implemented";
2031
2032
  connection_discovery_failed: "connection_discovery_failed";
2032
2033
  media_processing: "media_processing";
@@ -2073,9 +2074,11 @@ declare const zPostsValidateResponse: z.ZodObject<{
2073
2074
  media_failed: "media_failed";
2074
2075
  media_unsupported: "media_unsupported";
2075
2076
  media_kind_mismatch: "media_kind_mismatch";
2077
+ variant_unparseable: "variant_unparseable";
2076
2078
  publishing_unavailable: "publishing_unavailable";
2077
2079
  x_duplicate_content: "x_duplicate_content";
2078
2080
  x_not_authorized: "x_not_authorized";
2081
+ x_access_not_permitted: "x_access_not_permitted";
2079
2082
  x_rate_limited: "x_rate_limited";
2080
2083
  x_publish_failed: "x_publish_failed";
2081
2084
  x_media_upload_failed: "x_media_upload_failed";
@@ -2103,6 +2106,7 @@ declare const zPostsValidateResponse: z.ZodObject<{
2103
2106
  tiktok_rate_limited: "tiktok_rate_limited";
2104
2107
  tiktok_publish_failed: "tiktok_publish_failed";
2105
2108
  connection_platform_mismatch: "connection_platform_mismatch";
2109
+ connection_removed: "connection_removed";
2106
2110
  }>;
2107
2111
  message: z.ZodString;
2108
2112
  hint: z.ZodOptional<z.ZodString>;
@@ -1,3 +1,3 @@
1
- export { zConnectionsConnectBody, zConnectionsConnectPath, zConnectionsConnectResponse, zConnectionsDeletePath, zConnectionsDeleteResponse, zConnectionsGetPath, zConnectionsGetResponse, zConnectionsListAccountsPath, zConnectionsListAccountsResponse, zConnectionsListByProfilePath, zConnectionsListByProfileQuery, zConnectionsListByProfileResponse, zConnectionsSelectBody, zConnectionsSelectPath, zConnectionsSelectResponse, zErrorCode, zGoogleCreateAdBody, zGoogleCreateAdGroupBody, zGoogleCreateAdGroupPath, zGoogleCreateAdGroupResponse, zGoogleCreateAdPath, zGoogleCreateAdResponse, zGoogleCreateBudgetBody, zGoogleCreateBudgetPath, zGoogleCreateBudgetResponse, zGoogleCreateCampaignBody, zGoogleCreateCampaignPath, zGoogleCreateCampaignResponse, zGoogleCreateConversionActionBody, zGoogleCreateConversionActionPath, zGoogleCreateConversionActionResponse, zGoogleCreateDisplayAdBody, zGoogleCreateDisplayAdPath, zGoogleCreateDisplayAdResponse, zGoogleCreateKeywordBody, zGoogleCreateKeywordPath, zGoogleCreateKeywordResponse, zGoogleDeleteAdBody, zGoogleDeleteAdGroupBody, zGoogleDeleteAdGroupPath, zGoogleDeleteAdGroupResponse, zGoogleDeleteAdPath, zGoogleDeleteAdResponse, zGoogleDeleteBudgetBody, zGoogleDeleteBudgetPath, zGoogleDeleteBudgetResponse, zGoogleDeleteCampaignBody, zGoogleDeleteCampaignPath, zGoogleDeleteCampaignResponse, zGoogleDeleteKeywordBody, zGoogleDeleteKeywordPath, zGoogleDeleteKeywordResponse, zGoogleEditAdGroupBody, zGoogleEditAdGroupPath, zGoogleEditAdGroupResponse, zGoogleEditBudgetBody, zGoogleEditBudgetPath, zGoogleEditBudgetResponse, zGoogleEditCampaignBody, zGoogleEditCampaignPath, zGoogleEditCampaignResponse, zGoogleEnableAdBody, zGoogleEnableAdGroupBody, zGoogleEnableAdGroupPath, zGoogleEnableAdGroupResponse, zGoogleEnableAdPath, zGoogleEnableAdResponse, zGoogleEnableCampaignBody, zGoogleEnableCampaignPath, zGoogleEnableCampaignResponse, zGoogleEnableKeywordBody, zGoogleEnableKeywordPath, zGoogleEnableKeywordResponse, zGoogleGetAccountPath, zGoogleGetAccountResponse, zGoogleGetAdGroupPath, zGoogleGetAdGroupResponse, zGoogleGetAdPath, zGoogleGetAdResponse, zGoogleGetCampaignPath, zGoogleGetCampaignResponse, zGoogleGetConversionActionPath, zGoogleGetConversionActionResponse, zGoogleGetInsightsBody, zGoogleGetInsightsPath, zGoogleGetInsightsResponse, zGoogleGetKeywordPath, zGoogleGetKeywordResponse, zGoogleListAdGroupsPath, zGoogleListAdGroupsResponse, zGoogleListAdsPath, zGoogleListAdsResponse, zGoogleListCampaignsPath, zGoogleListCampaignsResponse, zGoogleListConversionActionsPath, zGoogleListConversionActionsResponse, zGoogleListConversionGoalsPath, zGoogleListConversionGoalsResponse, zGoogleListKeywordsPath, zGoogleListKeywordsResponse, zGooglePauseAdBody, zGooglePauseAdGroupBody, zGooglePauseAdGroupPath, zGooglePauseAdGroupResponse, zGooglePauseAdPath, zGooglePauseAdResponse, zGooglePauseCampaignBody, zGooglePauseCampaignPath, zGooglePauseCampaignResponse, zGooglePauseKeywordBody, zGooglePauseKeywordPath, zGooglePauseKeywordResponse, zGoogleRunGaqlBody, zGoogleRunGaqlPath, zGoogleRunGaqlResponse, zGoogleSetAdGroupBidsBody, zGoogleSetAdGroupBidsPath, zGoogleSetAdGroupBidsResponse, zGoogleSetConversionGoalBody, zGoogleSetConversionGoalPath, zGoogleSetConversionGoalResponse, zGoogleSetKeywordBidBody, zGoogleSetKeywordBidPath, zGoogleSetKeywordBidResponse, zGoogleUploadConversionsBody, zGoogleUploadConversionsPath, zGoogleUploadConversionsResponse, zGoogleUploadImageAssetBody, zGoogleUploadImageAssetPath, zGoogleUploadImageAssetResponse, zLogsGetPath, zLogsGetResponse, zLogsListQuery, zLogsListResponse, zMediaCreateBody, zMediaCreateResponse, zMediaDeletePath, zMediaDeleteResponse, zMediaGetPath, zMediaGetResponse, zMediaListQuery, zMediaListResponse, zMediaUpdateBody, zMediaUpdatePath, zMediaUpdateResponse, zMetaAccountPath, zMetaAccountResponse, zMetaAdPath, zMetaAdResponse, zMetaAdsPath, zMetaAdsResponse, zMetaAdsetPath, zMetaAdsetResponse, zMetaAdsetsPath, zMetaAdsetsResponse, zMetaCampaignPath, zMetaCampaignResponse, zMetaCampaignsPath, zMetaCampaignsResponse, zMetaInsightsPath, zMetaInsightsQuery, zMetaInsightsResponse, zPostsCreateBody, zPostsCreateResponse, zPostsDeletePath, zPostsDeleteResponse, zPostsGetPath, zPostsGetResponse, zPostsListQuery, zPostsListResponse, zPostsUpdateBody, zPostsUpdatePath, zPostsUpdateResponse, zPostsValidateBody, zPostsValidateResponse, zProfilesCreateBody, zProfilesCreateResponse, zProfilesDeletePath, zProfilesDeleteResponse, zProfilesGetPath, zProfilesGetResponse, zProfilesListQuery, zProfilesListResponse, zProfilesUpdateBody, zProfilesUpdatePath, zProfilesUpdateResponse, zTokensMintBody, zTokensMintResponse, zWebhooksCreateEndpointBody, zWebhooksCreateEndpointResponse, zWebhooksCreatePortalResponse, zWebhooksDeleteEndpointPath, zWebhooksDeleteEndpointResponse, zWebhooksGetEndpointPath, zWebhooksGetEndpointResponse, zWebhooksListEndpointsQuery, zWebhooksListEndpointsResponse, zWebhooksListEventTypesResponse, zWebhooksPingBody, zWebhooksPingResponse, zWebhooksUpdateEndpointBody, zWebhooksUpdateEndpointPath, zWebhooksUpdateEndpointResponse } from '../chunk-KPF3GI7Z.js';
1
+ export { zConnectionsConnectBody, zConnectionsConnectPath, zConnectionsConnectResponse, zConnectionsDeletePath, zConnectionsDeleteResponse, zConnectionsGetPath, zConnectionsGetResponse, zConnectionsListAccountsPath, zConnectionsListAccountsResponse, zConnectionsListByProfilePath, zConnectionsListByProfileQuery, zConnectionsListByProfileResponse, zConnectionsSelectBody, zConnectionsSelectPath, zConnectionsSelectResponse, zErrorCode, zGoogleCreateAdBody, zGoogleCreateAdGroupBody, zGoogleCreateAdGroupPath, zGoogleCreateAdGroupResponse, zGoogleCreateAdPath, zGoogleCreateAdResponse, zGoogleCreateBudgetBody, zGoogleCreateBudgetPath, zGoogleCreateBudgetResponse, zGoogleCreateCampaignBody, zGoogleCreateCampaignPath, zGoogleCreateCampaignResponse, zGoogleCreateConversionActionBody, zGoogleCreateConversionActionPath, zGoogleCreateConversionActionResponse, zGoogleCreateDisplayAdBody, zGoogleCreateDisplayAdPath, zGoogleCreateDisplayAdResponse, zGoogleCreateKeywordBody, zGoogleCreateKeywordPath, zGoogleCreateKeywordResponse, zGoogleDeleteAdBody, zGoogleDeleteAdGroupBody, zGoogleDeleteAdGroupPath, zGoogleDeleteAdGroupResponse, zGoogleDeleteAdPath, zGoogleDeleteAdResponse, zGoogleDeleteBudgetBody, zGoogleDeleteBudgetPath, zGoogleDeleteBudgetResponse, zGoogleDeleteCampaignBody, zGoogleDeleteCampaignPath, zGoogleDeleteCampaignResponse, zGoogleDeleteKeywordBody, zGoogleDeleteKeywordPath, zGoogleDeleteKeywordResponse, zGoogleEditAdGroupBody, zGoogleEditAdGroupPath, zGoogleEditAdGroupResponse, zGoogleEditBudgetBody, zGoogleEditBudgetPath, zGoogleEditBudgetResponse, zGoogleEditCampaignBody, zGoogleEditCampaignPath, zGoogleEditCampaignResponse, zGoogleEnableAdBody, zGoogleEnableAdGroupBody, zGoogleEnableAdGroupPath, zGoogleEnableAdGroupResponse, zGoogleEnableAdPath, zGoogleEnableAdResponse, zGoogleEnableCampaignBody, zGoogleEnableCampaignPath, zGoogleEnableCampaignResponse, zGoogleEnableKeywordBody, zGoogleEnableKeywordPath, zGoogleEnableKeywordResponse, zGoogleGetAccountPath, zGoogleGetAccountResponse, zGoogleGetAdGroupPath, zGoogleGetAdGroupResponse, zGoogleGetAdPath, zGoogleGetAdResponse, zGoogleGetCampaignPath, zGoogleGetCampaignResponse, zGoogleGetConversionActionPath, zGoogleGetConversionActionResponse, zGoogleGetInsightsBody, zGoogleGetInsightsPath, zGoogleGetInsightsResponse, zGoogleGetKeywordPath, zGoogleGetKeywordResponse, zGoogleListAdGroupsPath, zGoogleListAdGroupsResponse, zGoogleListAdsPath, zGoogleListAdsResponse, zGoogleListCampaignsPath, zGoogleListCampaignsResponse, zGoogleListConversionActionsPath, zGoogleListConversionActionsResponse, zGoogleListConversionGoalsPath, zGoogleListConversionGoalsResponse, zGoogleListKeywordsPath, zGoogleListKeywordsResponse, zGooglePauseAdBody, zGooglePauseAdGroupBody, zGooglePauseAdGroupPath, zGooglePauseAdGroupResponse, zGooglePauseAdPath, zGooglePauseAdResponse, zGooglePauseCampaignBody, zGooglePauseCampaignPath, zGooglePauseCampaignResponse, zGooglePauseKeywordBody, zGooglePauseKeywordPath, zGooglePauseKeywordResponse, zGoogleRunGaqlBody, zGoogleRunGaqlPath, zGoogleRunGaqlResponse, zGoogleSetAdGroupBidsBody, zGoogleSetAdGroupBidsPath, zGoogleSetAdGroupBidsResponse, zGoogleSetConversionGoalBody, zGoogleSetConversionGoalPath, zGoogleSetConversionGoalResponse, zGoogleSetKeywordBidBody, zGoogleSetKeywordBidPath, zGoogleSetKeywordBidResponse, zGoogleUploadConversionsBody, zGoogleUploadConversionsPath, zGoogleUploadConversionsResponse, zGoogleUploadImageAssetBody, zGoogleUploadImageAssetPath, zGoogleUploadImageAssetResponse, zLogsGetPath, zLogsGetResponse, zLogsListQuery, zLogsListResponse, zMediaCreateBody, zMediaCreateResponse, zMediaDeletePath, zMediaDeleteResponse, zMediaGetPath, zMediaGetResponse, zMediaListQuery, zMediaListResponse, zMediaUpdateBody, zMediaUpdatePath, zMediaUpdateResponse, zMetaAccountPath, zMetaAccountResponse, zMetaAdPath, zMetaAdResponse, zMetaAdsPath, zMetaAdsResponse, zMetaAdsetPath, zMetaAdsetResponse, zMetaAdsetsPath, zMetaAdsetsResponse, zMetaCampaignPath, zMetaCampaignResponse, zMetaCampaignsPath, zMetaCampaignsResponse, zMetaInsightsPath, zMetaInsightsQuery, zMetaInsightsResponse, zPostsCreateBody, zPostsCreateResponse, zPostsDeletePath, zPostsDeleteResponse, zPostsGetPath, zPostsGetResponse, zPostsListQuery, zPostsListResponse, zPostsUpdateBody, zPostsUpdatePath, zPostsUpdateResponse, zPostsValidateBody, zPostsValidateResponse, zProfilesCreateBody, zProfilesCreateResponse, zProfilesDeletePath, zProfilesDeleteResponse, zProfilesGetPath, zProfilesGetResponse, zProfilesListQuery, zProfilesListResponse, zProfilesUpdateBody, zProfilesUpdatePath, zProfilesUpdateResponse, zTokensMintBody, zTokensMintResponse, zWebhooksCreateEndpointBody, zWebhooksCreateEndpointResponse, zWebhooksCreatePortalResponse, zWebhooksDeleteEndpointPath, zWebhooksDeleteEndpointResponse, zWebhooksGetEndpointPath, zWebhooksGetEndpointResponse, zWebhooksListEndpointsQuery, zWebhooksListEndpointsResponse, zWebhooksListEventTypesResponse, zWebhooksPingBody, zWebhooksPingResponse, zWebhooksUpdateEndpointBody, zWebhooksUpdateEndpointPath, zWebhooksUpdateEndpointResponse } from '../chunk-FGI7GS4Z.js';
2
2
  //# sourceMappingURL=index.js.map
3
3
  //# sourceMappingURL=index.js.map
package/dist/server.cjs CHANGED
@@ -811,7 +811,6 @@ var zErrorCode = z__namespace.enum([
811
811
  "account_not_available",
812
812
  "connection_reauth_required",
813
813
  "connection_not_pending",
814
- "connection_in_use",
815
814
  "not_implemented",
816
815
  "connection_discovery_failed",
817
816
  "media_processing",
@@ -858,9 +857,11 @@ var zErrorCode = z__namespace.enum([
858
857
  "media_failed",
859
858
  "media_unsupported",
860
859
  "media_kind_mismatch",
860
+ "variant_unparseable",
861
861
  "publishing_unavailable",
862
862
  "x_duplicate_content",
863
863
  "x_not_authorized",
864
+ "x_access_not_permitted",
864
865
  "x_rate_limited",
865
866
  "x_publish_failed",
866
867
  "x_media_upload_failed",
@@ -887,7 +888,8 @@ var zErrorCode = z__namespace.enum([
887
888
  "tiktok_not_authorized",
888
889
  "tiktok_rate_limited",
889
890
  "tiktok_publish_failed",
890
- "connection_platform_mismatch"
891
+ "connection_platform_mismatch",
892
+ "connection_removed"
891
893
  ]);
892
894
  z__namespace.object({
893
895
  limit: z__namespace.int().gte(1).lte(100).optional().default(20),
@@ -1929,7 +1931,7 @@ z__namespace.object({
1929
1931
  variants: z__namespace.array(z__namespace.object({
1930
1932
  id: z__namespace.string(),
1931
1933
  object: z__namespace.literal("post_variant"),
1932
- connection_id: z__namespace.string(),
1934
+ connection_id: z__namespace.string().nullable(),
1933
1935
  platform: z__namespace.enum([
1934
1936
  "x",
1935
1937
  "linkedin",
@@ -2208,7 +2210,7 @@ z__namespace.object({
2208
2210
  variants: z__namespace.array(z__namespace.object({
2209
2211
  id: z__namespace.string(),
2210
2212
  object: z__namespace.literal("post_variant"),
2211
- connection_id: z__namespace.string(),
2213
+ connection_id: z__namespace.string().nullable(),
2212
2214
  platform: z__namespace.enum([
2213
2215
  "x",
2214
2216
  "linkedin",
@@ -2290,7 +2292,7 @@ z__namespace.object({
2290
2292
  variants: z__namespace.array(z__namespace.object({
2291
2293
  id: z__namespace.string(),
2292
2294
  object: z__namespace.literal("post_variant"),
2293
- connection_id: z__namespace.string(),
2295
+ connection_id: z__namespace.string().nullable(),
2294
2296
  platform: z__namespace.enum([
2295
2297
  "x",
2296
2298
  "linkedin",
@@ -2566,7 +2568,7 @@ z__namespace.object({
2566
2568
  variants: z__namespace.array(z__namespace.object({
2567
2569
  id: z__namespace.string(),
2568
2570
  object: z__namespace.literal("post_variant"),
2569
- connection_id: z__namespace.string(),
2571
+ connection_id: z__namespace.string().nullable(),
2570
2572
  platform: z__namespace.enum([
2571
2573
  "x",
2572
2574
  "linkedin",
@@ -2821,7 +2823,6 @@ z__namespace.object({
2821
2823
  "account_not_available",
2822
2824
  "connection_reauth_required",
2823
2825
  "connection_not_pending",
2824
- "connection_in_use",
2825
2826
  "not_implemented",
2826
2827
  "connection_discovery_failed",
2827
2828
  "media_processing",
@@ -2868,9 +2869,11 @@ z__namespace.object({
2868
2869
  "media_failed",
2869
2870
  "media_unsupported",
2870
2871
  "media_kind_mismatch",
2872
+ "variant_unparseable",
2871
2873
  "publishing_unavailable",
2872
2874
  "x_duplicate_content",
2873
2875
  "x_not_authorized",
2876
+ "x_access_not_permitted",
2874
2877
  "x_rate_limited",
2875
2878
  "x_publish_failed",
2876
2879
  "x_media_upload_failed",
@@ -2897,7 +2900,8 @@ z__namespace.object({
2897
2900
  "tiktok_not_authorized",
2898
2901
  "tiktok_rate_limited",
2899
2902
  "tiktok_publish_failed",
2900
- "connection_platform_mismatch"
2903
+ "connection_platform_mismatch",
2904
+ "connection_removed"
2901
2905
  ]),
2902
2906
  message: z__namespace.string(),
2903
2907
  hint: z__namespace.string().optional(),