@lessly/sdk-app 105.12.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.
@@ -30,12 +30,6 @@ propertiesColumn: (string | null)
30
30
  }[]
31
31
  product_id: string
32
32
  generated_at: string
33
- dropped_metrics?: {
34
- type: string
35
- metric: string
36
- reason: ("type_unknown" | "aggregate_unknown" | "column_missing")
37
- view_name: string
38
- }[]
39
33
  }
40
34
 
41
35
  export interface AnalyticsDashboardCreateInput {
@@ -74420,6 +74414,7 @@ approved: number
74420
74414
  published: number
74421
74415
  scheduled: number
74422
74416
  pending_approval: number
74417
+ partially_published: number
74423
74418
  }
74424
74419
  /**
74425
74420
  * Parent folder id, or null at the root.
@@ -74448,6 +74443,7 @@ approved: number
74448
74443
  published: number
74449
74444
  scheduled: number
74450
74445
  pending_approval: number
74446
+ partially_published: number
74451
74447
  }
74452
74448
  }[]
74453
74449
  }
@@ -75018,9 +75014,58 @@ title: (string | null)
75018
75014
  */
75019
75015
  author: string
75020
75016
  /**
75021
- * 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.
75018
+ */
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
75022
  */
75023
- status: ("idea" | "draft" | "pending_approval" | "approved" | "scheduled" | "published" | "failed")
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
+ }[]
75024
75069
  /**
75025
75070
  * The outputs of this post — a network and a variant each; several may share a network.
75026
75071
  */
@@ -75122,9 +75167,58 @@ title: (string | null)
75122
75167
  */
75123
75168
  author: string
75124
75169
  /**
75125
- * 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.
75175
+ */
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.
75126
75219
  */
75127
- status: ("idea" | "draft" | "pending_approval" | "approved" | "scheduled" | "published" | "failed")
75220
+ publicationId: (string | null)
75221
+ }[]
75128
75222
  /**
75129
75223
  * The outputs of this post — a network and a variant each; several may share a network.
75130
75224
  */
@@ -81755,9 +81849,58 @@ title: (string | null)
81755
81849
  */
81756
81850
  author: string
81757
81851
  /**
81758
- * 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.
81759
81877
  */
81760
- status: ("idea" | "draft" | "pending_approval" | "approved" | "scheduled" | "published" | "failed")
81878
+ channelId: (string | null)
81879
+ /**
81880
+ * Why the deciding publication failed, or null.
81881
+ */
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
+ }[]
81761
81904
  /**
81762
81905
  * The outputs of this post — a network and a variant each; several may share a network.
81763
81906
  */
@@ -81877,9 +82020,58 @@ title: (string | null)
81877
82020
  */
81878
82021
  author: string
81879
82022
  /**
81880
- * 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.
81881
82048
  */
81882
- 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
+ }[]
81883
82075
  /**
81884
82076
  * The outputs of this post — a network and a variant each; several may share a network.
81885
82077
  */
@@ -81974,9 +82166,58 @@ title: (string | null)
81974
82166
  */
81975
82167
  author: string
81976
82168
  /**
81977
- * 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).
81978
82178
  */
81979
- status: ("idea" | "draft" | "pending_approval" | "approved" | "scheduled" | "published" | "failed")
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.
82218
+ */
82219
+ publicationId: (string | null)
82220
+ }[]
81980
82221
  /**
81981
82222
  * The outputs of this post — a network and a variant each; several may share a network.
81982
82223
  */
@@ -82050,7 +82291,7 @@ offset?: number
82050
82291
  /**
82051
82292
  * Return only posts in this status.
82052
82293
  */
82053
- status?: ("idea" | "draft" | "pending_approval" | "approved" | "scheduled" | "published" | "failed")
82294
+ status?: ("idea" | "draft" | "pending_approval" | "approved" | "scheduled" | "partially_published" | "published" | "failed")
82054
82295
  /**
82055
82296
  * Filter to one folder, or null for posts in no folder. Omit for posts in every folder.
82056
82297
  */
@@ -82087,9 +82328,58 @@ title: (string | null)
82087
82328
  */
82088
82329
  author: string
82089
82330
  /**
82090
- * 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.
82091
82332
  */
82092
- status: ("idea" | "draft" | "pending_approval" | "approved" | "scheduled" | "published" | "failed")
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.
82360
+ */
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
+ }[]
82093
82383
  /**
82094
82384
  * The outputs of this post — a network and a variant each; several may share a network.
82095
82385
  */
@@ -82197,9 +82487,58 @@ title: (string | null)
82197
82487
  */
82198
82488
  author: string
82199
82489
  /**
82200
- * 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.
82201
82491
  */
82202
- 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
+ }[]
82203
82542
  /**
82204
82543
  * The outputs of this post — a network and a variant each; several may share a network.
82205
82544
  */
@@ -82294,9 +82633,58 @@ title: (string | null)
82294
82633
  */
82295
82634
  author: string
82296
82635
  /**
82297
- * 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.
82298
82637
  */
82299
- status: ("idea" | "draft" | "pending_approval" | "approved" | "scheduled" | "published" | "failed")
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.
82669
+ */
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
+ }[]
82300
82688
  /**
82301
82689
  * The outputs of this post — a network and a variant each; several may share a network.
82302
82690
  */
@@ -82391,9 +82779,58 @@ title: (string | null)
82391
82779
  */
82392
82780
  author: string
82393
82781
  /**
82394
- * 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.
82395
82783
  */
82396
- status: ("idea" | "draft" | "pending_approval" | "approved" | "scheduled" | "published" | "failed")
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.
82799
+ */
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
+ }[]
82397
82834
  /**
82398
82835
  * The outputs of this post — a network and a variant each; several may share a network.
82399
82836
  */
@@ -82488,9 +82925,58 @@ title: (string | null)
82488
82925
  */
82489
82926
  author: string
82490
82927
  /**
82491
- * 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.
82492
82957
  */
82493
- status: ("idea" | "draft" | "pending_approval" | "approved" | "scheduled" | "published" | "failed")
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.
82969
+ */
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
+ }[]
82494
82980
  /**
82495
82981
  * The outputs of this post — a network and a variant each; several may share a network.
82496
82982
  */
@@ -89121,9 +89607,58 @@ title: (string | null)
89121
89607
  */
89122
89608
  author: string
89123
89609
  /**
89124
- * 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.
89631
+ */
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.
89125
89655
  */
89126
- status: ("idea" | "draft" | "pending_approval" | "approved" | "scheduled" | "published" | "failed")
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
+ }[]
89127
89662
  /**
89128
89663
  * The outputs of this post — a network and a variant each; several may share a network.
89129
89664
  */
@@ -89268,6 +89803,10 @@ export interface ContentPublicationsCancelInput {
89268
89803
  * The publication id returned by content_publications_schedule.
89269
89804
  */
89270
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
89271
89810
  }
89272
89811
 
89273
89812
  export interface ContentPublicationsCancelOutput {
@@ -111763,6 +112302,378 @@ export interface OrganizationYoutubeInstallOutput {
111763
112302
  url: string
111764
112303
  }
111765
112304
 
112305
+ export interface PlaygroundAnalyticsOverviewInput {
112306
+ /**
112307
+ * Max records per entity in recent[]; omit for the endpoint default
112308
+ */
112309
+ limit?: number
112310
+ }
112311
+
112312
+ export interface PlaygroundAnalyticsOverviewOutput {
112313
+ ok: boolean
112314
+ minted: boolean
112315
+ overview?: unknown
112316
+ http_status: number
112317
+ }
112318
+
112319
+ export interface PlaygroundBillingEntitlementsInput {
112320
+
112321
+ }
112322
+
112323
+ export interface PlaygroundBillingEntitlementsOutput {
112324
+ ok: boolean
112325
+ minted: boolean
112326
+ http_status: number
112327
+ entitlements?: unknown
112328
+ }
112329
+
112330
+ export interface PlaygroundBillingRecordUsageInput {
112331
+ /**
112332
+ * Quantity of events to record against playground-events (SUM); defaults to 1
112333
+ */
112334
+ value?: number
112335
+ }
112336
+
112337
+ export interface PlaygroundBillingRecordUsageOutput {
112338
+ minted: boolean
112339
+ accepted: (number | null)
112340
+ recorded: boolean
112341
+ duplicates: (number | null)
112342
+ http_status: number
112343
+ }
112344
+
112345
+ export interface PlaygroundClickupCreateTaskInput {
112346
+ /**
112347
+ * Task title; defaults to a fixture label
112348
+ */
112349
+ name?: string
112350
+ /**
112351
+ * ClickUp list id; falls back to CLICKUP_TEST_LIST_ID
112352
+ */
112353
+ listId?: string
112354
+ }
112355
+
112356
+ export interface PlaygroundClickupCreateTaskOutput {
112357
+ minted: boolean
112358
+ task_id: (string | null)
112359
+ list_status: number
112360
+ vend_status: number
112361
+ clickup_status: number
112362
+ installation_count: number
112363
+ }
112364
+
112365
+ export interface PlaygroundClickupGetLastWebhookInput {
112366
+
112367
+ }
112368
+
112369
+ export type PlaygroundClickupGetLastWebhookOutput = ({
112370
+ payload: string
112371
+ event_id: string
112372
+ provider: string
112373
+ verified: boolean
112374
+ product_id: string
112375
+ occurred_at: string
112376
+ connector_id: string
112377
+ clickup_event: (string | null)
112378
+ receipt_count: number
112379
+ } | {
112380
+ found: false
112381
+ })
112382
+
112383
+ export interface PlaygroundClickupGetOverviewInput {
112384
+
112385
+ }
112386
+
112387
+ export interface PlaygroundClickupGetOverviewOutput {
112388
+ team: ({
112389
+ teamId: string
112390
+ teamName: string
112391
+ } | null)
112392
+ lists: PlaygroundClickupGetOverviewOutputItems[]
112393
+ tasks: {
112394
+ id: string
112395
+ name: string
112396
+ status: (string | null)
112397
+ }[]
112398
+ minted: boolean
112399
+ spaces: PlaygroundClickupGetOverviewOutputItems[]
112400
+ list_status: number
112401
+ vend_status: number
112402
+ lists_status: number
112403
+ tasks_status: number
112404
+ spaces_status: number
112405
+ folders_status: number
112406
+ installation_count: number
112407
+ }
112408
+ export interface PlaygroundClickupGetOverviewOutputItems {
112409
+ id: string
112410
+ name: string
112411
+ }
112412
+
112413
+ export interface PlaygroundEchoPingInput {
112414
+ /**
112415
+ * The text to echo back, 1–1024 characters
112416
+ */
112417
+ message: string
112418
+ }
112419
+
112420
+ export interface PlaygroundEchoPingOutput {
112421
+ /**
112422
+ * The message exactly as it was received
112423
+ */
112424
+ message: string
112425
+ /**
112426
+ * The product the call was resolved to
112427
+ */
112428
+ productId: string
112429
+ /**
112430
+ * ISO-8601 instant (UTC) at which the call reached the service
112431
+ */
112432
+ receivedAt: string
112433
+ }
112434
+
112435
+ export interface PlaygroundGdriveGetLastChangeInput {
112436
+
112437
+ }
112438
+
112439
+ export type PlaygroundGdriveGetLastChangeOutput = ({
112440
+ file_id: string
112441
+ removed: boolean
112442
+ file_name: (string | null)
112443
+ mime_type: (string | null)
112444
+ product_id: string
112445
+ occurred_at: string
112446
+ connector_id: string
112447
+ resource_state: string
112448
+ } | {
112449
+ found: false
112450
+ })
112451
+
112452
+ export interface PlaygroundGdriveReadFileInput {
112453
+ /**
112454
+ * Drive file id; falls back to GDRIVE_TEST_FILE_ID, then the first picked file
112455
+ */
112456
+ fileId?: string
112457
+ }
112458
+
112459
+ export interface PlaygroundGdriveReadFileOutput {
112460
+ minted: boolean
112461
+ file_id: (string | null)
112462
+ file_name: (string | null)
112463
+ mime_type: (string | null)
112464
+ file_count: number
112465
+ get_status: number
112466
+ list_status: number
112467
+ vend_status: number
112468
+ content_bytes: (number | null)
112469
+ }
112470
+
112471
+ export interface PlaygroundGoogleadsReadCustomerInput {
112472
+
112473
+ }
112474
+
112475
+ export interface PlaygroundGoogleadsReadCustomerOutput {
112476
+ minted: boolean
112477
+ vended: boolean
112478
+ customer_id: (string | null)
112479
+ vend_status: number
112480
+ result_count: number
112481
+ search_status: number
112482
+ login_customer_id: (string | null)
112483
+ }
112484
+
112485
+ export interface PlaygroundLifecycleGetStateInput {
112486
+
112487
+ }
112488
+
112489
+ export interface PlaygroundLifecycleGetStateOutput {
112490
+ blocked: boolean
112491
+ archived: boolean
112492
+ productId: string
112493
+ lastBlockTransition: ({
112494
+ eventId: string
112495
+ eventName: string
112496
+ productId: string
112497
+ occurredAt: string
112498
+ recordedAt: string
112499
+ receiptCount: number
112500
+ organizationId: string
112501
+ cascadedFromOrg: boolean
112502
+ } | null)
112503
+ lastArchiveTransition: ({
112504
+ eventId: string
112505
+ eventName: string
112506
+ productId: string
112507
+ occurredAt: string
112508
+ recordedAt: string
112509
+ receiptCount: number
112510
+ organizationId: string
112511
+ cascadedFromOrg: boolean
112512
+ } | null)
112513
+ }
112514
+
112515
+ export interface PlaygroundLifecycleListEventsInput {
112516
+
112517
+ }
112518
+
112519
+ export type PlaygroundLifecycleListEventsOutput = {
112520
+ eventId: string
112521
+ eventName: string
112522
+ productId: string
112523
+ occurredAt: string
112524
+ recordedAt: string
112525
+ receiptCount: number
112526
+ organizationId: string
112527
+ cascadedFromOrg: boolean
112528
+ }[]
112529
+
112530
+ export interface PlaygroundWebhookGetLastInput {
112531
+
112532
+ }
112533
+
112534
+ export type PlaygroundWebhookGetLastOutput = ({
112535
+ payload?: unknown
112536
+ event_id: string
112537
+ provider: string
112538
+ verified: boolean
112539
+ product_id: string
112540
+ occurred_at: string
112541
+ connector_id: string
112542
+ delivery_count: number
112543
+ } | {
112544
+ found: false
112545
+ })
112546
+
112547
+ export interface PlaygroundWorkflowEchoInput {
112548
+ /**
112549
+ * The text to store, 1–1024 characters
112550
+ */
112551
+ note: string
112552
+ /**
112553
+ * Optional labels stored alongside the note, at most 20
112554
+ *
112555
+ * @maxItems 20
112556
+ */
112557
+ tags?: []|[string]|[string, string]|[string, string, string]|[string, string, string, string]|[string, string, string, string, string]|[string, string, string, string, string, string]|[string, string, string, string, string, string, string]|[string, string, string, string, string, string, string, string]|[string, string, string, string, string, string, string, string, string]|[string, string, string, string, string, string, string, string, string, string]|[string, string, string, string, string, string, string, string, string, string, string]|[string, string, string, string, string, string, string, string, string, string, string, string]|[string, string, string, string, string, string, string, string, string, string, string, string, string]|[string, string, string, string, string, string, string, string, string, string, string, string, string, string]|[string, string, string, string, string, string, string, string, string, string, string, string, string, string, string]|[string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string]|[string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string]|[string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string]|[string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string]|[string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string]
112558
+ }
112559
+
112560
+ export interface PlaygroundWorkflowEchoOutput {
112561
+ /**
112562
+ * Identifier of the stored echo
112563
+ */
112564
+ id: string
112565
+ /**
112566
+ * The note exactly as it was received
112567
+ */
112568
+ note: string
112569
+ /**
112570
+ * The tags exactly as they were received
112571
+ */
112572
+ tags: string[]
112573
+ /**
112574
+ * Correlation id for this echo. The playground/workflow.echoed event published about two seconds later repeats it, which is how a composer matches the completion back to this step.
112575
+ */
112576
+ echo_id: string
112577
+ /**
112578
+ * ISO-8601 instant (UTC) at which the echo was stored
112579
+ */
112580
+ received_at: string
112581
+ }
112582
+
112583
+ export interface PlaygroundWorkflowEchoListInput {
112584
+
112585
+ }
112586
+
112587
+ export type PlaygroundWorkflowEchoListOutput = {
112588
+ /**
112589
+ * Identifier of the stored echo
112590
+ */
112591
+ id: string
112592
+ /**
112593
+ * The note exactly as it was received
112594
+ */
112595
+ note: string
112596
+ /**
112597
+ * The tags exactly as they were received
112598
+ */
112599
+ tags: string[]
112600
+ /**
112601
+ * ISO-8601 instant (UTC) at which the echo was stored
112602
+ */
112603
+ received_at: string
112604
+ }[]
112605
+
112606
+ export interface PlaygroundWorkflowPingInput {
112607
+ /**
112608
+ * Class of ping, echoed on the emitted event and filterable on the trigger. Defaults to 'manual'.
112609
+ */
112610
+ kind?: string
112611
+ }
112612
+
112613
+ export interface PlaygroundWorkflowPingOutput {
112614
+ /**
112615
+ * Correlation id for this ping. The emitted playground/workflow.ping event repeats it, which is how a composer matches the event back to this step.
112616
+ */
112617
+ id: string
112618
+ /**
112619
+ * The name of the event that was published
112620
+ */
112621
+ event: string
112622
+ }
112623
+
112624
+ export interface PlaygroundWorkflowSubjectsListInput {
112625
+ /**
112626
+ * How many subjects to return, 1–100. Defaults to 25.
112627
+ */
112628
+ limit?: number
112629
+ /**
112630
+ * The next_cursor of the previous page. Opaque — pass it back unchanged. Omit for the first page.
112631
+ */
112632
+ cursor?: string
112633
+ /**
112634
+ * ISO-8601 UTC instant. Return only subjects whose last_activity_at is AT OR AFTER this — the opposite question, the recently active population. Omit for no lower bound.
112635
+ */
112636
+ last_activity_after?: string
112637
+ /**
112638
+ * ISO-8601 UTC instant. Return only subjects whose last_activity_at is AT OR BEFORE this — the "inactive for N days" question: pass now minus N days. Omit for no upper bound.
112639
+ */
112640
+ last_activity_before?: string
112641
+ }
112642
+
112643
+ export interface PlaygroundWorkflowSubjectsListOutput {
112644
+ /**
112645
+ * This page of subjects, most recently active first
112646
+ */
112647
+ items: {
112648
+ /**
112649
+ * Stable identifier for the subject. This is the field a batch trigger keys on, so a subject already served in an earlier run is skipped rather than served twice.
112650
+ */
112651
+ subject_key: string
112652
+ /**
112653
+ * Human-readable name of the subject
112654
+ */
112655
+ display_name: string
112656
+ /**
112657
+ * ISO-8601 instant (UTC) of the subject last activity
112658
+ */
112659
+ last_activity_at: string
112660
+ }[]
112661
+ /**
112662
+ * Whether another page follows. False and a null next_cursor both mark the last page, so a consumer that loops on either terminates.
112663
+ */
112664
+ has_more: boolean
112665
+ /**
112666
+ * Pass back as `cursor` to fetch the next page; null on the last page. Always null when has_more is false.
112667
+ */
112668
+ next_cursor: (string | null)
112669
+ }
112670
+
112671
+ export interface PlaygroundWsEchoInput {
112672
+
112673
+ }
112674
+
112675
+ export type PlaygroundWsEchoOutput = unknown;
112676
+
111766
112677
  export interface RealtimeArchiveExportInput {
111767
112678
  /**
111768
112679
  * Only entries with ts <= to_ts (epoch ms)