@lessly/sdk-app 74.9.0 → 75.0.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.
@@ -67739,7 +67739,7 @@ capturedAt: string
67739
67739
  /**
67740
67740
  * The network the channel publishes to.
67741
67741
  */
67742
- network: string
67742
+ network: ("linkedin" | "x" | "youtube" | "instagram" | "reddit")
67743
67743
  /**
67744
67744
  * What this network reports for this account. "none" means no snapshot will ever be taken — a personal Instagram profile has no API at all; "basic" means fewer numbers than a business account gets, so an absent metric is the network's silence, not a zero.
67745
67745
  */
@@ -67770,6 +67770,39 @@ limit?: number
67770
67770
  }
67771
67771
 
67772
67772
  export interface ContentMetricsPostSeriesOutput {
67773
+ /**
67774
+ * The newest snapshot as flat, named numbers — what to read when you want "how is this post doing" rather than the whole curve. Null when nothing has been captured yet.
67775
+ */
67776
+ latest: ({
67777
+ /**
67778
+ * Likes. Null when this network does not report it.
67779
+ */
67780
+ likes: (number | null)
67781
+ /**
67782
+ * Plays, on a video surface. Distinct from impressions — YouTube reports one, not both. Null when this network does not report it.
67783
+ */
67784
+ views: (number | null)
67785
+ /**
67786
+ * Clicks on the post or its link. Null when this network does not report it.
67787
+ */
67788
+ clicks: (number | null)
67789
+ /**
67790
+ * Reposts, retweets, shares — whatever the network calls passing it on. Null when this network does not report it.
67791
+ */
67792
+ shares: (number | null)
67793
+ /**
67794
+ * Comments or replies. Null when this network does not report it.
67795
+ */
67796
+ comments: (number | null)
67797
+ /**
67798
+ * ISO-8601 time this snapshot was taken.
67799
+ */
67800
+ capturedAt: string
67801
+ /**
67802
+ * Times the post was served. Null when this network does not report it.
67803
+ */
67804
+ impressions: (number | null)
67805
+ } | null)
67773
67806
  /**
67774
67807
  * Snapshots oldest first. Readings over time, not a current value: reach keeps growing for weeks. Empty means nothing has been captured yet.
67775
67808
  */
@@ -67786,9 +67819,9 @@ metrics: {
67786
67819
  capturedAt: string
67787
67820
  }[]
67788
67821
  /**
67789
- * The network the channel publishes to.
67822
+ * The network the channel publishes to. "unknown" means the channel behind this publication can no longer be read — the publication outlives the channel binding.
67790
67823
  */
67791
- network: string
67824
+ network: ("linkedin" | "x" | "youtube" | "instagram" | "reddit" | "unknown")
67792
67825
  /**
67793
67826
  * What this network reports for this account. "none" means no snapshot will ever be taken — a personal Instagram profile has no API at all; "basic" means fewer numbers than a business account gets, so an absent metric is the network's silence, not a zero.
67794
67827
  */
@@ -68298,9 +68331,9 @@ attempts: number
68298
68331
  */
68299
68332
  channelId: string
68300
68333
  /**
68301
- * Which rate produced costUsd: "plain", "link" or "free".
68334
+ * Which rate produced costUsd: `plain` the flat per-post rate, `link` the higher rate a post carrying a link is charged, `free` a channel whose rates are both zero. Null when the cost is not known.
68302
68335
  */
68303
- costBasis: (string | null)
68336
+ costBasis: (("plain" | "link" | "free") | null)
68304
68337
  /**
68305
68338
  * ISO-8601 creation time.
68306
68339
  */
@@ -68329,6 +68362,10 @@ publishedAt: (string | null)
68329
68362
  * ISO-8601 time the publication is due.
68330
68363
  */
68331
68364
  scheduledAt: string
68365
+ /**
68366
+ * The publication id again, under the name the content/publication.settled event uses to report this publication finishing. Always identical to id.
68367
+ */
68368
+ publicationId: string
68332
68369
  /**
68333
68370
  * How many reminders have been sent for this publication.
68334
68371
  */
@@ -68388,9 +68425,9 @@ attempts: number
68388
68425
  */
68389
68426
  channelId: string
68390
68427
  /**
68391
- * Which rate produced costUsd: "plain", "link" or "free".
68428
+ * Which rate produced costUsd: `plain` the flat per-post rate, `link` the higher rate a post carrying a link is charged, `free` a channel whose rates are both zero. Null when the cost is not known.
68392
68429
  */
68393
- costBasis: (string | null)
68430
+ costBasis: (("plain" | "link" | "free") | null)
68394
68431
  /**
68395
68432
  * ISO-8601 creation time.
68396
68433
  */
@@ -68419,6 +68456,10 @@ publishedAt: (string | null)
68419
68456
  * ISO-8601 time the publication is due.
68420
68457
  */
68421
68458
  scheduledAt: string
68459
+ /**
68460
+ * The publication id again, under the name the content/publication.settled event uses to report this publication finishing. Always identical to id.
68461
+ */
68462
+ publicationId: string
68422
68463
  /**
68423
68464
  * How many reminders have been sent for this publication.
68424
68465
  */
@@ -68470,9 +68511,9 @@ attempts: number
68470
68511
  */
68471
68512
  channelId: string
68472
68513
  /**
68473
- * Which rate produced costUsd: "plain", "link" or "free".
68514
+ * Which rate produced costUsd: `plain` the flat per-post rate, `link` the higher rate a post carrying a link is charged, `free` a channel whose rates are both zero. Null when the cost is not known.
68474
68515
  */
68475
- costBasis: (string | null)
68516
+ costBasis: (("plain" | "link" | "free") | null)
68476
68517
  /**
68477
68518
  * ISO-8601 creation time.
68478
68519
  */
@@ -68501,6 +68542,10 @@ publishedAt: (string | null)
68501
68542
  * ISO-8601 time the publication is due.
68502
68543
  */
68503
68544
  scheduledAt: string
68545
+ /**
68546
+ * The publication id again, under the name the content/publication.settled event uses to report this publication finishing. Always identical to id.
68547
+ */
68548
+ publicationId: string
68504
68549
  /**
68505
68550
  * How many reminders have been sent for this publication.
68506
68551
  */
@@ -68584,9 +68629,9 @@ attempts: number
68584
68629
  */
68585
68630
  channelId: string
68586
68631
  /**
68587
- * Which rate produced costUsd: "plain", "link" or "free".
68632
+ * Which rate produced costUsd: `plain` the flat per-post rate, `link` the higher rate a post carrying a link is charged, `free` a channel whose rates are both zero. Null when the cost is not known.
68588
68633
  */
68589
- costBasis: (string | null)
68634
+ costBasis: (("plain" | "link" | "free") | null)
68590
68635
  /**
68591
68636
  * ISO-8601 creation time.
68592
68637
  */
@@ -68615,6 +68660,10 @@ publishedAt: (string | null)
68615
68660
  * ISO-8601 time the publication is due.
68616
68661
  */
68617
68662
  scheduledAt: string
68663
+ /**
68664
+ * The publication id again, under the name the content/publication.settled event uses to report this publication finishing. Always identical to id.
68665
+ */
68666
+ publicationId: string
68618
68667
  /**
68619
68668
  * How many reminders have been sent for this publication.
68620
68669
  */
@@ -68679,9 +68728,9 @@ attempts: number
68679
68728
  */
68680
68729
  channelId: string
68681
68730
  /**
68682
- * Which rate produced costUsd: "plain", "link" or "free".
68731
+ * Which rate produced costUsd: `plain` the flat per-post rate, `link` the higher rate a post carrying a link is charged, `free` a channel whose rates are both zero. Null when the cost is not known.
68683
68732
  */
68684
- costBasis: (string | null)
68733
+ costBasis: (("plain" | "link" | "free") | null)
68685
68734
  /**
68686
68735
  * ISO-8601 creation time.
68687
68736
  */
@@ -68710,6 +68759,10 @@ publishedAt: (string | null)
68710
68759
  * ISO-8601 time the publication is due.
68711
68760
  */
68712
68761
  scheduledAt: string
68762
+ /**
68763
+ * The publication id again, under the name the content/publication.settled event uses to report this publication finishing. Always identical to id.
68764
+ */
68765
+ publicationId: string
68713
68766
  /**
68714
68767
  * How many reminders have been sent for this publication.
68715
68768
  */
@@ -68761,9 +68814,9 @@ attempts: number
68761
68814
  */
68762
68815
  channelId: string
68763
68816
  /**
68764
- * Which rate produced costUsd: "plain", "link" or "free".
68817
+ * Which rate produced costUsd: `plain` the flat per-post rate, `link` the higher rate a post carrying a link is charged, `free` a channel whose rates are both zero. Null when the cost is not known.
68765
68818
  */
68766
- costBasis: (string | null)
68819
+ costBasis: (("plain" | "link" | "free") | null)
68767
68820
  /**
68768
68821
  * ISO-8601 creation time.
68769
68822
  */
@@ -68792,6 +68845,10 @@ publishedAt: (string | null)
68792
68845
  * ISO-8601 time the publication is due.
68793
68846
  */
68794
68847
  scheduledAt: string
68848
+ /**
68849
+ * The publication id again, under the name the content/publication.settled event uses to report this publication finishing. Always identical to id.
68850
+ */
68851
+ publicationId: string
68795
68852
  /**
68796
68853
  * How many reminders have been sent for this publication.
68797
68854
  */
@@ -68847,9 +68904,9 @@ attempts: number
68847
68904
  */
68848
68905
  channelId: string
68849
68906
  /**
68850
- * Which rate produced costUsd: "plain", "link" or "free".
68907
+ * Which rate produced costUsd: `plain` the flat per-post rate, `link` the higher rate a post carrying a link is charged, `free` a channel whose rates are both zero. Null when the cost is not known.
68851
68908
  */
68852
- costBasis: (string | null)
68909
+ costBasis: (("plain" | "link" | "free") | null)
68853
68910
  /**
68854
68911
  * ISO-8601 creation time.
68855
68912
  */
@@ -68878,6 +68935,10 @@ publishedAt: (string | null)
68878
68935
  * ISO-8601 time the publication is due.
68879
68936
  */
68880
68937
  scheduledAt: string
68938
+ /**
68939
+ * The publication id again, under the name the content/publication.settled event uses to report this publication finishing. Always identical to id.
68940
+ */
68941
+ publicationId: string
68881
68942
  /**
68882
68943
  * How many reminders have been sent for this publication.
68883
68944
  */
@@ -68945,9 +69006,9 @@ attempts: number
68945
69006
  */
68946
69007
  channelId: string
68947
69008
  /**
68948
- * Which rate produced costUsd: "plain", "link" or "free".
69009
+ * Which rate produced costUsd: `plain` the flat per-post rate, `link` the higher rate a post carrying a link is charged, `free` a channel whose rates are both zero. Null when the cost is not known.
68949
69010
  */
68950
- costBasis: (string | null)
69011
+ costBasis: (("plain" | "link" | "free") | null)
68951
69012
  /**
68952
69013
  * ISO-8601 creation time.
68953
69014
  */
@@ -68976,6 +69037,10 @@ publishedAt: (string | null)
68976
69037
  * ISO-8601 time the publication is due.
68977
69038
  */
68978
69039
  scheduledAt: string
69040
+ /**
69041
+ * The publication id again, under the name the content/publication.settled event uses to report this publication finishing. Always identical to id.
69042
+ */
69043
+ publicationId: string
68979
69044
  /**
68980
69045
  * How many reminders have been sent for this publication.
68981
69046
  */
@@ -70899,6 +70964,10 @@ scheduledAt?: string
70899
70964
  }
70900
70965
 
70901
70966
  export interface ContentPublicationsValidateOutput {
70967
+ /**
70968
+ * True when nothing blocks scheduling. False when any channel carries an issue of severity "error" — the same fact as the issue list below, stated once so it can be branched on.
70969
+ */
70970
+ ok: boolean
70902
70971
  /**
70903
70972
  * The post that was checked.
70904
70973
  */
@@ -70916,9 +70985,9 @@ text: string
70916
70985
  */
70917
70986
  issues: {
70918
70987
  /**
70919
- * Stable machine code: text_empty, text_too_long, too_many_media, link_not_supported, media_missing, media_not_ready, media_not_supported, cost_unknown, daily_ceiling_exceeded.
70988
+ * Stable machine code for what is wrong: text_empty, text_too_long, too_many_media, link_not_supported, multiple_links, media_missing, media_not_ready, media_not_supported, video_required, cost_unknown, daily_ceiling_exceeded.
70920
70989
  */
70921
- code: string
70990
+ code: ("text_empty" | "text_too_long" | "too_many_media" | "link_not_supported" | "multiple_links" | "media_missing" | "media_not_ready" | "media_not_supported" | "video_required" | "cost_unknown" | "daily_ceiling_exceeded")
70922
70991
  /**
70923
70992
  * Which input the issue is about, when it is about one.
70924
70993
  */
@@ -70956,15 +71025,15 @@ costUsd: (number | null)
70956
71025
  /**
70957
71026
  * The network behind that channel.
70958
71027
  */
70959
- network: string
71028
+ network: ("linkedin" | "x" | "youtube" | "instagram" | "reddit")
70960
71029
  /**
70961
71030
  * The channel this result is for.
70962
71031
  */
70963
71032
  channelId: string
70964
71033
  /**
70965
- * Which rate produced costUsd: "plain", "link" or "free".
71034
+ * Which rate produced costUsd: `plain` the flat per-post rate, `link` the higher rate a post carrying a link is charged, `free` a channel whose rates are both zero. Null when the cost cannot be computed.
70966
71035
  */
70967
- costBasis: (string | null)
71036
+ costBasis: (("plain" | "link" | "free") | null)
70968
71037
  /**
70969
71038
  * The channel as a person sees it.
70970
71039
  */
@@ -70974,6 +71043,14 @@ displayName: string
70974
71043
  */
70975
71044
  renderedText: string
70976
71045
  }[]
71046
+ /**
71047
+ * How many error-severity issues there are across every channel. Warnings are not counted: they do not block scheduling.
71048
+ */
71049
+ errorCount: number
71050
+ /**
71051
+ * The first error message in report order, ready to show a person or put in a notification. Null when there are no errors.
71052
+ */
71053
+ firstErrorMessage: (string | null)
70977
71054
  }
70978
71055
 
70979
71056
  export interface DeploymentAlertCreateInput {
@@ -87694,6 +87771,378 @@ export interface OrganizationYoutubeInstallOutput {
87694
87771
  url: string
87695
87772
  }
87696
87773
 
87774
+ export interface PlaygroundAnalyticsOverviewInput {
87775
+ /**
87776
+ * Max records per entity in recent[]; omit for the endpoint default
87777
+ */
87778
+ limit?: number
87779
+ }
87780
+
87781
+ export interface PlaygroundAnalyticsOverviewOutput {
87782
+ ok: boolean
87783
+ minted: boolean
87784
+ overview?: unknown
87785
+ http_status: number
87786
+ }
87787
+
87788
+ export interface PlaygroundBillingEntitlementsInput {
87789
+
87790
+ }
87791
+
87792
+ export interface PlaygroundBillingEntitlementsOutput {
87793
+ ok: boolean
87794
+ minted: boolean
87795
+ http_status: number
87796
+ entitlements?: unknown
87797
+ }
87798
+
87799
+ export interface PlaygroundBillingRecordUsageInput {
87800
+ /**
87801
+ * Quantity of events to record against playground-events (SUM); defaults to 1
87802
+ */
87803
+ value?: number
87804
+ }
87805
+
87806
+ export interface PlaygroundBillingRecordUsageOutput {
87807
+ minted: boolean
87808
+ accepted: (number | null)
87809
+ recorded: boolean
87810
+ duplicates: (number | null)
87811
+ http_status: number
87812
+ }
87813
+
87814
+ export interface PlaygroundClickupCreateTaskInput {
87815
+ /**
87816
+ * Task title; defaults to a fixture label
87817
+ */
87818
+ name?: string
87819
+ /**
87820
+ * ClickUp list id; falls back to CLICKUP_TEST_LIST_ID
87821
+ */
87822
+ listId?: string
87823
+ }
87824
+
87825
+ export interface PlaygroundClickupCreateTaskOutput {
87826
+ minted: boolean
87827
+ task_id: (string | null)
87828
+ list_status: number
87829
+ vend_status: number
87830
+ clickup_status: number
87831
+ installation_count: number
87832
+ }
87833
+
87834
+ export interface PlaygroundClickupGetLastWebhookInput {
87835
+
87836
+ }
87837
+
87838
+ export type PlaygroundClickupGetLastWebhookOutput = ({
87839
+ payload: string
87840
+ event_id: string
87841
+ provider: string
87842
+ verified: boolean
87843
+ product_id: string
87844
+ occurred_at: string
87845
+ connector_id: string
87846
+ clickup_event: (string | null)
87847
+ receipt_count: number
87848
+ } | {
87849
+ found: false
87850
+ })
87851
+
87852
+ export interface PlaygroundClickupGetOverviewInput {
87853
+
87854
+ }
87855
+
87856
+ export interface PlaygroundClickupGetOverviewOutput {
87857
+ team: ({
87858
+ teamId: string
87859
+ teamName: string
87860
+ } | null)
87861
+ lists: PlaygroundClickupGetOverviewOutputItems[]
87862
+ tasks: {
87863
+ id: string
87864
+ name: string
87865
+ status: (string | null)
87866
+ }[]
87867
+ minted: boolean
87868
+ spaces: PlaygroundClickupGetOverviewOutputItems[]
87869
+ list_status: number
87870
+ vend_status: number
87871
+ lists_status: number
87872
+ tasks_status: number
87873
+ spaces_status: number
87874
+ folders_status: number
87875
+ installation_count: number
87876
+ }
87877
+ export interface PlaygroundClickupGetOverviewOutputItems {
87878
+ id: string
87879
+ name: string
87880
+ }
87881
+
87882
+ export interface PlaygroundEchoPingInput {
87883
+ /**
87884
+ * The text to echo back, 1–1024 characters
87885
+ */
87886
+ message: string
87887
+ }
87888
+
87889
+ export interface PlaygroundEchoPingOutput {
87890
+ /**
87891
+ * The message exactly as it was received
87892
+ */
87893
+ message: string
87894
+ /**
87895
+ * The product the call was resolved to
87896
+ */
87897
+ productId: string
87898
+ /**
87899
+ * ISO-8601 instant (UTC) at which the call reached the service
87900
+ */
87901
+ receivedAt: string
87902
+ }
87903
+
87904
+ export interface PlaygroundGdriveGetLastChangeInput {
87905
+
87906
+ }
87907
+
87908
+ export type PlaygroundGdriveGetLastChangeOutput = ({
87909
+ file_id: string
87910
+ removed: boolean
87911
+ file_name: (string | null)
87912
+ mime_type: (string | null)
87913
+ product_id: string
87914
+ occurred_at: string
87915
+ connector_id: string
87916
+ resource_state: string
87917
+ } | {
87918
+ found: false
87919
+ })
87920
+
87921
+ export interface PlaygroundGdriveReadFileInput {
87922
+ /**
87923
+ * Drive file id; falls back to GDRIVE_TEST_FILE_ID, then the first picked file
87924
+ */
87925
+ fileId?: string
87926
+ }
87927
+
87928
+ export interface PlaygroundGdriveReadFileOutput {
87929
+ minted: boolean
87930
+ file_id: (string | null)
87931
+ file_name: (string | null)
87932
+ mime_type: (string | null)
87933
+ file_count: number
87934
+ get_status: number
87935
+ list_status: number
87936
+ vend_status: number
87937
+ content_bytes: (number | null)
87938
+ }
87939
+
87940
+ export interface PlaygroundGoogleadsReadCustomerInput {
87941
+
87942
+ }
87943
+
87944
+ export interface PlaygroundGoogleadsReadCustomerOutput {
87945
+ minted: boolean
87946
+ vended: boolean
87947
+ customer_id: (string | null)
87948
+ vend_status: number
87949
+ result_count: number
87950
+ search_status: number
87951
+ login_customer_id: (string | null)
87952
+ }
87953
+
87954
+ export interface PlaygroundLifecycleGetStateInput {
87955
+
87956
+ }
87957
+
87958
+ export interface PlaygroundLifecycleGetStateOutput {
87959
+ blocked: boolean
87960
+ archived: boolean
87961
+ productId: string
87962
+ lastBlockTransition: ({
87963
+ eventId: string
87964
+ eventName: string
87965
+ productId: string
87966
+ occurredAt: string
87967
+ recordedAt: string
87968
+ receiptCount: number
87969
+ organizationId: string
87970
+ cascadedFromOrg: boolean
87971
+ } | null)
87972
+ lastArchiveTransition: ({
87973
+ eventId: string
87974
+ eventName: string
87975
+ productId: string
87976
+ occurredAt: string
87977
+ recordedAt: string
87978
+ receiptCount: number
87979
+ organizationId: string
87980
+ cascadedFromOrg: boolean
87981
+ } | null)
87982
+ }
87983
+
87984
+ export interface PlaygroundLifecycleListEventsInput {
87985
+
87986
+ }
87987
+
87988
+ export type PlaygroundLifecycleListEventsOutput = {
87989
+ eventId: string
87990
+ eventName: string
87991
+ productId: string
87992
+ occurredAt: string
87993
+ recordedAt: string
87994
+ receiptCount: number
87995
+ organizationId: string
87996
+ cascadedFromOrg: boolean
87997
+ }[]
87998
+
87999
+ export interface PlaygroundWebhookGetLastInput {
88000
+
88001
+ }
88002
+
88003
+ export type PlaygroundWebhookGetLastOutput = ({
88004
+ payload?: unknown
88005
+ event_id: string
88006
+ provider: string
88007
+ verified: boolean
88008
+ product_id: string
88009
+ occurred_at: string
88010
+ connector_id: string
88011
+ delivery_count: number
88012
+ } | {
88013
+ found: false
88014
+ })
88015
+
88016
+ export interface PlaygroundWorkflowEchoInput {
88017
+ /**
88018
+ * The text to store, 1–1024 characters
88019
+ */
88020
+ note: string
88021
+ /**
88022
+ * Optional labels stored alongside the note, at most 20
88023
+ *
88024
+ * @maxItems 20
88025
+ */
88026
+ 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]
88027
+ }
88028
+
88029
+ export interface PlaygroundWorkflowEchoOutput {
88030
+ /**
88031
+ * Identifier of the stored echo
88032
+ */
88033
+ id: string
88034
+ /**
88035
+ * The note exactly as it was received
88036
+ */
88037
+ note: string
88038
+ /**
88039
+ * The tags exactly as they were received
88040
+ */
88041
+ tags: string[]
88042
+ /**
88043
+ * 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.
88044
+ */
88045
+ echo_id: string
88046
+ /**
88047
+ * ISO-8601 instant (UTC) at which the echo was stored
88048
+ */
88049
+ received_at: string
88050
+ }
88051
+
88052
+ export interface PlaygroundWorkflowEchoListInput {
88053
+
88054
+ }
88055
+
88056
+ export type PlaygroundWorkflowEchoListOutput = {
88057
+ /**
88058
+ * Identifier of the stored echo
88059
+ */
88060
+ id: string
88061
+ /**
88062
+ * The note exactly as it was received
88063
+ */
88064
+ note: string
88065
+ /**
88066
+ * The tags exactly as they were received
88067
+ */
88068
+ tags: string[]
88069
+ /**
88070
+ * ISO-8601 instant (UTC) at which the echo was stored
88071
+ */
88072
+ received_at: string
88073
+ }[]
88074
+
88075
+ export interface PlaygroundWorkflowPingInput {
88076
+ /**
88077
+ * Class of ping, echoed on the emitted event and filterable on the trigger. Defaults to 'manual'.
88078
+ */
88079
+ kind?: string
88080
+ }
88081
+
88082
+ export interface PlaygroundWorkflowPingOutput {
88083
+ /**
88084
+ * 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.
88085
+ */
88086
+ id: string
88087
+ /**
88088
+ * The name of the event that was published
88089
+ */
88090
+ event: string
88091
+ }
88092
+
88093
+ export interface PlaygroundWorkflowSubjectsListInput {
88094
+ /**
88095
+ * How many subjects to return, 1–100. Defaults to 25.
88096
+ */
88097
+ limit?: number
88098
+ /**
88099
+ * The next_cursor of the previous page. Opaque — pass it back unchanged. Omit for the first page.
88100
+ */
88101
+ cursor?: string
88102
+ /**
88103
+ * 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.
88104
+ */
88105
+ last_activity_after?: string
88106
+ /**
88107
+ * 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.
88108
+ */
88109
+ last_activity_before?: string
88110
+ }
88111
+
88112
+ export interface PlaygroundWorkflowSubjectsListOutput {
88113
+ /**
88114
+ * This page of subjects, most recently active first
88115
+ */
88116
+ items: {
88117
+ /**
88118
+ * 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.
88119
+ */
88120
+ subject_key: string
88121
+ /**
88122
+ * Human-readable name of the subject
88123
+ */
88124
+ display_name: string
88125
+ /**
88126
+ * ISO-8601 instant (UTC) of the subject last activity
88127
+ */
88128
+ last_activity_at: string
88129
+ }[]
88130
+ /**
88131
+ * Whether another page follows. False and a null next_cursor both mark the last page, so a consumer that loops on either terminates.
88132
+ */
88133
+ has_more: boolean
88134
+ /**
88135
+ * Pass back as `cursor` to fetch the next page; null on the last page. Always null when has_more is false.
88136
+ */
88137
+ next_cursor: (string | null)
88138
+ }
88139
+
88140
+ export interface PlaygroundWsEchoInput {
88141
+
88142
+ }
88143
+
88144
+ export type PlaygroundWsEchoOutput = unknown;
88145
+
87697
88146
  export interface RealtimeArchiveExportInput {
87698
88147
  /**
87699
88148
  * Only entries with ts <= to_ts (epoch ms)