windmill-cli 1.562.0 → 1.563.1

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.
@@ -32,7 +32,7 @@ export const OpenAPI = {
32
32
  PASSWORD: undefined,
33
33
  TOKEN: getEnv("WM_TOKEN"),
34
34
  USERNAME: undefined,
35
- VERSION: '1.562.0',
35
+ VERSION: '1.563.1',
36
36
  WITH_CREDENTIALS: true,
37
37
  interceptors: {
38
38
  request: new Interceptors(),
package/esm/src/main.js CHANGED
@@ -38,7 +38,7 @@ export { flow, app, script, workspace, resource, resourceType, user, variable, h
38
38
  // console.error(JSON.stringify(event.error, null, 4));
39
39
  // }
40
40
  // });
41
- export const VERSION = "1.562.0";
41
+ export const VERSION = "1.563.1";
42
42
  export const WM_FORK_PREFIX = "wm-fork";
43
43
  const command = new Command()
44
44
  .name("wmill")
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "windmill-cli",
3
- "version": "1.562.0",
3
+ "version": "1.563.1",
4
4
  "description": "CLI for Windmill",
5
5
  "repository": {
6
6
  "type": "git",
@@ -1167,6 +1167,7 @@ export type GenerateOpenapiSpec = {
1167
1167
  webhook_filters?: Array<WebhookFilters>;
1168
1168
  };
1169
1169
  export type HttpMethod = 'get' | 'post' | 'put' | 'delete' | 'patch';
1170
+ export type HttpRequestType = 'sync' | 'async' | 'sync_sse';
1170
1171
  export type HttpTrigger = TriggerExtraProperty & {
1171
1172
  route_path: string;
1172
1173
  static_asset_config?: {
@@ -1178,7 +1179,7 @@ export type HttpTrigger = TriggerExtraProperty & {
1178
1179
  authentication_resource_path?: string;
1179
1180
  summary?: string;
1180
1181
  description?: string;
1181
- is_async: boolean;
1182
+ request_type: HttpRequestType;
1182
1183
  authentication_method: AuthenticationMethod;
1183
1184
  is_static_website: boolean;
1184
1185
  workspaced_route: boolean;
@@ -1203,7 +1204,11 @@ export type NewHttpTrigger = {
1203
1204
  is_flow: boolean;
1204
1205
  http_method: HttpMethod;
1205
1206
  authentication_resource_path?: string;
1206
- is_async: boolean;
1207
+ /**
1208
+ * Deprecated, use request_type instead
1209
+ */
1210
+ is_async?: boolean;
1211
+ request_type?: HttpRequestType;
1207
1212
  authentication_method: AuthenticationMethod;
1208
1213
  is_static_website: boolean;
1209
1214
  wrap_body?: boolean;
@@ -1227,7 +1232,11 @@ export type EditHttpTrigger = {
1227
1232
  authentication_resource_path?: string;
1228
1233
  is_flow: boolean;
1229
1234
  http_method: HttpMethod;
1230
- is_async: boolean;
1235
+ /**
1236
+ * Deprecated, use request_type instead
1237
+ */
1238
+ is_async?: boolean;
1239
+ request_type?: HttpRequestType;
1231
1240
  authentication_method: AuthenticationMethod;
1232
1241
  is_static_website: boolean;
1233
1242
  wrap_body?: boolean;