@lessly/sdk-app 92.9.0 → 92.11.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -115,13 +115,13 @@ before this point lives in that package.
115
115
  The publish pipeline appends its machine-rendered block for the release being
116
116
  built below this line. It is not committed back to the repo, so in a git
117
117
  checkout this section is empty — see the note at the top.
118
- ## 92.9.0 (minor)
119
-
120
- ### consent
121
- - `consent_config_cookie_domain_upsert`: description updated
122
- - `consent_config_floating_icon_upsert`: description updated
123
-
124
- ### realtime
125
- - `realtime_messages_publish`: new optional field `replayed (output)`
126
- - `realtime_messages_publish`: new optional field `messageId (output)`
118
+ ## 92.11.0 (minor)
119
+
120
+ ### workflow
121
+ - `workflow_run_get`: new optional field `history (output)`
122
+ - `workflow_run_get`: description updated
123
+ - `workflow_run_replay`: description updated
124
+ - `workflow_run_replay_all`: description updated
125
+ - `workflow_run_stats`: new optional field `history_deleted_runs (output)`
126
+ - `workflow_run_stats`: description updated
127
127
 
@@ -128156,6 +128156,19 @@ export interface WorkflowRunGetOutput {
128156
128156
  kind: string;
128157
128157
  payload?: unknown;
128158
128158
  }[];
128159
+ /**
128160
+ * Whether the step ledger and the event trace still exist. A finished run keeps them for 30 days by default; after that `steps` and `events` are empty and the run row remains.
128161
+ */
128162
+ history: {
128163
+ /**
128164
+ * Why `steps` and `events` are empty; null while kept.
128165
+ */
128166
+ note: (string | null);
128167
+ /**
128168
+ * `deleted` once the run-history retention policy has taken the trace.
128169
+ */
128170
+ status: ("kept" | "deleted");
128171
+ };
128159
128172
  }
128160
128173
  export interface WorkflowRunListInput {
128161
128174
  /**
@@ -128334,6 +128347,10 @@ export interface WorkflowRunStatsOutput {
128334
128347
  waiting?: number;
128335
128348
  last_run_at?: (string | null);
128336
128349
  workflow_id?: string;
128350
+ /**
128351
+ * Windowed runs whose steps and events the run-history retention policy deleted (30 days after a run ends, by default). They count in `runs` and `failed` but not in `nodes` or `edges`. Present only with `workflow_id`.
128352
+ */
128353
+ history_deleted_runs?: number;
128337
128354
  }
128338
128355
  export interface WorkflowRunTestInput {
128339
128356
  workflow_id: string;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@lessly/sdk-app",
3
3
  "description": "The Lessly SDK for App is a TypeScript SDK that provides runtime bindings and type-safe generated code for interacting with Lessly Platform APIs and services. This package generates type definitions and client bindings from API catalogs, enabling developers to build applications that consume Lessly platform services with full type safety and autocompletion.",
4
- "version": "92.9.0",
4
+ "version": "92.11.0",
5
5
  "repository": {
6
6
  "type": "git",
7
7
  "url": "git+https://github.com/lepsto/lepsto-sdk-app.git"
@@ -220,5 +220,5 @@
220
220
  }
221
221
  }
222
222
  },
223
- "sdkContentHash": "sha256:0484f7d1461a2ebe48e9721811fead109c747a78873cc34e4c9f4d619d75ba80"
223
+ "sdkContentHash": "sha256:e136164cf1e2e9554b8f2d810598843d2b5d92fc99deee5b6b17b52725f75ca3"
224
224
  }
@@ -121675,6 +121675,19 @@ seq: number
121675
121675
  kind: string
121676
121676
  payload?: unknown
121677
121677
  }[]
121678
+ /**
121679
+ * Whether the step ledger and the event trace still exist. A finished run keeps them for 30 days by default; after that `steps` and `events` are empty and the run row remains.
121680
+ */
121681
+ history: {
121682
+ /**
121683
+ * Why `steps` and `events` are empty; null while kept.
121684
+ */
121685
+ note: (string | null)
121686
+ /**
121687
+ * `deleted` once the run-history retention policy has taken the trace.
121688
+ */
121689
+ status: ("kept" | "deleted")
121690
+ }
121678
121691
  }
121679
121692
 
121680
121693
  export interface WorkflowRunListInput {
@@ -121863,6 +121876,10 @@ window: string
121863
121876
  waiting?: number
121864
121877
  last_run_at?: (string | null)
121865
121878
  workflow_id?: string
121879
+ /**
121880
+ * Windowed runs whose steps and events the run-history retention policy deleted (30 days after a run ends, by default). They count in `runs` and `failed` but not in `nodes` or `edges`. Present only with `workflow_id`.
121881
+ */
121882
+ history_deleted_runs?: number
121866
121883
  }
121867
121884
 
121868
121885
  export interface WorkflowRunTestInput {