windmill-client 1.865.0 → 1.866.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/dist/core/OpenAPI.mjs +1 -1
- package/dist/index.js +5 -2
- package/dist/services.gen.d.ts +3 -1
- package/dist/services.gen.mjs +4 -1
- package/dist/types.gen.d.ts +20 -2
- package/package.json +1 -1
package/dist/core/OpenAPI.mjs
CHANGED
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.
|
|
129
|
+
VERSION: "1.866.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
|
|
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
|
}
|
package/dist/services.gen.d.ts
CHANGED
|
@@ -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
|
|
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
|
package/dist/services.gen.mjs
CHANGED
|
@@ -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
|
|
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
|
}
|
package/dist/types.gen.d.ts
CHANGED
|
@@ -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
|
-
*
|
|
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
|
*/
|
|
@@ -20723,10 +20736,15 @@ export type $OpenApiTs = {
|
|
|
20723
20736
|
*/
|
|
20724
20737
|
before?: string;
|
|
20725
20738
|
/**
|
|
20726
|
-
*
|
|
20739
|
+
* 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
20740
|
*
|
|
20728
20741
|
*/
|
|
20729
20742
|
beforeId?: number;
|
|
20743
|
+
/**
|
|
20744
|
+
* the timestamp of the row whose id is before_id: with it, only logs strictly before that row in (timestamp, id) order are returned
|
|
20745
|
+
*
|
|
20746
|
+
*/
|
|
20747
|
+
beforeIdTimestamp?: string;
|
|
20730
20748
|
/**
|
|
20731
20749
|
* comma separated list of operations to exclude
|
|
20732
20750
|
*/
|
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.
|
|
4
|
+
"version": "1.866.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",
|