@rolino/contracts 0.7.0 → 0.8.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.cts CHANGED
@@ -1,7 +1,7 @@
1
1
  import { z } from 'zod';
2
2
 
3
3
  declare const API_VERSION: "v1";
4
- declare const CONTRACT_VERSION: "0.18.0";
4
+ declare const CONTRACT_VERSION: "0.19.0";
5
5
  declare const RequestMetadataSchema: z.ZodObject<{
6
6
  requestId: z.ZodString;
7
7
  }, z.core.$strip>;
@@ -156,6 +156,8 @@ declare const CapabilityIdSchema: z.ZodEnum<{
156
156
  "posts:write": "posts:write";
157
157
  "posts:schedule": "posts:schedule";
158
158
  "posts:publish": "posts:publish";
159
+ "storage:read": "storage:read";
160
+ "media:delete": "media:delete";
159
161
  "integrations:read": "integrations:read";
160
162
  "calendar:read": "calendar:read";
161
163
  "seo:read": "seo:read";
@@ -169,7 +171,7 @@ declare const CapabilityIdSchema: z.ZodEnum<{
169
171
  "blog:publish": "blog:publish";
170
172
  }>;
171
173
  type CapabilityId = z.infer<typeof CapabilityIdSchema>;
172
- declare const AGENT_CAPABILITIES: ("identity:read" | "projects:read" | "projects:write" | "posts:read" | "posts:write" | "posts:schedule" | "posts:publish" | "integrations:read" | "calendar:read" | "seo:read" | "backlinks:read" | "backlinks:write" | "backlinks:contacts" | "blog:read" | "blog:write" | "blog:manage" | "blog:approve" | "blog:publish")[];
174
+ declare const AGENT_CAPABILITIES: ("identity:read" | "projects:read" | "projects:write" | "posts:read" | "posts:write" | "posts:schedule" | "posts:publish" | "storage:read" | "media:delete" | "integrations:read" | "calendar:read" | "seo:read" | "backlinks:read" | "backlinks:write" | "backlinks:contacts" | "blog:read" | "blog:write" | "blog:manage" | "blog:approve" | "blog:publish")[];
173
175
  declare const AgentBlogPlanSchema: z.ZodObject<{
174
176
  id: z.ZodString;
175
177
  version: z.ZodNumber;
@@ -2475,6 +2477,8 @@ declare const CapabilitySchema: z.ZodObject<{
2475
2477
  "posts:write": "posts:write";
2476
2478
  "posts:schedule": "posts:schedule";
2477
2479
  "posts:publish": "posts:publish";
2480
+ "storage:read": "storage:read";
2481
+ "media:delete": "media:delete";
2478
2482
  "integrations:read": "integrations:read";
2479
2483
  "calendar:read": "calendar:read";
2480
2484
  "seo:read": "seo:read";
@@ -2500,7 +2504,7 @@ declare const ApiMetaSchema: z.ZodObject<{
2500
2504
  name: z.ZodLiteral<"Rolino">;
2501
2505
  serverVersion: z.ZodString;
2502
2506
  apiVersion: z.ZodLiteral<"v1">;
2503
- contractVersion: z.ZodLiteral<"0.18.0">;
2507
+ contractVersion: z.ZodLiteral<"0.19.0">;
2504
2508
  authentication: z.ZodObject<{
2505
2509
  browserSession: z.ZodBoolean;
2506
2510
  cliBrowserAuthorization: z.ZodBoolean;
@@ -2524,6 +2528,8 @@ declare const ApiMetaSchema: z.ZodObject<{
2524
2528
  "posts:write": "posts:write";
2525
2529
  "posts:schedule": "posts:schedule";
2526
2530
  "posts:publish": "posts:publish";
2531
+ "storage:read": "storage:read";
2532
+ "media:delete": "media:delete";
2527
2533
  "integrations:read": "integrations:read";
2528
2534
  "calendar:read": "calendar:read";
2529
2535
  "seo:read": "seo:read";
@@ -2551,7 +2557,7 @@ declare const ApiMetaResponseSchema: z.ZodObject<{
2551
2557
  name: z.ZodLiteral<"Rolino">;
2552
2558
  serverVersion: z.ZodString;
2553
2559
  apiVersion: z.ZodLiteral<"v1">;
2554
- contractVersion: z.ZodLiteral<"0.18.0">;
2560
+ contractVersion: z.ZodLiteral<"0.19.0">;
2555
2561
  authentication: z.ZodObject<{
2556
2562
  browserSession: z.ZodBoolean;
2557
2563
  cliBrowserAuthorization: z.ZodBoolean;
@@ -2575,6 +2581,8 @@ declare const ApiMetaResponseSchema: z.ZodObject<{
2575
2581
  "posts:write": "posts:write";
2576
2582
  "posts:schedule": "posts:schedule";
2577
2583
  "posts:publish": "posts:publish";
2584
+ "storage:read": "storage:read";
2585
+ "media:delete": "media:delete";
2578
2586
  "integrations:read": "integrations:read";
2579
2587
  "calendar:read": "calendar:read";
2580
2588
  "seo:read": "seo:read";
@@ -2634,6 +2642,8 @@ declare const ActorSchema: z.ZodObject<{
2634
2642
  "posts:write": "posts:write";
2635
2643
  "posts:schedule": "posts:schedule";
2636
2644
  "posts:publish": "posts:publish";
2645
+ "storage:read": "storage:read";
2646
+ "media:delete": "media:delete";
2637
2647
  "integrations:read": "integrations:read";
2638
2648
  "calendar:read": "calendar:read";
2639
2649
  "seo:read": "seo:read";
@@ -2676,6 +2686,8 @@ declare const WhoAmIResponseSchema: z.ZodObject<{
2676
2686
  "posts:write": "posts:write";
2677
2687
  "posts:schedule": "posts:schedule";
2678
2688
  "posts:publish": "posts:publish";
2689
+ "storage:read": "storage:read";
2690
+ "media:delete": "media:delete";
2679
2691
  "integrations:read": "integrations:read";
2680
2692
  "calendar:read": "calendar:read";
2681
2693
  "seo:read": "seo:read";
@@ -2704,6 +2716,8 @@ declare const CapabilitiesDataSchema: z.ZodObject<{
2704
2716
  "posts:write": "posts:write";
2705
2717
  "posts:schedule": "posts:schedule";
2706
2718
  "posts:publish": "posts:publish";
2719
+ "storage:read": "storage:read";
2720
+ "media:delete": "media:delete";
2707
2721
  "integrations:read": "integrations:read";
2708
2722
  "calendar:read": "calendar:read";
2709
2723
  "seo:read": "seo:read";
@@ -2736,6 +2750,8 @@ declare const CapabilitiesResponseSchema: z.ZodObject<{
2736
2750
  "posts:write": "posts:write";
2737
2751
  "posts:schedule": "posts:schedule";
2738
2752
  "posts:publish": "posts:publish";
2753
+ "storage:read": "storage:read";
2754
+ "media:delete": "media:delete";
2739
2755
  "integrations:read": "integrations:read";
2740
2756
  "calendar:read": "calendar:read";
2741
2757
  "seo:read": "seo:read";
@@ -2967,8 +2983,63 @@ declare const MediaAssetSchema: z.ZodObject<{
2967
2983
  height: z.ZodNullable<z.ZodNumber>;
2968
2984
  durationMs: z.ZodNullable<z.ZodNumber>;
2969
2985
  createdAt: z.ZodString;
2986
+ usageCount: z.ZodOptional<z.ZodNumber>;
2987
+ deletable: z.ZodOptional<z.ZodBoolean>;
2988
+ blockedReason: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
2989
+ IN_USE: "IN_USE";
2990
+ }>>>;
2991
+ projectId: z.ZodOptional<z.ZodString>;
2992
+ projectName: z.ZodOptional<z.ZodString>;
2970
2993
  }, z.core.$strip>;
2971
2994
  type MediaAsset = z.infer<typeof MediaAssetSchema>;
2995
+ declare const ListedMediaAssetSchema: z.ZodObject<{
2996
+ id: z.ZodString;
2997
+ type: z.ZodEnum<{
2998
+ IMAGE: "IMAGE";
2999
+ VIDEO: "VIDEO";
3000
+ }>;
3001
+ url: z.ZodString;
3002
+ thumbnailUrl: z.ZodNullable<z.ZodString>;
3003
+ originalFileName: z.ZodNullable<z.ZodString>;
3004
+ mimeType: z.ZodString;
3005
+ sizeBytes: z.ZodNullable<z.ZodNumber>;
3006
+ width: z.ZodNullable<z.ZodNumber>;
3007
+ height: z.ZodNullable<z.ZodNumber>;
3008
+ durationMs: z.ZodNullable<z.ZodNumber>;
3009
+ createdAt: z.ZodString;
3010
+ projectId: z.ZodOptional<z.ZodString>;
3011
+ projectName: z.ZodOptional<z.ZodString>;
3012
+ usageCount: z.ZodNumber;
3013
+ deletable: z.ZodBoolean;
3014
+ blockedReason: z.ZodNullable<z.ZodEnum<{
3015
+ IN_USE: "IN_USE";
3016
+ }>>;
3017
+ }, z.core.$strip>;
3018
+ type ListedMediaAsset = z.infer<typeof ListedMediaAssetSchema>;
3019
+ declare const WorkspaceListedMediaAssetSchema: z.ZodObject<{
3020
+ id: z.ZodString;
3021
+ type: z.ZodEnum<{
3022
+ IMAGE: "IMAGE";
3023
+ VIDEO: "VIDEO";
3024
+ }>;
3025
+ url: z.ZodString;
3026
+ thumbnailUrl: z.ZodNullable<z.ZodString>;
3027
+ originalFileName: z.ZodNullable<z.ZodString>;
3028
+ mimeType: z.ZodString;
3029
+ sizeBytes: z.ZodNullable<z.ZodNumber>;
3030
+ width: z.ZodNullable<z.ZodNumber>;
3031
+ height: z.ZodNullable<z.ZodNumber>;
3032
+ durationMs: z.ZodNullable<z.ZodNumber>;
3033
+ createdAt: z.ZodString;
3034
+ usageCount: z.ZodNumber;
3035
+ deletable: z.ZodBoolean;
3036
+ blockedReason: z.ZodNullable<z.ZodEnum<{
3037
+ IN_USE: "IN_USE";
3038
+ }>>;
3039
+ projectId: z.ZodString;
3040
+ projectName: z.ZodString;
3041
+ }, z.core.$strip>;
3042
+ type WorkspaceListedMediaAsset = z.infer<typeof WorkspaceListedMediaAssetSchema>;
2972
3043
  declare const MediaAssetListQuerySchema: z.ZodObject<{
2973
3044
  limit: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
2974
3045
  cursor: z.ZodOptional<z.ZodString>;
@@ -2977,8 +3048,38 @@ declare const MediaAssetListQuerySchema: z.ZodObject<{
2977
3048
  VIDEO: "VIDEO";
2978
3049
  }>>;
2979
3050
  query: z.ZodOptional<z.ZodString>;
3051
+ createdBefore: z.ZodOptional<z.ZodString>;
3052
+ createdAfter: z.ZodOptional<z.ZodString>;
3053
+ unusedOnly: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodPipe<z.ZodEnum<{
3054
+ true: "true";
3055
+ false: "false";
3056
+ }>, z.ZodTransform<boolean, "true" | "false">>]>>;
3057
+ order: z.ZodDefault<z.ZodEnum<{
3058
+ OLDEST_FIRST: "OLDEST_FIRST";
3059
+ NEWEST_FIRST: "NEWEST_FIRST";
3060
+ }>>;
2980
3061
  }, z.core.$strip>;
2981
3062
  type MediaAssetListQuery = z.input<typeof MediaAssetListQuerySchema>;
3063
+ declare const WorkspaceMediaAssetListQuerySchema: z.ZodObject<{
3064
+ limit: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
3065
+ cursor: z.ZodOptional<z.ZodString>;
3066
+ type: z.ZodOptional<z.ZodEnum<{
3067
+ IMAGE: "IMAGE";
3068
+ VIDEO: "VIDEO";
3069
+ }>>;
3070
+ query: z.ZodOptional<z.ZodString>;
3071
+ createdBefore: z.ZodOptional<z.ZodString>;
3072
+ createdAfter: z.ZodOptional<z.ZodString>;
3073
+ unusedOnly: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodPipe<z.ZodEnum<{
3074
+ true: "true";
3075
+ false: "false";
3076
+ }>, z.ZodTransform<boolean, "true" | "false">>]>>;
3077
+ order: z.ZodDefault<z.ZodEnum<{
3078
+ OLDEST_FIRST: "OLDEST_FIRST";
3079
+ NEWEST_FIRST: "NEWEST_FIRST";
3080
+ }>>;
3081
+ }, z.core.$strip>;
3082
+ type WorkspaceMediaAssetListQuery = z.input<typeof WorkspaceMediaAssetListQuerySchema>;
2982
3083
  declare const MediaAssetListDataSchema: z.ZodObject<{
2983
3084
  items: z.ZodArray<z.ZodObject<{
2984
3085
  id: z.ZodString;
@@ -2995,6 +3096,13 @@ declare const MediaAssetListDataSchema: z.ZodObject<{
2995
3096
  height: z.ZodNullable<z.ZodNumber>;
2996
3097
  durationMs: z.ZodNullable<z.ZodNumber>;
2997
3098
  createdAt: z.ZodString;
3099
+ projectId: z.ZodOptional<z.ZodString>;
3100
+ projectName: z.ZodOptional<z.ZodString>;
3101
+ usageCount: z.ZodNumber;
3102
+ deletable: z.ZodBoolean;
3103
+ blockedReason: z.ZodNullable<z.ZodEnum<{
3104
+ IN_USE: "IN_USE";
3105
+ }>>;
2998
3106
  }, z.core.$strip>>;
2999
3107
  page: z.ZodObject<{
3000
3108
  limit: z.ZodNumber;
@@ -3019,6 +3127,13 @@ declare const MediaAssetListResponseSchema: z.ZodObject<{
3019
3127
  height: z.ZodNullable<z.ZodNumber>;
3020
3128
  durationMs: z.ZodNullable<z.ZodNumber>;
3021
3129
  createdAt: z.ZodString;
3130
+ projectId: z.ZodOptional<z.ZodString>;
3131
+ projectName: z.ZodOptional<z.ZodString>;
3132
+ usageCount: z.ZodNumber;
3133
+ deletable: z.ZodBoolean;
3134
+ blockedReason: z.ZodNullable<z.ZodEnum<{
3135
+ IN_USE: "IN_USE";
3136
+ }>>;
3022
3137
  }, z.core.$strip>>;
3023
3138
  page: z.ZodObject<{
3024
3139
  limit: z.ZodNumber;
@@ -3029,6 +3144,70 @@ declare const MediaAssetListResponseSchema: z.ZodObject<{
3029
3144
  requestId: z.ZodString;
3030
3145
  }, z.core.$strip>;
3031
3146
  }, z.core.$strip>;
3147
+ declare const WorkspaceMediaAssetListDataSchema: z.ZodObject<{
3148
+ page: z.ZodObject<{
3149
+ limit: z.ZodNumber;
3150
+ nextCursor: z.ZodNullable<z.ZodString>;
3151
+ }, z.core.$strip>;
3152
+ items: z.ZodArray<z.ZodObject<{
3153
+ id: z.ZodString;
3154
+ type: z.ZodEnum<{
3155
+ IMAGE: "IMAGE";
3156
+ VIDEO: "VIDEO";
3157
+ }>;
3158
+ url: z.ZodString;
3159
+ thumbnailUrl: z.ZodNullable<z.ZodString>;
3160
+ originalFileName: z.ZodNullable<z.ZodString>;
3161
+ mimeType: z.ZodString;
3162
+ sizeBytes: z.ZodNullable<z.ZodNumber>;
3163
+ width: z.ZodNullable<z.ZodNumber>;
3164
+ height: z.ZodNullable<z.ZodNumber>;
3165
+ durationMs: z.ZodNullable<z.ZodNumber>;
3166
+ createdAt: z.ZodString;
3167
+ usageCount: z.ZodNumber;
3168
+ deletable: z.ZodBoolean;
3169
+ blockedReason: z.ZodNullable<z.ZodEnum<{
3170
+ IN_USE: "IN_USE";
3171
+ }>>;
3172
+ projectId: z.ZodString;
3173
+ projectName: z.ZodString;
3174
+ }, z.core.$strip>>;
3175
+ }, z.core.$strip>;
3176
+ type WorkspaceMediaAssetListData = z.infer<typeof WorkspaceMediaAssetListDataSchema>;
3177
+ declare const WorkspaceMediaAssetListResponseSchema: z.ZodObject<{
3178
+ data: z.ZodObject<{
3179
+ page: z.ZodObject<{
3180
+ limit: z.ZodNumber;
3181
+ nextCursor: z.ZodNullable<z.ZodString>;
3182
+ }, z.core.$strip>;
3183
+ items: z.ZodArray<z.ZodObject<{
3184
+ id: z.ZodString;
3185
+ type: z.ZodEnum<{
3186
+ IMAGE: "IMAGE";
3187
+ VIDEO: "VIDEO";
3188
+ }>;
3189
+ url: z.ZodString;
3190
+ thumbnailUrl: z.ZodNullable<z.ZodString>;
3191
+ originalFileName: z.ZodNullable<z.ZodString>;
3192
+ mimeType: z.ZodString;
3193
+ sizeBytes: z.ZodNullable<z.ZodNumber>;
3194
+ width: z.ZodNullable<z.ZodNumber>;
3195
+ height: z.ZodNullable<z.ZodNumber>;
3196
+ durationMs: z.ZodNullable<z.ZodNumber>;
3197
+ createdAt: z.ZodString;
3198
+ usageCount: z.ZodNumber;
3199
+ deletable: z.ZodBoolean;
3200
+ blockedReason: z.ZodNullable<z.ZodEnum<{
3201
+ IN_USE: "IN_USE";
3202
+ }>>;
3203
+ projectId: z.ZodString;
3204
+ projectName: z.ZodString;
3205
+ }, z.core.$strip>>;
3206
+ }, z.core.$strip>;
3207
+ meta: z.ZodObject<{
3208
+ requestId: z.ZodString;
3209
+ }, z.core.$strip>;
3210
+ }, z.core.$strip>;
3032
3211
  declare const MediaAssetUploadInputSchema: z.ZodObject<{
3033
3212
  fileName: z.ZodString;
3034
3213
  contentType: z.ZodString;
@@ -3081,6 +3260,473 @@ declare const MediaAssetResponseSchema: z.ZodObject<{
3081
3260
  height: z.ZodNullable<z.ZodNumber>;
3082
3261
  durationMs: z.ZodNullable<z.ZodNumber>;
3083
3262
  createdAt: z.ZodString;
3263
+ usageCount: z.ZodOptional<z.ZodNumber>;
3264
+ deletable: z.ZodOptional<z.ZodBoolean>;
3265
+ blockedReason: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
3266
+ IN_USE: "IN_USE";
3267
+ }>>>;
3268
+ projectId: z.ZodOptional<z.ZodString>;
3269
+ projectName: z.ZodOptional<z.ZodString>;
3270
+ }, z.core.$strip>;
3271
+ meta: z.ZodObject<{
3272
+ requestId: z.ZodString;
3273
+ }, z.core.$strip>;
3274
+ }, z.core.$strip>;
3275
+ declare const StorageByteCountSchema: z.ZodNumber;
3276
+ declare const StorageSourceBreakdownSchema: z.ZodObject<{
3277
+ mediaLibraryOriginalBytes: z.ZodNumber;
3278
+ transformedSocialMediaBytes: z.ZodNumber;
3279
+ blogImageBytes: z.ZodNumber;
3280
+ detachedPendingDeletionBytes: z.ZodNumber;
3281
+ }, z.core.$strip>;
3282
+ type StorageSourceBreakdown = z.infer<typeof StorageSourceBreakdownSchema>;
3283
+ declare const StorageUsageSchema: z.ZodObject<{
3284
+ storedBytes: z.ZodNumber;
3285
+ reservedUploadBytes: z.ZodNumber;
3286
+ uploadCommittedBytes: z.ZodNumber;
3287
+ limitBytes: z.ZodNullable<z.ZodNumber>;
3288
+ availableUploadBytes: z.ZodNullable<z.ZodNumber>;
3289
+ storedPercent: z.ZodNullable<z.ZodNumber>;
3290
+ uploadCommittedPercent: z.ZodNullable<z.ZodNumber>;
3291
+ unlimited: z.ZodBoolean;
3292
+ pendingDeletionBytes: z.ZodNumber;
3293
+ sources: z.ZodObject<{
3294
+ mediaLibraryOriginalBytes: z.ZodNumber;
3295
+ transformedSocialMediaBytes: z.ZodNumber;
3296
+ blogImageBytes: z.ZodNumber;
3297
+ detachedPendingDeletionBytes: z.ZodNumber;
3298
+ }, z.core.$strip>;
3299
+ measuredAt: z.ZodString;
3300
+ }, z.core.$strip>;
3301
+ type StorageUsage = z.infer<typeof StorageUsageSchema>;
3302
+ declare const StorageUsageResponseSchema: z.ZodObject<{
3303
+ data: z.ZodObject<{
3304
+ storedBytes: z.ZodNumber;
3305
+ reservedUploadBytes: z.ZodNumber;
3306
+ uploadCommittedBytes: z.ZodNumber;
3307
+ limitBytes: z.ZodNullable<z.ZodNumber>;
3308
+ availableUploadBytes: z.ZodNullable<z.ZodNumber>;
3309
+ storedPercent: z.ZodNullable<z.ZodNumber>;
3310
+ uploadCommittedPercent: z.ZodNullable<z.ZodNumber>;
3311
+ unlimited: z.ZodBoolean;
3312
+ pendingDeletionBytes: z.ZodNumber;
3313
+ sources: z.ZodObject<{
3314
+ mediaLibraryOriginalBytes: z.ZodNumber;
3315
+ transformedSocialMediaBytes: z.ZodNumber;
3316
+ blogImageBytes: z.ZodNumber;
3317
+ detachedPendingDeletionBytes: z.ZodNumber;
3318
+ }, z.core.$strip>;
3319
+ measuredAt: z.ZodString;
3320
+ }, z.core.$strip>;
3321
+ meta: z.ZodObject<{
3322
+ requestId: z.ZodString;
3323
+ }, z.core.$strip>;
3324
+ }, z.core.$strip>;
3325
+ declare const MediaCleanupScopeSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
3326
+ type: z.ZodLiteral<"PROJECT">;
3327
+ projectId: z.ZodString;
3328
+ }, z.core.$strict>, z.ZodObject<{
3329
+ type: z.ZodLiteral<"WORKSPACE">;
3330
+ }, z.core.$strict>], "type">;
3331
+ type MediaCleanupScope = z.infer<typeof MediaCleanupScopeSchema>;
3332
+ declare const MediaCleanupSelectionInputSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
3333
+ mode: z.ZodLiteral<"ASSET_IDS">;
3334
+ scope: z.ZodDiscriminatedUnion<[z.ZodObject<{
3335
+ type: z.ZodLiteral<"PROJECT">;
3336
+ projectId: z.ZodString;
3337
+ }, z.core.$strict>, z.ZodObject<{
3338
+ type: z.ZodLiteral<"WORKSPACE">;
3339
+ }, z.core.$strict>], "type">;
3340
+ assetIds: z.ZodArray<z.ZodString>;
3341
+ }, z.core.$strict>, z.ZodObject<{
3342
+ mode: z.ZodLiteral<"FILTER">;
3343
+ scope: z.ZodDiscriminatedUnion<[z.ZodObject<{
3344
+ type: z.ZodLiteral<"PROJECT">;
3345
+ projectId: z.ZodString;
3346
+ }, z.core.$strict>, z.ZodObject<{
3347
+ type: z.ZodLiteral<"WORKSPACE">;
3348
+ }, z.core.$strict>], "type">;
3349
+ createdBefore: z.ZodOptional<z.ZodString>;
3350
+ olderThanDays: z.ZodOptional<z.ZodNumber>;
3351
+ type: z.ZodOptional<z.ZodEnum<{
3352
+ IMAGE: "IMAGE";
3353
+ VIDEO: "VIDEO";
3354
+ }>>;
3355
+ query: z.ZodOptional<z.ZodString>;
3356
+ }, z.core.$strict>], "mode">;
3357
+ type MediaCleanupSelectionInput = z.infer<typeof MediaCleanupSelectionInputSchema>;
3358
+ declare const NormalizedMediaCleanupSelectionSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
3359
+ mode: z.ZodLiteral<"ASSET_IDS">;
3360
+ scope: z.ZodDiscriminatedUnion<[z.ZodObject<{
3361
+ type: z.ZodLiteral<"PROJECT">;
3362
+ projectId: z.ZodString;
3363
+ }, z.core.$strict>, z.ZodObject<{
3364
+ type: z.ZodLiteral<"WORKSPACE">;
3365
+ }, z.core.$strict>], "type">;
3366
+ assetIds: z.ZodArray<z.ZodString>;
3367
+ }, z.core.$strict>, z.ZodObject<{
3368
+ mode: z.ZodLiteral<"FILTER">;
3369
+ scope: z.ZodDiscriminatedUnion<[z.ZodObject<{
3370
+ type: z.ZodLiteral<"PROJECT">;
3371
+ projectId: z.ZodString;
3372
+ }, z.core.$strict>, z.ZodObject<{
3373
+ type: z.ZodLiteral<"WORKSPACE">;
3374
+ }, z.core.$strict>], "type">;
3375
+ createdBefore: z.ZodString;
3376
+ type: z.ZodOptional<z.ZodEnum<{
3377
+ IMAGE: "IMAGE";
3378
+ VIDEO: "VIDEO";
3379
+ }>>;
3380
+ query: z.ZodOptional<z.ZodString>;
3381
+ }, z.core.$strict>], "mode">;
3382
+ type NormalizedMediaCleanupSelection = z.infer<typeof NormalizedMediaCleanupSelectionSchema>;
3383
+ declare const MediaCleanupPreviewRequestSchema: z.ZodObject<{
3384
+ selection: z.ZodDiscriminatedUnion<[z.ZodObject<{
3385
+ mode: z.ZodLiteral<"ASSET_IDS">;
3386
+ scope: z.ZodDiscriminatedUnion<[z.ZodObject<{
3387
+ type: z.ZodLiteral<"PROJECT">;
3388
+ projectId: z.ZodString;
3389
+ }, z.core.$strict>, z.ZodObject<{
3390
+ type: z.ZodLiteral<"WORKSPACE">;
3391
+ }, z.core.$strict>], "type">;
3392
+ assetIds: z.ZodArray<z.ZodString>;
3393
+ }, z.core.$strict>, z.ZodObject<{
3394
+ mode: z.ZodLiteral<"FILTER">;
3395
+ scope: z.ZodDiscriminatedUnion<[z.ZodObject<{
3396
+ type: z.ZodLiteral<"PROJECT">;
3397
+ projectId: z.ZodString;
3398
+ }, z.core.$strict>, z.ZodObject<{
3399
+ type: z.ZodLiteral<"WORKSPACE">;
3400
+ }, z.core.$strict>], "type">;
3401
+ createdBefore: z.ZodOptional<z.ZodString>;
3402
+ olderThanDays: z.ZodOptional<z.ZodNumber>;
3403
+ type: z.ZodOptional<z.ZodEnum<{
3404
+ IMAGE: "IMAGE";
3405
+ VIDEO: "VIDEO";
3406
+ }>>;
3407
+ query: z.ZodOptional<z.ZodString>;
3408
+ }, z.core.$strict>], "mode">;
3409
+ }, z.core.$strict>;
3410
+ type MediaCleanupPreviewRequest = z.infer<typeof MediaCleanupPreviewRequestSchema>;
3411
+ declare const MediaCleanupCandidateSchema: z.ZodObject<{
3412
+ id: z.ZodString;
3413
+ fileName: z.ZodNullable<z.ZodString>;
3414
+ projectId: z.ZodString;
3415
+ projectName: z.ZodString;
3416
+ type: z.ZodEnum<{
3417
+ IMAGE: "IMAGE";
3418
+ VIDEO: "VIDEO";
3419
+ }>;
3420
+ createdAt: z.ZodString;
3421
+ sizeBytes: z.ZodNullable<z.ZodNumber>;
3422
+ }, z.core.$strip>;
3423
+ declare const MediaCleanupPreviewSchema: z.ZodObject<{
3424
+ selection: z.ZodDiscriminatedUnion<[z.ZodObject<{
3425
+ mode: z.ZodLiteral<"ASSET_IDS">;
3426
+ scope: z.ZodDiscriminatedUnion<[z.ZodObject<{
3427
+ type: z.ZodLiteral<"PROJECT">;
3428
+ projectId: z.ZodString;
3429
+ }, z.core.$strict>, z.ZodObject<{
3430
+ type: z.ZodLiteral<"WORKSPACE">;
3431
+ }, z.core.$strict>], "type">;
3432
+ assetIds: z.ZodArray<z.ZodString>;
3433
+ }, z.core.$strict>, z.ZodObject<{
3434
+ mode: z.ZodLiteral<"FILTER">;
3435
+ scope: z.ZodDiscriminatedUnion<[z.ZodObject<{
3436
+ type: z.ZodLiteral<"PROJECT">;
3437
+ projectId: z.ZodString;
3438
+ }, z.core.$strict>, z.ZodObject<{
3439
+ type: z.ZodLiteral<"WORKSPACE">;
3440
+ }, z.core.$strict>], "type">;
3441
+ createdBefore: z.ZodString;
3442
+ type: z.ZodOptional<z.ZodEnum<{
3443
+ IMAGE: "IMAGE";
3444
+ VIDEO: "VIDEO";
3445
+ }>>;
3446
+ query: z.ZodOptional<z.ZodString>;
3447
+ }, z.core.$strict>], "mode">;
3448
+ cutoffAt: z.ZodNullable<z.ZodString>;
3449
+ candidateCount: z.ZodNumber;
3450
+ candidateIds: z.ZodArray<z.ZodString>;
3451
+ candidates: z.ZodArray<z.ZodObject<{
3452
+ id: z.ZodString;
3453
+ fileName: z.ZodNullable<z.ZodString>;
3454
+ projectId: z.ZodString;
3455
+ projectName: z.ZodString;
3456
+ type: z.ZodEnum<{
3457
+ IMAGE: "IMAGE";
3458
+ VIDEO: "VIDEO";
3459
+ }>;
3460
+ createdAt: z.ZodString;
3461
+ sizeBytes: z.ZodNullable<z.ZodNumber>;
3462
+ }, z.core.$strip>>;
3463
+ estimatedReclaimableBytes: z.ZodNumber;
3464
+ excludedInUseCount: z.ZodNumber;
3465
+ excludedInUseBytes: z.ZodNumber;
3466
+ unknownSizeCount: z.ZodNumber;
3467
+ hasMore: z.ZodBoolean;
3468
+ candidateDigest: z.ZodString;
3469
+ confirmation: z.ZodObject<{
3470
+ token: z.ZodString;
3471
+ expiresAt: z.ZodString;
3472
+ }, z.core.$strip>;
3473
+ }, z.core.$strip>;
3474
+ type MediaCleanupPreview = z.infer<typeof MediaCleanupPreviewSchema>;
3475
+ declare const MediaCleanupPreviewResponseSchema: z.ZodObject<{
3476
+ data: z.ZodObject<{
3477
+ selection: z.ZodDiscriminatedUnion<[z.ZodObject<{
3478
+ mode: z.ZodLiteral<"ASSET_IDS">;
3479
+ scope: z.ZodDiscriminatedUnion<[z.ZodObject<{
3480
+ type: z.ZodLiteral<"PROJECT">;
3481
+ projectId: z.ZodString;
3482
+ }, z.core.$strict>, z.ZodObject<{
3483
+ type: z.ZodLiteral<"WORKSPACE">;
3484
+ }, z.core.$strict>], "type">;
3485
+ assetIds: z.ZodArray<z.ZodString>;
3486
+ }, z.core.$strict>, z.ZodObject<{
3487
+ mode: z.ZodLiteral<"FILTER">;
3488
+ scope: z.ZodDiscriminatedUnion<[z.ZodObject<{
3489
+ type: z.ZodLiteral<"PROJECT">;
3490
+ projectId: z.ZodString;
3491
+ }, z.core.$strict>, z.ZodObject<{
3492
+ type: z.ZodLiteral<"WORKSPACE">;
3493
+ }, z.core.$strict>], "type">;
3494
+ createdBefore: z.ZodString;
3495
+ type: z.ZodOptional<z.ZodEnum<{
3496
+ IMAGE: "IMAGE";
3497
+ VIDEO: "VIDEO";
3498
+ }>>;
3499
+ query: z.ZodOptional<z.ZodString>;
3500
+ }, z.core.$strict>], "mode">;
3501
+ cutoffAt: z.ZodNullable<z.ZodString>;
3502
+ candidateCount: z.ZodNumber;
3503
+ candidateIds: z.ZodArray<z.ZodString>;
3504
+ candidates: z.ZodArray<z.ZodObject<{
3505
+ id: z.ZodString;
3506
+ fileName: z.ZodNullable<z.ZodString>;
3507
+ projectId: z.ZodString;
3508
+ projectName: z.ZodString;
3509
+ type: z.ZodEnum<{
3510
+ IMAGE: "IMAGE";
3511
+ VIDEO: "VIDEO";
3512
+ }>;
3513
+ createdAt: z.ZodString;
3514
+ sizeBytes: z.ZodNullable<z.ZodNumber>;
3515
+ }, z.core.$strip>>;
3516
+ estimatedReclaimableBytes: z.ZodNumber;
3517
+ excludedInUseCount: z.ZodNumber;
3518
+ excludedInUseBytes: z.ZodNumber;
3519
+ unknownSizeCount: z.ZodNumber;
3520
+ hasMore: z.ZodBoolean;
3521
+ candidateDigest: z.ZodString;
3522
+ confirmation: z.ZodObject<{
3523
+ token: z.ZodString;
3524
+ expiresAt: z.ZodString;
3525
+ }, z.core.$strip>;
3526
+ }, z.core.$strip>;
3527
+ meta: z.ZodObject<{
3528
+ requestId: z.ZodString;
3529
+ }, z.core.$strip>;
3530
+ }, z.core.$strip>;
3531
+ declare const MediaCleanupExecuteRequestSchema: z.ZodObject<{
3532
+ selection: z.ZodDiscriminatedUnion<[z.ZodObject<{
3533
+ mode: z.ZodLiteral<"ASSET_IDS">;
3534
+ scope: z.ZodDiscriminatedUnion<[z.ZodObject<{
3535
+ type: z.ZodLiteral<"PROJECT">;
3536
+ projectId: z.ZodString;
3537
+ }, z.core.$strict>, z.ZodObject<{
3538
+ type: z.ZodLiteral<"WORKSPACE">;
3539
+ }, z.core.$strict>], "type">;
3540
+ assetIds: z.ZodArray<z.ZodString>;
3541
+ }, z.core.$strict>, z.ZodObject<{
3542
+ mode: z.ZodLiteral<"FILTER">;
3543
+ scope: z.ZodDiscriminatedUnion<[z.ZodObject<{
3544
+ type: z.ZodLiteral<"PROJECT">;
3545
+ projectId: z.ZodString;
3546
+ }, z.core.$strict>, z.ZodObject<{
3547
+ type: z.ZodLiteral<"WORKSPACE">;
3548
+ }, z.core.$strict>], "type">;
3549
+ createdBefore: z.ZodString;
3550
+ type: z.ZodOptional<z.ZodEnum<{
3551
+ IMAGE: "IMAGE";
3552
+ VIDEO: "VIDEO";
3553
+ }>>;
3554
+ query: z.ZodOptional<z.ZodString>;
3555
+ }, z.core.$strict>], "mode">;
3556
+ candidateDigest: z.ZodString;
3557
+ confirmationToken: z.ZodString;
3558
+ }, z.core.$strict>;
3559
+ type MediaCleanupExecuteRequest = z.infer<typeof MediaCleanupExecuteRequestSchema>;
3560
+ declare const MediaCleanupOperationStatusSchema: z.ZodEnum<{
3561
+ QUEUED: "QUEUED";
3562
+ RUNNING: "RUNNING";
3563
+ COMPLETED: "COMPLETED";
3564
+ COMPLETED_WITH_SKIPS: "COMPLETED_WITH_SKIPS";
3565
+ }>;
3566
+ declare const MediaCleanupItemStatusSchema: z.ZodEnum<{
3567
+ QUEUED: "QUEUED";
3568
+ RETRYING: "RETRYING";
3569
+ SKIPPED_IN_USE: "SKIPPED_IN_USE";
3570
+ SKIPPED_CHANGED: "SKIPPED_CHANGED";
3571
+ DELETED: "DELETED";
3572
+ }>;
3573
+ declare const MediaCleanupExecuteResultSchema: z.ZodObject<{
3574
+ cleanupId: z.ZodString;
3575
+ status: z.ZodEnum<{
3576
+ QUEUED: "QUEUED";
3577
+ RUNNING: "RUNNING";
3578
+ COMPLETED: "COMPLETED";
3579
+ COMPLETED_WITH_SKIPS: "COMPLETED_WITH_SKIPS";
3580
+ }>;
3581
+ candidateCount: z.ZodNumber;
3582
+ queuedCount: z.ZodNumber;
3583
+ skippedCount: z.ZodNumber;
3584
+ estimatedReclaimableBytes: z.ZodNumber;
3585
+ }, z.core.$strip>;
3586
+ type MediaCleanupExecuteResult = z.infer<typeof MediaCleanupExecuteResultSchema>;
3587
+ declare const MediaCleanupExecuteResponseSchema: z.ZodObject<{
3588
+ data: z.ZodObject<{
3589
+ cleanupId: z.ZodString;
3590
+ status: z.ZodEnum<{
3591
+ QUEUED: "QUEUED";
3592
+ RUNNING: "RUNNING";
3593
+ COMPLETED: "COMPLETED";
3594
+ COMPLETED_WITH_SKIPS: "COMPLETED_WITH_SKIPS";
3595
+ }>;
3596
+ candidateCount: z.ZodNumber;
3597
+ queuedCount: z.ZodNumber;
3598
+ skippedCount: z.ZodNumber;
3599
+ estimatedReclaimableBytes: z.ZodNumber;
3600
+ }, z.core.$strip>;
3601
+ meta: z.ZodObject<{
3602
+ requestId: z.ZodString;
3603
+ }, z.core.$strip>;
3604
+ }, z.core.$strip>;
3605
+ declare const MediaCleanupStatusQuerySchema: z.ZodObject<{
3606
+ limit: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
3607
+ cursor: z.ZodOptional<z.ZodString>;
3608
+ }, z.core.$strip>;
3609
+ declare const MediaCleanupItemResultSchema: z.ZodObject<{
3610
+ id: z.ZodString;
3611
+ assetId: z.ZodString;
3612
+ fileName: z.ZodNullable<z.ZodString>;
3613
+ projectId: z.ZodString;
3614
+ projectName: z.ZodString;
3615
+ type: z.ZodEnum<{
3616
+ IMAGE: "IMAGE";
3617
+ VIDEO: "VIDEO";
3618
+ }>;
3619
+ sizeBytes: z.ZodNullable<z.ZodNumber>;
3620
+ status: z.ZodEnum<{
3621
+ QUEUED: "QUEUED";
3622
+ RETRYING: "RETRYING";
3623
+ SKIPPED_IN_USE: "SKIPPED_IN_USE";
3624
+ SKIPPED_CHANGED: "SKIPPED_CHANGED";
3625
+ DELETED: "DELETED";
3626
+ }>;
3627
+ queuedAt: z.ZodNullable<z.ZodString>;
3628
+ retryingAt: z.ZodNullable<z.ZodString>;
3629
+ skippedAt: z.ZodNullable<z.ZodString>;
3630
+ deletedAt: z.ZodNullable<z.ZodString>;
3631
+ failureSummary: z.ZodNullable<z.ZodString>;
3632
+ }, z.core.$strip>;
3633
+ declare const MediaCleanupStatusSchema: z.ZodObject<{
3634
+ cleanupId: z.ZodString;
3635
+ status: z.ZodEnum<{
3636
+ QUEUED: "QUEUED";
3637
+ RUNNING: "RUNNING";
3638
+ COMPLETED: "COMPLETED";
3639
+ COMPLETED_WITH_SKIPS: "COMPLETED_WITH_SKIPS";
3640
+ }>;
3641
+ candidateCount: z.ZodNumber;
3642
+ queuedCount: z.ZodNumber;
3643
+ retryingCount: z.ZodNumber;
3644
+ skippedCount: z.ZodNumber;
3645
+ deletedCount: z.ZodNumber;
3646
+ unknownSizeCount: z.ZodNumber;
3647
+ estimatedReclaimableBytes: z.ZodNumber;
3648
+ actualReleasedBytes: z.ZodNumber;
3649
+ createdAt: z.ZodString;
3650
+ startedAt: z.ZodNullable<z.ZodString>;
3651
+ completedAt: z.ZodNullable<z.ZodString>;
3652
+ items: z.ZodArray<z.ZodObject<{
3653
+ id: z.ZodString;
3654
+ assetId: z.ZodString;
3655
+ fileName: z.ZodNullable<z.ZodString>;
3656
+ projectId: z.ZodString;
3657
+ projectName: z.ZodString;
3658
+ type: z.ZodEnum<{
3659
+ IMAGE: "IMAGE";
3660
+ VIDEO: "VIDEO";
3661
+ }>;
3662
+ sizeBytes: z.ZodNullable<z.ZodNumber>;
3663
+ status: z.ZodEnum<{
3664
+ QUEUED: "QUEUED";
3665
+ RETRYING: "RETRYING";
3666
+ SKIPPED_IN_USE: "SKIPPED_IN_USE";
3667
+ SKIPPED_CHANGED: "SKIPPED_CHANGED";
3668
+ DELETED: "DELETED";
3669
+ }>;
3670
+ queuedAt: z.ZodNullable<z.ZodString>;
3671
+ retryingAt: z.ZodNullable<z.ZodString>;
3672
+ skippedAt: z.ZodNullable<z.ZodString>;
3673
+ deletedAt: z.ZodNullable<z.ZodString>;
3674
+ failureSummary: z.ZodNullable<z.ZodString>;
3675
+ }, z.core.$strip>>;
3676
+ page: z.ZodObject<{
3677
+ limit: z.ZodNumber;
3678
+ nextCursor: z.ZodNullable<z.ZodString>;
3679
+ }, z.core.$strip>;
3680
+ }, z.core.$strip>;
3681
+ type MediaCleanupStatus = z.infer<typeof MediaCleanupStatusSchema>;
3682
+ declare const MediaCleanupStatusResponseSchema: z.ZodObject<{
3683
+ data: z.ZodObject<{
3684
+ cleanupId: z.ZodString;
3685
+ status: z.ZodEnum<{
3686
+ QUEUED: "QUEUED";
3687
+ RUNNING: "RUNNING";
3688
+ COMPLETED: "COMPLETED";
3689
+ COMPLETED_WITH_SKIPS: "COMPLETED_WITH_SKIPS";
3690
+ }>;
3691
+ candidateCount: z.ZodNumber;
3692
+ queuedCount: z.ZodNumber;
3693
+ retryingCount: z.ZodNumber;
3694
+ skippedCount: z.ZodNumber;
3695
+ deletedCount: z.ZodNumber;
3696
+ unknownSizeCount: z.ZodNumber;
3697
+ estimatedReclaimableBytes: z.ZodNumber;
3698
+ actualReleasedBytes: z.ZodNumber;
3699
+ createdAt: z.ZodString;
3700
+ startedAt: z.ZodNullable<z.ZodString>;
3701
+ completedAt: z.ZodNullable<z.ZodString>;
3702
+ items: z.ZodArray<z.ZodObject<{
3703
+ id: z.ZodString;
3704
+ assetId: z.ZodString;
3705
+ fileName: z.ZodNullable<z.ZodString>;
3706
+ projectId: z.ZodString;
3707
+ projectName: z.ZodString;
3708
+ type: z.ZodEnum<{
3709
+ IMAGE: "IMAGE";
3710
+ VIDEO: "VIDEO";
3711
+ }>;
3712
+ sizeBytes: z.ZodNullable<z.ZodNumber>;
3713
+ status: z.ZodEnum<{
3714
+ QUEUED: "QUEUED";
3715
+ RETRYING: "RETRYING";
3716
+ SKIPPED_IN_USE: "SKIPPED_IN_USE";
3717
+ SKIPPED_CHANGED: "SKIPPED_CHANGED";
3718
+ DELETED: "DELETED";
3719
+ }>;
3720
+ queuedAt: z.ZodNullable<z.ZodString>;
3721
+ retryingAt: z.ZodNullable<z.ZodString>;
3722
+ skippedAt: z.ZodNullable<z.ZodString>;
3723
+ deletedAt: z.ZodNullable<z.ZodString>;
3724
+ failureSummary: z.ZodNullable<z.ZodString>;
3725
+ }, z.core.$strip>>;
3726
+ page: z.ZodObject<{
3727
+ limit: z.ZodNumber;
3728
+ nextCursor: z.ZodNullable<z.ZodString>;
3729
+ }, z.core.$strip>;
3084
3730
  }, z.core.$strip>;
3085
3731
  meta: z.ZodObject<{
3086
3732
  requestId: z.ZodString;
@@ -8624,4 +9270,4 @@ declare const BacklinkContactListResponseSchema: z.ZodObject<{
8624
9270
  }, z.core.$strip>;
8625
9271
  }, z.core.$strip>;
8626
9272
 
8627
- export { AGENT_CAPABILITIES, API_VERSION, type Actor, ActorSchema, AgentBlogApprovalExecuteRequestSchema, AgentBlogApprovalExecuteResponseSchema, AgentBlogApprovalExecuteSchema, AgentBlogApprovalImageSummarySchema, AgentBlogApprovalLinkSummarySchema, AgentBlogApprovalPreviewRequestSchema, AgentBlogApprovalPreviewResponseSchema, AgentBlogApprovalPreviewSchema, type AgentBlogArticle, AgentBlogArticleCreateRequestSchema, type AgentBlogArticleDetail, AgentBlogArticleDetailSchema, AgentBlogArticleListResponseSchema, AgentBlogArticleQualitySummarySchema, AgentBlogArticleQueuedResponseSchema, AgentBlogArticleResponseSchema, AgentBlogArticleSchema, type AgentBlogCadenceInput, AgentBlogCadenceInputSchema, type AgentBlogConnectionExecute, AgentBlogConnectionExecuteRequestSchema, AgentBlogConnectionExecuteResponseSchema, AgentBlogConnectionExecuteSchema, AgentBlogConnectionPreviewRequestSchema, AgentBlogConnectionPreviewResponseSchema, AgentBlogConnectionPreviewSchema, type AgentBlogConnectionRequest, AgentBlogConnectionRequestSchema, type AgentBlogConnectionStatus, AgentBlogConnectionStatusResponseSchema, AgentBlogConnectionStatusSchema, type AgentBlogDeliveryAttempt, AgentBlogDeliveryAttemptListResponseSchema, AgentBlogDeliveryAttemptSchema, AgentBlogDestinationSelectionSchema, type AgentBlogDraftUpdate, AgentBlogDraftUpdateSchema, AgentBlogGenerateRequestSchema, AgentBlogIdempotentRequestSchema, AgentBlogImageGenerateRequestSchema, AgentBlogImageGenerationResponseSchema, AgentBlogImageResponseSchema, AgentBlogImageReviewRequestSchema, AgentBlogImageSchema, AgentBlogImageUploadCompleteRequestSchema, AgentBlogImageUploadPreparationResponseSchema, AgentBlogImageUploadPrepareRequestSchema, type AgentBlogJob, AgentBlogJobResponseSchema, AgentBlogJobSchema, AgentBlogMetricSourceSchema, AgentBlogPerformanceObservationSchema, type AgentBlogPlan, type AgentBlogPlanCadenceExecute, AgentBlogPlanCadenceExecuteRequestSchema, AgentBlogPlanCadenceExecuteResponseSchema, AgentBlogPlanCadenceExecuteSchema, type AgentBlogPlanCadencePreview, AgentBlogPlanCadencePreviewRequestSchema, AgentBlogPlanCadencePreviewResponseSchema, AgentBlogPlanCadencePreviewSchema, AgentBlogPlanCreateRequestSchema, type AgentBlogPlanDateMove, AgentBlogPlanDateMoveSchema, type AgentBlogPlanItem, AgentBlogPlanItemResponseSchema, AgentBlogPlanItemSchema, AgentBlogPlanItemStateRequestSchema, AgentBlogPlanItemsResponseSchema, AgentBlogPlanListResponseSchema, AgentBlogPlanLockedItemSchema, AgentBlogPlanQueuedResponseSchema, AgentBlogPlanRetryRequestSchema, AgentBlogPlanSchema, AgentBlogPublishExecuteRequestSchema, AgentBlogPublishExecuteResponseSchema, type AgentBlogPublishPreview, AgentBlogPublishPreviewRequestSchema, AgentBlogPublishPreviewResponseSchema, AgentBlogPublishPreviewSchema, type AgentBlogPublishingDestination, AgentBlogPublishingDestinationListResponseSchema, AgentBlogPublishingDestinationSchema, type AgentBlogPublishingProvider, AgentBlogPublishingProviderListResponseSchema, AgentBlogPublishingProviderSchema, AgentBlogRevalidationTestRequestSchema, AgentBlogRevalidationTestResponseSchema, AgentBlogRevalidationTestSchema, AgentBlogScheduleCancelExecuteRequestSchema, AgentBlogScheduleCancelExecuteResponseSchema, AgentBlogScheduleCancelExecuteSchema, AgentBlogScheduleCancelPreviewRequestSchema, AgentBlogScheduleCancelPreviewResponseSchema, AgentBlogScheduleCancelPreviewSchema, AgentBlogScheduleExecuteRequestSchema, AgentBlogScheduleExecuteResponseSchema, AgentBlogScheduleExecuteSchema, AgentBlogSchedulePreviewRequestSchema, AgentBlogSchedulePreviewResponseSchema, AgentBlogSchedulePreviewSchema, type AgentBlogSetupStatus, AgentBlogSetupStatusResponseSchema, AgentBlogSetupStatusSchema, type AgentBlogWebhookDestinationChange, AgentBlogWebhookDestinationChangeSchema, type AgentBlogWebhookDestinationExecute, AgentBlogWebhookDestinationExecuteRequestSchema, AgentBlogWebhookDestinationExecuteResponseSchema, AgentBlogWebhookDestinationExecuteSchema, AgentBlogWebhookDestinationPreviewRequestSchema, AgentBlogWebhookDestinationPreviewResponseSchema, AgentBlogWebhookDestinationPreviewSchema, type AgentBlogWebhookRotateExecute, AgentBlogWebhookRotateExecuteRequestSchema, AgentBlogWebhookRotateExecuteResponseSchema, AgentBlogWebhookRotateExecuteSchema, AgentBlogWebhookRotatePreviewRequestSchema, AgentBlogWebhookRotatePreviewResponseSchema, AgentBlogWebhookRotatePreviewSchema, AgentBlogWebhookSemanticsSchema, type AgentBlogWebhookTest, AgentBlogWebhookTestRequestSchema, AgentBlogWebhookTestResponseSchema, AgentBlogWebhookTestSchema, type ApiErrorCode, ApiErrorCodeSchema, type ApiMeta, type ApiMetaResponse, ApiMetaResponseSchema, ApiMetaSchema, type ApiProblem, ApiProblemSchema, type AuthenticationKind, AuthenticationKindSchema, type BacklinkContact, BacklinkContactListDataSchema, BacklinkContactListQuerySchema, BacklinkContactListResponseSchema, BacklinkContactSchema, BacklinkContactStateSchema, BacklinkDiscoveryInputSchema, type BacklinkDiscoveryRun, BacklinkDiscoveryRunResponseSchema, BacklinkDiscoveryRunSchema, BacklinkNextActionSchema, BacklinkOpportunityTypeSchema, BacklinkOutreachDraftResponseSchema, BacklinkOutreachDraftSchema, BacklinkOutreachUpdateInputSchema, type BacklinkProspect, BacklinkProspectListDataSchema, BacklinkProspectListQuerySchema, BacklinkProspectListResponseSchema, BacklinkProspectResponseSchema, BacklinkProspectSchema, BacklinkProspectStageSchema, BacklinkQueueResponseSchema, BacklinkScoreComponentsSchema, BacklinkStageUpdateInputSchema, type BacklinkTarget, BacklinkTargetInputSchema, BacklinkTargetListResponseSchema, BacklinkTargetResponseSchema, BacklinkTargetSchema, BacklinkVerificationInputSchema, BacklinkVerificationResponseSchema, BacklinkVerificationSchema, BacklinkVerificationStateSchema, BlogArticleListSchema, BlogImageSchema, BlogMetadataSchema, BlogSitemapEntrySchema, BlogSlugRedirectSchema, CONTRACT_VERSION, type CalendarEvent, CalendarEventSchema, type CalendarListData, CalendarListDataSchema, type CalendarListQuery, CalendarListQuerySchema, CalendarListResponseSchema, CapabilitiesDataSchema, type CapabilitiesResponse, CapabilitiesResponseSchema, type Capability, type CapabilityId, CapabilityIdSchema, CapabilitySchema, type DraftPostData, type DraftPostInput, DraftPostInputSchema, type DraftPostUpdateData, type DraftPostUpdateInput, DraftPostUpdateInputSchema, IntegrationConnectionStatusSchema, type IntegrationHealth, type IntegrationHealthListData, IntegrationHealthListDataSchema, IntegrationHealthListResponseSchema, IntegrationHealthSchema, LinkedInDeliveryOptionsSchema, type MediaAsset, type MediaAssetListData, MediaAssetListDataSchema, type MediaAssetListQuery, MediaAssetListQuerySchema, MediaAssetListResponseSchema, MediaAssetResponseSchema, MediaAssetSchema, type MediaAssetUploadCompleteInput, MediaAssetUploadCompleteInputSchema, type MediaAssetUploadInput, MediaAssetUploadInputSchema, type MediaAssetUploadPreparation, MediaAssetUploadPreparationResponseSchema, MediaAssetUploadPreparationSchema, PUBLISHING_PROVIDER_COUNT, PlatformPostStatusSchema, type Post, type PostDeliveryMode, PostDeliveryModeSchema, type PostDestination, PostDestinationSchema, type PostDestinationStage, PostDestinationStageSchema, type PostListData, PostListDataSchema, type PostListQuery, PostListQuerySchema, type PostListResponse, PostListResponseSchema, type PostMedia, PostMediaSchema, type PostProviderSettings, PostProviderSettingsSchema, type PostPublishExecuteInput, PostPublishExecuteInputSchema, type PostPublishInput, PostPublishInputSchema, type PostPublishPreview, PostPublishPreviewResponseSchema, PostPublishPreviewSchema, type PostReadiness, PostReadinessCheckSchema, PostReadinessResponseSchema, PostReadinessSchema, type PostResponse, PostResponseSchema, type PostScheduleExecuteInput, PostScheduleExecuteInputSchema, PostScheduleExecuteResponseSchema, type PostScheduleExecuteResult, PostScheduleExecuteResultSchema, type PostScheduleInput, PostScheduleInputSchema, type PostSchedulePending, PostSchedulePendingSchema, type PostSchedulePreview, PostSchedulePreviewResponseSchema, PostSchedulePreviewSchema, PostSchema, type PostStatus, PostStatusSchema, type Project, type ProjectCreateData, type ProjectCreateInput, ProjectCreateInputSchema, type ProjectListData, ProjectListDataSchema, type ProjectListQuery, ProjectListQuerySchema, type ProjectListResponse, ProjectListResponseSchema, type ProjectResponse, ProjectResponseSchema, ProjectSchema, type ProjectType, ProjectTypeSchema, type ProviderDeliveryOptions, type ProviderDeliveryOptionsProvider, ProviderDeliveryOptionsProviderSchema, ProviderDeliveryOptionsResponseSchema, ProviderDeliveryOptionsSchema, ProviderHealthStatusSchema, type PublishedBlogArticle, PublishedBlogArticleSchema, type PublishingProvider, PublishingProviderSchema, ReadinessActionSchema, ReadinessStatusSchema, RequestMetadataSchema, type SeoActionDecision, SeoActionDecisionSchema, type SeoActionPlan, SeoActionPlanSchema, type SeoAgentTask, SeoAgentTaskSchema, SeoConfidenceValueSchema, SeoContentTypeSchema, SeoCursorSchema, type SeoDecisionConfidence, SeoDecisionConfidenceSchema, SeoEntityIdSchema, type SeoEvidence, type SeoEvidenceProvenance, SeoEvidenceProvenanceSchema, SeoEvidenceSchema, type SeoExpectedImpact, SeoExpectedImpactSchema, type SeoOpportunity, type SeoOpportunityBrief, SeoOpportunityBriefSchema, type SeoOpportunityKind, SeoOpportunityKindSchema, type SeoOpportunityListData, SeoOpportunityListDataSchema, type SeoOpportunityListQuery, SeoOpportunityListQuerySchema, SeoOpportunityListResponseSchema, SeoOpportunityResponseSchema, SeoOpportunitySchema, type SeoReport, type SeoReportCompleteness, SeoReportCompletenessSchema, type SeoReportListData, SeoReportListDataSchema, type SeoReportListQuery, SeoReportListQuerySchema, SeoReportListResponseSchema, SeoReportResponseSchema, SeoReportSchema, type SeoReportSummary, SeoReportSummarySchema, SeoReportTriggerSchema, SeoSearchIntentSchema, type SeoTaskDecision, SeoTaskDecisionSchema, type SeoTaskFormat, SeoTaskFormatSchema, TikTokDeliveryOptionsSchema, type TikTokDraftSettings, type TikTokDraftSettingsInput, TikTokDraftSettingsSchema, type TikTokPostSettings, TikTokPostSettingsSchema, type WhoAmIResponse, WhoAmIResponseSchema, type YouTubePostSettings, YouTubePostSettingsSchema, successEnvelopeSchema };
9273
+ export { AGENT_CAPABILITIES, API_VERSION, type Actor, ActorSchema, AgentBlogApprovalExecuteRequestSchema, AgentBlogApprovalExecuteResponseSchema, AgentBlogApprovalExecuteSchema, AgentBlogApprovalImageSummarySchema, AgentBlogApprovalLinkSummarySchema, AgentBlogApprovalPreviewRequestSchema, AgentBlogApprovalPreviewResponseSchema, AgentBlogApprovalPreviewSchema, type AgentBlogArticle, AgentBlogArticleCreateRequestSchema, type AgentBlogArticleDetail, AgentBlogArticleDetailSchema, AgentBlogArticleListResponseSchema, AgentBlogArticleQualitySummarySchema, AgentBlogArticleQueuedResponseSchema, AgentBlogArticleResponseSchema, AgentBlogArticleSchema, type AgentBlogCadenceInput, AgentBlogCadenceInputSchema, type AgentBlogConnectionExecute, AgentBlogConnectionExecuteRequestSchema, AgentBlogConnectionExecuteResponseSchema, AgentBlogConnectionExecuteSchema, AgentBlogConnectionPreviewRequestSchema, AgentBlogConnectionPreviewResponseSchema, AgentBlogConnectionPreviewSchema, type AgentBlogConnectionRequest, AgentBlogConnectionRequestSchema, type AgentBlogConnectionStatus, AgentBlogConnectionStatusResponseSchema, AgentBlogConnectionStatusSchema, type AgentBlogDeliveryAttempt, AgentBlogDeliveryAttemptListResponseSchema, AgentBlogDeliveryAttemptSchema, AgentBlogDestinationSelectionSchema, type AgentBlogDraftUpdate, AgentBlogDraftUpdateSchema, AgentBlogGenerateRequestSchema, AgentBlogIdempotentRequestSchema, AgentBlogImageGenerateRequestSchema, AgentBlogImageGenerationResponseSchema, AgentBlogImageResponseSchema, AgentBlogImageReviewRequestSchema, AgentBlogImageSchema, AgentBlogImageUploadCompleteRequestSchema, AgentBlogImageUploadPreparationResponseSchema, AgentBlogImageUploadPrepareRequestSchema, type AgentBlogJob, AgentBlogJobResponseSchema, AgentBlogJobSchema, AgentBlogMetricSourceSchema, AgentBlogPerformanceObservationSchema, type AgentBlogPlan, type AgentBlogPlanCadenceExecute, AgentBlogPlanCadenceExecuteRequestSchema, AgentBlogPlanCadenceExecuteResponseSchema, AgentBlogPlanCadenceExecuteSchema, type AgentBlogPlanCadencePreview, AgentBlogPlanCadencePreviewRequestSchema, AgentBlogPlanCadencePreviewResponseSchema, AgentBlogPlanCadencePreviewSchema, AgentBlogPlanCreateRequestSchema, type AgentBlogPlanDateMove, AgentBlogPlanDateMoveSchema, type AgentBlogPlanItem, AgentBlogPlanItemResponseSchema, AgentBlogPlanItemSchema, AgentBlogPlanItemStateRequestSchema, AgentBlogPlanItemsResponseSchema, AgentBlogPlanListResponseSchema, AgentBlogPlanLockedItemSchema, AgentBlogPlanQueuedResponseSchema, AgentBlogPlanRetryRequestSchema, AgentBlogPlanSchema, AgentBlogPublishExecuteRequestSchema, AgentBlogPublishExecuteResponseSchema, type AgentBlogPublishPreview, AgentBlogPublishPreviewRequestSchema, AgentBlogPublishPreviewResponseSchema, AgentBlogPublishPreviewSchema, type AgentBlogPublishingDestination, AgentBlogPublishingDestinationListResponseSchema, AgentBlogPublishingDestinationSchema, type AgentBlogPublishingProvider, AgentBlogPublishingProviderListResponseSchema, AgentBlogPublishingProviderSchema, AgentBlogRevalidationTestRequestSchema, AgentBlogRevalidationTestResponseSchema, AgentBlogRevalidationTestSchema, AgentBlogScheduleCancelExecuteRequestSchema, AgentBlogScheduleCancelExecuteResponseSchema, AgentBlogScheduleCancelExecuteSchema, AgentBlogScheduleCancelPreviewRequestSchema, AgentBlogScheduleCancelPreviewResponseSchema, AgentBlogScheduleCancelPreviewSchema, AgentBlogScheduleExecuteRequestSchema, AgentBlogScheduleExecuteResponseSchema, AgentBlogScheduleExecuteSchema, AgentBlogSchedulePreviewRequestSchema, AgentBlogSchedulePreviewResponseSchema, AgentBlogSchedulePreviewSchema, type AgentBlogSetupStatus, AgentBlogSetupStatusResponseSchema, AgentBlogSetupStatusSchema, type AgentBlogWebhookDestinationChange, AgentBlogWebhookDestinationChangeSchema, type AgentBlogWebhookDestinationExecute, AgentBlogWebhookDestinationExecuteRequestSchema, AgentBlogWebhookDestinationExecuteResponseSchema, AgentBlogWebhookDestinationExecuteSchema, AgentBlogWebhookDestinationPreviewRequestSchema, AgentBlogWebhookDestinationPreviewResponseSchema, AgentBlogWebhookDestinationPreviewSchema, type AgentBlogWebhookRotateExecute, AgentBlogWebhookRotateExecuteRequestSchema, AgentBlogWebhookRotateExecuteResponseSchema, AgentBlogWebhookRotateExecuteSchema, AgentBlogWebhookRotatePreviewRequestSchema, AgentBlogWebhookRotatePreviewResponseSchema, AgentBlogWebhookRotatePreviewSchema, AgentBlogWebhookSemanticsSchema, type AgentBlogWebhookTest, AgentBlogWebhookTestRequestSchema, AgentBlogWebhookTestResponseSchema, AgentBlogWebhookTestSchema, type ApiErrorCode, ApiErrorCodeSchema, type ApiMeta, type ApiMetaResponse, ApiMetaResponseSchema, ApiMetaSchema, type ApiProblem, ApiProblemSchema, type AuthenticationKind, AuthenticationKindSchema, type BacklinkContact, BacklinkContactListDataSchema, BacklinkContactListQuerySchema, BacklinkContactListResponseSchema, BacklinkContactSchema, BacklinkContactStateSchema, BacklinkDiscoveryInputSchema, type BacklinkDiscoveryRun, BacklinkDiscoveryRunResponseSchema, BacklinkDiscoveryRunSchema, BacklinkNextActionSchema, BacklinkOpportunityTypeSchema, BacklinkOutreachDraftResponseSchema, BacklinkOutreachDraftSchema, BacklinkOutreachUpdateInputSchema, type BacklinkProspect, BacklinkProspectListDataSchema, BacklinkProspectListQuerySchema, BacklinkProspectListResponseSchema, BacklinkProspectResponseSchema, BacklinkProspectSchema, BacklinkProspectStageSchema, BacklinkQueueResponseSchema, BacklinkScoreComponentsSchema, BacklinkStageUpdateInputSchema, type BacklinkTarget, BacklinkTargetInputSchema, BacklinkTargetListResponseSchema, BacklinkTargetResponseSchema, BacklinkTargetSchema, BacklinkVerificationInputSchema, BacklinkVerificationResponseSchema, BacklinkVerificationSchema, BacklinkVerificationStateSchema, BlogArticleListSchema, BlogImageSchema, BlogMetadataSchema, BlogSitemapEntrySchema, BlogSlugRedirectSchema, CONTRACT_VERSION, type CalendarEvent, CalendarEventSchema, type CalendarListData, CalendarListDataSchema, type CalendarListQuery, CalendarListQuerySchema, CalendarListResponseSchema, CapabilitiesDataSchema, type CapabilitiesResponse, CapabilitiesResponseSchema, type Capability, type CapabilityId, CapabilityIdSchema, CapabilitySchema, type DraftPostData, type DraftPostInput, DraftPostInputSchema, type DraftPostUpdateData, type DraftPostUpdateInput, DraftPostUpdateInputSchema, IntegrationConnectionStatusSchema, type IntegrationHealth, type IntegrationHealthListData, IntegrationHealthListDataSchema, IntegrationHealthListResponseSchema, IntegrationHealthSchema, LinkedInDeliveryOptionsSchema, type ListedMediaAsset, ListedMediaAssetSchema, type MediaAsset, type MediaAssetListData, MediaAssetListDataSchema, type MediaAssetListQuery, MediaAssetListQuerySchema, MediaAssetListResponseSchema, MediaAssetResponseSchema, MediaAssetSchema, type MediaAssetUploadCompleteInput, MediaAssetUploadCompleteInputSchema, type MediaAssetUploadInput, MediaAssetUploadInputSchema, type MediaAssetUploadPreparation, MediaAssetUploadPreparationResponseSchema, MediaAssetUploadPreparationSchema, MediaCleanupCandidateSchema, type MediaCleanupExecuteRequest, MediaCleanupExecuteRequestSchema, MediaCleanupExecuteResponseSchema, type MediaCleanupExecuteResult, MediaCleanupExecuteResultSchema, MediaCleanupItemResultSchema, MediaCleanupItemStatusSchema, MediaCleanupOperationStatusSchema, type MediaCleanupPreview, type MediaCleanupPreviewRequest, MediaCleanupPreviewRequestSchema, MediaCleanupPreviewResponseSchema, MediaCleanupPreviewSchema, type MediaCleanupScope, MediaCleanupScopeSchema, type MediaCleanupSelectionInput, MediaCleanupSelectionInputSchema, type MediaCleanupStatus, MediaCleanupStatusQuerySchema, MediaCleanupStatusResponseSchema, MediaCleanupStatusSchema, type NormalizedMediaCleanupSelection, NormalizedMediaCleanupSelectionSchema, PUBLISHING_PROVIDER_COUNT, PlatformPostStatusSchema, type Post, type PostDeliveryMode, PostDeliveryModeSchema, type PostDestination, PostDestinationSchema, type PostDestinationStage, PostDestinationStageSchema, type PostListData, PostListDataSchema, type PostListQuery, PostListQuerySchema, type PostListResponse, PostListResponseSchema, type PostMedia, PostMediaSchema, type PostProviderSettings, PostProviderSettingsSchema, type PostPublishExecuteInput, PostPublishExecuteInputSchema, type PostPublishInput, PostPublishInputSchema, type PostPublishPreview, PostPublishPreviewResponseSchema, PostPublishPreviewSchema, type PostReadiness, PostReadinessCheckSchema, PostReadinessResponseSchema, PostReadinessSchema, type PostResponse, PostResponseSchema, type PostScheduleExecuteInput, PostScheduleExecuteInputSchema, PostScheduleExecuteResponseSchema, type PostScheduleExecuteResult, PostScheduleExecuteResultSchema, type PostScheduleInput, PostScheduleInputSchema, type PostSchedulePending, PostSchedulePendingSchema, type PostSchedulePreview, PostSchedulePreviewResponseSchema, PostSchedulePreviewSchema, PostSchema, type PostStatus, PostStatusSchema, type Project, type ProjectCreateData, type ProjectCreateInput, ProjectCreateInputSchema, type ProjectListData, ProjectListDataSchema, type ProjectListQuery, ProjectListQuerySchema, type ProjectListResponse, ProjectListResponseSchema, type ProjectResponse, ProjectResponseSchema, ProjectSchema, type ProjectType, ProjectTypeSchema, type ProviderDeliveryOptions, type ProviderDeliveryOptionsProvider, ProviderDeliveryOptionsProviderSchema, ProviderDeliveryOptionsResponseSchema, ProviderDeliveryOptionsSchema, ProviderHealthStatusSchema, type PublishedBlogArticle, PublishedBlogArticleSchema, type PublishingProvider, PublishingProviderSchema, ReadinessActionSchema, ReadinessStatusSchema, RequestMetadataSchema, type SeoActionDecision, SeoActionDecisionSchema, type SeoActionPlan, SeoActionPlanSchema, type SeoAgentTask, SeoAgentTaskSchema, SeoConfidenceValueSchema, SeoContentTypeSchema, SeoCursorSchema, type SeoDecisionConfidence, SeoDecisionConfidenceSchema, SeoEntityIdSchema, type SeoEvidence, type SeoEvidenceProvenance, SeoEvidenceProvenanceSchema, SeoEvidenceSchema, type SeoExpectedImpact, SeoExpectedImpactSchema, type SeoOpportunity, type SeoOpportunityBrief, SeoOpportunityBriefSchema, type SeoOpportunityKind, SeoOpportunityKindSchema, type SeoOpportunityListData, SeoOpportunityListDataSchema, type SeoOpportunityListQuery, SeoOpportunityListQuerySchema, SeoOpportunityListResponseSchema, SeoOpportunityResponseSchema, SeoOpportunitySchema, type SeoReport, type SeoReportCompleteness, SeoReportCompletenessSchema, type SeoReportListData, SeoReportListDataSchema, type SeoReportListQuery, SeoReportListQuerySchema, SeoReportListResponseSchema, SeoReportResponseSchema, SeoReportSchema, type SeoReportSummary, SeoReportSummarySchema, SeoReportTriggerSchema, SeoSearchIntentSchema, type SeoTaskDecision, SeoTaskDecisionSchema, type SeoTaskFormat, SeoTaskFormatSchema, StorageByteCountSchema, type StorageSourceBreakdown, StorageSourceBreakdownSchema, type StorageUsage, StorageUsageResponseSchema, StorageUsageSchema, TikTokDeliveryOptionsSchema, type TikTokDraftSettings, type TikTokDraftSettingsInput, TikTokDraftSettingsSchema, type TikTokPostSettings, TikTokPostSettingsSchema, type WhoAmIResponse, WhoAmIResponseSchema, type WorkspaceListedMediaAsset, WorkspaceListedMediaAssetSchema, type WorkspaceMediaAssetListData, WorkspaceMediaAssetListDataSchema, type WorkspaceMediaAssetListQuery, WorkspaceMediaAssetListQuerySchema, WorkspaceMediaAssetListResponseSchema, type YouTubePostSettings, YouTubePostSettingsSchema, successEnvelopeSchema };