windmill-client 1.562.0 → 1.563.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.
@@ -39,7 +39,7 @@ exports.OpenAPI = {
39
39
  PASSWORD: undefined,
40
40
  TOKEN: getEnv("WM_TOKEN"),
41
41
  USERNAME: undefined,
42
- VERSION: '1.562.0',
42
+ VERSION: '1.563.0',
43
43
  WITH_CREDENTIALS: true,
44
44
  interceptors: {
45
45
  request: new Interceptors(),
@@ -1147,6 +1147,7 @@ export type GenerateOpenapiSpec = {
1147
1147
  webhook_filters?: Array<WebhookFilters>;
1148
1148
  };
1149
1149
  export type HttpMethod = 'get' | 'post' | 'put' | 'delete' | 'patch';
1150
+ export type HttpRequestType = 'sync' | 'async' | 'sync_sse';
1150
1151
  export type HttpTrigger = TriggerExtraProperty & {
1151
1152
  route_path: string;
1152
1153
  static_asset_config?: {
@@ -1158,7 +1159,7 @@ export type HttpTrigger = TriggerExtraProperty & {
1158
1159
  authentication_resource_path?: string;
1159
1160
  summary?: string;
1160
1161
  description?: string;
1161
- is_async: boolean;
1162
+ request_type: HttpRequestType;
1162
1163
  authentication_method: AuthenticationMethod;
1163
1164
  is_static_website: boolean;
1164
1165
  workspaced_route: boolean;
@@ -1183,7 +1184,11 @@ export type NewHttpTrigger = {
1183
1184
  is_flow: boolean;
1184
1185
  http_method: HttpMethod;
1185
1186
  authentication_resource_path?: string;
1186
- is_async: boolean;
1187
+ /**
1188
+ * Deprecated, use request_type instead
1189
+ */
1190
+ is_async?: boolean;
1191
+ request_type?: HttpRequestType;
1187
1192
  authentication_method: AuthenticationMethod;
1188
1193
  is_static_website: boolean;
1189
1194
  wrap_body?: boolean;
@@ -1207,7 +1212,11 @@ export type EditHttpTrigger = {
1207
1212
  authentication_resource_path?: string;
1208
1213
  is_flow: boolean;
1209
1214
  http_method: HttpMethod;
1210
- is_async: boolean;
1215
+ /**
1216
+ * Deprecated, use request_type instead
1217
+ */
1218
+ is_async?: boolean;
1219
+ request_type?: HttpRequestType;
1211
1220
  authentication_method: AuthenticationMethod;
1212
1221
  is_static_website: boolean;
1213
1222
  wrap_body?: boolean;
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.562.0",
4
+ "version": "1.563.0",
5
5
  "author": "Ruben Fiszel",
6
6
  "license": "Apache 2.0",
7
7
  "devDependencies": {