windmill-cli 1.629.1 → 1.630.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/esm/gen/core/OpenAPI.js +1 -1
- package/esm/gen/services.gen.js +94 -0
- package/esm/src/main.js +1 -1
- package/package.json +1 -1
- package/types/gen/services.gen.d.ts +43 -1
- package/types/gen/services.gen.d.ts.map +1 -1
- package/types/gen/types.gen.d.ts +77 -6
- package/types/gen/types.gen.d.ts.map +1 -1
- package/types/src/main.d.ts +1 -1
- package/types/windmill-utils-internal/src/gen/types.gen.d.ts +77 -6
- package/types/windmill-utils-internal/src/gen/types.gen.d.ts.map +1 -1
package/types/src/main.d.ts
CHANGED
|
@@ -22,7 +22,7 @@ import { pull as hubPull } from "./commands/hub/hub.js";
|
|
|
22
22
|
import { pull, push } from "./commands/sync/sync.js";
|
|
23
23
|
import { add as workspaceAdd } from "./commands/workspace/workspace.js";
|
|
24
24
|
export { flow, app, script, workspace, resource, resourceType, user, variable, hub, folder, schedule, trigger, sync, gitsyncSettings, instance, dev, hubPull, pull, push, workspaceAdd, };
|
|
25
|
-
export declare const VERSION = "1.
|
|
25
|
+
export declare const VERSION = "1.630.0";
|
|
26
26
|
export { WM_FORK_PREFIX } from "./core/constants.js";
|
|
27
27
|
declare const command: Command<{
|
|
28
28
|
workspace?: (import("../deps/jsr.io/@windmill-labs/cliffy-command/1.0.0-rc.5/mod.js").StringType & string) | undefined;
|
|
@@ -17,6 +17,10 @@ export type OpenFlow = {
|
|
|
17
17
|
schema?: {
|
|
18
18
|
[key: string]: unknown;
|
|
19
19
|
};
|
|
20
|
+
/**
|
|
21
|
+
* The flow will be run with the permissions of the user with this email.
|
|
22
|
+
*/
|
|
23
|
+
on_behalf_of_email?: string;
|
|
20
24
|
};
|
|
21
25
|
/**
|
|
22
26
|
* The flow structure containing modules and optional preprocessor/failure handlers
|
|
@@ -3762,9 +3766,7 @@ export type AppWithLastVersion = {
|
|
|
3762
3766
|
versions: Array<(number)>;
|
|
3763
3767
|
created_by: string;
|
|
3764
3768
|
created_at: string;
|
|
3765
|
-
value:
|
|
3766
|
-
[key: string]: unknown;
|
|
3767
|
-
};
|
|
3769
|
+
value: unknown;
|
|
3768
3770
|
policy: Policy;
|
|
3769
3771
|
execution_mode: 'viewer' | 'publisher' | 'anonymous';
|
|
3770
3772
|
extra_perms: {
|
|
@@ -3993,9 +3995,7 @@ export type ExportedUser = {
|
|
|
3993
3995
|
};
|
|
3994
3996
|
export type GlobalSetting = {
|
|
3995
3997
|
name: string;
|
|
3996
|
-
value:
|
|
3997
|
-
[key: string]: unknown;
|
|
3998
|
-
};
|
|
3998
|
+
value: unknown;
|
|
3999
3999
|
};
|
|
4000
4000
|
export type Config = {
|
|
4001
4001
|
name: string;
|
|
@@ -4297,6 +4297,32 @@ export type Asset = {
|
|
|
4297
4297
|
path: string;
|
|
4298
4298
|
kind: AssetKind;
|
|
4299
4299
|
};
|
|
4300
|
+
/**
|
|
4301
|
+
* A workspace protection rule defining restrictions and bypass permissions
|
|
4302
|
+
*/
|
|
4303
|
+
export type ProtectionRuleset = {
|
|
4304
|
+
/**
|
|
4305
|
+
* Unique name for the protection rule
|
|
4306
|
+
*/
|
|
4307
|
+
name: string;
|
|
4308
|
+
workspace_id?: string;
|
|
4309
|
+
rules: ProtectionRules;
|
|
4310
|
+
bypass_groups: RuleBypasserGroups;
|
|
4311
|
+
bypass_users: RuleBypasserUsers;
|
|
4312
|
+
};
|
|
4313
|
+
/**
|
|
4314
|
+
* Configuration of protection restrictions
|
|
4315
|
+
*/
|
|
4316
|
+
export type ProtectionRules = Array<ProtectionRuleKind>;
|
|
4317
|
+
export type ProtectionRuleKind = 'DisableDirectDeployment' | 'DisableWorkspaceForking';
|
|
4318
|
+
/**
|
|
4319
|
+
* Groups that can bypass this ruleset
|
|
4320
|
+
*/
|
|
4321
|
+
export type RuleBypasserGroups = Array<(string)>;
|
|
4322
|
+
/**
|
|
4323
|
+
* Users that can bypass this ruleset
|
|
4324
|
+
*/
|
|
4325
|
+
export type RuleBypasserUsers = Array<(string)>;
|
|
4300
4326
|
export type NativeServiceName = 'nextcloud';
|
|
4301
4327
|
/**
|
|
4302
4328
|
* A native trigger stored in Windmill
|
|
@@ -5037,6 +5063,7 @@ export type TestObjectStorageConfigData = {
|
|
|
5037
5063
|
};
|
|
5038
5064
|
export type TestObjectStorageConfigResponse = (string);
|
|
5039
5065
|
export type SendStatsResponse = (string);
|
|
5066
|
+
export type GetStatsResponse = (string);
|
|
5040
5067
|
export type GetLatestKeyRenewalAttemptResponse = ({
|
|
5041
5068
|
result: string;
|
|
5042
5069
|
attempted_at: string;
|
|
@@ -5988,6 +6015,50 @@ export type WorkspaceMuteCriticalAlertsUiData = {
|
|
|
5988
6015
|
workspace: string;
|
|
5989
6016
|
};
|
|
5990
6017
|
export type WorkspaceMuteCriticalAlertsUiResponse = (string);
|
|
6018
|
+
export type ListProtectionRulesData = {
|
|
6019
|
+
workspace: string;
|
|
6020
|
+
};
|
|
6021
|
+
export type ListProtectionRulesResponse = (Array<ProtectionRuleset>);
|
|
6022
|
+
export type CreateProtectionRuleData = {
|
|
6023
|
+
/**
|
|
6024
|
+
* New protection rule configuration
|
|
6025
|
+
*/
|
|
6026
|
+
requestBody: {
|
|
6027
|
+
/**
|
|
6028
|
+
* Unique name for the protection rule
|
|
6029
|
+
*/
|
|
6030
|
+
name: string;
|
|
6031
|
+
rules: ProtectionRules;
|
|
6032
|
+
bypass_groups: RuleBypasserGroups;
|
|
6033
|
+
bypass_users: RuleBypasserUsers;
|
|
6034
|
+
};
|
|
6035
|
+
workspace: string;
|
|
6036
|
+
};
|
|
6037
|
+
export type CreateProtectionRuleResponse = (string);
|
|
6038
|
+
export type UpdateProtectionRuleData = {
|
|
6039
|
+
/**
|
|
6040
|
+
* Updated protection rule configuration
|
|
6041
|
+
*/
|
|
6042
|
+
requestBody: {
|
|
6043
|
+
rules: ProtectionRules;
|
|
6044
|
+
bypass_groups: RuleBypasserGroups;
|
|
6045
|
+
bypass_users: RuleBypasserUsers;
|
|
6046
|
+
};
|
|
6047
|
+
/**
|
|
6048
|
+
* Name of the protection rule to update
|
|
6049
|
+
*/
|
|
6050
|
+
ruleName: string;
|
|
6051
|
+
workspace: string;
|
|
6052
|
+
};
|
|
6053
|
+
export type UpdateProtectionRuleResponse = (string);
|
|
6054
|
+
export type DeleteProtectionRuleData = {
|
|
6055
|
+
/**
|
|
6056
|
+
* Name of the protection rule to delete
|
|
6057
|
+
*/
|
|
6058
|
+
ruleName: string;
|
|
6059
|
+
workspace: string;
|
|
6060
|
+
};
|
|
6061
|
+
export type DeleteProtectionRuleResponse = (string);
|
|
5991
6062
|
export type SetPublicAppRateLimitData = {
|
|
5992
6063
|
/**
|
|
5993
6064
|
* Public app rate limit configuration
|