@pubnio/sdk 0.3.0 → 0.4.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/solid.d.ts CHANGED
@@ -1003,19 +1003,19 @@ declare const ApiKeyRevocation: Schema.Struct<{
1003
1003
  }>;
1004
1004
  type ApiKeyRevocation = typeof ApiKeyRevocation.Type;
1005
1005
  declare const PublishInput: Schema.Struct<{
1006
- readonly expectedRevision: Schema.Int;
1006
+ readonly expectedRevision: Schema.optionalKey<Schema.Int>;
1007
1007
  readonly scheduledAt: Schema.optionalKey<Schema.String>;
1008
- readonly accountIds: Schema.optionalKey<Schema.$Array<Schema.brand<Schema.String, "AccountId">>>;
1008
+ readonly accounts: Schema.optionalKey<Schema.$Array<Schema.brand<Schema.String, "AccountId">>>;
1009
1009
  readonly targets: Schema.optionalKey<Schema.$Array<Schema.Struct<{
1010
1010
  readonly accountId: Schema.brand<Schema.String, "AccountId">;
1011
- readonly placement: Schema.Literals<readonly [
1011
+ readonly placement: Schema.optionalKey<Schema.Literals<readonly [
1012
1012
  "feed",
1013
1013
  "reel",
1014
1014
  "story",
1015
1015
  "carousel",
1016
1016
  "video",
1017
1017
  "pin"
1018
- ]>;
1018
+ ]>>;
1019
1019
  readonly scheduledAt: Schema.optionalKey<Schema.Union<readonly [
1020
1020
  Schema.String,
1021
1021
  Schema.Null
@@ -2901,7 +2901,17 @@ declare const MediaWait: Schema.Struct<{
2901
2901
  }>;
2902
2902
  type MediaWait = typeof MediaWait.Type;
2903
2903
  declare const CreatePost: Schema.Struct<{
2904
- readonly text: Schema.optionalKey<Schema.Trim>;
2904
+ readonly media: Schema.optionalKey<Schema.$Array<Schema.Union<readonly [
2905
+ Schema.Struct<{
2906
+ readonly mediaId: Schema.brand<Schema.String, "MediaId">;
2907
+ }>,
2908
+ Schema.Struct<{
2909
+ readonly url: Schema.String;
2910
+ }>
2911
+ ]>>>;
2912
+ readonly scheduledAt: Schema.optionalKey<Schema.String>;
2913
+ readonly publishNow: Schema.optionalKey<Schema.Boolean>;
2914
+ readonly isDraft: Schema.optionalKey<Schema.Boolean>;
2905
2915
  readonly platforms: Schema.optionalKey<Schema.$Array<Schema.Literals<readonly [
2906
2916
  "bluesky",
2907
2917
  "facebook",
@@ -3225,6 +3235,335 @@ declare const CreatePost: Schema.Struct<{
3225
3235
  }>
3226
3236
  ]>, never>>;
3227
3237
  }>>>;
3238
+ readonly text: Schema.optionalKey<Schema.Trim>;
3239
+ }>;
3240
+ type CreatePost = typeof CreatePost.Type;
3241
+ declare const UpdatePost: Schema.Struct<{
3242
+ readonly targets: Schema.optionalKey<Schema.$Array<Schema.Struct<{
3243
+ readonly accountId: Schema.brand<Schema.String, "AccountId">;
3244
+ readonly provider: Schema.optionalKey<Schema.Literals<readonly [
3245
+ "bluesky",
3246
+ "facebook",
3247
+ "instagram",
3248
+ "linkedin",
3249
+ "pinterest",
3250
+ "reddit",
3251
+ "snapchat",
3252
+ "tiktok",
3253
+ "threads",
3254
+ "x",
3255
+ "youtube",
3256
+ "google_business"
3257
+ ]>>;
3258
+ readonly placement: Schema.optionalKey<Schema.Literals<readonly [
3259
+ "feed",
3260
+ "reel",
3261
+ "story",
3262
+ "carousel",
3263
+ "video",
3264
+ "pin"
3265
+ ]>>;
3266
+ readonly text: Schema.optionalKey<Schema.String>;
3267
+ readonly thread: Schema.optionalKey<Schema.$Array<Schema.String>>;
3268
+ readonly media: Schema.optionalKey<Schema.$Array<Schema.Union<readonly [
3269
+ Schema.Struct<{
3270
+ readonly mediaId: Schema.brand<Schema.String, "MediaId">;
3271
+ }>,
3272
+ Schema.Struct<{
3273
+ readonly url: Schema.String;
3274
+ }>
3275
+ ]>>>;
3276
+ readonly scheduledAt: Schema.optionalKey<Schema.Union<readonly [
3277
+ Schema.String,
3278
+ Schema.Null
3279
+ ]>>;
3280
+ readonly queueId: Schema.optionalKey<Schema.String>;
3281
+ readonly settings: Schema.optionalKey<Schema.middlewareDecoding<Schema.Union<readonly [
3282
+ Schema.Struct<{
3283
+ readonly firstComment: Schema.optionalKey<Schema.String>;
3284
+ readonly thread: Schema.optionalKey<Schema.$Array<Schema.String>>;
3285
+ readonly altText: Schema.optionalKey<Schema.String>;
3286
+ }>,
3287
+ Schema.Struct<{
3288
+ readonly link: Schema.optionalKey<Schema.String>;
3289
+ readonly textFormatPresetId: Schema.optionalKey<Schema.String>;
3290
+ readonly albumId: Schema.optionalKey<Schema.String>;
3291
+ readonly firstComment: Schema.optionalKey<Schema.String>;
3292
+ readonly thread: Schema.optionalKey<Schema.$Array<Schema.String>>;
3293
+ readonly nativeDraft: Schema.optionalKey<Schema.Boolean>;
3294
+ readonly countries: Schema.optionalKey<Schema.$Array<Schema.String>>;
3295
+ }>,
3296
+ Schema.Struct<{
3297
+ readonly title: Schema.optionalKey<Schema.String>;
3298
+ readonly isAiGenerated: Schema.optionalKey<Schema.Boolean>;
3299
+ readonly collaboratorPageIds: Schema.optionalKey<Schema.$Array<Schema.String>>;
3300
+ readonly firstComment: Schema.optionalKey<Schema.String>;
3301
+ readonly thread: Schema.optionalKey<Schema.$Array<Schema.String>>;
3302
+ readonly nativeDraft: Schema.optionalKey<Schema.Boolean>;
3303
+ readonly countries: Schema.optionalKey<Schema.$Array<Schema.String>>;
3304
+ }>,
3305
+ Schema.Struct<{
3306
+ readonly isAiGenerated: Schema.optionalKey<Schema.Boolean>;
3307
+ }>,
3308
+ Schema.Struct<{
3309
+ readonly altText: Schema.optionalKey<Schema.String>;
3310
+ readonly userTags: Schema.optionalKey<Schema.$Array<Schema.Struct<{
3311
+ readonly username: Schema.String;
3312
+ readonly x: Schema.optionalKey<Schema.Number>;
3313
+ readonly y: Schema.optionalKey<Schema.Number>;
3314
+ }>>>;
3315
+ readonly firstComment: Schema.optionalKey<Schema.String>;
3316
+ readonly commentsEnabled: Schema.optionalKey<Schema.Boolean>;
3317
+ readonly collaborators: Schema.optionalKey<Schema.$Array<Schema.String>>;
3318
+ readonly locationId: Schema.optionalKey<Schema.String>;
3319
+ readonly isPaidPartnership: Schema.optionalKey<Schema.Boolean>;
3320
+ readonly brandedContentSponsors: Schema.optionalKey<Schema.$Array<Schema.Union<readonly [
3321
+ Schema.String,
3322
+ Schema.String
3323
+ ]>>>;
3324
+ readonly isAiGenerated: Schema.optionalKey<Schema.Boolean>;
3325
+ }>,
3326
+ Schema.Struct<{
3327
+ readonly shareToFeed: Schema.optionalKey<Schema.Boolean>;
3328
+ readonly muteAudio: Schema.optionalKey<Schema.Boolean>;
3329
+ readonly audioConfiguration: Schema.optionalKey<Schema.Struct<{
3330
+ readonly audioId: Schema.String;
3331
+ readonly audioVolume: Schema.optionalKey<Schema.Int>;
3332
+ readonly videoVolume: Schema.optionalKey<Schema.Int>;
3333
+ }>>;
3334
+ readonly coverUrl: Schema.optionalKey<Schema.String>;
3335
+ readonly thumbOffset: Schema.optionalKey<Schema.Int>;
3336
+ readonly audioName: Schema.optionalKey<Schema.String>;
3337
+ readonly trial: Schema.optionalKey<Schema.Struct<{
3338
+ readonly graduationStrategy: Schema.Literals<readonly [
3339
+ "MANUAL",
3340
+ "SS_PERFORMANCE"
3341
+ ]>;
3342
+ }>>;
3343
+ readonly userTags: Schema.optionalKey<Schema.$Array<Schema.Struct<{
3344
+ readonly username: Schema.String;
3345
+ readonly x: Schema.optionalKey<Schema.Number>;
3346
+ readonly y: Schema.optionalKey<Schema.Number>;
3347
+ }>>>;
3348
+ readonly firstComment: Schema.optionalKey<Schema.String>;
3349
+ readonly commentsEnabled: Schema.optionalKey<Schema.Boolean>;
3350
+ readonly collaborators: Schema.optionalKey<Schema.$Array<Schema.String>>;
3351
+ readonly locationId: Schema.optionalKey<Schema.String>;
3352
+ readonly isPaidPartnership: Schema.optionalKey<Schema.Boolean>;
3353
+ readonly brandedContentSponsors: Schema.optionalKey<Schema.$Array<Schema.Union<readonly [
3354
+ Schema.String,
3355
+ Schema.String
3356
+ ]>>>;
3357
+ readonly isAiGenerated: Schema.optionalKey<Schema.Boolean>;
3358
+ }>,
3359
+ Schema.Struct<{
3360
+ readonly muteAudio: Schema.optionalKey<Schema.Boolean>;
3361
+ readonly slides: Schema.optionalKey<Schema.$Array<Schema.Struct<{
3362
+ readonly altText: Schema.optionalKey<Schema.String>;
3363
+ readonly userTags: Schema.optionalKey<Schema.$Array<Schema.Struct<{
3364
+ readonly username: Schema.String;
3365
+ readonly x: Schema.optionalKey<Schema.Number>;
3366
+ readonly y: Schema.optionalKey<Schema.Number>;
3367
+ }>>>;
3368
+ }>>>;
3369
+ readonly firstComment: Schema.optionalKey<Schema.String>;
3370
+ readonly commentsEnabled: Schema.optionalKey<Schema.Boolean>;
3371
+ readonly collaborators: Schema.optionalKey<Schema.$Array<Schema.String>>;
3372
+ readonly locationId: Schema.optionalKey<Schema.String>;
3373
+ readonly isPaidPartnership: Schema.optionalKey<Schema.Boolean>;
3374
+ readonly brandedContentSponsors: Schema.optionalKey<Schema.$Array<Schema.Union<readonly [
3375
+ Schema.String,
3376
+ Schema.String
3377
+ ]>>>;
3378
+ readonly isAiGenerated: Schema.optionalKey<Schema.Boolean>;
3379
+ }>,
3380
+ Schema.Struct<{
3381
+ readonly muteAudio: Schema.optionalKey<Schema.Boolean>;
3382
+ readonly userTags: Schema.optionalKey<Schema.$Array<Schema.Struct<{
3383
+ readonly username: Schema.String;
3384
+ readonly x: Schema.optionalKey<Schema.Number>;
3385
+ readonly y: Schema.optionalKey<Schema.Number>;
3386
+ }>>>;
3387
+ readonly isAiGenerated: Schema.optionalKey<Schema.Boolean>;
3388
+ }>,
3389
+ Schema.Struct<{
3390
+ readonly poll: Schema.optionalKey<Schema.Struct<{
3391
+ readonly question: Schema.String;
3392
+ readonly options: Schema.$Array<Schema.String>;
3393
+ readonly duration: Schema.Literals<readonly [
3394
+ "ONE_DAY",
3395
+ "THREE_DAYS",
3396
+ "SEVEN_DAYS",
3397
+ "FOURTEEN_DAYS"
3398
+ ]>;
3399
+ }>>;
3400
+ readonly firstComment: Schema.optionalKey<Schema.String>;
3401
+ readonly thread: Schema.optionalKey<Schema.$Array<Schema.String>>;
3402
+ readonly visibility: Schema.optionalKey<Schema.Literals<readonly [
3403
+ "PUBLIC",
3404
+ "CONNECTIONS"
3405
+ ]>>;
3406
+ readonly altText: Schema.optionalKey<Schema.String>;
3407
+ readonly documentTitle: Schema.optionalKey<Schema.Trim>;
3408
+ }>,
3409
+ Schema.Struct<{
3410
+ readonly subreddit: Schema.String;
3411
+ readonly title: Schema.String;
3412
+ readonly link: Schema.optionalKey<Schema.String>;
3413
+ readonly flairId: Schema.optionalKey<Schema.String>;
3414
+ readonly flairText: Schema.optionalKey<Schema.String>;
3415
+ readonly nsfw: Schema.optionalKey<Schema.Boolean>;
3416
+ readonly spoiler: Schema.optionalKey<Schema.Boolean>;
3417
+ readonly sendReplies: Schema.optionalKey<Schema.Boolean>;
3418
+ readonly thumbnailMediaId: Schema.optionalKey<Schema.brand<Schema.String, "MediaId">>;
3419
+ readonly firstComment: Schema.optionalKey<Schema.String>;
3420
+ }>,
3421
+ Schema.Struct<{
3422
+ readonly contentType: Schema.optionalKey<Schema.Literals<readonly [
3423
+ "story",
3424
+ "saved_story",
3425
+ "spotlight"
3426
+ ]>>;
3427
+ readonly title: Schema.optionalKey<Schema.String>;
3428
+ readonly description: Schema.optionalKey<Schema.String>;
3429
+ readonly link: Schema.optionalKey<Schema.String>;
3430
+ readonly locale: Schema.optionalKey<Schema.String>;
3431
+ }>,
3432
+ Schema.Struct<{
3433
+ readonly firstComment: Schema.optionalKey<Schema.String>;
3434
+ readonly thread: Schema.optionalKey<Schema.$Array<Schema.String>>;
3435
+ }>,
3436
+ Schema.Struct<{
3437
+ readonly poll: Schema.optionalKey<Schema.Struct<{
3438
+ readonly options: Schema.$Array<Schema.String>;
3439
+ readonly durationMinutes: Schema.Number;
3440
+ }>>;
3441
+ readonly replySettings: Schema.optionalKey<Schema.Literals<readonly [
3442
+ "following",
3443
+ "mentionedUsers",
3444
+ "subscribers",
3445
+ "verified"
3446
+ ]>>;
3447
+ readonly quotePostId: Schema.optionalKey<Schema.String>;
3448
+ readonly mediaTaggedUserIds: Schema.optionalKey<Schema.$Array<Schema.String>>;
3449
+ readonly placeId: Schema.optionalKey<Schema.String>;
3450
+ readonly firstComment: Schema.optionalKey<Schema.String>;
3451
+ readonly thread: Schema.optionalKey<Schema.$Array<Schema.String>>;
3452
+ readonly article: Schema.optionalKey<Schema.Struct<{
3453
+ readonly title: Schema.String;
3454
+ readonly content: Schema.String;
3455
+ }>>;
3456
+ }>,
3457
+ Schema.Struct<{
3458
+ readonly title: Schema.String;
3459
+ readonly description: Schema.optionalKey<Schema.String>;
3460
+ readonly privacyStatus: Schema.Literals<readonly [
3461
+ "public",
3462
+ "unlisted",
3463
+ "private"
3464
+ ]>;
3465
+ readonly firstComment: Schema.optionalKey<Schema.String>;
3466
+ readonly tags: Schema.optionalKey<Schema.$Array<Schema.String>>;
3467
+ readonly categoryId: Schema.optionalKey<Schema.String>;
3468
+ readonly madeForKids: Schema.optionalKey<Schema.Boolean>;
3469
+ readonly containsSyntheticMedia: Schema.optionalKey<Schema.Boolean>;
3470
+ readonly thumbnailMediaId: Schema.optionalKey<Schema.brand<Schema.String, "MediaId">>;
3471
+ readonly notifySubscribers: Schema.optionalKey<Schema.Boolean>;
3472
+ readonly license: Schema.optionalKey<Schema.Literals<readonly [
3473
+ "youtube",
3474
+ "creativeCommon"
3475
+ ]>>;
3476
+ readonly embeddable: Schema.optionalKey<Schema.Boolean>;
3477
+ readonly publicStatsViewable: Schema.optionalKey<Schema.Boolean>;
3478
+ }>,
3479
+ Schema.Struct<{
3480
+ readonly title: Schema.optionalKey<Schema.String>;
3481
+ readonly description: Schema.optionalKey<Schema.String>;
3482
+ readonly link: Schema.optionalKey<Schema.String>;
3483
+ readonly altText: Schema.optionalKey<Schema.String>;
3484
+ }>,
3485
+ Schema.Union<readonly [
3486
+ Schema.Struct<{
3487
+ readonly format: Schema.optionalKey<Schema.Literal<"video">>;
3488
+ readonly disableDuet: Schema.optionalKey<Schema.Boolean>;
3489
+ readonly disableStitch: Schema.optionalKey<Schema.Boolean>;
3490
+ readonly privacy: Schema.Literals<readonly [
3491
+ "PUBLIC_TO_EVERYONE",
3492
+ "MUTUAL_FOLLOW_FRIENDS",
3493
+ "FOLLOWER_OF_CREATOR",
3494
+ "SELF_ONLY"
3495
+ ]>;
3496
+ readonly commercialDisclosure: Schema.optionalKey<Schema.Literals<readonly [
3497
+ "none",
3498
+ "own_brand",
3499
+ "paid_partnership"
3500
+ ]>>;
3501
+ readonly isAiGenerated: Schema.optionalKey<Schema.Boolean>;
3502
+ readonly disableComment: Schema.optionalKey<Schema.Boolean>;
3503
+ readonly nativeDraft: Schema.optionalKey<Schema.Boolean>;
3504
+ }>,
3505
+ Schema.Struct<{
3506
+ readonly format: Schema.Literal<"photo">;
3507
+ readonly title: Schema.optionalKey<Schema.String>;
3508
+ readonly coverIndex: Schema.optionalKey<Schema.Int>;
3509
+ readonly autoAddMusic: Schema.optionalKey<Schema.Boolean>;
3510
+ readonly privacy: Schema.Literals<readonly [
3511
+ "PUBLIC_TO_EVERYONE",
3512
+ "MUTUAL_FOLLOW_FRIENDS",
3513
+ "FOLLOWER_OF_CREATOR",
3514
+ "SELF_ONLY"
3515
+ ]>;
3516
+ readonly commercialDisclosure: Schema.optionalKey<Schema.Literals<readonly [
3517
+ "none",
3518
+ "own_brand",
3519
+ "paid_partnership"
3520
+ ]>>;
3521
+ readonly isAiGenerated: Schema.optionalKey<Schema.Boolean>;
3522
+ readonly disableComment: Schema.optionalKey<Schema.Boolean>;
3523
+ readonly nativeDraft: Schema.optionalKey<Schema.Boolean>;
3524
+ }>
3525
+ ]>,
3526
+ Schema.Struct<{
3527
+ readonly topicType: Schema.optionalKey<Schema.Literals<readonly [
3528
+ "standard",
3529
+ "event",
3530
+ "offer"
3531
+ ]>>;
3532
+ readonly title: Schema.optionalKey<Schema.String>;
3533
+ readonly startsAt: Schema.optionalKey<Schema.String>;
3534
+ readonly endsAt: Schema.optionalKey<Schema.String>;
3535
+ readonly couponCode: Schema.optionalKey<Schema.String>;
3536
+ readonly redeemUrl: Schema.optionalKey<Schema.String>;
3537
+ readonly terms: Schema.optionalKey<Schema.String>;
3538
+ readonly callToAction: Schema.optionalKey<Schema.Literals<readonly [
3539
+ "book",
3540
+ "order",
3541
+ "shop",
3542
+ "learn_more",
3543
+ "sign_up",
3544
+ "call"
3545
+ ]>>;
3546
+ readonly callToActionUrl: Schema.optionalKey<Schema.String>;
3547
+ }>
3548
+ ]>, never>>;
3549
+ }>>>;
3550
+ readonly expectedRevision: Schema.optionalKey<Schema.Int>;
3551
+ readonly platforms: Schema.optionalKey<Schema.$Array<Schema.Literals<readonly [
3552
+ "bluesky",
3553
+ "facebook",
3554
+ "instagram",
3555
+ "linkedin",
3556
+ "pinterest",
3557
+ "reddit",
3558
+ "snapchat",
3559
+ "tiktok",
3560
+ "threads",
3561
+ "x",
3562
+ "youtube",
3563
+ "google_business"
3564
+ ]>>>;
3565
+ readonly accounts: Schema.optionalKey<Schema.$Array<Schema.brand<Schema.String, "AccountId">>>;
3566
+ readonly text: Schema.optionalKey<Schema.Trim>;
3228
3567
  readonly media: Schema.optionalKey<Schema.$Array<Schema.Union<readonly [
3229
3568
  Schema.Struct<{
3230
3569
  readonly mediaId: Schema.brand<Schema.String, "MediaId">;
@@ -3233,15 +3572,26 @@ declare const CreatePost: Schema.Struct<{
3233
3572
  readonly url: Schema.String;
3234
3573
  }>
3235
3574
  ]>>>;
3236
- readonly scheduledAt: Schema.optionalKey<Schema.String>;
3237
- readonly publishNow: Schema.optionalKey<Schema.Boolean>;
3238
- readonly isDraft: Schema.optionalKey<Schema.Boolean>;
3575
+ readonly scheduledAt: Schema.optionalKey<Schema.Union<readonly [
3576
+ Schema.String,
3577
+ Schema.Null
3578
+ ]>>;
3239
3579
  }>;
3240
- type CreatePost = typeof CreatePost.Type;
3241
- declare const UpdatePost: Schema.Struct<{
3242
- readonly expectedRevision: Schema.optionalKey<Schema.Int>;
3243
- readonly text: Schema.optionalKey<Schema.Trim>;
3244
- readonly targets: Schema.optionalKey<Schema.$Array<Schema.Union<readonly [
3580
+ type UpdatePost = typeof UpdatePost.Type;
3581
+ declare const Post: Schema.Struct<{
3582
+ readonly postId: Schema.brand<Schema.String, "PostId">;
3583
+ readonly isDraft: Schema.Boolean;
3584
+ readonly revision: Schema.Int;
3585
+ readonly text: Schema.Trim;
3586
+ readonly media: Schema.$Array<Schema.Union<readonly [
3587
+ Schema.Struct<{
3588
+ readonly mediaId: Schema.brand<Schema.String, "MediaId">;
3589
+ }>,
3590
+ Schema.Struct<{
3591
+ readonly url: Schema.String;
3592
+ }>
3593
+ ]>>;
3594
+ readonly targets: Schema.$Array<Schema.Union<readonly [
3245
3595
  Schema.Struct<{
3246
3596
  readonly settings: Schema.optionalKey<Schema.Struct<{
3247
3597
  readonly firstComment: Schema.optionalKey<Schema.String>;
@@ -3831,18 +4181,100 @@ declare const UpdatePost: Schema.Struct<{
3831
4181
  readonly provider: Schema.Literal<"google_business">;
3832
4182
  readonly placement: Schema.Literal<"feed">;
3833
4183
  }>
3834
- ]>>>;
3835
- readonly media: Schema.optionalKey<Schema.$Array<Schema.Union<readonly [
3836
- Schema.Struct<{
3837
- readonly mediaId: Schema.brand<Schema.String, "MediaId">;
3838
- }>,
3839
- Schema.Struct<{
3840
- readonly url: Schema.String;
3841
- }>
3842
- ]>>>;
4184
+ ]>>;
4185
+ readonly scheduledAt: Schema.NullOr<Schema.String>;
4186
+ readonly deliveries: Schema.$Array<Schema.Struct<{
4187
+ readonly status: Schema.Literals<readonly [
4188
+ "scheduled",
4189
+ "queued",
4190
+ "submitting",
4191
+ "confirming",
4192
+ "published",
4193
+ "provider_draft",
4194
+ "failed",
4195
+ "unresolved",
4196
+ "cancelled"
4197
+ ]>;
4198
+ readonly providerRef: Schema.optionalKey<Schema.Struct<{
4199
+ readonly id: Schema.String;
4200
+ readonly kind: Schema.String;
4201
+ }>>;
4202
+ readonly url: Schema.optionalKey<Schema.String>;
4203
+ readonly issue: Schema.optionalKey<Schema.Literals<readonly [
4204
+ "authorization_changed",
4205
+ "account_not_ready",
4206
+ "credential_unavailable",
4207
+ "media_preparation_failed",
4208
+ "video_compression_failed",
4209
+ "audio_unavailable",
4210
+ "provider_rejected",
4211
+ "tiktok_settings_unavailable",
4212
+ "tiktok_settings_not_allowed",
4213
+ "tiktok_processing_failed",
4214
+ "submission_uncertain",
4215
+ "confirmation_unavailable",
4216
+ "billing_inactive",
4217
+ "spend_cap_reached",
4218
+ "insufficient_credit"
4219
+ ]>>;
4220
+ readonly canRetry: Schema.Boolean;
4221
+ readonly canReconcile: Schema.Boolean;
4222
+ readonly nextAction: Schema.optionalKey<Schema.String>;
4223
+ readonly revision: Schema.Int;
4224
+ readonly provider: Schema.Literals<readonly [
4225
+ "bluesky",
4226
+ "facebook",
4227
+ "instagram",
4228
+ "linkedin",
4229
+ "pinterest",
4230
+ "reddit",
4231
+ "snapchat",
4232
+ "tiktok",
4233
+ "threads",
4234
+ "x",
4235
+ "youtube",
4236
+ "google_business"
4237
+ ]>;
4238
+ readonly placement: Schema.Literals<readonly [
4239
+ "feed",
4240
+ "reel",
4241
+ "story",
4242
+ "carousel",
4243
+ "video",
4244
+ "pin"
4245
+ ]>;
4246
+ readonly queueId: Schema.optionalKey<Schema.String>;
4247
+ readonly slotId: Schema.optionalKey<Schema.String>;
4248
+ readonly assignmentId: Schema.optionalKey<Schema.String>;
4249
+ readonly occurrenceDate: Schema.optionalKey<Schema.String>;
4250
+ readonly localDate: Schema.optionalKey<Schema.String>;
4251
+ readonly localTime: Schema.optionalKey<Schema.String>;
4252
+ readonly timezone: Schema.optionalKey<Schema.String>;
4253
+ readonly targetId: Schema.brand<Schema.String, "TargetId">;
4254
+ readonly attemptId: Schema.brand<Schema.String, "AttemptId">;
4255
+ readonly accountId: Schema.brand<Schema.String, "AccountId">;
4256
+ readonly scheduledAt: Schema.optionalKey<Schema.String>;
4257
+ }>>;
4258
+ readonly status: Schema.Union<readonly [
4259
+ Schema.Literal<"draft">,
4260
+ Schema.Literals<readonly [
4261
+ "scheduled",
4262
+ "queued",
4263
+ "submitting",
4264
+ "confirming",
4265
+ "published",
4266
+ "provider_draft",
4267
+ "failed",
4268
+ "unresolved",
4269
+ "cancelled"
4270
+ ]>
4271
+ ]>;
4272
+ readonly createdAt: Schema.String;
4273
+ readonly updatedAt: Schema.String;
3843
4274
  }>;
3844
- type UpdatePost = typeof UpdatePost.Type;
3845
- declare const Post: Schema.Struct<{
4275
+ type Post = typeof Post.Type;
4276
+ declare const PostCreated: Schema.Struct<{
4277
+ readonly idempotencyKey: Schema.optionalKey<Schema.String>;
3846
4278
  readonly postId: Schema.brand<Schema.String, "PostId">;
3847
4279
  readonly isDraft: Schema.Boolean;
3848
4280
  readonly revision: Schema.Int;
@@ -4446,6 +4878,7 @@ declare const Post: Schema.Struct<{
4446
4878
  readonly placement: Schema.Literal<"feed">;
4447
4879
  }>
4448
4880
  ]>>;
4881
+ readonly scheduledAt: Schema.NullOr<Schema.String>;
4449
4882
  readonly deliveries: Schema.$Array<Schema.Struct<{
4450
4883
  readonly status: Schema.Literals<readonly [
4451
4884
  "scheduled",
@@ -4535,7 +4968,7 @@ declare const Post: Schema.Struct<{
4535
4968
  readonly createdAt: Schema.String;
4536
4969
  readonly updatedAt: Schema.String;
4537
4970
  }>;
4538
- type Post = typeof Post.Type;
4971
+ type PostCreated = typeof PostCreated.Type;
4539
4972
  declare const PostCreateResult: Schema.Union<readonly [
4540
4973
  Schema.Struct<{
4541
4974
  readonly postId: Schema.brand<Schema.String, "PostId">;
@@ -5141,6 +5574,7 @@ declare const PostCreateResult: Schema.Union<readonly [
5141
5574
  readonly placement: Schema.Literal<"feed">;
5142
5575
  }>
5143
5576
  ]>>;
5577
+ readonly scheduledAt: Schema.NullOr<Schema.String>;
5144
5578
  readonly deliveries: Schema.$Array<Schema.Struct<{
5145
5579
  readonly status: Schema.Literals<readonly [
5146
5580
  "scheduled",
@@ -10346,7 +10780,7 @@ interface PostsClient {
10346
10780
  iterate(options?: PostsListOptions, iteration?: IterationOptions): AsyncGenerator<PostList["data"][number], void, undefined>;
10347
10781
  create(input: CreatePostInput & {
10348
10782
  isDraft: true;
10349
- }): Promise<Post>;
10783
+ }): Promise<PostCreated>;
10350
10784
  create(input: CreatePostInput & {
10351
10785
  isDraft?: false;
10352
10786
  }): Promise<PublishAcceptedResult>;
@@ -10356,7 +10790,8 @@ interface PostsClient {
10356
10790
  validate(postId: PostId): Promise<PostValidation>;
10357
10791
  /** Predict whether this body can be published without saving it. */
10358
10792
  validateBody(input: CreatePost): Promise<PostValidation>;
10359
- publish(postId: PostId, input: PublishPostInput): Promise<PublishAcceptedResult>;
10793
+ /** Publish the saved draft; every field is optional. */
10794
+ publish(postId: PostId, input?: PublishPostInput): Promise<PublishAcceptedResult>;
10360
10795
  delete(postId: PostId): Promise<PostArchived>;
10361
10796
  status(postId: PostId): Promise<PublishStatus>;
10362
10797
  attempts(postId: PostId, targetId: TargetId, options?: PageOptions): Promise<DeliveryHistory>;
@@ -11844,6 +12279,7 @@ export declare function postsGetOptions(workspace: PubNioWorkspaceClient, postId
11844
12279
  } | undefined;
11845
12280
  readonly text?: string | undefined;
11846
12281
  })[];
12282
+ readonly scheduledAt: string | null;
11847
12283
  readonly deliveries: readonly {
11848
12284
  readonly accountId: string & import("effect/Brand").Brand<"AccountId">;
11849
12285
  readonly provider: "bluesky" | "facebook" | "instagram" | "linkedin" | "pinterest" | "reddit" | "snapchat" | "tiktok" | "threads" | "x" | "youtube" | "google_business";
@@ -12286,6 +12722,7 @@ export declare function postsGetOptions(workspace: PubNioWorkspaceClient, postId
12286
12722
  } | undefined;
12287
12723
  readonly text?: string | undefined;
12288
12724
  })[];
12725
+ readonly scheduledAt: string | null;
12289
12726
  readonly deliveries: readonly {
12290
12727
  readonly accountId: string & import("effect/Brand").Brand<"AccountId">;
12291
12728
  readonly provider: "bluesky" | "facebook" | "instagram" | "linkedin" | "pinterest" | "reddit" | "snapchat" | "tiktok" | "threads" | "x" | "youtube" | "google_business";
@@ -12736,6 +13173,7 @@ export declare function postsGetOptions(workspace: PubNioWorkspaceClient, postId
12736
13173
  } | undefined;
12737
13174
  readonly text?: string | undefined;
12738
13175
  })[];
13176
+ readonly scheduledAt: string | null;
12739
13177
  readonly deliveries: readonly {
12740
13178
  readonly accountId: string & import("effect/Brand").Brand<"AccountId">;
12741
13179
  readonly provider: "bluesky" | "facebook" | "instagram" | "linkedin" | "pinterest" | "reddit" | "snapchat" | "tiktok" | "threads" | "x" | "youtube" | "google_business";
@@ -13178,6 +13616,7 @@ export declare function postsGetOptions(workspace: PubNioWorkspaceClient, postId
13178
13616
  } | undefined;
13179
13617
  readonly text?: string | undefined;
13180
13618
  })[];
13619
+ readonly scheduledAt: string | null;
13181
13620
  readonly deliveries: readonly {
13182
13621
  readonly accountId: string & import("effect/Brand").Brand<"AccountId">;
13183
13622
  readonly provider: "bluesky" | "facebook" | "instagram" | "linkedin" | "pinterest" | "reddit" | "snapchat" | "tiktok" | "threads" | "x" | "youtube" | "google_business";
@@ -13628,6 +14067,7 @@ export declare function postsGetOptions(workspace: PubNioWorkspaceClient, postId
13628
14067
  } | undefined;
13629
14068
  readonly text?: string | undefined;
13630
14069
  })[];
14070
+ readonly scheduledAt: string | null;
13631
14071
  readonly deliveries: readonly {
13632
14072
  readonly accountId: string & import("effect/Brand").Brand<"AccountId">;
13633
14073
  readonly provider: "bluesky" | "facebook" | "instagram" | "linkedin" | "pinterest" | "reddit" | "snapchat" | "tiktok" | "threads" | "x" | "youtube" | "google_business";
@@ -14748,6 +15188,7 @@ export declare function postsCreateMutation(workspace: PubNioWorkspaceClient): O
14748
15188
  } | undefined;
14749
15189
  readonly text?: string | undefined;
14750
15190
  })[];
15191
+ readonly scheduledAt: string | null;
14751
15192
  readonly deliveries: readonly {
14752
15193
  readonly accountId: string & import("effect/Brand").Brand<"AccountId">;
14753
15194
  readonly provider: "bluesky" | "facebook" | "instagram" | "linkedin" | "pinterest" | "reddit" | "snapchat" | "tiktok" | "threads" | "x" | "youtube" | "google_business";
@@ -15191,6 +15632,7 @@ export declare function postsUpdateMutation(workspace: PubNioWorkspaceClient): O
15191
15632
  } | undefined;
15192
15633
  readonly text?: string | undefined;
15193
15634
  })[];
15635
+ readonly scheduledAt: string | null;
15194
15636
  readonly deliveries: readonly {
15195
15637
  readonly accountId: string & import("effect/Brand").Brand<"AccountId">;
15196
15638
  readonly provider: "bluesky" | "facebook" | "instagram" | "linkedin" | "pinterest" | "reddit" | "snapchat" | "tiktok" | "threads" | "x" | "youtube" | "google_business";
@@ -15226,7 +15668,7 @@ export declare function postsUpdateMutation(workspace: PubNioWorkspaceClient): O
15226
15668
  }, unknown>, "mutationKey">;
15227
15669
  export declare function postsPublishMutation(workspace: PubNioWorkspaceClient): Omit<import("@tanstack/solid-query").MutationOptions<PublishAcceptedResult, Error, {
15228
15670
  postId: PostId;
15229
- body: PublishPostInput;
15671
+ body?: PublishPostInput;
15230
15672
  }, unknown>, "mutationKey">;
15231
15673
  export declare function postsDeleteMutation(workspace: PubNioWorkspaceClient): Omit<import("@tanstack/solid-query").MutationOptions<{
15232
15674
  readonly archived: true;
@@ -18317,7 +18759,7 @@ export declare function webhooksListOptions(workspace: PubNioWorkspaceClient, op
18317
18759
  readonly enabled: boolean;
18318
18760
  readonly profileId: (string & import("effect/Brand").Brand<"ProfileId">) | null;
18319
18761
  readonly accountIds: readonly (string & import("effect/Brand").Brand<"AccountId">)[];
18320
- readonly disabledResourceGroups: readonly ("ads" | "billing" | "accounts" | "inbox" | "publishing" | "analytics" | "scheduling")[];
18762
+ readonly disabledResourceGroups: readonly ("ads" | "accounts" | "billing" | "inbox" | "publishing" | "analytics" | "scheduling")[];
18321
18763
  readonly apiVersion: "2026-12-02";
18322
18764
  readonly destinationOrigin: string;
18323
18765
  readonly createdAt: string;
@@ -18335,7 +18777,7 @@ export declare function webhooksListOptions(workspace: PubNioWorkspaceClient, op
18335
18777
  readonly enabled: boolean;
18336
18778
  readonly profileId: (string & import("effect/Brand").Brand<"ProfileId">) | null;
18337
18779
  readonly accountIds: readonly (string & import("effect/Brand").Brand<"AccountId">)[];
18338
- readonly disabledResourceGroups: readonly ("ads" | "billing" | "accounts" | "inbox" | "publishing" | "analytics" | "scheduling")[];
18780
+ readonly disabledResourceGroups: readonly ("ads" | "accounts" | "billing" | "inbox" | "publishing" | "analytics" | "scheduling")[];
18339
18781
  readonly apiVersion: "2026-12-02";
18340
18782
  readonly destinationOrigin: string;
18341
18783
  readonly createdAt: string;
@@ -18363,7 +18805,7 @@ export declare function webhooksListOptions(workspace: PubNioWorkspaceClient, op
18363
18805
  readonly enabled: boolean;
18364
18806
  readonly profileId: (string & import("effect/Brand").Brand<"ProfileId">) | null;
18365
18807
  readonly accountIds: readonly (string & import("effect/Brand").Brand<"AccountId">)[];
18366
- readonly disabledResourceGroups: readonly ("ads" | "billing" | "accounts" | "inbox" | "publishing" | "analytics" | "scheduling")[];
18808
+ readonly disabledResourceGroups: readonly ("ads" | "accounts" | "billing" | "inbox" | "publishing" | "analytics" | "scheduling")[];
18367
18809
  readonly apiVersion: "2026-12-02";
18368
18810
  readonly destinationOrigin: string;
18369
18811
  readonly createdAt: string;
@@ -18381,7 +18823,7 @@ export declare function webhooksListOptions(workspace: PubNioWorkspaceClient, op
18381
18823
  readonly enabled: boolean;
18382
18824
  readonly profileId: (string & import("effect/Brand").Brand<"ProfileId">) | null;
18383
18825
  readonly accountIds: readonly (string & import("effect/Brand").Brand<"AccountId">)[];
18384
- readonly disabledResourceGroups: readonly ("ads" | "billing" | "accounts" | "inbox" | "publishing" | "analytics" | "scheduling")[];
18826
+ readonly disabledResourceGroups: readonly ("ads" | "accounts" | "billing" | "inbox" | "publishing" | "analytics" | "scheduling")[];
18385
18827
  readonly apiVersion: "2026-12-02";
18386
18828
  readonly destinationOrigin: string;
18387
18829
  readonly createdAt: string;
@@ -18409,7 +18851,7 @@ export declare function webhooksListOptions(workspace: PubNioWorkspaceClient, op
18409
18851
  readonly enabled: boolean;
18410
18852
  readonly profileId: (string & import("effect/Brand").Brand<"ProfileId">) | null;
18411
18853
  readonly accountIds: readonly (string & import("effect/Brand").Brand<"AccountId">)[];
18412
- readonly disabledResourceGroups: readonly ("ads" | "billing" | "accounts" | "inbox" | "publishing" | "analytics" | "scheduling")[];
18854
+ readonly disabledResourceGroups: readonly ("ads" | "accounts" | "billing" | "inbox" | "publishing" | "analytics" | "scheduling")[];
18413
18855
  readonly apiVersion: "2026-12-02";
18414
18856
  readonly destinationOrigin: string;
18415
18857
  readonly createdAt: string;
@@ -18430,7 +18872,7 @@ export declare function webhooksInfiniteOptions(workspace: PubNioWorkspaceClient
18430
18872
  readonly enabled: boolean;
18431
18873
  readonly profileId: (string & import("effect/Brand").Brand<"ProfileId">) | null;
18432
18874
  readonly accountIds: readonly (string & import("effect/Brand").Brand<"AccountId">)[];
18433
- readonly disabledResourceGroups: readonly ("ads" | "billing" | "accounts" | "inbox" | "publishing" | "analytics" | "scheduling")[];
18875
+ readonly disabledResourceGroups: readonly ("ads" | "accounts" | "billing" | "inbox" | "publishing" | "analytics" | "scheduling")[];
18434
18876
  readonly apiVersion: "2026-12-02";
18435
18877
  readonly destinationOrigin: string;
18436
18878
  readonly createdAt: string;
@@ -18448,7 +18890,7 @@ export declare function webhooksInfiniteOptions(workspace: PubNioWorkspaceClient
18448
18890
  readonly enabled: boolean;
18449
18891
  readonly profileId: (string & import("effect/Brand").Brand<"ProfileId">) | null;
18450
18892
  readonly accountIds: readonly (string & import("effect/Brand").Brand<"AccountId">)[];
18451
- readonly disabledResourceGroups: readonly ("ads" | "billing" | "accounts" | "inbox" | "publishing" | "analytics" | "scheduling")[];
18893
+ readonly disabledResourceGroups: readonly ("ads" | "accounts" | "billing" | "inbox" | "publishing" | "analytics" | "scheduling")[];
18452
18894
  readonly apiVersion: "2026-12-02";
18453
18895
  readonly destinationOrigin: string;
18454
18896
  readonly createdAt: string;
@@ -18476,7 +18918,7 @@ export declare function webhooksInfiniteOptions(workspace: PubNioWorkspaceClient
18476
18918
  readonly enabled: boolean;
18477
18919
  readonly profileId: (string & import("effect/Brand").Brand<"ProfileId">) | null;
18478
18920
  readonly accountIds: readonly (string & import("effect/Brand").Brand<"AccountId">)[];
18479
- readonly disabledResourceGroups: readonly ("ads" | "billing" | "accounts" | "inbox" | "publishing" | "analytics" | "scheduling")[];
18921
+ readonly disabledResourceGroups: readonly ("ads" | "accounts" | "billing" | "inbox" | "publishing" | "analytics" | "scheduling")[];
18480
18922
  readonly apiVersion: "2026-12-02";
18481
18923
  readonly destinationOrigin: string;
18482
18924
  readonly createdAt: string;
@@ -18494,7 +18936,7 @@ export declare function webhooksInfiniteOptions(workspace: PubNioWorkspaceClient
18494
18936
  readonly enabled: boolean;
18495
18937
  readonly profileId: (string & import("effect/Brand").Brand<"ProfileId">) | null;
18496
18938
  readonly accountIds: readonly (string & import("effect/Brand").Brand<"AccountId">)[];
18497
- readonly disabledResourceGroups: readonly ("ads" | "billing" | "accounts" | "inbox" | "publishing" | "analytics" | "scheduling")[];
18939
+ readonly disabledResourceGroups: readonly ("ads" | "accounts" | "billing" | "inbox" | "publishing" | "analytics" | "scheduling")[];
18498
18940
  readonly apiVersion: "2026-12-02";
18499
18941
  readonly destinationOrigin: string;
18500
18942
  readonly createdAt: string;
@@ -18522,7 +18964,7 @@ export declare function webhooksInfiniteOptions(workspace: PubNioWorkspaceClient
18522
18964
  readonly enabled: boolean;
18523
18965
  readonly profileId: (string & import("effect/Brand").Brand<"ProfileId">) | null;
18524
18966
  readonly accountIds: readonly (string & import("effect/Brand").Brand<"AccountId">)[];
18525
- readonly disabledResourceGroups: readonly ("ads" | "billing" | "accounts" | "inbox" | "publishing" | "analytics" | "scheduling")[];
18967
+ readonly disabledResourceGroups: readonly ("ads" | "accounts" | "billing" | "inbox" | "publishing" | "analytics" | "scheduling")[];
18526
18968
  readonly apiVersion: "2026-12-02";
18527
18969
  readonly destinationOrigin: string;
18528
18970
  readonly createdAt: string;
@@ -18541,7 +18983,7 @@ export declare function webhooksGetOptions(workspace: PubNioWorkspaceClient, end
18541
18983
  readonly enabled: boolean;
18542
18984
  readonly profileId: (string & import("effect/Brand").Brand<"ProfileId">) | null;
18543
18985
  readonly accountIds: readonly (string & import("effect/Brand").Brand<"AccountId">)[];
18544
- readonly disabledResourceGroups: readonly ("ads" | "billing" | "accounts" | "inbox" | "publishing" | "analytics" | "scheduling")[];
18986
+ readonly disabledResourceGroups: readonly ("ads" | "accounts" | "billing" | "inbox" | "publishing" | "analytics" | "scheduling")[];
18545
18987
  readonly apiVersion: "2026-12-02";
18546
18988
  readonly destinationOrigin: string;
18547
18989
  readonly createdAt: string;
@@ -18556,7 +18998,7 @@ export declare function webhooksGetOptions(workspace: PubNioWorkspaceClient, end
18556
18998
  readonly enabled: boolean;
18557
18999
  readonly profileId: (string & import("effect/Brand").Brand<"ProfileId">) | null;
18558
19000
  readonly accountIds: readonly (string & import("effect/Brand").Brand<"AccountId">)[];
18559
- readonly disabledResourceGroups: readonly ("ads" | "billing" | "accounts" | "inbox" | "publishing" | "analytics" | "scheduling")[];
19001
+ readonly disabledResourceGroups: readonly ("ads" | "accounts" | "billing" | "inbox" | "publishing" | "analytics" | "scheduling")[];
18560
19002
  readonly apiVersion: "2026-12-02";
18561
19003
  readonly destinationOrigin: string;
18562
19004
  readonly createdAt: string;
@@ -18579,7 +19021,7 @@ export declare function webhooksGetOptions(workspace: PubNioWorkspaceClient, end
18579
19021
  readonly enabled: boolean;
18580
19022
  readonly profileId: (string & import("effect/Brand").Brand<"ProfileId">) | null;
18581
19023
  readonly accountIds: readonly (string & import("effect/Brand").Brand<"AccountId">)[];
18582
- readonly disabledResourceGroups: readonly ("ads" | "billing" | "accounts" | "inbox" | "publishing" | "analytics" | "scheduling")[];
19024
+ readonly disabledResourceGroups: readonly ("ads" | "accounts" | "billing" | "inbox" | "publishing" | "analytics" | "scheduling")[];
18583
19025
  readonly apiVersion: "2026-12-02";
18584
19026
  readonly destinationOrigin: string;
18585
19027
  readonly createdAt: string;
@@ -18594,7 +19036,7 @@ export declare function webhooksGetOptions(workspace: PubNioWorkspaceClient, end
18594
19036
  readonly enabled: boolean;
18595
19037
  readonly profileId: (string & import("effect/Brand").Brand<"ProfileId">) | null;
18596
19038
  readonly accountIds: readonly (string & import("effect/Brand").Brand<"AccountId">)[];
18597
- readonly disabledResourceGroups: readonly ("ads" | "billing" | "accounts" | "inbox" | "publishing" | "analytics" | "scheduling")[];
19039
+ readonly disabledResourceGroups: readonly ("ads" | "accounts" | "billing" | "inbox" | "publishing" | "analytics" | "scheduling")[];
18598
19040
  readonly apiVersion: "2026-12-02";
18599
19041
  readonly destinationOrigin: string;
18600
19042
  readonly createdAt: string;
@@ -18617,7 +19059,7 @@ export declare function webhooksGetOptions(workspace: PubNioWorkspaceClient, end
18617
19059
  readonly enabled: boolean;
18618
19060
  readonly profileId: (string & import("effect/Brand").Brand<"ProfileId">) | null;
18619
19061
  readonly accountIds: readonly (string & import("effect/Brand").Brand<"AccountId">)[];
18620
- readonly disabledResourceGroups: readonly ("ads" | "billing" | "accounts" | "inbox" | "publishing" | "analytics" | "scheduling")[];
19062
+ readonly disabledResourceGroups: readonly ("ads" | "accounts" | "billing" | "inbox" | "publishing" | "analytics" | "scheduling")[];
18621
19063
  readonly apiVersion: "2026-12-02";
18622
19064
  readonly destinationOrigin: string;
18623
19065
  readonly createdAt: string;
@@ -18634,7 +19076,7 @@ export declare function webhooksCreateMutation(workspace: PubNioWorkspaceClient)
18634
19076
  readonly enabled: boolean;
18635
19077
  readonly profileId: (string & import("effect/Brand").Brand<"ProfileId">) | null;
18636
19078
  readonly accountIds: readonly (string & import("effect/Brand").Brand<"AccountId">)[];
18637
- readonly disabledResourceGroups: readonly ("ads" | "billing" | "accounts" | "inbox" | "publishing" | "analytics" | "scheduling")[];
19079
+ readonly disabledResourceGroups: readonly ("ads" | "accounts" | "billing" | "inbox" | "publishing" | "analytics" | "scheduling")[];
18638
19080
  readonly apiVersion: "2026-12-02";
18639
19081
  readonly destinationOrigin: string;
18640
19082
  readonly createdAt: string;
@@ -18646,10 +19088,10 @@ export declare function webhooksCreateMutation(workspace: PubNioWorkspaceClient)
18646
19088
  readonly name: string;
18647
19089
  readonly url: string;
18648
19090
  readonly eventTypes: readonly ("account.connected" | "account.disconnected" | "billing.subscription.updated" | "billing.credit.topped_up" | "post.delivery.published" | "post.delivery.provider_draft" | "post.delivery.failed" | "post.delivery.unresolved" | "post.delivery.cancelled" | "post.scheduled" | "post.published" | "post.partial" | "post.failed" | "post.cancelled" | "inbox.message.received" | "inbox.comment.received" | "inbox.review.new" | "inbox.review.updated" | "inbox.review.deleted" | "inbox.review.restored" | "inbox.review.replied" | "inbox.mention.received" | "inbox.message.sent" | "inbox.message.delivered" | "inbox.message.read" | "inbox.message.edited" | "inbox.message.deleted" | "inbox.reaction.received" | "inbox.referral.received" | "inbox.conversation.started" | "analytics.post.synced" | "analytics.account.synced" | "ads.operation.succeeded" | "ads.operation.failed" | "ads.campaign.activated" | "ads.campaign.paused" | "ads.budget.changed" | "ads.kill_switch.activated" | "ads.lead.received" | "ads.campaign.status_changed" | "ads.ad_group.status_changed" | "ads.ad.status_changed" | "ads.ad_account.status_changed" | "ads.ad.review.approved" | "ads.ad.review.rejected" | "ads.sync.failed" | "ads.sync.recovered" | "ads.initial_sync.completed" | "schedule.assignment.changed" | "account.permissions_changed" | "account.restricted" | "account.recovered" | "billing.credit.low" | "billing.spend_cap.reached" | "billing.invoice.payment_failed" | "billing.subscription.duplicate_refunded")[];
18649
- readonly accountIds?: readonly (string & import("effect/Brand").Brand<"AccountId">)[] | undefined;
18650
19091
  readonly profileId?: (string & import("effect/Brand").Brand<"ProfileId">) | undefined;
18651
19092
  readonly enabled?: boolean | undefined;
18652
- readonly disabledResourceGroups?: readonly ("ads" | "billing" | "accounts" | "inbox" | "publishing" | "analytics" | "scheduling")[] | undefined;
19093
+ readonly accountIds?: readonly (string & import("effect/Brand").Brand<"AccountId">)[] | undefined;
19094
+ readonly disabledResourceGroups?: readonly ("ads" | "accounts" | "billing" | "inbox" | "publishing" | "analytics" | "scheduling")[] | undefined;
18653
19095
  }, unknown>, "mutationKey">;
18654
19096
  export declare function webhooksUpdateMutation(workspace: PubNioWorkspaceClient): Omit<import("@tanstack/solid-query").MutationOptions<{
18655
19097
  readonly id: string & import("effect/Brand").Brand<"WebhookEndpointId">;
@@ -18659,7 +19101,7 @@ export declare function webhooksUpdateMutation(workspace: PubNioWorkspaceClient)
18659
19101
  readonly enabled: boolean;
18660
19102
  readonly profileId: (string & import("effect/Brand").Brand<"ProfileId">) | null;
18661
19103
  readonly accountIds: readonly (string & import("effect/Brand").Brand<"AccountId">)[];
18662
- readonly disabledResourceGroups: readonly ("ads" | "billing" | "accounts" | "inbox" | "publishing" | "analytics" | "scheduling")[];
19104
+ readonly disabledResourceGroups: readonly ("ads" | "accounts" | "billing" | "inbox" | "publishing" | "analytics" | "scheduling")[];
18663
19105
  readonly apiVersion: "2026-12-02";
18664
19106
  readonly destinationOrigin: string;
18665
19107
  readonly createdAt: string;