@knowledge-stack/ksapi 1.100.0 → 1.100.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.
package/README.md CHANGED
@@ -1,4 +1,4 @@
1
- # @knowledge-stack/ksapi@1.100.0
1
+ # @knowledge-stack/ksapi@1.100.1
2
2
 
3
3
  A TypeScript SDK client for the localhost API.
4
4
 
@@ -537,7 +537,7 @@ and is automatically generated by the
537
537
  [OpenAPI Generator](https://openapi-generator.tech) project:
538
538
 
539
539
  - API version: `0.1.0`
540
- - Package version: `1.100.0`
540
+ - Package version: `1.100.1`
541
541
  - Generator version: `7.21.0`
542
542
  - Build package: `org.openapitools.codegen.languages.TypeScriptFetchClientCodegen`
543
543
 
@@ -188,7 +188,7 @@ export interface WorkflowDefinitionsApiInterface {
188
188
  */
189
189
  updateWorkflowDefinitionRequestOpts(requestParameters: UpdateWorkflowDefinitionOperationRequest): Promise<runtime.RequestOpts>;
190
190
  /**
191
- *
191
+ * Update a workflow definition (PUT semantics). To move: provide ``parent_path_part_id``. Rejected with 409 while a run is IN_PROGRESS. The FOR UPDATE load serializes the move against run start, which takes the same definition-row lock.
192
192
  * @summary Update Workflow Definition Handler
193
193
  * @param {string} definitionId
194
194
  * @param {UpdateWorkflowDefinitionRequest} updateWorkflowDefinitionRequest
@@ -198,6 +198,7 @@ export interface WorkflowDefinitionsApiInterface {
198
198
  */
199
199
  updateWorkflowDefinitionRaw(requestParameters: UpdateWorkflowDefinitionOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<WorkflowDefinitionResponse>>;
200
200
  /**
201
+ * Update a workflow definition (PUT semantics). To move: provide ``parent_path_part_id``. Rejected with 409 while a run is IN_PROGRESS. The FOR UPDATE load serializes the move against run start, which takes the same definition-row lock.
201
202
  * Update Workflow Definition Handler
202
203
  */
203
204
  updateWorkflowDefinition(requestParameters: UpdateWorkflowDefinitionOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<WorkflowDefinitionResponse>;
@@ -285,10 +286,12 @@ export declare class WorkflowDefinitionsApi extends runtime.BaseAPI implements W
285
286
  */
286
287
  updateWorkflowDefinitionRequestOpts(requestParameters: UpdateWorkflowDefinitionOperationRequest): Promise<runtime.RequestOpts>;
287
288
  /**
289
+ * Update a workflow definition (PUT semantics). To move: provide ``parent_path_part_id``. Rejected with 409 while a run is IN_PROGRESS. The FOR UPDATE load serializes the move against run start, which takes the same definition-row lock.
288
290
  * Update Workflow Definition Handler
289
291
  */
290
292
  updateWorkflowDefinitionRaw(requestParameters: UpdateWorkflowDefinitionOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<WorkflowDefinitionResponse>>;
291
293
  /**
294
+ * Update a workflow definition (PUT semantics). To move: provide ``parent_path_part_id``. Rejected with 409 while a run is IN_PROGRESS. The FOR UPDATE load serializes the move against run start, which takes the same definition-row lock.
292
295
  * Update Workflow Definition Handler
293
296
  */
294
297
  updateWorkflowDefinition(requestParameters: UpdateWorkflowDefinitionOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<WorkflowDefinitionResponse>;
@@ -408,6 +408,7 @@ class WorkflowDefinitionsApi extends runtime.BaseAPI {
408
408
  });
409
409
  }
410
410
  /**
411
+ * Update a workflow definition (PUT semantics). To move: provide ``parent_path_part_id``. Rejected with 409 while a run is IN_PROGRESS. The FOR UPDATE load serializes the move against run start, which takes the same definition-row lock.
411
412
  * Update Workflow Definition Handler
412
413
  */
413
414
  updateWorkflowDefinitionRaw(requestParameters, initOverrides) {
@@ -418,6 +419,7 @@ class WorkflowDefinitionsApi extends runtime.BaseAPI {
418
419
  });
419
420
  }
420
421
  /**
422
+ * Update a workflow definition (PUT semantics). To move: provide ``parent_path_part_id``. Rejected with 409 while a run is IN_PROGRESS. The FOR UPDATE load serializes the move against run start, which takes the same definition-row lock.
421
423
  * Update Workflow Definition Handler
422
424
  */
423
425
  updateWorkflowDefinition(requestParameters, initOverrides) {
@@ -188,7 +188,7 @@ export interface WorkflowDefinitionsApiInterface {
188
188
  */
189
189
  updateWorkflowDefinitionRequestOpts(requestParameters: UpdateWorkflowDefinitionOperationRequest): Promise<runtime.RequestOpts>;
190
190
  /**
191
- *
191
+ * Update a workflow definition (PUT semantics). To move: provide ``parent_path_part_id``. Rejected with 409 while a run is IN_PROGRESS. The FOR UPDATE load serializes the move against run start, which takes the same definition-row lock.
192
192
  * @summary Update Workflow Definition Handler
193
193
  * @param {string} definitionId
194
194
  * @param {UpdateWorkflowDefinitionRequest} updateWorkflowDefinitionRequest
@@ -198,6 +198,7 @@ export interface WorkflowDefinitionsApiInterface {
198
198
  */
199
199
  updateWorkflowDefinitionRaw(requestParameters: UpdateWorkflowDefinitionOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<WorkflowDefinitionResponse>>;
200
200
  /**
201
+ * Update a workflow definition (PUT semantics). To move: provide ``parent_path_part_id``. Rejected with 409 while a run is IN_PROGRESS. The FOR UPDATE load serializes the move against run start, which takes the same definition-row lock.
201
202
  * Update Workflow Definition Handler
202
203
  */
203
204
  updateWorkflowDefinition(requestParameters: UpdateWorkflowDefinitionOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<WorkflowDefinitionResponse>;
@@ -285,10 +286,12 @@ export declare class WorkflowDefinitionsApi extends runtime.BaseAPI implements W
285
286
  */
286
287
  updateWorkflowDefinitionRequestOpts(requestParameters: UpdateWorkflowDefinitionOperationRequest): Promise<runtime.RequestOpts>;
287
288
  /**
289
+ * Update a workflow definition (PUT semantics). To move: provide ``parent_path_part_id``. Rejected with 409 while a run is IN_PROGRESS. The FOR UPDATE load serializes the move against run start, which takes the same definition-row lock.
288
290
  * Update Workflow Definition Handler
289
291
  */
290
292
  updateWorkflowDefinitionRaw(requestParameters: UpdateWorkflowDefinitionOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<WorkflowDefinitionResponse>>;
291
293
  /**
294
+ * Update a workflow definition (PUT semantics). To move: provide ``parent_path_part_id``. Rejected with 409 while a run is IN_PROGRESS. The FOR UPDATE load serializes the move against run start, which takes the same definition-row lock.
292
295
  * Update Workflow Definition Handler
293
296
  */
294
297
  updateWorkflowDefinition(requestParameters: UpdateWorkflowDefinitionOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<WorkflowDefinitionResponse>;
@@ -372,6 +372,7 @@ export class WorkflowDefinitionsApi extends runtime.BaseAPI {
372
372
  });
373
373
  }
374
374
  /**
375
+ * Update a workflow definition (PUT semantics). To move: provide ``parent_path_part_id``. Rejected with 409 while a run is IN_PROGRESS. The FOR UPDATE load serializes the move against run start, which takes the same definition-row lock.
375
376
  * Update Workflow Definition Handler
376
377
  */
377
378
  updateWorkflowDefinitionRaw(requestParameters, initOverrides) {
@@ -382,6 +383,7 @@ export class WorkflowDefinitionsApi extends runtime.BaseAPI {
382
383
  });
383
384
  }
384
385
  /**
386
+ * Update a workflow definition (PUT semantics). To move: provide ``parent_path_part_id``. Rejected with 409 while a run is IN_PROGRESS. The FOR UPDATE load serializes the move against run start, which takes the same definition-row lock.
385
387
  * Update Workflow Definition Handler
386
388
  */
387
389
  updateWorkflowDefinition(requestParameters, initOverrides) {
@@ -39,6 +39,12 @@ export interface UpdateWorkflowDefinitionRequest {
39
39
  * @memberof UpdateWorkflowDefinitionRequest
40
40
  */
41
41
  instructionPathPartId?: string | null;
42
+ /**
43
+ * FOLDER path_part to move the definition under. Pass null (or omit) to leave it where it is. The move is rejected with 409 while any run of this definition is IN_PROGRESS.
44
+ * @type {string}
45
+ * @memberof UpdateWorkflowDefinitionRequest
46
+ */
47
+ parentPathPartId?: string | null;
42
48
  /**
43
49
  *
44
50
  * @type {boolean}
@@ -46,6 +46,7 @@ export function UpdateWorkflowDefinitionRequestFromJSONTyped(json, ignoreDiscrim
46
46
  'description': json['description'] == null ? undefined : json['description'],
47
47
  'maxRunDurationSeconds': json['max_run_duration_seconds'] == null ? undefined : json['max_run_duration_seconds'],
48
48
  'instructionPathPartId': json['instruction_path_part_id'] == null ? undefined : json['instruction_path_part_id'],
49
+ 'parentPathPartId': json['parent_path_part_id'] == null ? undefined : json['parent_path_part_id'],
49
50
  'isActive': json['is_active'],
50
51
  'approvalRequired': json['approval_required'],
51
52
  };
@@ -62,6 +63,7 @@ export function UpdateWorkflowDefinitionRequestToJSONTyped(value, ignoreDiscrimi
62
63
  'description': value['description'],
63
64
  'max_run_duration_seconds': value['maxRunDurationSeconds'],
64
65
  'instruction_path_part_id': value['instructionPathPartId'],
66
+ 'parent_path_part_id': value['parentPathPartId'],
65
67
  'is_active': value['isActive'],
66
68
  'approval_required': value['approvalRequired'],
67
69
  };
@@ -39,6 +39,12 @@ export interface UpdateWorkflowDefinitionRequest {
39
39
  * @memberof UpdateWorkflowDefinitionRequest
40
40
  */
41
41
  instructionPathPartId?: string | null;
42
+ /**
43
+ * FOLDER path_part to move the definition under. Pass null (or omit) to leave it where it is. The move is rejected with 409 while any run of this definition is IN_PROGRESS.
44
+ * @type {string}
45
+ * @memberof UpdateWorkflowDefinitionRequest
46
+ */
47
+ parentPathPartId?: string | null;
42
48
  /**
43
49
  *
44
50
  * @type {boolean}
@@ -54,6 +54,7 @@ function UpdateWorkflowDefinitionRequestFromJSONTyped(json, ignoreDiscriminator)
54
54
  'description': json['description'] == null ? undefined : json['description'],
55
55
  'maxRunDurationSeconds': json['max_run_duration_seconds'] == null ? undefined : json['max_run_duration_seconds'],
56
56
  'instructionPathPartId': json['instruction_path_part_id'] == null ? undefined : json['instruction_path_part_id'],
57
+ 'parentPathPartId': json['parent_path_part_id'] == null ? undefined : json['parent_path_part_id'],
57
58
  'isActive': json['is_active'],
58
59
  'approvalRequired': json['approval_required'],
59
60
  };
@@ -70,6 +71,7 @@ function UpdateWorkflowDefinitionRequestToJSONTyped(value, ignoreDiscriminator =
70
71
  'description': value['description'],
71
72
  'max_run_duration_seconds': value['maxRunDurationSeconds'],
72
73
  'instruction_path_part_id': value['instructionPathPartId'],
74
+ 'parent_path_part_id': value['parentPathPartId'],
73
75
  'is_active': value['isActive'],
74
76
  'approval_required': value['approvalRequired'],
75
77
  };
@@ -11,6 +11,7 @@ Name | Type
11
11
  `description` | string
12
12
  `maxRunDurationSeconds` | number
13
13
  `instructionPathPartId` | string
14
+ `parentPathPartId` | string
14
15
  `isActive` | boolean
15
16
  `approvalRequired` | boolean
16
17
 
@@ -25,6 +26,7 @@ const example = {
25
26
  "description": null,
26
27
  "maxRunDurationSeconds": null,
27
28
  "instructionPathPartId": null,
29
+ "parentPathPartId": null,
28
30
  "isActive": null,
29
31
  "approvalRequired": null,
30
32
  } satisfies UpdateWorkflowDefinitionRequest
@@ -472,6 +472,8 @@ example().catch(console.error);
472
472
 
473
473
  Update Workflow Definition Handler
474
474
 
475
+ Update a workflow definition (PUT semantics). To move: provide &#x60;&#x60;parent_path_part_id&#x60;&#x60;. Rejected with 409 while a run is IN_PROGRESS. The FOR UPDATE load serializes the move against run start, which takes the same definition-row lock.
476
+
475
477
  ### Example
476
478
 
477
479
  ```ts
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@knowledge-stack/ksapi",
3
- "version": "1.100.0",
3
+ "version": "1.100.1",
4
4
  "description": "OpenAPI client for @knowledge-stack/ksapi",
5
5
  "author": "OpenAPI-Generator",
6
6
  "repository": {
@@ -243,7 +243,7 @@ export interface WorkflowDefinitionsApiInterface {
243
243
  updateWorkflowDefinitionRequestOpts(requestParameters: UpdateWorkflowDefinitionOperationRequest): Promise<runtime.RequestOpts>;
244
244
 
245
245
  /**
246
- *
246
+ * Update a workflow definition (PUT semantics). To move: provide ``parent_path_part_id``. Rejected with 409 while a run is IN_PROGRESS. The FOR UPDATE load serializes the move against run start, which takes the same definition-row lock.
247
247
  * @summary Update Workflow Definition Handler
248
248
  * @param {string} definitionId
249
249
  * @param {UpdateWorkflowDefinitionRequest} updateWorkflowDefinitionRequest
@@ -254,6 +254,7 @@ export interface WorkflowDefinitionsApiInterface {
254
254
  updateWorkflowDefinitionRaw(requestParameters: UpdateWorkflowDefinitionOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<WorkflowDefinitionResponse>>;
255
255
 
256
256
  /**
257
+ * Update a workflow definition (PUT semantics). To move: provide ``parent_path_part_id``. Rejected with 409 while a run is IN_PROGRESS. The FOR UPDATE load serializes the move against run start, which takes the same definition-row lock.
257
258
  * Update Workflow Definition Handler
258
259
  */
259
260
  updateWorkflowDefinition(requestParameters: UpdateWorkflowDefinitionOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<WorkflowDefinitionResponse>;
@@ -671,6 +672,7 @@ export class WorkflowDefinitionsApi extends runtime.BaseAPI implements WorkflowD
671
672
  }
672
673
 
673
674
  /**
675
+ * Update a workflow definition (PUT semantics). To move: provide ``parent_path_part_id``. Rejected with 409 while a run is IN_PROGRESS. The FOR UPDATE load serializes the move against run start, which takes the same definition-row lock.
674
676
  * Update Workflow Definition Handler
675
677
  */
676
678
  async updateWorkflowDefinitionRaw(requestParameters: UpdateWorkflowDefinitionOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<WorkflowDefinitionResponse>> {
@@ -681,6 +683,7 @@ export class WorkflowDefinitionsApi extends runtime.BaseAPI implements WorkflowD
681
683
  }
682
684
 
683
685
  /**
686
+ * Update a workflow definition (PUT semantics). To move: provide ``parent_path_part_id``. Rejected with 409 while a run is IN_PROGRESS. The FOR UPDATE load serializes the move against run start, which takes the same definition-row lock.
684
687
  * Update Workflow Definition Handler
685
688
  */
686
689
  async updateWorkflowDefinition(requestParameters: UpdateWorkflowDefinitionOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<WorkflowDefinitionResponse> {
@@ -43,6 +43,12 @@ export interface UpdateWorkflowDefinitionRequest {
43
43
  * @memberof UpdateWorkflowDefinitionRequest
44
44
  */
45
45
  instructionPathPartId?: string | null;
46
+ /**
47
+ * FOLDER path_part to move the definition under. Pass null (or omit) to leave it where it is. The move is rejected with 409 while any run of this definition is IN_PROGRESS.
48
+ * @type {string}
49
+ * @memberof UpdateWorkflowDefinitionRequest
50
+ */
51
+ parentPathPartId?: string | null;
46
52
  /**
47
53
  *
48
54
  * @type {boolean}
@@ -107,6 +113,7 @@ export function UpdateWorkflowDefinitionRequestFromJSONTyped(json: any, ignoreDi
107
113
  'description': json['description'] == null ? undefined : json['description'],
108
114
  'maxRunDurationSeconds': json['max_run_duration_seconds'] == null ? undefined : json['max_run_duration_seconds'],
109
115
  'instructionPathPartId': json['instruction_path_part_id'] == null ? undefined : json['instruction_path_part_id'],
116
+ 'parentPathPartId': json['parent_path_part_id'] == null ? undefined : json['parent_path_part_id'],
110
117
  'isActive': json['is_active'],
111
118
  'approvalRequired': json['approval_required'],
112
119
  };
@@ -127,6 +134,7 @@ export function UpdateWorkflowDefinitionRequestToJSONTyped(value?: UpdateWorkflo
127
134
  'description': value['description'],
128
135
  'max_run_duration_seconds': value['maxRunDurationSeconds'],
129
136
  'instruction_path_part_id': value['instructionPathPartId'],
137
+ 'parent_path_part_id': value['parentPathPartId'],
130
138
  'is_active': value['isActive'],
131
139
  'approval_required': value['approvalRequired'],
132
140
  };