@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.
@@ -26,12 +26,6 @@ export interface AnalyticsCatalogGetOutput {
26
26
  }[];
27
27
  product_id: string;
28
28
  generated_at: string;
29
- dropped_metrics?: {
30
- type: string;
31
- metric: string;
32
- reason: ("type_unknown" | "aggregate_unknown" | "column_missing");
33
- view_name: string;
34
- }[];
35
29
  }
36
30
  export interface AnalyticsDashboardCreateInput {
37
31
  name: string;
@@ -79791,6 +79785,7 @@ export interface ContentFoldersListOutput {
79791
79785
  published: number;
79792
79786
  scheduled: number;
79793
79787
  pending_approval: number;
79788
+ partially_published: number;
79794
79789
  };
79795
79790
  /**
79796
79791
  * Parent folder id, or null at the root.
@@ -79819,6 +79814,7 @@ export interface ContentFoldersListOutput {
79819
79814
  published: number;
79820
79815
  scheduled: number;
79821
79816
  pending_approval: number;
79817
+ partially_published: number;
79822
79818
  };
79823
79819
  }[];
79824
79820
  }
@@ -80371,9 +80367,58 @@ export interface ContentPostsApproveOutput {
80371
80367
  */
80372
80368
  author: string;
80373
80369
  /**
80374
- * 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.
80370
+ * 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.
80375
80371
  */
80376
- status: ("idea" | "draft" | "pending_approval" | "approved" | "scheduled" | "published" | "failed");
80372
+ status: ("idea" | "draft" | "pending_approval" | "approved" | "scheduled" | "partially_published" | "published" | "failed");
80373
+ /**
80374
+ * 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.
80375
+ */
80376
+ outputs: {
80377
+ /**
80378
+ * 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).
80379
+ */
80380
+ state: ("none" | "open" | "uncertain" | "failed" | "published" | "skipped");
80381
+ /**
80382
+ * The network this output publishes to.
80383
+ */
80384
+ network: string;
80385
+ /**
80386
+ * Whether a person skipped this output. Always false until skipping ships.
80387
+ */
80388
+ skipped: boolean;
80389
+ /**
80390
+ * Its post type, or null on a legacy publication output.
80391
+ */
80392
+ postType: (string | null);
80393
+ /**
80394
+ * The channel that publication goes out on, or null.
80395
+ */
80396
+ channelId: (string | null);
80397
+ /**
80398
+ * Why the deciding publication failed, or null.
80399
+ */
80400
+ lastError: (string | null);
80401
+ /**
80402
+ * The output id (targets[].id). An output a legacy publication names that the post no longer carries is listed too.
80403
+ */
80404
+ variantId: string;
80405
+ /**
80406
+ * Permalink on the network once known, or null.
80407
+ */
80408
+ externalUrl: (string | null);
80409
+ /**
80410
+ * ISO-8601 time it was published, or null.
80411
+ */
80412
+ publishedAt: (string | null);
80413
+ /**
80414
+ * ISO-8601 slot of that publication, or null.
80415
+ */
80416
+ scheduledAt: (string | null);
80417
+ /**
80418
+ * 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.
80419
+ */
80420
+ publicationId: (string | null);
80421
+ }[];
80377
80422
  /**
80378
80423
  * The outputs of this post — a network and a variant each; several may share a network.
80379
80424
  */
@@ -80473,9 +80518,58 @@ export interface ContentPostsAttachMediaOutput {
80473
80518
  */
80474
80519
  author: string;
80475
80520
  /**
80476
- * 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.
80521
+ * 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.
80522
+ */
80523
+ status: ("idea" | "draft" | "pending_approval" | "approved" | "scheduled" | "partially_published" | "published" | "failed");
80524
+ /**
80525
+ * 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.
80477
80526
  */
80478
- status: ("idea" | "draft" | "pending_approval" | "approved" | "scheduled" | "published" | "failed");
80527
+ outputs: {
80528
+ /**
80529
+ * 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).
80530
+ */
80531
+ state: ("none" | "open" | "uncertain" | "failed" | "published" | "skipped");
80532
+ /**
80533
+ * The network this output publishes to.
80534
+ */
80535
+ network: string;
80536
+ /**
80537
+ * Whether a person skipped this output. Always false until skipping ships.
80538
+ */
80539
+ skipped: boolean;
80540
+ /**
80541
+ * Its post type, or null on a legacy publication output.
80542
+ */
80543
+ postType: (string | null);
80544
+ /**
80545
+ * The channel that publication goes out on, or null.
80546
+ */
80547
+ channelId: (string | null);
80548
+ /**
80549
+ * Why the deciding publication failed, or null.
80550
+ */
80551
+ lastError: (string | null);
80552
+ /**
80553
+ * The output id (targets[].id). An output a legacy publication names that the post no longer carries is listed too.
80554
+ */
80555
+ variantId: string;
80556
+ /**
80557
+ * Permalink on the network once known, or null.
80558
+ */
80559
+ externalUrl: (string | null);
80560
+ /**
80561
+ * ISO-8601 time it was published, or null.
80562
+ */
80563
+ publishedAt: (string | null);
80564
+ /**
80565
+ * ISO-8601 slot of that publication, or null.
80566
+ */
80567
+ scheduledAt: (string | null);
80568
+ /**
80569
+ * 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.
80570
+ */
80571
+ publicationId: (string | null);
80572
+ }[];
80479
80573
  /**
80480
80574
  * The outputs of this post — a network and a variant each; several may share a network.
80481
80575
  */
@@ -87333,9 +87427,58 @@ export interface ContentPostsCreateOutput {
87333
87427
  */
87334
87428
  author: string;
87335
87429
  /**
87336
- * 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.
87430
+ * 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.
87337
87431
  */
87338
- status: ("idea" | "draft" | "pending_approval" | "approved" | "scheduled" | "published" | "failed");
87432
+ status: ("idea" | "draft" | "pending_approval" | "approved" | "scheduled" | "partially_published" | "published" | "failed");
87433
+ /**
87434
+ * 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.
87435
+ */
87436
+ outputs: {
87437
+ /**
87438
+ * 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).
87439
+ */
87440
+ state: ("none" | "open" | "uncertain" | "failed" | "published" | "skipped");
87441
+ /**
87442
+ * The network this output publishes to.
87443
+ */
87444
+ network: string;
87445
+ /**
87446
+ * Whether a person skipped this output. Always false until skipping ships.
87447
+ */
87448
+ skipped: boolean;
87449
+ /**
87450
+ * Its post type, or null on a legacy publication output.
87451
+ */
87452
+ postType: (string | null);
87453
+ /**
87454
+ * The channel that publication goes out on, or null.
87455
+ */
87456
+ channelId: (string | null);
87457
+ /**
87458
+ * Why the deciding publication failed, or null.
87459
+ */
87460
+ lastError: (string | null);
87461
+ /**
87462
+ * The output id (targets[].id). An output a legacy publication names that the post no longer carries is listed too.
87463
+ */
87464
+ variantId: string;
87465
+ /**
87466
+ * Permalink on the network once known, or null.
87467
+ */
87468
+ externalUrl: (string | null);
87469
+ /**
87470
+ * ISO-8601 time it was published, or null.
87471
+ */
87472
+ publishedAt: (string | null);
87473
+ /**
87474
+ * ISO-8601 slot of that publication, or null.
87475
+ */
87476
+ scheduledAt: (string | null);
87477
+ /**
87478
+ * 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.
87479
+ */
87480
+ publicationId: (string | null);
87481
+ }[];
87339
87482
  /**
87340
87483
  * The outputs of this post — a network and a variant each; several may share a network.
87341
87484
  */
@@ -87451,9 +87594,58 @@ export interface ContentPostsDetachMediaOutput {
87451
87594
  */
87452
87595
  author: string;
87453
87596
  /**
87454
- * 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.
87597
+ * 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.
87455
87598
  */
87456
- status: ("idea" | "draft" | "pending_approval" | "approved" | "scheduled" | "published" | "failed");
87599
+ status: ("idea" | "draft" | "pending_approval" | "approved" | "scheduled" | "partially_published" | "published" | "failed");
87600
+ /**
87601
+ * 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.
87602
+ */
87603
+ outputs: {
87604
+ /**
87605
+ * 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).
87606
+ */
87607
+ state: ("none" | "open" | "uncertain" | "failed" | "published" | "skipped");
87608
+ /**
87609
+ * The network this output publishes to.
87610
+ */
87611
+ network: string;
87612
+ /**
87613
+ * Whether a person skipped this output. Always false until skipping ships.
87614
+ */
87615
+ skipped: boolean;
87616
+ /**
87617
+ * Its post type, or null on a legacy publication output.
87618
+ */
87619
+ postType: (string | null);
87620
+ /**
87621
+ * The channel that publication goes out on, or null.
87622
+ */
87623
+ channelId: (string | null);
87624
+ /**
87625
+ * Why the deciding publication failed, or null.
87626
+ */
87627
+ lastError: (string | null);
87628
+ /**
87629
+ * The output id (targets[].id). An output a legacy publication names that the post no longer carries is listed too.
87630
+ */
87631
+ variantId: string;
87632
+ /**
87633
+ * Permalink on the network once known, or null.
87634
+ */
87635
+ externalUrl: (string | null);
87636
+ /**
87637
+ * ISO-8601 time it was published, or null.
87638
+ */
87639
+ publishedAt: (string | null);
87640
+ /**
87641
+ * ISO-8601 slot of that publication, or null.
87642
+ */
87643
+ scheduledAt: (string | null);
87644
+ /**
87645
+ * 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.
87646
+ */
87647
+ publicationId: (string | null);
87648
+ }[];
87457
87649
  /**
87458
87650
  * The outputs of this post — a network and a variant each; several may share a network.
87459
87651
  */
@@ -87546,9 +87738,58 @@ export interface ContentPostsGetOutput {
87546
87738
  */
87547
87739
  author: string;
87548
87740
  /**
87549
- * 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.
87741
+ * 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.
87550
87742
  */
87551
- status: ("idea" | "draft" | "pending_approval" | "approved" | "scheduled" | "published" | "failed");
87743
+ status: ("idea" | "draft" | "pending_approval" | "approved" | "scheduled" | "partially_published" | "published" | "failed");
87744
+ /**
87745
+ * 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.
87746
+ */
87747
+ outputs: {
87748
+ /**
87749
+ * 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).
87750
+ */
87751
+ state: ("none" | "open" | "uncertain" | "failed" | "published" | "skipped");
87752
+ /**
87753
+ * The network this output publishes to.
87754
+ */
87755
+ network: string;
87756
+ /**
87757
+ * Whether a person skipped this output. Always false until skipping ships.
87758
+ */
87759
+ skipped: boolean;
87760
+ /**
87761
+ * Its post type, or null on a legacy publication output.
87762
+ */
87763
+ postType: (string | null);
87764
+ /**
87765
+ * The channel that publication goes out on, or null.
87766
+ */
87767
+ channelId: (string | null);
87768
+ /**
87769
+ * Why the deciding publication failed, or null.
87770
+ */
87771
+ lastError: (string | null);
87772
+ /**
87773
+ * The output id (targets[].id). An output a legacy publication names that the post no longer carries is listed too.
87774
+ */
87775
+ variantId: string;
87776
+ /**
87777
+ * Permalink on the network once known, or null.
87778
+ */
87779
+ externalUrl: (string | null);
87780
+ /**
87781
+ * ISO-8601 time it was published, or null.
87782
+ */
87783
+ publishedAt: (string | null);
87784
+ /**
87785
+ * ISO-8601 slot of that publication, or null.
87786
+ */
87787
+ scheduledAt: (string | null);
87788
+ /**
87789
+ * 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.
87790
+ */
87791
+ publicationId: (string | null);
87792
+ }[];
87552
87793
  /**
87553
87794
  * The outputs of this post — a network and a variant each; several may share a network.
87554
87795
  */
@@ -87621,7 +87862,7 @@ export interface ContentPostsListInput {
87621
87862
  /**
87622
87863
  * Return only posts in this status.
87623
87864
  */
87624
- status?: ("idea" | "draft" | "pending_approval" | "approved" | "scheduled" | "published" | "failed");
87865
+ status?: ("idea" | "draft" | "pending_approval" | "approved" | "scheduled" | "partially_published" | "published" | "failed");
87625
87866
  /**
87626
87867
  * Filter to one folder, or null for posts in no folder. Omit for posts in every folder.
87627
87868
  */
@@ -87657,9 +87898,58 @@ export interface ContentPostsListOutput {
87657
87898
  */
87658
87899
  author: string;
87659
87900
  /**
87660
- * 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.
87901
+ * 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.
87661
87902
  */
87662
- status: ("idea" | "draft" | "pending_approval" | "approved" | "scheduled" | "published" | "failed");
87903
+ status: ("idea" | "draft" | "pending_approval" | "approved" | "scheduled" | "partially_published" | "published" | "failed");
87904
+ /**
87905
+ * 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.
87906
+ */
87907
+ outputs: {
87908
+ /**
87909
+ * 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).
87910
+ */
87911
+ state: ("none" | "open" | "uncertain" | "failed" | "published" | "skipped");
87912
+ /**
87913
+ * The network this output publishes to.
87914
+ */
87915
+ network: string;
87916
+ /**
87917
+ * Whether a person skipped this output. Always false until skipping ships.
87918
+ */
87919
+ skipped: boolean;
87920
+ /**
87921
+ * Its post type, or null on a legacy publication output.
87922
+ */
87923
+ postType: (string | null);
87924
+ /**
87925
+ * The channel that publication goes out on, or null.
87926
+ */
87927
+ channelId: (string | null);
87928
+ /**
87929
+ * Why the deciding publication failed, or null.
87930
+ */
87931
+ lastError: (string | null);
87932
+ /**
87933
+ * The output id (targets[].id). An output a legacy publication names that the post no longer carries is listed too.
87934
+ */
87935
+ variantId: string;
87936
+ /**
87937
+ * Permalink on the network once known, or null.
87938
+ */
87939
+ externalUrl: (string | null);
87940
+ /**
87941
+ * ISO-8601 time it was published, or null.
87942
+ */
87943
+ publishedAt: (string | null);
87944
+ /**
87945
+ * ISO-8601 slot of that publication, or null.
87946
+ */
87947
+ scheduledAt: (string | null);
87948
+ /**
87949
+ * 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.
87950
+ */
87951
+ publicationId: (string | null);
87952
+ }[];
87663
87953
  /**
87664
87954
  * The outputs of this post — a network and a variant each; several may share a network.
87665
87955
  */
@@ -87765,9 +88055,58 @@ export interface ContentPostsMoveOutput {
87765
88055
  */
87766
88056
  author: string;
87767
88057
  /**
87768
- * 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.
88058
+ * 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.
87769
88059
  */
87770
- status: ("idea" | "draft" | "pending_approval" | "approved" | "scheduled" | "published" | "failed");
88060
+ status: ("idea" | "draft" | "pending_approval" | "approved" | "scheduled" | "partially_published" | "published" | "failed");
88061
+ /**
88062
+ * 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.
88063
+ */
88064
+ outputs: {
88065
+ /**
88066
+ * 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).
88067
+ */
88068
+ state: ("none" | "open" | "uncertain" | "failed" | "published" | "skipped");
88069
+ /**
88070
+ * The network this output publishes to.
88071
+ */
88072
+ network: string;
88073
+ /**
88074
+ * Whether a person skipped this output. Always false until skipping ships.
88075
+ */
88076
+ skipped: boolean;
88077
+ /**
88078
+ * Its post type, or null on a legacy publication output.
88079
+ */
88080
+ postType: (string | null);
88081
+ /**
88082
+ * The channel that publication goes out on, or null.
88083
+ */
88084
+ channelId: (string | null);
88085
+ /**
88086
+ * Why the deciding publication failed, or null.
88087
+ */
88088
+ lastError: (string | null);
88089
+ /**
88090
+ * The output id (targets[].id). An output a legacy publication names that the post no longer carries is listed too.
88091
+ */
88092
+ variantId: string;
88093
+ /**
88094
+ * Permalink on the network once known, or null.
88095
+ */
88096
+ externalUrl: (string | null);
88097
+ /**
88098
+ * ISO-8601 time it was published, or null.
88099
+ */
88100
+ publishedAt: (string | null);
88101
+ /**
88102
+ * ISO-8601 slot of that publication, or null.
88103
+ */
88104
+ scheduledAt: (string | null);
88105
+ /**
88106
+ * 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.
88107
+ */
88108
+ publicationId: (string | null);
88109
+ }[];
87771
88110
  /**
87772
88111
  * The outputs of this post — a network and a variant each; several may share a network.
87773
88112
  */
@@ -87860,9 +88199,58 @@ export interface ContentPostsSubmitOutput {
87860
88199
  */
87861
88200
  author: string;
87862
88201
  /**
87863
- * 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.
88202
+ * 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.
87864
88203
  */
87865
- status: ("idea" | "draft" | "pending_approval" | "approved" | "scheduled" | "published" | "failed");
88204
+ status: ("idea" | "draft" | "pending_approval" | "approved" | "scheduled" | "partially_published" | "published" | "failed");
88205
+ /**
88206
+ * 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.
88207
+ */
88208
+ outputs: {
88209
+ /**
88210
+ * 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).
88211
+ */
88212
+ state: ("none" | "open" | "uncertain" | "failed" | "published" | "skipped");
88213
+ /**
88214
+ * The network this output publishes to.
88215
+ */
88216
+ network: string;
88217
+ /**
88218
+ * Whether a person skipped this output. Always false until skipping ships.
88219
+ */
88220
+ skipped: boolean;
88221
+ /**
88222
+ * Its post type, or null on a legacy publication output.
88223
+ */
88224
+ postType: (string | null);
88225
+ /**
88226
+ * The channel that publication goes out on, or null.
88227
+ */
88228
+ channelId: (string | null);
88229
+ /**
88230
+ * Why the deciding publication failed, or null.
88231
+ */
88232
+ lastError: (string | null);
88233
+ /**
88234
+ * The output id (targets[].id). An output a legacy publication names that the post no longer carries is listed too.
88235
+ */
88236
+ variantId: string;
88237
+ /**
88238
+ * Permalink on the network once known, or null.
88239
+ */
88240
+ externalUrl: (string | null);
88241
+ /**
88242
+ * ISO-8601 time it was published, or null.
88243
+ */
88244
+ publishedAt: (string | null);
88245
+ /**
88246
+ * ISO-8601 slot of that publication, or null.
88247
+ */
88248
+ scheduledAt: (string | null);
88249
+ /**
88250
+ * 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.
88251
+ */
88252
+ publicationId: (string | null);
88253
+ }[];
87866
88254
  /**
87867
88255
  * The outputs of this post — a network and a variant each; several may share a network.
87868
88256
  */
@@ -87955,9 +88343,58 @@ export interface ContentPostsToDraftOutput {
87955
88343
  */
87956
88344
  author: string;
87957
88345
  /**
87958
- * 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.
88346
+ * 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.
87959
88347
  */
87960
- status: ("idea" | "draft" | "pending_approval" | "approved" | "scheduled" | "published" | "failed");
88348
+ status: ("idea" | "draft" | "pending_approval" | "approved" | "scheduled" | "partially_published" | "published" | "failed");
88349
+ /**
88350
+ * 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.
88351
+ */
88352
+ outputs: {
88353
+ /**
88354
+ * 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).
88355
+ */
88356
+ state: ("none" | "open" | "uncertain" | "failed" | "published" | "skipped");
88357
+ /**
88358
+ * The network this output publishes to.
88359
+ */
88360
+ network: string;
88361
+ /**
88362
+ * Whether a person skipped this output. Always false until skipping ships.
88363
+ */
88364
+ skipped: boolean;
88365
+ /**
88366
+ * Its post type, or null on a legacy publication output.
88367
+ */
88368
+ postType: (string | null);
88369
+ /**
88370
+ * The channel that publication goes out on, or null.
88371
+ */
88372
+ channelId: (string | null);
88373
+ /**
88374
+ * Why the deciding publication failed, or null.
88375
+ */
88376
+ lastError: (string | null);
88377
+ /**
88378
+ * The output id (targets[].id). An output a legacy publication names that the post no longer carries is listed too.
88379
+ */
88380
+ variantId: string;
88381
+ /**
88382
+ * Permalink on the network once known, or null.
88383
+ */
88384
+ externalUrl: (string | null);
88385
+ /**
88386
+ * ISO-8601 time it was published, or null.
88387
+ */
88388
+ publishedAt: (string | null);
88389
+ /**
88390
+ * ISO-8601 slot of that publication, or null.
88391
+ */
88392
+ scheduledAt: (string | null);
88393
+ /**
88394
+ * 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.
88395
+ */
88396
+ publicationId: (string | null);
88397
+ }[];
87961
88398
  /**
87962
88399
  * The outputs of this post — a network and a variant each; several may share a network.
87963
88400
  */
@@ -88050,9 +88487,58 @@ export interface ContentPostsToIdeaOutput {
88050
88487
  */
88051
88488
  author: string;
88052
88489
  /**
88053
- * 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.
88490
+ * 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.
88054
88491
  */
88055
- status: ("idea" | "draft" | "pending_approval" | "approved" | "scheduled" | "published" | "failed");
88492
+ status: ("idea" | "draft" | "pending_approval" | "approved" | "scheduled" | "partially_published" | "published" | "failed");
88493
+ /**
88494
+ * 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.
88495
+ */
88496
+ outputs: {
88497
+ /**
88498
+ * 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).
88499
+ */
88500
+ state: ("none" | "open" | "uncertain" | "failed" | "published" | "skipped");
88501
+ /**
88502
+ * The network this output publishes to.
88503
+ */
88504
+ network: string;
88505
+ /**
88506
+ * Whether a person skipped this output. Always false until skipping ships.
88507
+ */
88508
+ skipped: boolean;
88509
+ /**
88510
+ * Its post type, or null on a legacy publication output.
88511
+ */
88512
+ postType: (string | null);
88513
+ /**
88514
+ * The channel that publication goes out on, or null.
88515
+ */
88516
+ channelId: (string | null);
88517
+ /**
88518
+ * Why the deciding publication failed, or null.
88519
+ */
88520
+ lastError: (string | null);
88521
+ /**
88522
+ * The output id (targets[].id). An output a legacy publication names that the post no longer carries is listed too.
88523
+ */
88524
+ variantId: string;
88525
+ /**
88526
+ * Permalink on the network once known, or null.
88527
+ */
88528
+ externalUrl: (string | null);
88529
+ /**
88530
+ * ISO-8601 time it was published, or null.
88531
+ */
88532
+ publishedAt: (string | null);
88533
+ /**
88534
+ * ISO-8601 slot of that publication, or null.
88535
+ */
88536
+ scheduledAt: (string | null);
88537
+ /**
88538
+ * 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.
88539
+ */
88540
+ publicationId: (string | null);
88541
+ }[];
88056
88542
  /**
88057
88543
  * The outputs of this post — a network and a variant each; several may share a network.
88058
88544
  */
@@ -94910,9 +95396,58 @@ export interface ContentPostsUpdateOutput {
94910
95396
  */
94911
95397
  author: string;
94912
95398
  /**
94913
- * 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.
95399
+ * 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.
95400
+ */
95401
+ status: ("idea" | "draft" | "pending_approval" | "approved" | "scheduled" | "partially_published" | "published" | "failed");
95402
+ /**
95403
+ * 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.
94914
95404
  */
94915
- status: ("idea" | "draft" | "pending_approval" | "approved" | "scheduled" | "published" | "failed");
95405
+ outputs: {
95406
+ /**
95407
+ * 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).
95408
+ */
95409
+ state: ("none" | "open" | "uncertain" | "failed" | "published" | "skipped");
95410
+ /**
95411
+ * The network this output publishes to.
95412
+ */
95413
+ network: string;
95414
+ /**
95415
+ * Whether a person skipped this output. Always false until skipping ships.
95416
+ */
95417
+ skipped: boolean;
95418
+ /**
95419
+ * Its post type, or null on a legacy publication output.
95420
+ */
95421
+ postType: (string | null);
95422
+ /**
95423
+ * The channel that publication goes out on, or null.
95424
+ */
95425
+ channelId: (string | null);
95426
+ /**
95427
+ * Why the deciding publication failed, or null.
95428
+ */
95429
+ lastError: (string | null);
95430
+ /**
95431
+ * The output id (targets[].id). An output a legacy publication names that the post no longer carries is listed too.
95432
+ */
95433
+ variantId: string;
95434
+ /**
95435
+ * Permalink on the network once known, or null.
95436
+ */
95437
+ externalUrl: (string | null);
95438
+ /**
95439
+ * ISO-8601 time it was published, or null.
95440
+ */
95441
+ publishedAt: (string | null);
95442
+ /**
95443
+ * ISO-8601 slot of that publication, or null.
95444
+ */
95445
+ scheduledAt: (string | null);
95446
+ /**
95447
+ * 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.
95448
+ */
95449
+ publicationId: (string | null);
95450
+ }[];
94916
95451
  /**
94917
95452
  * The outputs of this post — a network and a variant each; several may share a network.
94918
95453
  */
@@ -95054,6 +95589,10 @@ export interface ContentPublicationsCancelInput {
95054
95589
  * The publication id returned by content_publications_schedule.
95055
95590
  */
95056
95591
  id: string;
95592
+ /**
95593
+ * 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.
95594
+ */
95595
+ checkedNotLive?: boolean;
95057
95596
  }
95058
95597
  export interface ContentPublicationsCancelOutput {
95059
95598
  /**
@@ -117719,6 +118258,332 @@ export interface OrganizationYoutubeInstallInput {
117719
118258
  export interface OrganizationYoutubeInstallOutput {
117720
118259
  url: string;
117721
118260
  }
118261
+ export interface PlaygroundAnalyticsOverviewInput {
118262
+ /**
118263
+ * Max records per entity in recent[]; omit for the endpoint default
118264
+ */
118265
+ limit?: number;
118266
+ }
118267
+ export interface PlaygroundAnalyticsOverviewOutput {
118268
+ ok: boolean;
118269
+ minted: boolean;
118270
+ overview?: unknown;
118271
+ http_status: number;
118272
+ }
118273
+ export interface PlaygroundBillingEntitlementsInput {
118274
+ }
118275
+ export interface PlaygroundBillingEntitlementsOutput {
118276
+ ok: boolean;
118277
+ minted: boolean;
118278
+ http_status: number;
118279
+ entitlements?: unknown;
118280
+ }
118281
+ export interface PlaygroundBillingRecordUsageInput {
118282
+ /**
118283
+ * Quantity of events to record against playground-events (SUM); defaults to 1
118284
+ */
118285
+ value?: number;
118286
+ }
118287
+ export interface PlaygroundBillingRecordUsageOutput {
118288
+ minted: boolean;
118289
+ accepted: (number | null);
118290
+ recorded: boolean;
118291
+ duplicates: (number | null);
118292
+ http_status: number;
118293
+ }
118294
+ export interface PlaygroundClickupCreateTaskInput {
118295
+ /**
118296
+ * Task title; defaults to a fixture label
118297
+ */
118298
+ name?: string;
118299
+ /**
118300
+ * ClickUp list id; falls back to CLICKUP_TEST_LIST_ID
118301
+ */
118302
+ listId?: string;
118303
+ }
118304
+ export interface PlaygroundClickupCreateTaskOutput {
118305
+ minted: boolean;
118306
+ task_id: (string | null);
118307
+ list_status: number;
118308
+ vend_status: number;
118309
+ clickup_status: number;
118310
+ installation_count: number;
118311
+ }
118312
+ export interface PlaygroundClickupGetLastWebhookInput {
118313
+ }
118314
+ export type PlaygroundClickupGetLastWebhookOutput = ({
118315
+ payload: string;
118316
+ event_id: string;
118317
+ provider: string;
118318
+ verified: boolean;
118319
+ product_id: string;
118320
+ occurred_at: string;
118321
+ connector_id: string;
118322
+ clickup_event: (string | null);
118323
+ receipt_count: number;
118324
+ } | {
118325
+ found: false;
118326
+ });
118327
+ export interface PlaygroundClickupGetOverviewInput {
118328
+ }
118329
+ export interface PlaygroundClickupGetOverviewOutput {
118330
+ team: ({
118331
+ teamId: string;
118332
+ teamName: string;
118333
+ } | null);
118334
+ lists: PlaygroundClickupGetOverviewOutputItems[];
118335
+ tasks: {
118336
+ id: string;
118337
+ name: string;
118338
+ status: (string | null);
118339
+ }[];
118340
+ minted: boolean;
118341
+ spaces: PlaygroundClickupGetOverviewOutputItems[];
118342
+ list_status: number;
118343
+ vend_status: number;
118344
+ lists_status: number;
118345
+ tasks_status: number;
118346
+ spaces_status: number;
118347
+ folders_status: number;
118348
+ installation_count: number;
118349
+ }
118350
+ export interface PlaygroundClickupGetOverviewOutputItems {
118351
+ id: string;
118352
+ name: string;
118353
+ }
118354
+ export interface PlaygroundEchoPingInput {
118355
+ /**
118356
+ * The text to echo back, 1–1024 characters
118357
+ */
118358
+ message: string;
118359
+ }
118360
+ export interface PlaygroundEchoPingOutput {
118361
+ /**
118362
+ * The message exactly as it was received
118363
+ */
118364
+ message: string;
118365
+ /**
118366
+ * The product the call was resolved to
118367
+ */
118368
+ productId: string;
118369
+ /**
118370
+ * ISO-8601 instant (UTC) at which the call reached the service
118371
+ */
118372
+ receivedAt: string;
118373
+ }
118374
+ export interface PlaygroundGdriveGetLastChangeInput {
118375
+ }
118376
+ export type PlaygroundGdriveGetLastChangeOutput = ({
118377
+ file_id: string;
118378
+ removed: boolean;
118379
+ file_name: (string | null);
118380
+ mime_type: (string | null);
118381
+ product_id: string;
118382
+ occurred_at: string;
118383
+ connector_id: string;
118384
+ resource_state: string;
118385
+ } | {
118386
+ found: false;
118387
+ });
118388
+ export interface PlaygroundGdriveReadFileInput {
118389
+ /**
118390
+ * Drive file id; falls back to GDRIVE_TEST_FILE_ID, then the first picked file
118391
+ */
118392
+ fileId?: string;
118393
+ }
118394
+ export interface PlaygroundGdriveReadFileOutput {
118395
+ minted: boolean;
118396
+ file_id: (string | null);
118397
+ file_name: (string | null);
118398
+ mime_type: (string | null);
118399
+ file_count: number;
118400
+ get_status: number;
118401
+ list_status: number;
118402
+ vend_status: number;
118403
+ content_bytes: (number | null);
118404
+ }
118405
+ export interface PlaygroundGoogleadsReadCustomerInput {
118406
+ }
118407
+ export interface PlaygroundGoogleadsReadCustomerOutput {
118408
+ minted: boolean;
118409
+ vended: boolean;
118410
+ customer_id: (string | null);
118411
+ vend_status: number;
118412
+ result_count: number;
118413
+ search_status: number;
118414
+ login_customer_id: (string | null);
118415
+ }
118416
+ export interface PlaygroundLifecycleGetStateInput {
118417
+ }
118418
+ export interface PlaygroundLifecycleGetStateOutput {
118419
+ blocked: boolean;
118420
+ archived: boolean;
118421
+ productId: string;
118422
+ lastBlockTransition: ({
118423
+ eventId: string;
118424
+ eventName: string;
118425
+ productId: string;
118426
+ occurredAt: string;
118427
+ recordedAt: string;
118428
+ receiptCount: number;
118429
+ organizationId: string;
118430
+ cascadedFromOrg: boolean;
118431
+ } | null);
118432
+ lastArchiveTransition: ({
118433
+ eventId: string;
118434
+ eventName: string;
118435
+ productId: string;
118436
+ occurredAt: string;
118437
+ recordedAt: string;
118438
+ receiptCount: number;
118439
+ organizationId: string;
118440
+ cascadedFromOrg: boolean;
118441
+ } | null);
118442
+ }
118443
+ export interface PlaygroundLifecycleListEventsInput {
118444
+ }
118445
+ export type PlaygroundLifecycleListEventsOutput = {
118446
+ eventId: string;
118447
+ eventName: string;
118448
+ productId: string;
118449
+ occurredAt: string;
118450
+ recordedAt: string;
118451
+ receiptCount: number;
118452
+ organizationId: string;
118453
+ cascadedFromOrg: boolean;
118454
+ }[];
118455
+ export interface PlaygroundWebhookGetLastInput {
118456
+ }
118457
+ export type PlaygroundWebhookGetLastOutput = ({
118458
+ payload?: unknown;
118459
+ event_id: string;
118460
+ provider: string;
118461
+ verified: boolean;
118462
+ product_id: string;
118463
+ occurred_at: string;
118464
+ connector_id: string;
118465
+ delivery_count: number;
118466
+ } | {
118467
+ found: false;
118468
+ });
118469
+ export interface PlaygroundWorkflowEchoInput {
118470
+ /**
118471
+ * The text to store, 1–1024 characters
118472
+ */
118473
+ note: string;
118474
+ /**
118475
+ * Optional labels stored alongside the note, at most 20
118476
+ *
118477
+ * @maxItems 20
118478
+ */
118479
+ 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];
118480
+ }
118481
+ export interface PlaygroundWorkflowEchoOutput {
118482
+ /**
118483
+ * Identifier of the stored echo
118484
+ */
118485
+ id: string;
118486
+ /**
118487
+ * The note exactly as it was received
118488
+ */
118489
+ note: string;
118490
+ /**
118491
+ * The tags exactly as they were received
118492
+ */
118493
+ tags: string[];
118494
+ /**
118495
+ * 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.
118496
+ */
118497
+ echo_id: string;
118498
+ /**
118499
+ * ISO-8601 instant (UTC) at which the echo was stored
118500
+ */
118501
+ received_at: string;
118502
+ }
118503
+ export interface PlaygroundWorkflowEchoListInput {
118504
+ }
118505
+ export type PlaygroundWorkflowEchoListOutput = {
118506
+ /**
118507
+ * Identifier of the stored echo
118508
+ */
118509
+ id: string;
118510
+ /**
118511
+ * The note exactly as it was received
118512
+ */
118513
+ note: string;
118514
+ /**
118515
+ * The tags exactly as they were received
118516
+ */
118517
+ tags: string[];
118518
+ /**
118519
+ * ISO-8601 instant (UTC) at which the echo was stored
118520
+ */
118521
+ received_at: string;
118522
+ }[];
118523
+ export interface PlaygroundWorkflowPingInput {
118524
+ /**
118525
+ * Class of ping, echoed on the emitted event and filterable on the trigger. Defaults to 'manual'.
118526
+ */
118527
+ kind?: string;
118528
+ }
118529
+ export interface PlaygroundWorkflowPingOutput {
118530
+ /**
118531
+ * 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.
118532
+ */
118533
+ id: string;
118534
+ /**
118535
+ * The name of the event that was published
118536
+ */
118537
+ event: string;
118538
+ }
118539
+ export interface PlaygroundWorkflowSubjectsListInput {
118540
+ /**
118541
+ * How many subjects to return, 1–100. Defaults to 25.
118542
+ */
118543
+ limit?: number;
118544
+ /**
118545
+ * The next_cursor of the previous page. Opaque — pass it back unchanged. Omit for the first page.
118546
+ */
118547
+ cursor?: string;
118548
+ /**
118549
+ * 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.
118550
+ */
118551
+ last_activity_after?: string;
118552
+ /**
118553
+ * 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.
118554
+ */
118555
+ last_activity_before?: string;
118556
+ }
118557
+ export interface PlaygroundWorkflowSubjectsListOutput {
118558
+ /**
118559
+ * This page of subjects, most recently active first
118560
+ */
118561
+ items: {
118562
+ /**
118563
+ * 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.
118564
+ */
118565
+ subject_key: string;
118566
+ /**
118567
+ * Human-readable name of the subject
118568
+ */
118569
+ display_name: string;
118570
+ /**
118571
+ * ISO-8601 instant (UTC) of the subject last activity
118572
+ */
118573
+ last_activity_at: string;
118574
+ }[];
118575
+ /**
118576
+ * Whether another page follows. False and a null next_cursor both mark the last page, so a consumer that loops on either terminates.
118577
+ */
118578
+ has_more: boolean;
118579
+ /**
118580
+ * Pass back as `cursor` to fetch the next page; null on the last page. Always null when has_more is false.
118581
+ */
118582
+ next_cursor: (string | null);
118583
+ }
118584
+ export interface PlaygroundWsEchoInput {
118585
+ }
118586
+ export type PlaygroundWsEchoOutput = unknown;
117722
118587
  export interface RealtimeArchiveExportInput {
117723
118588
  /**
117724
118589
  * Only entries with ts <= to_ts (epoch ms)