@lessly/sdk-app 105.11.0 → 105.13.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.
@@ -74414,6 +74414,7 @@ approved: number
74414
74414
  published: number
74415
74415
  scheduled: number
74416
74416
  pending_approval: number
74417
+ partially_published: number
74417
74418
  }
74418
74419
  /**
74419
74420
  * Parent folder id, or null at the root.
@@ -74442,6 +74443,7 @@ approved: number
74442
74443
  published: number
74443
74444
  scheduled: number
74444
74445
  pending_approval: number
74446
+ partially_published: number
74445
74447
  }
74446
74448
  }[]
74447
74449
  }
@@ -75012,9 +75014,58 @@ title: (string | null)
75012
75014
  */
75013
75015
  author: string
75014
75016
  /**
75015
- * Post lifecycle status: idea (may have no text) -> draft (being written) -> pending_approval (submitted) -> approved (cleared to publish); scheduled/published/failed are set by the publishing pipeline.
75017
+ * Post lifecycle status: idea (may have no text) -> draft (being written) -> pending_approval (submitted) -> approved (cleared to publish). Past approval the status follows EVERY output of the approved version (see outputs): scheduled while an output is queued or in flight and none is out yet; partially_published once some outputs are out and others are still queued, failed or never scheduled; published once every output is out; failed when an output gave up and none is out or queued; back to approved when nothing is live any more (all cancelled). A post in any of these five statuses can still have an output scheduled, including a failed one again.
75016
75018
  */
75017
- status: ("idea" | "draft" | "pending_approval" | "approved" | "scheduled" | "published" | "failed")
75019
+ status: ("idea" | "draft" | "pending_approval" | "approved" | "scheduled" | "partially_published" | "published" | "failed")
75020
+ /**
75021
+ * One entry per output of this post, in targets order, with the state its publications add up to and the publication that decides it. Before approval every output is `none`. The post's status past approval is derived from exactly these states.
75022
+ */
75023
+ outputs: {
75024
+ /**
75025
+ * What this output's publications add up to, across every channel: none (nothing scheduled, or only cancelled), open (queued or in flight — in reminder mode a person was reminded and has not confirmed), uncertain (a finished publication may still be live: an automatic attempt ended without an answer, or the network reported the post late — a person must look at the channel, then confirm that publication or cancel it with checkedNotLive; scheduling the output again is refused with 409 may_already_be_live), failed (the newest finished publication failed and nothing is live or uncertain — it can be scheduled again), published (out on its network), skipped (a person decided it does not go out; reserved, not set yet).
75026
+ */
75027
+ state: ("none" | "open" | "uncertain" | "failed" | "published" | "skipped")
75028
+ /**
75029
+ * The network this output publishes to.
75030
+ */
75031
+ network: string
75032
+ /**
75033
+ * Whether a person skipped this output. Always false until skipping ships.
75034
+ */
75035
+ skipped: boolean
75036
+ /**
75037
+ * Its post type, or null on a legacy publication output.
75038
+ */
75039
+ postType: (string | null)
75040
+ /**
75041
+ * The channel that publication goes out on, or null.
75042
+ */
75043
+ channelId: (string | null)
75044
+ /**
75045
+ * Why the deciding publication failed, or null.
75046
+ */
75047
+ lastError: (string | null)
75048
+ /**
75049
+ * The output id (targets[].id). An output a legacy publication names that the post no longer carries is listed too.
75050
+ */
75051
+ variantId: string
75052
+ /**
75053
+ * Permalink on the network once known, or null.
75054
+ */
75055
+ externalUrl: (string | null)
75056
+ /**
75057
+ * ISO-8601 time it was published, or null.
75058
+ */
75059
+ publishedAt: (string | null)
75060
+ /**
75061
+ * ISO-8601 slot of that publication, or null.
75062
+ */
75063
+ scheduledAt: (string | null)
75064
+ /**
75065
+ * The publication that decides the state: the live one (published > in flight > queued), else the uncertain one, else the newest finished one; null when the output was never scheduled. Pass it to content_publications_get / _cancel / _reschedule / _confirm.
75066
+ */
75067
+ publicationId: (string | null)
75068
+ }[]
75018
75069
  /**
75019
75070
  * The outputs of this post — a network and a variant each; several may share a network.
75020
75071
  */
@@ -75116,9 +75167,58 @@ title: (string | null)
75116
75167
  */
75117
75168
  author: string
75118
75169
  /**
75119
- * Post lifecycle status: idea (may have no text) -> draft (being written) -> pending_approval (submitted) -> approved (cleared to publish); scheduled/published/failed are set by the publishing pipeline.
75170
+ * Post lifecycle status: idea (may have no text) -> draft (being written) -> pending_approval (submitted) -> approved (cleared to publish). Past approval the status follows EVERY output of the approved version (see outputs): scheduled while an output is queued or in flight and none is out yet; partially_published once some outputs are out and others are still queued, failed or never scheduled; published once every output is out; failed when an output gave up and none is out or queued; back to approved when nothing is live any more (all cancelled). A post in any of these five statuses can still have an output scheduled, including a failed one again.
75171
+ */
75172
+ status: ("idea" | "draft" | "pending_approval" | "approved" | "scheduled" | "partially_published" | "published" | "failed")
75173
+ /**
75174
+ * One entry per output of this post, in targets order, with the state its publications add up to and the publication that decides it. Before approval every output is `none`. The post's status past approval is derived from exactly these states.
75120
75175
  */
75121
- status: ("idea" | "draft" | "pending_approval" | "approved" | "scheduled" | "published" | "failed")
75176
+ outputs: {
75177
+ /**
75178
+ * What this output's publications add up to, across every channel: none (nothing scheduled, or only cancelled), open (queued or in flight — in reminder mode a person was reminded and has not confirmed), uncertain (a finished publication may still be live: an automatic attempt ended without an answer, or the network reported the post late — a person must look at the channel, then confirm that publication or cancel it with checkedNotLive; scheduling the output again is refused with 409 may_already_be_live), failed (the newest finished publication failed and nothing is live or uncertain — it can be scheduled again), published (out on its network), skipped (a person decided it does not go out; reserved, not set yet).
75179
+ */
75180
+ state: ("none" | "open" | "uncertain" | "failed" | "published" | "skipped")
75181
+ /**
75182
+ * The network this output publishes to.
75183
+ */
75184
+ network: string
75185
+ /**
75186
+ * Whether a person skipped this output. Always false until skipping ships.
75187
+ */
75188
+ skipped: boolean
75189
+ /**
75190
+ * Its post type, or null on a legacy publication output.
75191
+ */
75192
+ postType: (string | null)
75193
+ /**
75194
+ * The channel that publication goes out on, or null.
75195
+ */
75196
+ channelId: (string | null)
75197
+ /**
75198
+ * Why the deciding publication failed, or null.
75199
+ */
75200
+ lastError: (string | null)
75201
+ /**
75202
+ * The output id (targets[].id). An output a legacy publication names that the post no longer carries is listed too.
75203
+ */
75204
+ variantId: string
75205
+ /**
75206
+ * Permalink on the network once known, or null.
75207
+ */
75208
+ externalUrl: (string | null)
75209
+ /**
75210
+ * ISO-8601 time it was published, or null.
75211
+ */
75212
+ publishedAt: (string | null)
75213
+ /**
75214
+ * ISO-8601 slot of that publication, or null.
75215
+ */
75216
+ scheduledAt: (string | null)
75217
+ /**
75218
+ * The publication that decides the state: the live one (published > in flight > queued), else the uncertain one, else the newest finished one; null when the output was never scheduled. Pass it to content_publications_get / _cancel / _reschedule / _confirm.
75219
+ */
75220
+ publicationId: (string | null)
75221
+ }[]
75122
75222
  /**
75123
75223
  * The outputs of this post — a network and a variant each; several may share a network.
75124
75224
  */
@@ -81749,9 +81849,58 @@ title: (string | null)
81749
81849
  */
81750
81850
  author: string
81751
81851
  /**
81752
- * Post lifecycle status: idea (may have no text) -> draft (being written) -> pending_approval (submitted) -> approved (cleared to publish); scheduled/published/failed are set by the publishing pipeline.
81852
+ * Post lifecycle status: idea (may have no text) -> draft (being written) -> pending_approval (submitted) -> approved (cleared to publish). Past approval the status follows EVERY output of the approved version (see outputs): scheduled while an output is queued or in flight and none is out yet; partially_published once some outputs are out and others are still queued, failed or never scheduled; published once every output is out; failed when an output gave up and none is out or queued; back to approved when nothing is live any more (all cancelled). A post in any of these five statuses can still have an output scheduled, including a failed one again.
81853
+ */
81854
+ status: ("idea" | "draft" | "pending_approval" | "approved" | "scheduled" | "partially_published" | "published" | "failed")
81855
+ /**
81856
+ * One entry per output of this post, in targets order, with the state its publications add up to and the publication that decides it. Before approval every output is `none`. The post's status past approval is derived from exactly these states.
81857
+ */
81858
+ outputs: {
81859
+ /**
81860
+ * What this output's publications add up to, across every channel: none (nothing scheduled, or only cancelled), open (queued or in flight — in reminder mode a person was reminded and has not confirmed), uncertain (a finished publication may still be live: an automatic attempt ended without an answer, or the network reported the post late — a person must look at the channel, then confirm that publication or cancel it with checkedNotLive; scheduling the output again is refused with 409 may_already_be_live), failed (the newest finished publication failed and nothing is live or uncertain — it can be scheduled again), published (out on its network), skipped (a person decided it does not go out; reserved, not set yet).
81861
+ */
81862
+ state: ("none" | "open" | "uncertain" | "failed" | "published" | "skipped")
81863
+ /**
81864
+ * The network this output publishes to.
81865
+ */
81866
+ network: string
81867
+ /**
81868
+ * Whether a person skipped this output. Always false until skipping ships.
81869
+ */
81870
+ skipped: boolean
81871
+ /**
81872
+ * Its post type, or null on a legacy publication output.
81873
+ */
81874
+ postType: (string | null)
81875
+ /**
81876
+ * The channel that publication goes out on, or null.
81877
+ */
81878
+ channelId: (string | null)
81879
+ /**
81880
+ * Why the deciding publication failed, or null.
81753
81881
  */
81754
- status: ("idea" | "draft" | "pending_approval" | "approved" | "scheduled" | "published" | "failed")
81882
+ lastError: (string | null)
81883
+ /**
81884
+ * The output id (targets[].id). An output a legacy publication names that the post no longer carries is listed too.
81885
+ */
81886
+ variantId: string
81887
+ /**
81888
+ * Permalink on the network once known, or null.
81889
+ */
81890
+ externalUrl: (string | null)
81891
+ /**
81892
+ * ISO-8601 time it was published, or null.
81893
+ */
81894
+ publishedAt: (string | null)
81895
+ /**
81896
+ * ISO-8601 slot of that publication, or null.
81897
+ */
81898
+ scheduledAt: (string | null)
81899
+ /**
81900
+ * The publication that decides the state: the live one (published > in flight > queued), else the uncertain one, else the newest finished one; null when the output was never scheduled. Pass it to content_publications_get / _cancel / _reschedule / _confirm.
81901
+ */
81902
+ publicationId: (string | null)
81903
+ }[]
81755
81904
  /**
81756
81905
  * The outputs of this post — a network and a variant each; several may share a network.
81757
81906
  */
@@ -81871,9 +82020,58 @@ title: (string | null)
81871
82020
  */
81872
82021
  author: string
81873
82022
  /**
81874
- * Post lifecycle status: idea (may have no text) -> draft (being written) -> pending_approval (submitted) -> approved (cleared to publish); scheduled/published/failed are set by the publishing pipeline.
82023
+ * Post lifecycle status: idea (may have no text) -> draft (being written) -> pending_approval (submitted) -> approved (cleared to publish). Past approval the status follows EVERY output of the approved version (see outputs): scheduled while an output is queued or in flight and none is out yet; partially_published once some outputs are out and others are still queued, failed or never scheduled; published once every output is out; failed when an output gave up and none is out or queued; back to approved when nothing is live any more (all cancelled). A post in any of these five statuses can still have an output scheduled, including a failed one again.
82024
+ */
82025
+ status: ("idea" | "draft" | "pending_approval" | "approved" | "scheduled" | "partially_published" | "published" | "failed")
82026
+ /**
82027
+ * One entry per output of this post, in targets order, with the state its publications add up to and the publication that decides it. Before approval every output is `none`. The post's status past approval is derived from exactly these states.
82028
+ */
82029
+ outputs: {
82030
+ /**
82031
+ * What this output's publications add up to, across every channel: none (nothing scheduled, or only cancelled), open (queued or in flight — in reminder mode a person was reminded and has not confirmed), uncertain (a finished publication may still be live: an automatic attempt ended without an answer, or the network reported the post late — a person must look at the channel, then confirm that publication or cancel it with checkedNotLive; scheduling the output again is refused with 409 may_already_be_live), failed (the newest finished publication failed and nothing is live or uncertain — it can be scheduled again), published (out on its network), skipped (a person decided it does not go out; reserved, not set yet).
82032
+ */
82033
+ state: ("none" | "open" | "uncertain" | "failed" | "published" | "skipped")
82034
+ /**
82035
+ * The network this output publishes to.
82036
+ */
82037
+ network: string
82038
+ /**
82039
+ * Whether a person skipped this output. Always false until skipping ships.
82040
+ */
82041
+ skipped: boolean
82042
+ /**
82043
+ * Its post type, or null on a legacy publication output.
82044
+ */
82045
+ postType: (string | null)
82046
+ /**
82047
+ * The channel that publication goes out on, or null.
81875
82048
  */
81876
- status: ("idea" | "draft" | "pending_approval" | "approved" | "scheduled" | "published" | "failed")
82049
+ channelId: (string | null)
82050
+ /**
82051
+ * Why the deciding publication failed, or null.
82052
+ */
82053
+ lastError: (string | null)
82054
+ /**
82055
+ * The output id (targets[].id). An output a legacy publication names that the post no longer carries is listed too.
82056
+ */
82057
+ variantId: string
82058
+ /**
82059
+ * Permalink on the network once known, or null.
82060
+ */
82061
+ externalUrl: (string | null)
82062
+ /**
82063
+ * ISO-8601 time it was published, or null.
82064
+ */
82065
+ publishedAt: (string | null)
82066
+ /**
82067
+ * ISO-8601 slot of that publication, or null.
82068
+ */
82069
+ scheduledAt: (string | null)
82070
+ /**
82071
+ * The publication that decides the state: the live one (published > in flight > queued), else the uncertain one, else the newest finished one; null when the output was never scheduled. Pass it to content_publications_get / _cancel / _reschedule / _confirm.
82072
+ */
82073
+ publicationId: (string | null)
82074
+ }[]
81877
82075
  /**
81878
82076
  * The outputs of this post — a network and a variant each; several may share a network.
81879
82077
  */
@@ -81968,9 +82166,58 @@ title: (string | null)
81968
82166
  */
81969
82167
  author: string
81970
82168
  /**
81971
- * Post lifecycle status: idea (may have no text) -> draft (being written) -> pending_approval (submitted) -> approved (cleared to publish); scheduled/published/failed are set by the publishing pipeline.
82169
+ * Post lifecycle status: idea (may have no text) -> draft (being written) -> pending_approval (submitted) -> approved (cleared to publish). Past approval the status follows EVERY output of the approved version (see outputs): scheduled while an output is queued or in flight and none is out yet; partially_published once some outputs are out and others are still queued, failed or never scheduled; published once every output is out; failed when an output gave up and none is out or queued; back to approved when nothing is live any more (all cancelled). A post in any of these five statuses can still have an output scheduled, including a failed one again.
82170
+ */
82171
+ status: ("idea" | "draft" | "pending_approval" | "approved" | "scheduled" | "partially_published" | "published" | "failed")
82172
+ /**
82173
+ * One entry per output of this post, in targets order, with the state its publications add up to and the publication that decides it. Before approval every output is `none`. The post's status past approval is derived from exactly these states.
82174
+ */
82175
+ outputs: {
82176
+ /**
82177
+ * What this output's publications add up to, across every channel: none (nothing scheduled, or only cancelled), open (queued or in flight — in reminder mode a person was reminded and has not confirmed), uncertain (a finished publication may still be live: an automatic attempt ended without an answer, or the network reported the post late — a person must look at the channel, then confirm that publication or cancel it with checkedNotLive; scheduling the output again is refused with 409 may_already_be_live), failed (the newest finished publication failed and nothing is live or uncertain — it can be scheduled again), published (out on its network), skipped (a person decided it does not go out; reserved, not set yet).
82178
+ */
82179
+ state: ("none" | "open" | "uncertain" | "failed" | "published" | "skipped")
82180
+ /**
82181
+ * The network this output publishes to.
82182
+ */
82183
+ network: string
82184
+ /**
82185
+ * Whether a person skipped this output. Always false until skipping ships.
82186
+ */
82187
+ skipped: boolean
82188
+ /**
82189
+ * Its post type, or null on a legacy publication output.
82190
+ */
82191
+ postType: (string | null)
82192
+ /**
82193
+ * The channel that publication goes out on, or null.
82194
+ */
82195
+ channelId: (string | null)
82196
+ /**
82197
+ * Why the deciding publication failed, or null.
82198
+ */
82199
+ lastError: (string | null)
82200
+ /**
82201
+ * The output id (targets[].id). An output a legacy publication names that the post no longer carries is listed too.
82202
+ */
82203
+ variantId: string
82204
+ /**
82205
+ * Permalink on the network once known, or null.
82206
+ */
82207
+ externalUrl: (string | null)
82208
+ /**
82209
+ * ISO-8601 time it was published, or null.
82210
+ */
82211
+ publishedAt: (string | null)
82212
+ /**
82213
+ * ISO-8601 slot of that publication, or null.
82214
+ */
82215
+ scheduledAt: (string | null)
82216
+ /**
82217
+ * The publication that decides the state: the live one (published > in flight > queued), else the uncertain one, else the newest finished one; null when the output was never scheduled. Pass it to content_publications_get / _cancel / _reschedule / _confirm.
81972
82218
  */
81973
- status: ("idea" | "draft" | "pending_approval" | "approved" | "scheduled" | "published" | "failed")
82219
+ publicationId: (string | null)
82220
+ }[]
81974
82221
  /**
81975
82222
  * The outputs of this post — a network and a variant each; several may share a network.
81976
82223
  */
@@ -82044,7 +82291,7 @@ offset?: number
82044
82291
  /**
82045
82292
  * Return only posts in this status.
82046
82293
  */
82047
- status?: ("idea" | "draft" | "pending_approval" | "approved" | "scheduled" | "published" | "failed")
82294
+ status?: ("idea" | "draft" | "pending_approval" | "approved" | "scheduled" | "partially_published" | "published" | "failed")
82048
82295
  /**
82049
82296
  * Filter to one folder, or null for posts in no folder. Omit for posts in every folder.
82050
82297
  */
@@ -82081,9 +82328,58 @@ title: (string | null)
82081
82328
  */
82082
82329
  author: string
82083
82330
  /**
82084
- * Post lifecycle status: idea (may have no text) -> draft (being written) -> pending_approval (submitted) -> approved (cleared to publish); scheduled/published/failed are set by the publishing pipeline.
82331
+ * Post lifecycle status: idea (may have no text) -> draft (being written) -> pending_approval (submitted) -> approved (cleared to publish). Past approval the status follows EVERY output of the approved version (see outputs): scheduled while an output is queued or in flight and none is out yet; partially_published once some outputs are out and others are still queued, failed or never scheduled; published once every output is out; failed when an output gave up and none is out or queued; back to approved when nothing is live any more (all cancelled). A post in any of these five statuses can still have an output scheduled, including a failed one again.
82332
+ */
82333
+ status: ("idea" | "draft" | "pending_approval" | "approved" | "scheduled" | "partially_published" | "published" | "failed")
82334
+ /**
82335
+ * One entry per output of this post, in targets order, with the state its publications add up to and the publication that decides it. Before approval every output is `none`. The post's status past approval is derived from exactly these states.
82336
+ */
82337
+ outputs: {
82338
+ /**
82339
+ * What this output's publications add up to, across every channel: none (nothing scheduled, or only cancelled), open (queued or in flight — in reminder mode a person was reminded and has not confirmed), uncertain (a finished publication may still be live: an automatic attempt ended without an answer, or the network reported the post late — a person must look at the channel, then confirm that publication or cancel it with checkedNotLive; scheduling the output again is refused with 409 may_already_be_live), failed (the newest finished publication failed and nothing is live or uncertain — it can be scheduled again), published (out on its network), skipped (a person decided it does not go out; reserved, not set yet).
82340
+ */
82341
+ state: ("none" | "open" | "uncertain" | "failed" | "published" | "skipped")
82342
+ /**
82343
+ * The network this output publishes to.
82344
+ */
82345
+ network: string
82346
+ /**
82347
+ * Whether a person skipped this output. Always false until skipping ships.
82348
+ */
82349
+ skipped: boolean
82350
+ /**
82351
+ * Its post type, or null on a legacy publication output.
82352
+ */
82353
+ postType: (string | null)
82354
+ /**
82355
+ * The channel that publication goes out on, or null.
82356
+ */
82357
+ channelId: (string | null)
82358
+ /**
82359
+ * Why the deciding publication failed, or null.
82085
82360
  */
82086
- status: ("idea" | "draft" | "pending_approval" | "approved" | "scheduled" | "published" | "failed")
82361
+ lastError: (string | null)
82362
+ /**
82363
+ * The output id (targets[].id). An output a legacy publication names that the post no longer carries is listed too.
82364
+ */
82365
+ variantId: string
82366
+ /**
82367
+ * Permalink on the network once known, or null.
82368
+ */
82369
+ externalUrl: (string | null)
82370
+ /**
82371
+ * ISO-8601 time it was published, or null.
82372
+ */
82373
+ publishedAt: (string | null)
82374
+ /**
82375
+ * ISO-8601 slot of that publication, or null.
82376
+ */
82377
+ scheduledAt: (string | null)
82378
+ /**
82379
+ * The publication that decides the state: the live one (published > in flight > queued), else the uncertain one, else the newest finished one; null when the output was never scheduled. Pass it to content_publications_get / _cancel / _reschedule / _confirm.
82380
+ */
82381
+ publicationId: (string | null)
82382
+ }[]
82087
82383
  /**
82088
82384
  * The outputs of this post — a network and a variant each; several may share a network.
82089
82385
  */
@@ -82191,9 +82487,58 @@ title: (string | null)
82191
82487
  */
82192
82488
  author: string
82193
82489
  /**
82194
- * Post lifecycle status: idea (may have no text) -> draft (being written) -> pending_approval (submitted) -> approved (cleared to publish); scheduled/published/failed are set by the publishing pipeline.
82490
+ * Post lifecycle status: idea (may have no text) -> draft (being written) -> pending_approval (submitted) -> approved (cleared to publish). Past approval the status follows EVERY output of the approved version (see outputs): scheduled while an output is queued or in flight and none is out yet; partially_published once some outputs are out and others are still queued, failed or never scheduled; published once every output is out; failed when an output gave up and none is out or queued; back to approved when nothing is live any more (all cancelled). A post in any of these five statuses can still have an output scheduled, including a failed one again.
82195
82491
  */
82196
- status: ("idea" | "draft" | "pending_approval" | "approved" | "scheduled" | "published" | "failed")
82492
+ status: ("idea" | "draft" | "pending_approval" | "approved" | "scheduled" | "partially_published" | "published" | "failed")
82493
+ /**
82494
+ * One entry per output of this post, in targets order, with the state its publications add up to and the publication that decides it. Before approval every output is `none`. The post's status past approval is derived from exactly these states.
82495
+ */
82496
+ outputs: {
82497
+ /**
82498
+ * What this output's publications add up to, across every channel: none (nothing scheduled, or only cancelled), open (queued or in flight — in reminder mode a person was reminded and has not confirmed), uncertain (a finished publication may still be live: an automatic attempt ended without an answer, or the network reported the post late — a person must look at the channel, then confirm that publication or cancel it with checkedNotLive; scheduling the output again is refused with 409 may_already_be_live), failed (the newest finished publication failed and nothing is live or uncertain — it can be scheduled again), published (out on its network), skipped (a person decided it does not go out; reserved, not set yet).
82499
+ */
82500
+ state: ("none" | "open" | "uncertain" | "failed" | "published" | "skipped")
82501
+ /**
82502
+ * The network this output publishes to.
82503
+ */
82504
+ network: string
82505
+ /**
82506
+ * Whether a person skipped this output. Always false until skipping ships.
82507
+ */
82508
+ skipped: boolean
82509
+ /**
82510
+ * Its post type, or null on a legacy publication output.
82511
+ */
82512
+ postType: (string | null)
82513
+ /**
82514
+ * The channel that publication goes out on, or null.
82515
+ */
82516
+ channelId: (string | null)
82517
+ /**
82518
+ * Why the deciding publication failed, or null.
82519
+ */
82520
+ lastError: (string | null)
82521
+ /**
82522
+ * The output id (targets[].id). An output a legacy publication names that the post no longer carries is listed too.
82523
+ */
82524
+ variantId: string
82525
+ /**
82526
+ * Permalink on the network once known, or null.
82527
+ */
82528
+ externalUrl: (string | null)
82529
+ /**
82530
+ * ISO-8601 time it was published, or null.
82531
+ */
82532
+ publishedAt: (string | null)
82533
+ /**
82534
+ * ISO-8601 slot of that publication, or null.
82535
+ */
82536
+ scheduledAt: (string | null)
82537
+ /**
82538
+ * The publication that decides the state: the live one (published > in flight > queued), else the uncertain one, else the newest finished one; null when the output was never scheduled. Pass it to content_publications_get / _cancel / _reschedule / _confirm.
82539
+ */
82540
+ publicationId: (string | null)
82541
+ }[]
82197
82542
  /**
82198
82543
  * The outputs of this post — a network and a variant each; several may share a network.
82199
82544
  */
@@ -82288,9 +82633,58 @@ title: (string | null)
82288
82633
  */
82289
82634
  author: string
82290
82635
  /**
82291
- * Post lifecycle status: idea (may have no text) -> draft (being written) -> pending_approval (submitted) -> approved (cleared to publish); scheduled/published/failed are set by the publishing pipeline.
82636
+ * Post lifecycle status: idea (may have no text) -> draft (being written) -> pending_approval (submitted) -> approved (cleared to publish). Past approval the status follows EVERY output of the approved version (see outputs): scheduled while an output is queued or in flight and none is out yet; partially_published once some outputs are out and others are still queued, failed or never scheduled; published once every output is out; failed when an output gave up and none is out or queued; back to approved when nothing is live any more (all cancelled). A post in any of these five statuses can still have an output scheduled, including a failed one again.
82637
+ */
82638
+ status: ("idea" | "draft" | "pending_approval" | "approved" | "scheduled" | "partially_published" | "published" | "failed")
82639
+ /**
82640
+ * One entry per output of this post, in targets order, with the state its publications add up to and the publication that decides it. Before approval every output is `none`. The post's status past approval is derived from exactly these states.
82641
+ */
82642
+ outputs: {
82643
+ /**
82644
+ * What this output's publications add up to, across every channel: none (nothing scheduled, or only cancelled), open (queued or in flight — in reminder mode a person was reminded and has not confirmed), uncertain (a finished publication may still be live: an automatic attempt ended without an answer, or the network reported the post late — a person must look at the channel, then confirm that publication or cancel it with checkedNotLive; scheduling the output again is refused with 409 may_already_be_live), failed (the newest finished publication failed and nothing is live or uncertain — it can be scheduled again), published (out on its network), skipped (a person decided it does not go out; reserved, not set yet).
82645
+ */
82646
+ state: ("none" | "open" | "uncertain" | "failed" | "published" | "skipped")
82647
+ /**
82648
+ * The network this output publishes to.
82649
+ */
82650
+ network: string
82651
+ /**
82652
+ * Whether a person skipped this output. Always false until skipping ships.
82653
+ */
82654
+ skipped: boolean
82655
+ /**
82656
+ * Its post type, or null on a legacy publication output.
82657
+ */
82658
+ postType: (string | null)
82659
+ /**
82660
+ * The channel that publication goes out on, or null.
82661
+ */
82662
+ channelId: (string | null)
82663
+ /**
82664
+ * Why the deciding publication failed, or null.
82665
+ */
82666
+ lastError: (string | null)
82667
+ /**
82668
+ * The output id (targets[].id). An output a legacy publication names that the post no longer carries is listed too.
82292
82669
  */
82293
- status: ("idea" | "draft" | "pending_approval" | "approved" | "scheduled" | "published" | "failed")
82670
+ variantId: string
82671
+ /**
82672
+ * Permalink on the network once known, or null.
82673
+ */
82674
+ externalUrl: (string | null)
82675
+ /**
82676
+ * ISO-8601 time it was published, or null.
82677
+ */
82678
+ publishedAt: (string | null)
82679
+ /**
82680
+ * ISO-8601 slot of that publication, or null.
82681
+ */
82682
+ scheduledAt: (string | null)
82683
+ /**
82684
+ * The publication that decides the state: the live one (published > in flight > queued), else the uncertain one, else the newest finished one; null when the output was never scheduled. Pass it to content_publications_get / _cancel / _reschedule / _confirm.
82685
+ */
82686
+ publicationId: (string | null)
82687
+ }[]
82294
82688
  /**
82295
82689
  * The outputs of this post — a network and a variant each; several may share a network.
82296
82690
  */
@@ -82385,9 +82779,58 @@ title: (string | null)
82385
82779
  */
82386
82780
  author: string
82387
82781
  /**
82388
- * Post lifecycle status: idea (may have no text) -> draft (being written) -> pending_approval (submitted) -> approved (cleared to publish); scheduled/published/failed are set by the publishing pipeline.
82782
+ * Post lifecycle status: idea (may have no text) -> draft (being written) -> pending_approval (submitted) -> approved (cleared to publish). Past approval the status follows EVERY output of the approved version (see outputs): scheduled while an output is queued or in flight and none is out yet; partially_published once some outputs are out and others are still queued, failed or never scheduled; published once every output is out; failed when an output gave up and none is out or queued; back to approved when nothing is live any more (all cancelled). A post in any of these five statuses can still have an output scheduled, including a failed one again.
82783
+ */
82784
+ status: ("idea" | "draft" | "pending_approval" | "approved" | "scheduled" | "partially_published" | "published" | "failed")
82785
+ /**
82786
+ * One entry per output of this post, in targets order, with the state its publications add up to and the publication that decides it. Before approval every output is `none`. The post's status past approval is derived from exactly these states.
82787
+ */
82788
+ outputs: {
82789
+ /**
82790
+ * What this output's publications add up to, across every channel: none (nothing scheduled, or only cancelled), open (queued or in flight — in reminder mode a person was reminded and has not confirmed), uncertain (a finished publication may still be live: an automatic attempt ended without an answer, or the network reported the post late — a person must look at the channel, then confirm that publication or cancel it with checkedNotLive; scheduling the output again is refused with 409 may_already_be_live), failed (the newest finished publication failed and nothing is live or uncertain — it can be scheduled again), published (out on its network), skipped (a person decided it does not go out; reserved, not set yet).
82791
+ */
82792
+ state: ("none" | "open" | "uncertain" | "failed" | "published" | "skipped")
82793
+ /**
82794
+ * The network this output publishes to.
82795
+ */
82796
+ network: string
82797
+ /**
82798
+ * Whether a person skipped this output. Always false until skipping ships.
82389
82799
  */
82390
- status: ("idea" | "draft" | "pending_approval" | "approved" | "scheduled" | "published" | "failed")
82800
+ skipped: boolean
82801
+ /**
82802
+ * Its post type, or null on a legacy publication output.
82803
+ */
82804
+ postType: (string | null)
82805
+ /**
82806
+ * The channel that publication goes out on, or null.
82807
+ */
82808
+ channelId: (string | null)
82809
+ /**
82810
+ * Why the deciding publication failed, or null.
82811
+ */
82812
+ lastError: (string | null)
82813
+ /**
82814
+ * The output id (targets[].id). An output a legacy publication names that the post no longer carries is listed too.
82815
+ */
82816
+ variantId: string
82817
+ /**
82818
+ * Permalink on the network once known, or null.
82819
+ */
82820
+ externalUrl: (string | null)
82821
+ /**
82822
+ * ISO-8601 time it was published, or null.
82823
+ */
82824
+ publishedAt: (string | null)
82825
+ /**
82826
+ * ISO-8601 slot of that publication, or null.
82827
+ */
82828
+ scheduledAt: (string | null)
82829
+ /**
82830
+ * The publication that decides the state: the live one (published > in flight > queued), else the uncertain one, else the newest finished one; null when the output was never scheduled. Pass it to content_publications_get / _cancel / _reschedule / _confirm.
82831
+ */
82832
+ publicationId: (string | null)
82833
+ }[]
82391
82834
  /**
82392
82835
  * The outputs of this post — a network and a variant each; several may share a network.
82393
82836
  */
@@ -82482,9 +82925,58 @@ title: (string | null)
82482
82925
  */
82483
82926
  author: string
82484
82927
  /**
82485
- * Post lifecycle status: idea (may have no text) -> draft (being written) -> pending_approval (submitted) -> approved (cleared to publish); scheduled/published/failed are set by the publishing pipeline.
82928
+ * Post lifecycle status: idea (may have no text) -> draft (being written) -> pending_approval (submitted) -> approved (cleared to publish). Past approval the status follows EVERY output of the approved version (see outputs): scheduled while an output is queued or in flight and none is out yet; partially_published once some outputs are out and others are still queued, failed or never scheduled; published once every output is out; failed when an output gave up and none is out or queued; back to approved when nothing is live any more (all cancelled). A post in any of these five statuses can still have an output scheduled, including a failed one again.
82929
+ */
82930
+ status: ("idea" | "draft" | "pending_approval" | "approved" | "scheduled" | "partially_published" | "published" | "failed")
82931
+ /**
82932
+ * One entry per output of this post, in targets order, with the state its publications add up to and the publication that decides it. Before approval every output is `none`. The post's status past approval is derived from exactly these states.
82933
+ */
82934
+ outputs: {
82935
+ /**
82936
+ * What this output's publications add up to, across every channel: none (nothing scheduled, or only cancelled), open (queued or in flight — in reminder mode a person was reminded and has not confirmed), uncertain (a finished publication may still be live: an automatic attempt ended without an answer, or the network reported the post late — a person must look at the channel, then confirm that publication or cancel it with checkedNotLive; scheduling the output again is refused with 409 may_already_be_live), failed (the newest finished publication failed and nothing is live or uncertain — it can be scheduled again), published (out on its network), skipped (a person decided it does not go out; reserved, not set yet).
82937
+ */
82938
+ state: ("none" | "open" | "uncertain" | "failed" | "published" | "skipped")
82939
+ /**
82940
+ * The network this output publishes to.
82941
+ */
82942
+ network: string
82943
+ /**
82944
+ * Whether a person skipped this output. Always false until skipping ships.
82945
+ */
82946
+ skipped: boolean
82947
+ /**
82948
+ * Its post type, or null on a legacy publication output.
82949
+ */
82950
+ postType: (string | null)
82951
+ /**
82952
+ * The channel that publication goes out on, or null.
82953
+ */
82954
+ channelId: (string | null)
82955
+ /**
82956
+ * Why the deciding publication failed, or null.
82957
+ */
82958
+ lastError: (string | null)
82959
+ /**
82960
+ * The output id (targets[].id). An output a legacy publication names that the post no longer carries is listed too.
82961
+ */
82962
+ variantId: string
82963
+ /**
82964
+ * Permalink on the network once known, or null.
82965
+ */
82966
+ externalUrl: (string | null)
82967
+ /**
82968
+ * ISO-8601 time it was published, or null.
82486
82969
  */
82487
- status: ("idea" | "draft" | "pending_approval" | "approved" | "scheduled" | "published" | "failed")
82970
+ publishedAt: (string | null)
82971
+ /**
82972
+ * ISO-8601 slot of that publication, or null.
82973
+ */
82974
+ scheduledAt: (string | null)
82975
+ /**
82976
+ * The publication that decides the state: the live one (published > in flight > queued), else the uncertain one, else the newest finished one; null when the output was never scheduled. Pass it to content_publications_get / _cancel / _reschedule / _confirm.
82977
+ */
82978
+ publicationId: (string | null)
82979
+ }[]
82488
82980
  /**
82489
82981
  * The outputs of this post — a network and a variant each; several may share a network.
82490
82982
  */
@@ -89115,9 +89607,58 @@ title: (string | null)
89115
89607
  */
89116
89608
  author: string
89117
89609
  /**
89118
- * Post lifecycle status: idea (may have no text) -> draft (being written) -> pending_approval (submitted) -> approved (cleared to publish); scheduled/published/failed are set by the publishing pipeline.
89610
+ * Post lifecycle status: idea (may have no text) -> draft (being written) -> pending_approval (submitted) -> approved (cleared to publish). Past approval the status follows EVERY output of the approved version (see outputs): scheduled while an output is queued or in flight and none is out yet; partially_published once some outputs are out and others are still queued, failed or never scheduled; published once every output is out; failed when an output gave up and none is out or queued; back to approved when nothing is live any more (all cancelled). A post in any of these five statuses can still have an output scheduled, including a failed one again.
89611
+ */
89612
+ status: ("idea" | "draft" | "pending_approval" | "approved" | "scheduled" | "partially_published" | "published" | "failed")
89613
+ /**
89614
+ * One entry per output of this post, in targets order, with the state its publications add up to and the publication that decides it. Before approval every output is `none`. The post's status past approval is derived from exactly these states.
89615
+ */
89616
+ outputs: {
89617
+ /**
89618
+ * What this output's publications add up to, across every channel: none (nothing scheduled, or only cancelled), open (queued or in flight — in reminder mode a person was reminded and has not confirmed), uncertain (a finished publication may still be live: an automatic attempt ended without an answer, or the network reported the post late — a person must look at the channel, then confirm that publication or cancel it with checkedNotLive; scheduling the output again is refused with 409 may_already_be_live), failed (the newest finished publication failed and nothing is live or uncertain — it can be scheduled again), published (out on its network), skipped (a person decided it does not go out; reserved, not set yet).
89619
+ */
89620
+ state: ("none" | "open" | "uncertain" | "failed" | "published" | "skipped")
89621
+ /**
89622
+ * The network this output publishes to.
89623
+ */
89624
+ network: string
89625
+ /**
89626
+ * Whether a person skipped this output. Always false until skipping ships.
89627
+ */
89628
+ skipped: boolean
89629
+ /**
89630
+ * Its post type, or null on a legacy publication output.
89119
89631
  */
89120
- status: ("idea" | "draft" | "pending_approval" | "approved" | "scheduled" | "published" | "failed")
89632
+ postType: (string | null)
89633
+ /**
89634
+ * The channel that publication goes out on, or null.
89635
+ */
89636
+ channelId: (string | null)
89637
+ /**
89638
+ * Why the deciding publication failed, or null.
89639
+ */
89640
+ lastError: (string | null)
89641
+ /**
89642
+ * The output id (targets[].id). An output a legacy publication names that the post no longer carries is listed too.
89643
+ */
89644
+ variantId: string
89645
+ /**
89646
+ * Permalink on the network once known, or null.
89647
+ */
89648
+ externalUrl: (string | null)
89649
+ /**
89650
+ * ISO-8601 time it was published, or null.
89651
+ */
89652
+ publishedAt: (string | null)
89653
+ /**
89654
+ * ISO-8601 slot of that publication, or null.
89655
+ */
89656
+ scheduledAt: (string | null)
89657
+ /**
89658
+ * The publication that decides the state: the live one (published > in flight > queued), else the uncertain one, else the newest finished one; null when the output was never scheduled. Pass it to content_publications_get / _cancel / _reschedule / _confirm.
89659
+ */
89660
+ publicationId: (string | null)
89661
+ }[]
89121
89662
  /**
89122
89663
  * The outputs of this post — a network and a variant each; several may share a network.
89123
89664
  */
@@ -89262,6 +89803,10 @@ export interface ContentPublicationsCancelInput {
89262
89803
  * The publication id returned by content_publications_schedule.
89263
89804
  */
89264
89805
  id: string
89806
+ /**
89807
+ * Only for a FINISHED publication that may still be live (an output in state uncertain: an automatic attempt ended without an answer). Pass true to state that you looked at the network and the post is NOT there; the publication then stops blocking its output. Without it such a cancel is refused with 409 may_already_be_live. Refused with 409 publication_is_live when the network itself reported the post — confirm it instead. Ignored for a publication that is still open.
89808
+ */
89809
+ checkedNotLive?: boolean
89265
89810
  }
89266
89811
 
89267
89812
  export interface ContentPublicationsCancelOutput {