windmill-client 1.384.0 → 1.386.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.384.0',
42
+ VERSION: '1.386.0',
43
43
  WITH_CREDENTIALS: true,
44
44
  interceptors: {
45
45
  request: new Interceptors(),
@@ -1301,6 +1301,7 @@ export declare class FlowService {
1301
1301
  * @param data The data for the request.
1302
1302
  * @param data.workspace
1303
1303
  * @param data.path
1304
+ * @param data.withStarredInfo
1304
1305
  * @returns Flow flow details
1305
1306
  * @throws ApiError
1306
1307
  */
@@ -1452,6 +1453,7 @@ export declare class AppService {
1452
1453
  * @param data The data for the request.
1453
1454
  * @param data.workspace
1454
1455
  * @param data.path
1456
+ * @param data.withStarredInfo
1455
1457
  * @returns AppWithLastVersion app details
1456
1458
  * @throws ApiError
1457
1459
  */
@@ -1716,6 +1718,7 @@ export declare class ScriptService {
1716
1718
  * @param data The data for the request.
1717
1719
  * @param data.workspace
1718
1720
  * @param data.path
1721
+ * @param data.withStarredInfo
1719
1722
  * @returns Script script details
1720
1723
  * @throws ApiError
1721
1724
  */
@@ -1782,6 +1785,7 @@ export declare class ScriptService {
1782
1785
  * @param data The data for the request.
1783
1786
  * @param data.workspace
1784
1787
  * @param data.hash
1788
+ * @param data.withStarredInfo
1785
1789
  * @returns Script script details
1786
1790
  * @throws ApiError
1787
1791
  */
@@ -2593,6 +2593,7 @@ class FlowService {
2593
2593
  * @param data The data for the request.
2594
2594
  * @param data.workspace
2595
2595
  * @param data.path
2596
+ * @param data.withStarredInfo
2596
2597
  * @returns Flow flow details
2597
2598
  * @throws ApiError
2598
2599
  */
@@ -2603,6 +2604,9 @@ class FlowService {
2603
2604
  path: {
2604
2605
  workspace: data.workspace,
2605
2606
  path: data.path
2607
+ },
2608
+ query: {
2609
+ with_starred_info: data.withStarredInfo
2606
2610
  }
2607
2611
  });
2608
2612
  }
@@ -2896,6 +2900,7 @@ class AppService {
2896
2900
  * @param data The data for the request.
2897
2901
  * @param data.workspace
2898
2902
  * @param data.path
2903
+ * @param data.withStarredInfo
2899
2904
  * @returns AppWithLastVersion app details
2900
2905
  * @throws ApiError
2901
2906
  */
@@ -2906,6 +2911,9 @@ class AppService {
2906
2911
  path: {
2907
2912
  workspace: data.workspace,
2908
2913
  path: data.path
2914
+ },
2915
+ query: {
2916
+ with_starred_info: data.withStarredInfo
2909
2917
  }
2910
2918
  });
2911
2919
  }
@@ -3403,6 +3411,7 @@ class ScriptService {
3403
3411
  * @param data The data for the request.
3404
3412
  * @param data.workspace
3405
3413
  * @param data.path
3414
+ * @param data.withStarredInfo
3406
3415
  * @returns Script script details
3407
3416
  * @throws ApiError
3408
3417
  */
@@ -3413,6 +3422,9 @@ class ScriptService {
3413
3422
  path: {
3414
3423
  workspace: data.workspace,
3415
3424
  path: data.path
3425
+ },
3426
+ query: {
3427
+ with_starred_info: data.withStarredInfo
3416
3428
  }
3417
3429
  });
3418
3430
  }
@@ -3536,6 +3548,7 @@ class ScriptService {
3536
3548
  * @param data The data for the request.
3537
3549
  * @param data.workspace
3538
3550
  * @param data.hash
3551
+ * @param data.withStarredInfo
3539
3552
  * @returns Script script details
3540
3553
  * @throws ApiError
3541
3554
  */
@@ -3546,6 +3559,9 @@ class ScriptService {
3546
3559
  path: {
3547
3560
  workspace: data.workspace,
3548
3561
  hash: data.hash
3562
+ },
3563
+ query: {
3564
+ with_starred_info: data.withStarredInfo
3549
3565
  }
3550
3566
  });
3551
3567
  }
@@ -500,8 +500,8 @@ export type WorkerPing = {
500
500
  custom_tags?: Array<(string)>;
501
501
  worker_group: string;
502
502
  wm_version: string;
503
- current_job_id?: string;
504
- current_job_workspace_id?: string;
503
+ last_job_id?: string;
504
+ last_job_workspace_id?: string;
505
505
  occupancy_rate?: number;
506
506
  memory?: number;
507
507
  vcpus?: number;
@@ -1255,6 +1255,7 @@ export type GlobalUserUpdateData = {
1255
1255
  */
1256
1256
  requestBody: {
1257
1257
  is_super_admin?: boolean;
1258
+ name?: string;
1258
1259
  };
1259
1260
  };
1260
1261
  export type GlobalUserUpdateResponse = string;
@@ -2260,6 +2261,7 @@ export type UpdateFlowHistoryData = {
2260
2261
  export type UpdateFlowHistoryResponse = string;
2261
2262
  export type GetFlowByPathData = {
2262
2263
  path: string;
2264
+ withStarredInfo?: boolean;
2263
2265
  workspace: string;
2264
2266
  };
2265
2267
  export type GetFlowByPathResponse = Flow;
@@ -2431,6 +2433,7 @@ export type ExistsAppData = {
2431
2433
  export type ExistsAppResponse = boolean;
2432
2434
  export type GetAppByPathData = {
2433
2435
  path: string;
2436
+ withStarredInfo?: boolean;
2434
2437
  workspace: string;
2435
2438
  };
2436
2439
  export type GetAppByPathResponse = AppWithLastVersion;
@@ -2737,6 +2740,7 @@ export type DeleteScriptByPathData = {
2737
2740
  export type DeleteScriptByPathResponse = string;
2738
2741
  export type GetScriptByPathData = {
2739
2742
  path: string;
2743
+ withStarredInfo?: boolean;
2740
2744
  workspace: string;
2741
2745
  };
2742
2746
  export type GetScriptByPathResponse = Script;
@@ -2780,6 +2784,7 @@ export type ExistsScriptByPathData = {
2780
2784
  export type ExistsScriptByPathResponse = boolean;
2781
2785
  export type GetScriptByHashData = {
2782
2786
  hash: string;
2787
+ withStarredInfo?: boolean;
2783
2788
  workspace: string;
2784
2789
  };
2785
2790
  export type GetScriptByHashResponse = Script;
@@ -4949,6 +4954,7 @@ export type $OpenApiTs = {
4949
4954
  */
4950
4955
  requestBody: {
4951
4956
  is_super_admin?: boolean;
4957
+ name?: string;
4952
4958
  };
4953
4959
  };
4954
4960
  res: {
@@ -7144,6 +7150,7 @@ export type $OpenApiTs = {
7144
7150
  get: {
7145
7151
  req: {
7146
7152
  path: string;
7153
+ withStarredInfo?: boolean;
7147
7154
  workspace: string;
7148
7155
  };
7149
7156
  res: {
@@ -7450,6 +7457,7 @@ export type $OpenApiTs = {
7450
7457
  get: {
7451
7458
  req: {
7452
7459
  path: string;
7460
+ withStarredInfo?: boolean;
7453
7461
  workspace: string;
7454
7462
  };
7455
7463
  res: {
@@ -7972,6 +7980,7 @@ export type $OpenApiTs = {
7972
7980
  get: {
7973
7981
  req: {
7974
7982
  path: string;
7983
+ withStarredInfo?: boolean;
7975
7984
  workspace: string;
7976
7985
  };
7977
7986
  res: {
@@ -8078,6 +8087,7 @@ export type $OpenApiTs = {
8078
8087
  get: {
8079
8088
  req: {
8080
8089
  hash: string;
8090
+ withStarredInfo?: boolean;
8081
8091
  workspace: string;
8082
8092
  };
8083
8093
  res: {
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.384.0",
4
+ "version": "1.386.0",
5
5
  "author": "Ruben Fiszel",
6
6
  "license": "Apache 2.0",
7
7
  "devDependencies": {