Skip to content

Commit 555e288

Browse files
release: @eigenpal/sdk@0.7.2
Released via https://github.com/eigenpal/eigenpal/actions/runs/27472947676 Co-Authored-By: TimurKr <78971904+TimurKr@users.noreply.github.com>
1 parent 34f28d6 commit 555e288

6 files changed

Lines changed: 48 additions & 11 deletions

File tree

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
# @eigenpal/sdk
22

3+
## 0.7.2
4+
5+
### Minor Changes
6+
7+
- c5a709c: Public workflow list/detail responses include `apiEnabled` and `triggers`; run definition docs note workflow-only scope.
8+
39
## 0.7.1
410

511
### Patch Changes

docs/reference.md

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -630,7 +630,7 @@ Connect to live run
630630

631631
Get run definition snapshot
632632

633-
Workflow definition snapshot captured when the run was created.
633+
Workflow definition snapshot captured when the run was created. Workflow runs only; agent runs return not_found.
634634

635635
**Path parameters**
636636

@@ -1119,13 +1119,14 @@ List workflows with pagination.
11191119

11201120
**Query parameters**
11211121

1122-
| Name | Type | Description |
1123-
| -------- | ----------------------- | ---------------------------------------------------- |
1124-
| `search` | `string` | (optional)Substring match against workflow name |
1125-
| `name` | `string` | (optional)Exact-match lookup by workflow name (slug) |
1126-
| `kind` | `"workflow" \| "block"` | (optional)Filter by workflow kind |
1127-
| `limit` | `number` | (optional)Page size (max 100, default 50) |
1128-
| `offset` | `number` | (optional)Page offset |
1122+
| Name | Type | Description |
1123+
| ---------- | ----------------------- | ------------------------------------------------------------------------------------------------ |
1124+
| `search` | `string` | (optional)Substring match against workflow name |
1125+
| `name` | `string` | (optional)Exact-match lookup by workflow name (slug) |
1126+
| `kind` | `"workflow" \| "block"` | (optional)Filter by workflow kind |
1127+
| `folderId` | `string \| null` | (optional)Filter by folder: omit for all workflows, 'null' for root/unfiled only, or a folder id |
1128+
| `limit` | `number` | (optional)Page size (max 100, default 50) |
1129+
| `offset` | `number` | (optional)Page offset |
11291130

11301131
**Response**
11311132

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@eigenpal/sdk",
3-
"version": "0.7.1",
3+
"version": "0.7.2",
44
"description": "Official TypeScript SDK for the EigenPal API",
55
"type": "module",
66
"main": "./src/index.ts",

src/generated/sdk.gen.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -291,7 +291,7 @@ export const runsConnect = <ThrowOnError extends boolean = false>(options: Optio
291291
/**
292292
* Get run definition snapshot
293293
*
294-
* Workflow definition snapshot captured when the run was created.
294+
* Workflow definition snapshot captured when the run was created. Workflow runs only; agent runs return not_found.
295295
*/
296296
export const runsDefinitionGet = <ThrowOnError extends boolean = false>(options: Options<RunsDefinitionGetData, ThrowOnError>) => (options.client ?? client).get<RunsDefinitionGetResponses, RunsDefinitionGetErrors, ThrowOnError>({
297297
security: [{ scheme: 'bearer', type: 'http' }],

src/generated/types.gen.ts

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -705,6 +705,19 @@ export type WorkflowDetail = {
705705
* Current release tag (e.g. "1.2.4"). Null until a version is published.
706706
*/
707707
version?: string | null;
708+
/**
709+
* Whether API trigger is enabled (runtime projection)
710+
*/
711+
apiEnabled?: boolean;
712+
/**
713+
* Runtime trigger projection by type.
714+
*/
715+
triggers?: {
716+
api: boolean;
717+
email: boolean;
718+
manual: boolean;
719+
cron: boolean;
720+
};
708721
createdAt: string;
709722
updatedAt?: string;
710723
/**
@@ -761,6 +774,19 @@ export type WorkflowSummary = {
761774
* Current release tag (e.g. "1.2.4"). Null until a version is published.
762775
*/
763776
version?: string | null;
777+
/**
778+
* Whether API trigger is enabled (runtime projection)
779+
*/
780+
apiEnabled?: boolean;
781+
/**
782+
* Runtime trigger projection by type.
783+
*/
784+
triggers?: {
785+
api: boolean;
786+
email: boolean;
787+
manual: boolean;
788+
cron: boolean;
789+
};
764790
createdAt: string;
765791
updatedAt?: string;
766792
};
@@ -3150,6 +3176,10 @@ export type WorkflowsListData = {
31503176
* Filter by workflow kind
31513177
*/
31523178
kind?: 'workflow' | 'block';
3179+
/**
3180+
* Filter by folder: omit for all workflows, 'null' for root/unfiled only, or a folder id
3181+
*/
3182+
folderId?: string | null;
31533183
/**
31543184
* Page size (max 100, default 50)
31553185
*/

src/telemetry.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
export const SDK_LANGUAGE = 'typescript';
2020
// Rewritten at publish time by scripts/render-sdk-versions.sh.
2121
// Keep this string literal exactly stable — sed matches on it.
22-
export const SDK_VERSION = '0.7.1';
22+
export const SDK_VERSION = '0.7.2';
2323

2424
function detectRuntime(): string {
2525
const g = globalThis as unknown as {

0 commit comments

Comments
 (0)