windmill-client 1.561.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.561.0',
42
+ VERSION: '1.563.0',
43
43
  WITH_CREDENTIALS: true,
44
44
  interceptors: {
45
45
  request: new Interceptors(),
@@ -1493,6 +1493,7 @@ export declare class ResourceService {
1493
1493
  * @param data The data for the request.
1494
1494
  * @param data.workspace
1495
1495
  * @param data.path
1496
+ * @param data.gitSshIdentity
1496
1497
  * @returns unknown git commit hash
1497
1498
  * @throws ApiError
1498
1499
  */
@@ -2995,6 +2995,7 @@ class ResourceService {
2995
2995
  * @param data The data for the request.
2996
2996
  * @param data.workspace
2997
2997
  * @param data.path
2998
+ * @param data.gitSshIdentity
2998
2999
  * @returns unknown git commit hash
2999
3000
  * @throws ApiError
3000
3001
  */
@@ -3005,6 +3006,9 @@ class ResourceService {
3005
3006
  path: {
3006
3007
  workspace: data.workspace,
3007
3008
  path: data.path
3009
+ },
3010
+ query: {
3011
+ git_ssh_identity: data.gitSshIdentity
3008
3012
  }
3009
3013
  });
3010
3014
  }
@@ -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;
@@ -3817,6 +3826,7 @@ export type GetResourceValueData = {
3817
3826
  };
3818
3827
  export type GetResourceValueResponse = unknown;
3819
3828
  export type GetGitCommitHashData = {
3829
+ gitSshIdentity?: string;
3820
3830
  path: string;
3821
3831
  workspace: string;
3822
3832
  };
@@ -11332,6 +11342,7 @@ export type $OpenApiTs = {
11332
11342
  '/w/{workspace}/resources/git_commit_hash/{path}': {
11333
11343
  get: {
11334
11344
  req: {
11345
+ gitSshIdentity?: string;
11335
11346
  path: string;
11336
11347
  workspace: string;
11337
11348
  };
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.561.0",
4
+ "version": "1.563.0",
5
5
  "author": "Ruben Fiszel",
6
6
  "license": "Apache 2.0",
7
7
  "devDependencies": {