New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

windmill-client

Package Overview
Dependencies
Maintainers
1
Versions
694
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

windmill-client - npm Package Compare versions

Comparing version 1.151.2 to 1.152.0

dist/models/CreatedOrStartedAfter.d.ts

2

dist/core/OpenAPI.js

@@ -6,3 +6,3 @@ "use strict";

BASE: '/api',
VERSION: '1.151.2',
VERSION: '1.152.0',
WITH_CREDENTIALS: false,

@@ -9,0 +9,0 @@ CREDENTIALS: 'include',

@@ -19,2 +19,4 @@ export { ApiError } from './core/ApiError';

export type { CreatedBy } from './models/CreatedBy';
export type { CreatedOrStartedAfter } from './models/CreatedOrStartedAfter';
export type { CreatedOrStartedBefore } from './models/CreatedOrStartedBefore';
export type { CreateInput } from './models/CreateInput';

@@ -21,0 +23,0 @@ export type { CreateResource } from './models/CreateResource';

@@ -47,2 +47,3 @@ import type { FlowStatus } from './FlowStatus';

FLOW = "flow",
FLOWDEPENDENCIES = "flowdependencies",
FLOWPREVIEW = "flowpreview",

@@ -49,0 +50,0 @@ SCRIPT_HUB = "script_hub",

@@ -16,2 +16,3 @@ "use strict";

job_kind["FLOW"] = "flow";
job_kind["FLOWDEPENDENCIES"] = "flowdependencies";
job_kind["FLOWPREVIEW"] = "flowpreview";

@@ -18,0 +19,0 @@ job_kind["SCRIPT_HUB"] = "script_hub";

@@ -44,2 +44,3 @@ import type { FlowStatus } from './FlowStatus';

DEPENDENCIES = "dependencies",
FLOWDEPENDENCIES = "flowdependencies",
FLOW = "flow",

@@ -46,0 +47,0 @@ FLOWPREVIEW = "flowpreview",

@@ -15,2 +15,3 @@ "use strict";

job_kind["DEPENDENCIES"] = "dependencies";
job_kind["FLOWDEPENDENCIES"] = "flowdependencies";
job_kind["FLOW"] = "flow";

@@ -17,0 +18,0 @@ job_kind["FLOWPREVIEW"] = "flowpreview";

/**
* filter on created after (exclusive) timestamp
* filter on started after (exclusive) timestamp
*/
export type StartedAfter = string;
/**
* filter on created before (inclusive) timestamp
* filter on started before (inclusive) timestamp
*/
export type StartedBefore = string;

@@ -372,7 +372,7 @@ import type { CompletedJob } from '../models/CompletedJob';

/**
* filter on created before (inclusive) timestamp
* filter on started before (inclusive) timestamp
*/
startedBefore?: string;
/**
* filter on created after (exclusive) timestamp
* filter on started after (exclusive) timestamp
*/

@@ -410,2 +410,20 @@ startedAfter?: string;

/**
* get queue count
* @returns any queue count
* @throws ApiError
*/
static getQueueCount({ workspace, }: {
workspace: string;
}): CancelablePromise<{
database_length: number;
}>;
/**
* cancel all jobs
* @returns string uuids of canceled jobs
* @throws ApiError
*/
static cancelAll({ workspace, }: {
workspace: string;
}): CancelablePromise<Array<string>>;
/**
* list all available completed jobs

@@ -446,7 +464,7 @@ * @returns CompletedJob All available completed jobs

/**
* filter on created before (inclusive) timestamp
* filter on started before (inclusive) timestamp
*/
startedBefore?: string;
/**
* filter on created after (exclusive) timestamp
* filter on started after (exclusive) timestamp
*/

@@ -488,3 +506,3 @@ startedAfter?: string;

*/
static listJobs({ workspace, createdBy, parentJob, scriptPathExact, scriptPathStart, schedulePath, scriptHash, startedBefore, startedAfter, jobKinds, args, tag, result, isSkipped, isFlowStep, success, }: {
static listJobs({ workspace, createdBy, parentJob, scriptPathExact, scriptPathStart, schedulePath, scriptHash, startedBefore, startedAfter, createdOrStartedBefore, createdOrStartedAfter, jobKinds, args, tag, result, isSkipped, isFlowStep, success, }: {
workspace: string;

@@ -516,10 +534,18 @@ /**

/**
* filter on created before (inclusive) timestamp
* filter on started before (inclusive) timestamp
*/
startedBefore?: string;
/**
* filter on created after (exclusive) timestamp
* filter on started after (exclusive) timestamp
*/
startedAfter?: string;
/**
* filter on created_at for non non started job and started_at otherwise before (inclusive) timestamp
*/
createdOrStartedBefore?: string;
/**
* filter on created_at for non non started job and started_at otherwise after (exclusive) timestamp
*/
createdOrStartedAfter?: string;
/**
* filter on job kind (values 'preview', 'script', 'dependencies', 'flow') separated by,

@@ -554,2 +580,8 @@ */

/**
* get db clock
* @returns number the timestamp of the db that can be used to compute the drift
* @throws ApiError
*/
static getDbClock(): CancelablePromise<number>;
/**
* get job

@@ -556,0 +588,0 @@ * @returns Job job details

@@ -284,2 +284,30 @@ "use strict";

/**
* get queue count
* @returns any queue count
* @throws ApiError
*/
static getQueueCount({ workspace, }) {
return (0, request_1.request)(OpenAPI_1.OpenAPI, {
method: 'GET',
url: '/w/{workspace}/jobs/queue/count',
path: {
'workspace': workspace,
},
});
}
/**
* cancel all jobs
* @returns string uuids of canceled jobs
* @throws ApiError
*/
static cancelAll({ workspace, }) {
return (0, request_1.request)(OpenAPI_1.OpenAPI, {
method: 'POST',
url: '/w/{workspace}/jobs/queue/cancel_all',
path: {
'workspace': workspace,
},
});
}
/**
* list all available completed jobs

@@ -321,3 +349,3 @@ * @returns CompletedJob All available completed jobs

*/
static listJobs({ workspace, createdBy, parentJob, scriptPathExact, scriptPathStart, schedulePath, scriptHash, startedBefore, startedAfter, jobKinds, args, tag, result, isSkipped, isFlowStep, success, }) {
static listJobs({ workspace, createdBy, parentJob, scriptPathExact, scriptPathStart, schedulePath, scriptHash, startedBefore, startedAfter, createdOrStartedBefore, createdOrStartedAfter, jobKinds, args, tag, result, isSkipped, isFlowStep, success, }) {
return (0, request_1.request)(OpenAPI_1.OpenAPI, {

@@ -338,2 +366,4 @@ method: 'GET',

'started_after': startedAfter,
'created_or_started_before': createdOrStartedBefore,
'created_or_started_after': createdOrStartedAfter,
'job_kinds': jobKinds,

@@ -350,2 +380,13 @@ 'args': args,

/**
* get db clock
* @returns number the timestamp of the db that can be used to compute the drift
* @throws ApiError
*/
static getDbClock() {
return (0, request_1.request)(OpenAPI_1.OpenAPI, {
method: 'GET',
url: '/jobs/db_clock',
});
}
/**
* get job

@@ -352,0 +393,0 @@ * @returns Job job details

{
"name": "windmill-client",
"description": "Windmill SDK client for browsers and Node.js",
"version": "1.151.2",
"version": "1.152.0",
"author": "Ruben Fiszel",

@@ -6,0 +6,0 @@ "license": "Apache 2.0",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc