windmill-client 1.772.0 → 1.773.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.
@@ -29,7 +29,7 @@ const OpenAPI = {
29
29
  PASSWORD: void 0,
30
30
  TOKEN: getEnv("WM_TOKEN"),
31
31
  USERNAME: void 0,
32
- VERSION: "1.772.0",
32
+ VERSION: "1.773.0",
33
33
  WITH_CREDENTIALS: true,
34
34
  interceptors: {
35
35
  request: new Interceptors(),
package/dist/index.js CHANGED
@@ -126,7 +126,7 @@ const OpenAPI = {
126
126
  PASSWORD: void 0,
127
127
  TOKEN: getEnv$1("WM_TOKEN"),
128
128
  USERNAME: void 0,
129
- VERSION: "1.772.0",
129
+ VERSION: "1.773.0",
130
130
  WITH_CREDENTIALS: true,
131
131
  interceptors: {
132
132
  request: new Interceptors(),
@@ -7476,6 +7476,7 @@ var ScriptService = class {
7476
7476
  * @param data.search case-insensitive substring match on summary or path
7477
7477
  * @param data.perPage number of items to return for a given page (default 30, max 100)
7478
7478
  * @param data.cursor opaque keyset cursor from a previous page's next_cursor
7479
+ * @param data.includeDraftOnly also list the caller's drafts at paths with no deployed row, sorted and paginated with the deployed ones. Ignored for operators, in the archived view, and under a label filter (a draft carries no labels).
7479
7480
  * @returns unknown a page of merged, ordered runnables
7480
7481
  * @throws ApiError
7481
7482
  */
@@ -7494,7 +7495,8 @@ var ScriptService = class {
7494
7495
  label: data.label,
7495
7496
  search: data.search,
7496
7497
  per_page: data.perPage,
7497
- cursor: data.cursor
7498
+ cursor: data.cursor,
7499
+ include_draft_only: data.includeDraftOnly
7498
7500
  }
7499
7501
  });
7500
7502
  }
@@ -7504,6 +7506,7 @@ var ScriptService = class {
7504
7506
  * @param data.workspace
7505
7507
  * @param data.kinds comma-separated subset of script,flow,app (default all)
7506
7508
  * @param data.includeWithoutMain include library scripts (no runnable main)
7509
+ * @param data.includeDraftOnly also count the caller's drafts at paths with no deployed row, matching the same flag on /runnables/list
7507
7510
  * @returns unknown number of runnables per owner prefix, empty owners omitted. Excludes data-pipeline member scripts, which are listed as their folder's single pipeline entry rather than as runnables.
7508
7511
  * @throws ApiError
7509
7512
  */
@@ -7514,7 +7517,8 @@ var ScriptService = class {
7514
7517
  path: { workspace: data.workspace },
7515
7518
  query: {
7516
7519
  kinds: data.kinds,
7517
- include_without_main: data.includeWithoutMain
7520
+ include_without_main: data.includeWithoutMain,
7521
+ include_draft_only: data.includeDraftOnly
7518
7522
  }
7519
7523
  });
7520
7524
  }
@@ -3787,6 +3787,7 @@ export declare class ScriptService {
3787
3787
  * @param data.search case-insensitive substring match on summary or path
3788
3788
  * @param data.perPage number of items to return for a given page (default 30, max 100)
3789
3789
  * @param data.cursor opaque keyset cursor from a previous page's next_cursor
3790
+ * @param data.includeDraftOnly also list the caller's drafts at paths with no deployed row, sorted and paginated with the deployed ones. Ignored for operators, in the archived view, and under a label filter (a draft carries no labels).
3790
3791
  * @returns unknown a page of merged, ordered runnables
3791
3792
  * @throws ApiError
3792
3793
  */
@@ -3797,6 +3798,7 @@ export declare class ScriptService {
3797
3798
  * @param data.workspace
3798
3799
  * @param data.kinds comma-separated subset of script,flow,app (default all)
3799
3800
  * @param data.includeWithoutMain include library scripts (no runnable main)
3801
+ * @param data.includeDraftOnly also count the caller's drafts at paths with no deployed row, matching the same flag on /runnables/list
3800
3802
  * @returns unknown number of runnables per owner prefix, empty owners omitted. Excludes data-pipeline member scripts, which are listed as their folder's single pipeline entry rather than as runnables.
3801
3803
  * @throws ApiError
3802
3804
  */
@@ -7108,6 +7108,7 @@ var ScriptService = class {
7108
7108
  * @param data.search case-insensitive substring match on summary or path
7109
7109
  * @param data.perPage number of items to return for a given page (default 30, max 100)
7110
7110
  * @param data.cursor opaque keyset cursor from a previous page's next_cursor
7111
+ * @param data.includeDraftOnly also list the caller's drafts at paths with no deployed row, sorted and paginated with the deployed ones. Ignored for operators, in the archived view, and under a label filter (a draft carries no labels).
7111
7112
  * @returns unknown a page of merged, ordered runnables
7112
7113
  * @throws ApiError
7113
7114
  */
@@ -7126,7 +7127,8 @@ var ScriptService = class {
7126
7127
  label: data.label,
7127
7128
  search: data.search,
7128
7129
  per_page: data.perPage,
7129
- cursor: data.cursor
7130
+ cursor: data.cursor,
7131
+ include_draft_only: data.includeDraftOnly
7130
7132
  }
7131
7133
  });
7132
7134
  }
@@ -7136,6 +7138,7 @@ var ScriptService = class {
7136
7138
  * @param data.workspace
7137
7139
  * @param data.kinds comma-separated subset of script,flow,app (default all)
7138
7140
  * @param data.includeWithoutMain include library scripts (no runnable main)
7141
+ * @param data.includeDraftOnly also count the caller's drafts at paths with no deployed row, matching the same flag on /runnables/list
7139
7142
  * @returns unknown number of runnables per owner prefix, empty owners omitted. Excludes data-pipeline member scripts, which are listed as their folder's single pipeline entry rather than as runnables.
7140
7143
  * @throws ApiError
7141
7144
  */
@@ -7146,7 +7149,8 @@ var ScriptService = class {
7146
7149
  path: { workspace: data.workspace },
7147
7150
  query: {
7148
7151
  kinds: data.kinds,
7149
- include_without_main: data.includeWithoutMain
7152
+ include_without_main: data.includeWithoutMain,
7153
+ include_draft_only: data.includeDraftOnly
7150
7154
  }
7151
7155
  });
7152
7156
  }
@@ -10494,6 +10494,10 @@ export type ListRunnablesData = {
10494
10494
  * opaque keyset cursor from a previous page's next_cursor
10495
10495
  */
10496
10496
  cursor?: string;
10497
+ /**
10498
+ * also list the caller's drafts at paths with no deployed row, sorted and paginated with the deployed ones. Ignored for operators, in the archived view, and under a label filter (a draft carries no labels).
10499
+ */
10500
+ includeDraftOnly?: boolean;
10497
10501
  /**
10498
10502
  * include library scripts (no runnable main)
10499
10503
  */
@@ -10531,6 +10535,10 @@ export type ListRunnablesResponse = {
10531
10535
  next_cursor?: string;
10532
10536
  };
10533
10537
  export type CountRunnablesByOwnerData = {
10538
+ /**
10539
+ * also count the caller's drafts at paths with no deployed row, matching the same flag on /runnables/list
10540
+ */
10541
+ includeDraftOnly?: boolean;
10534
10542
  /**
10535
10543
  * include library scripts (no runnable main)
10536
10544
  */
@@ -23945,6 +23953,10 @@ export type $OpenApiTs = {
23945
23953
  * opaque keyset cursor from a previous page's next_cursor
23946
23954
  */
23947
23955
  cursor?: string;
23956
+ /**
23957
+ * also list the caller's drafts at paths with no deployed row, sorted and paginated with the deployed ones. Ignored for operators, in the archived view, and under a label filter (a draft carries no labels).
23958
+ */
23959
+ includeDraftOnly?: boolean;
23948
23960
  /**
23949
23961
  * include library scripts (no runnable main)
23950
23962
  */
@@ -23991,6 +24003,10 @@ export type $OpenApiTs = {
23991
24003
  '/w/{workspace}/runnables/counts': {
23992
24004
  get: {
23993
24005
  req: {
24006
+ /**
24007
+ * also count the caller's drafts at paths with no deployed row, matching the same flag on /runnables/list
24008
+ */
24009
+ includeDraftOnly?: boolean;
23994
24010
  /**
23995
24011
  * include library scripts (no runnable main)
23996
24012
  */
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "windmill-client",
3
3
  "description": "Windmill SDK client for browsers and Node.js",
4
- "version": "1.772.0",
4
+ "version": "1.773.0",
5
5
  "author": "Ruben Fiszel",
6
6
  "license": "Apache 2.0",
7
7
  "homepage": "https://github.com/windmill-labs/windmill/tree/main/typescript-client#readme",