windmill-client 1.574.2 → 1.575.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.574.2',
42
+ VERSION: '1.575.0',
43
43
  WITH_CREDENTIALS: true,
44
44
  interceptors: {
45
45
  request: new Interceptors(),
@@ -2918,6 +2918,7 @@ export declare class JobService {
2918
2918
  *
2919
2919
  * @param data.invisibleToOwner make the run invisible to the the script owner (default false)
2920
2920
  * @param data.jobId The job id to assign to the created job. if missing, job is chosen randomly using the ULID scheme. If a job id already exists in the queue or as a completed job, the request to create one will fail (Bad Request)
2921
+ * @param data.memoryId memory ID for chat-enabled flows
2921
2922
  * @returns string job created
2922
2923
  * @throws ApiError
2923
2924
  */
@@ -2927,6 +2928,7 @@ export declare class JobService {
2927
2928
  * @param data The data for the request.
2928
2929
  * @param data.workspace
2929
2930
  * @param data.requestBody preview
2931
+ * @param data.memoryId memory ID for chat-enabled flows
2930
2932
  * @returns unknown job result
2931
2933
  * @throws ApiError
2932
2934
  */
@@ -5835,6 +5835,7 @@ class JobService {
5835
5835
  *
5836
5836
  * @param data.invisibleToOwner make the run invisible to the the script owner (default false)
5837
5837
  * @param data.jobId The job id to assign to the created job. if missing, job is chosen randomly using the ULID scheme. If a job id already exists in the queue or as a completed job, the request to create one will fail (Bad Request)
5838
+ * @param data.memoryId memory ID for chat-enabled flows
5838
5839
  * @returns string job created
5839
5840
  * @throws ApiError
5840
5841
  */
@@ -5848,7 +5849,8 @@ class JobService {
5848
5849
  query: {
5849
5850
  include_header: data.includeHeader,
5850
5851
  invisible_to_owner: data.invisibleToOwner,
5851
- job_id: data.jobId
5852
+ job_id: data.jobId,
5853
+ memory_id: data.memoryId
5852
5854
  },
5853
5855
  body: data.requestBody,
5854
5856
  mediaType: 'application/json'
@@ -5859,6 +5861,7 @@ class JobService {
5859
5861
  * @param data The data for the request.
5860
5862
  * @param data.workspace
5861
5863
  * @param data.requestBody preview
5864
+ * @param data.memoryId memory ID for chat-enabled flows
5862
5865
  * @returns unknown job result
5863
5866
  * @throws ApiError
5864
5867
  */
@@ -5869,6 +5872,9 @@ class JobService {
5869
5872
  path: {
5870
5873
  workspace: data.workspace
5871
5874
  },
5875
+ query: {
5876
+ memory_id: data.memoryId
5877
+ },
5872
5878
  body: data.requestBody,
5873
5879
  mediaType: 'application/json'
5874
5880
  });
@@ -5607,6 +5607,10 @@ export type RunFlowPreviewData = {
5607
5607
  * The job id to assign to the created job. if missing, job is chosen randomly using the ULID scheme. If a job id already exists in the queue or as a completed job, the request to create one will fail (Bad Request)
5608
5608
  */
5609
5609
  jobId?: string;
5610
+ /**
5611
+ * memory ID for chat-enabled flows
5612
+ */
5613
+ memoryId?: string;
5610
5614
  /**
5611
5615
  * preview
5612
5616
  */
@@ -5615,6 +5619,10 @@ export type RunFlowPreviewData = {
5615
5619
  };
5616
5620
  export type RunFlowPreviewResponse = string;
5617
5621
  export type RunFlowPreviewAndWaitResultData = {
5622
+ /**
5623
+ * memory ID for chat-enabled flows
5624
+ */
5625
+ memoryId?: string;
5618
5626
  /**
5619
5627
  * preview
5620
5628
  */
@@ -14346,6 +14354,10 @@ export type $OpenApiTs = {
14346
14354
  * The job id to assign to the created job. if missing, job is chosen randomly using the ULID scheme. If a job id already exists in the queue or as a completed job, the request to create one will fail (Bad Request)
14347
14355
  */
14348
14356
  jobId?: string;
14357
+ /**
14358
+ * memory ID for chat-enabled flows
14359
+ */
14360
+ memoryId?: string;
14349
14361
  /**
14350
14362
  * preview
14351
14363
  */
@@ -14363,6 +14375,10 @@ export type $OpenApiTs = {
14363
14375
  '/w/{workspace}/jobs/run_wait_result/preview_flow': {
14364
14376
  post: {
14365
14377
  req: {
14378
+ /**
14379
+ * memory ID for chat-enabled flows
14380
+ */
14381
+ memoryId?: string;
14366
14382
  /**
14367
14383
  * preview
14368
14384
  */
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.574.2",
4
+ "version": "1.575.0",
5
5
  "author": "Ruben Fiszel",
6
6
  "license": "Apache 2.0",
7
7
  "devDependencies": {