windmill-client 1.865.0 → 1.867.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.865.0",
32
+ VERSION: "1.867.0",
33
33
  WITH_CREDENTIALS: !getEnv("WM_RAW_APP"),
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.865.0",
129
+ VERSION: "1.867.0",
130
130
  WITH_CREDENTIALS: !getEnv$1("WM_RAW_APP"),
131
131
  interceptors: {
132
132
  request: new Interceptors(),
@@ -521,7 +521,9 @@ var AuditService = class {
521
521
  * @param data.excludeOperations comma separated list of operations to exclude
522
522
  * @param data.resource filter on exact or prefix name of resource
523
523
  * @param data.actionKind filter on type of operation
524
- * @param data.beforeId only return logs with an id strictly lower than this one. Logs are ordered by descending id, so this is a keyset cursor to stream a page in several batches without paying a growing offset.
524
+ * @param data.beforeId the id half of a keyset cursor. Logs are ordered by descending timestamp then id: pass the last row's id here and its timestamp as before_id_timestamp to stream a page in several batches without paying a growing offset. Alone, it only filters on id < before_id, which can skip or repeat rows across pages.
525
+ *
526
+ * @param data.beforeIdTimestamp the timestamp of the row whose id is before_id: with it, only logs strictly before that row in (timestamp, id) order are returned
525
527
  *
526
528
  * @param data.allWorkspaces get audit logs for all workspaces
527
529
  * @param data.jobId only the entries about this run and the jobs under it (steps, loop iterations and subflows at any depth): who started, viewed, cancelled, approved, resumed or deleted each
@@ -546,6 +548,7 @@ var AuditService = class {
546
548
  resource: data.resource,
547
549
  action_kind: data.actionKind,
548
550
  before_id: data.beforeId,
551
+ before_id_timestamp: data.beforeIdTimestamp,
549
552
  all_workspaces: data.allWorkspaces,
550
553
  job_id: data.jobId
551
554
  }
@@ -8796,6 +8799,7 @@ var ScriptService = class {
8796
8799
  * @param data.showArchived
8797
8800
  * @param data.includeWithoutMain include library scripts (no runnable main)
8798
8801
  * @param data.pathStart restrict to paths under this prefix
8802
+ * @param data.paths comma-separated exact paths, to list only the rows at one of them
8799
8803
  * @param data.label
8800
8804
  * @param data.search case-insensitive fuzzy match on "summary (path)": the query is split into terms on runs of anything but ASCII letters, digits and apostrophes, and each of the first 8 must appear whole and in order, with anything in between. Terms past the 8th are ignored, so an over-long query matches more rows rather than fewer. Omitted or empty filters nothing; a query holding no ASCII-alphanumeric character at all (a lone space, "_", or text in a non-Latin script) yields no terms and matches nothing, mirroring the homepage, whose matcher discards those queries too.
8801
8805
  * @param data.perPage number of items to return for a given page (default 30, max 100)
@@ -8816,6 +8820,7 @@ var ScriptService = class {
8816
8820
  show_archived: data.showArchived,
8817
8821
  include_without_main: data.includeWithoutMain,
8818
8822
  path_start: data.pathStart,
8823
+ paths: data.paths,
8819
8824
  label: data.label,
8820
8825
  search: data.search,
8821
8826
  per_page: data.perPage,
@@ -94,7 +94,9 @@ export declare class AuditService {
94
94
  * @param data.excludeOperations comma separated list of operations to exclude
95
95
  * @param data.resource filter on exact or prefix name of resource
96
96
  * @param data.actionKind filter on type of operation
97
- * @param data.beforeId only return logs with an id strictly lower than this one. Logs are ordered by descending id, so this is a keyset cursor to stream a page in several batches without paying a growing offset.
97
+ * @param data.beforeId the id half of a keyset cursor. Logs are ordered by descending timestamp then id: pass the last row's id here and its timestamp as before_id_timestamp to stream a page in several batches without paying a growing offset. Alone, it only filters on id < before_id, which can skip or repeat rows across pages.
98
+ *
99
+ * @param data.beforeIdTimestamp the timestamp of the row whose id is before_id: with it, only logs strictly before that row in (timestamp, id) order are returned
98
100
  *
99
101
  * @param data.allWorkspaces get audit logs for all workspaces
100
102
  * @param data.jobId only the entries about this run and the jobs under it (steps, loop iterations and subflows at any depth): who started, viewed, cancelled, approved, resumed or deleted each
@@ -4491,6 +4493,7 @@ export declare class ScriptService {
4491
4493
  * @param data.showArchived
4492
4494
  * @param data.includeWithoutMain include library scripts (no runnable main)
4493
4495
  * @param data.pathStart restrict to paths under this prefix
4496
+ * @param data.paths comma-separated exact paths, to list only the rows at one of them
4494
4497
  * @param data.label
4495
4498
  * @param data.search case-insensitive fuzzy match on "summary (path)": the query is split into terms on runs of anything but ASCII letters, digits and apostrophes, and each of the first 8 must appear whole and in order, with anything in between. Terms past the 8th are ignored, so an over-long query matches more rows rather than fewer. Omitted or empty filters nothing; a query holding no ASCII-alphanumeric character at all (a lone space, "_", or text in a non-Latin script) yields no terms and matches nothing, mirroring the homepage, whose matcher discards those queries too.
4496
4499
  * @param data.perPage number of items to return for a given page (default 30, max 100)
@@ -153,7 +153,9 @@ var AuditService = class {
153
153
  * @param data.excludeOperations comma separated list of operations to exclude
154
154
  * @param data.resource filter on exact or prefix name of resource
155
155
  * @param data.actionKind filter on type of operation
156
- * @param data.beforeId only return logs with an id strictly lower than this one. Logs are ordered by descending id, so this is a keyset cursor to stream a page in several batches without paying a growing offset.
156
+ * @param data.beforeId the id half of a keyset cursor. Logs are ordered by descending timestamp then id: pass the last row's id here and its timestamp as before_id_timestamp to stream a page in several batches without paying a growing offset. Alone, it only filters on id < before_id, which can skip or repeat rows across pages.
157
+ *
158
+ * @param data.beforeIdTimestamp the timestamp of the row whose id is before_id: with it, only logs strictly before that row in (timestamp, id) order are returned
157
159
  *
158
160
  * @param data.allWorkspaces get audit logs for all workspaces
159
161
  * @param data.jobId only the entries about this run and the jobs under it (steps, loop iterations and subflows at any depth): who started, viewed, cancelled, approved, resumed or deleted each
@@ -178,6 +180,7 @@ var AuditService = class {
178
180
  resource: data.resource,
179
181
  action_kind: data.actionKind,
180
182
  before_id: data.beforeId,
183
+ before_id_timestamp: data.beforeIdTimestamp,
181
184
  all_workspaces: data.allWorkspaces,
182
185
  job_id: data.jobId
183
186
  }
@@ -8428,6 +8431,7 @@ var ScriptService = class {
8428
8431
  * @param data.showArchived
8429
8432
  * @param data.includeWithoutMain include library scripts (no runnable main)
8430
8433
  * @param data.pathStart restrict to paths under this prefix
8434
+ * @param data.paths comma-separated exact paths, to list only the rows at one of them
8431
8435
  * @param data.label
8432
8436
  * @param data.search case-insensitive fuzzy match on "summary (path)": the query is split into terms on runs of anything but ASCII letters, digits and apostrophes, and each of the first 8 must appear whole and in order, with anything in between. Terms past the 8th are ignored, so an over-long query matches more rows rather than fewer. Omitted or empty filters nothing; a query holding no ASCII-alphanumeric character at all (a lone space, "_", or text in a non-Latin script) yields no terms and matches nothing, mirroring the homepage, whose matcher discards those queries too.
8433
8437
  * @param data.perPage number of items to return for a given page (default 30, max 100)
@@ -8448,6 +8452,7 @@ var ScriptService = class {
8448
8452
  show_archived: data.showArchived,
8449
8453
  include_without_main: data.includeWithoutMain,
8450
8454
  path_start: data.pathStart,
8455
+ paths: data.paths,
8451
8456
  label: data.label,
8452
8457
  search: data.search,
8453
8458
  per_page: data.perPage,
@@ -2759,6 +2759,10 @@ export type QueuedJob = {
2759
2759
  preprocessed?: boolean;
2760
2760
  is_retry?: boolean;
2761
2761
  trigger_kind?: JobTriggerKind;
2762
+ /**
2763
+ * Path of the trigger, schedule or app that started the job, if any
2764
+ */
2765
+ trigger_path?: string;
2762
2766
  worker?: string;
2763
2767
  };
2764
2768
  export type CompletedJob = {
@@ -2825,6 +2829,10 @@ export type CompletedJob = {
2825
2829
  */
2826
2830
  resolved_automatically?: boolean;
2827
2831
  trigger_kind?: JobTriggerKind;
2832
+ /**
2833
+ * Path of the trigger, schedule or app that started the job, if any
2834
+ */
2835
+ trigger_path?: string;
2828
2836
  worker?: string;
2829
2837
  };
2830
2838
  /**
@@ -8636,10 +8644,15 @@ export type ListAuditLogsData = {
8636
8644
  */
8637
8645
  before?: string;
8638
8646
  /**
8639
- * only return logs with an id strictly lower than this one. Logs are ordered by descending id, so this is a keyset cursor to stream a page in several batches without paying a growing offset.
8647
+ * the id half of a keyset cursor. Logs are ordered by descending timestamp then id: pass the last row's id here and its timestamp as before_id_timestamp to stream a page in several batches without paying a growing offset. Alone, it only filters on id < before_id, which can skip or repeat rows across pages.
8640
8648
  *
8641
8649
  */
8642
8650
  beforeId?: number;
8651
+ /**
8652
+ * the timestamp of the row whose id is before_id: with it, only logs strictly before that row in (timestamp, id) order are returned
8653
+ *
8654
+ */
8655
+ beforeIdTimestamp?: string;
8643
8656
  /**
8644
8657
  * comma separated list of operations to exclude
8645
8658
  */
@@ -13611,6 +13624,10 @@ export type ListRunnablesData = {
13611
13624
  * order by desc order (default true)
13612
13625
  */
13613
13626
  orderDesc?: boolean;
13627
+ /**
13628
+ * comma-separated exact paths, to list only the rows at one of them
13629
+ */
13630
+ paths?: string;
13614
13631
  /**
13615
13632
  * restrict to paths under this prefix
13616
13633
  */
@@ -20723,10 +20740,15 @@ export type $OpenApiTs = {
20723
20740
  */
20724
20741
  before?: string;
20725
20742
  /**
20726
- * only return logs with an id strictly lower than this one. Logs are ordered by descending id, so this is a keyset cursor to stream a page in several batches without paying a growing offset.
20743
+ * the id half of a keyset cursor. Logs are ordered by descending timestamp then id: pass the last row's id here and its timestamp as before_id_timestamp to stream a page in several batches without paying a growing offset. Alone, it only filters on id < before_id, which can skip or repeat rows across pages.
20727
20744
  *
20728
20745
  */
20729
20746
  beforeId?: number;
20747
+ /**
20748
+ * the timestamp of the row whose id is before_id: with it, only logs strictly before that row in (timestamp, id) order are returned
20749
+ *
20750
+ */
20751
+ beforeIdTimestamp?: string;
20730
20752
  /**
20731
20753
  * comma separated list of operations to exclude
20732
20754
  */
@@ -29905,6 +29927,10 @@ export type $OpenApiTs = {
29905
29927
  * order by desc order (default true)
29906
29928
  */
29907
29929
  orderDesc?: boolean;
29930
+ /**
29931
+ * comma-separated exact paths, to list only the rows at one of them
29932
+ */
29933
+ paths?: string;
29908
29934
  /**
29909
29935
  * restrict to paths under this prefix
29910
29936
  */
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.865.0",
4
+ "version": "1.867.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",