@knowledge-stack/ksapi 1.62.2 → 1.64.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.
Files changed (167) hide show
  1. package/.openapi-generator/FILES +48 -0
  2. package/README.md +36 -2
  3. package/dist/apis/FeedbackApi.d.ts +170 -0
  4. package/dist/apis/FeedbackApi.js +176 -0
  5. package/dist/apis/WorkflowDefinitionsApi.d.ts +328 -0
  6. package/dist/apis/WorkflowDefinitionsApi.js +345 -0
  7. package/dist/apis/WorkflowRunsApi.d.ts +146 -0
  8. package/dist/apis/WorkflowRunsApi.js +160 -0
  9. package/dist/apis/index.d.ts +3 -0
  10. package/dist/apis/index.js +3 -0
  11. package/dist/esm/apis/FeedbackApi.d.ts +170 -0
  12. package/dist/esm/apis/FeedbackApi.js +172 -0
  13. package/dist/esm/apis/WorkflowDefinitionsApi.d.ts +328 -0
  14. package/dist/esm/apis/WorkflowDefinitionsApi.js +341 -0
  15. package/dist/esm/apis/WorkflowRunsApi.d.ts +146 -0
  16. package/dist/esm/apis/WorkflowRunsApi.js +156 -0
  17. package/dist/esm/apis/index.d.ts +3 -0
  18. package/dist/esm/apis/index.js +3 -0
  19. package/dist/esm/models/ABCDPathSnapshot.d.ts +60 -0
  20. package/dist/esm/models/ABCDPathSnapshot.js +53 -0
  21. package/dist/esm/models/CreateWorkflowDefinitionRequest.d.ts +97 -0
  22. package/dist/esm/models/CreateWorkflowDefinitionRequest.js +95 -0
  23. package/dist/esm/models/FeedbackEventResponse.d.ts +106 -0
  24. package/dist/esm/models/FeedbackEventResponse.js +83 -0
  25. package/dist/esm/models/FeedbackRating.d.ts +25 -0
  26. package/dist/esm/models/FeedbackRating.js +43 -0
  27. package/dist/esm/models/FeedbackReason.d.ts +34 -0
  28. package/dist/esm/models/FeedbackReason.js +52 -0
  29. package/dist/esm/models/FeedbackTargetType.d.ts +28 -0
  30. package/dist/esm/models/FeedbackTargetType.js +46 -0
  31. package/dist/esm/models/InvokeWorkflowRequest.d.ts +47 -0
  32. package/dist/esm/models/InvokeWorkflowRequest.js +46 -0
  33. package/dist/esm/models/PaginatedResponseFeedbackEventResponse.d.ts +66 -0
  34. package/dist/esm/models/PaginatedResponseFeedbackEventResponse.js +70 -0
  35. package/dist/esm/models/PaginatedResponseWorkflowDefinitionResponse.d.ts +66 -0
  36. package/dist/esm/models/PaginatedResponseWorkflowDefinitionResponse.js +70 -0
  37. package/dist/esm/models/PaginatedResponseWorkflowRunResponse.d.ts +66 -0
  38. package/dist/esm/models/PaginatedResponseWorkflowRunResponse.js +70 -0
  39. package/dist/esm/models/PartType.d.ts +2 -0
  40. package/dist/esm/models/PartType.js +3 -1
  41. package/dist/esm/models/ReferenceType.d.ts +2 -0
  42. package/dist/esm/models/ReferenceType.js +2 -0
  43. package/dist/esm/models/SelfHostedRunnerConfig.d.ts +53 -0
  44. package/dist/esm/models/SelfHostedRunnerConfig.js +53 -0
  45. package/dist/esm/models/SelfHostedRunnerConfigResponse.d.ts +47 -0
  46. package/dist/esm/models/SelfHostedRunnerConfigResponse.js +49 -0
  47. package/dist/esm/models/SubmitFeedbackRequest.d.ts +82 -0
  48. package/dist/esm/models/SubmitFeedbackRequest.js +65 -0
  49. package/dist/esm/models/UpdateWorkflowDefinitionRequest.d.ts +103 -0
  50. package/dist/esm/models/UpdateWorkflowDefinitionRequest.js +97 -0
  51. package/dist/esm/models/WorkflowCallbackResponse.d.ts +47 -0
  52. package/dist/esm/models/WorkflowCallbackResponse.js +44 -0
  53. package/dist/esm/models/WorkflowDefinitionResponse.d.ts +121 -0
  54. package/dist/esm/models/WorkflowDefinitionResponse.js +94 -0
  55. package/dist/esm/models/WorkflowRunCallbackRequest.d.ts +61 -0
  56. package/dist/esm/models/WorkflowRunCallbackRequest.js +57 -0
  57. package/dist/esm/models/WorkflowRunResponse.d.ts +110 -0
  58. package/dist/esm/models/WorkflowRunResponse.js +87 -0
  59. package/dist/esm/models/WorkflowRunSnapshot.d.ts +97 -0
  60. package/dist/esm/models/WorkflowRunSnapshot.js +78 -0
  61. package/dist/esm/models/WorkflowRunStatus.d.ts +27 -0
  62. package/dist/esm/models/WorkflowRunStatus.js +45 -0
  63. package/dist/esm/models/WorkflowRunnerType.d.ts +24 -0
  64. package/dist/esm/models/WorkflowRunnerType.js +42 -0
  65. package/dist/esm/models/index.d.ts +21 -0
  66. package/dist/esm/models/index.js +21 -0
  67. package/dist/models/ABCDPathSnapshot.d.ts +60 -0
  68. package/dist/models/ABCDPathSnapshot.js +61 -0
  69. package/dist/models/CreateWorkflowDefinitionRequest.d.ts +97 -0
  70. package/dist/models/CreateWorkflowDefinitionRequest.js +103 -0
  71. package/dist/models/FeedbackEventResponse.d.ts +106 -0
  72. package/dist/models/FeedbackEventResponse.js +91 -0
  73. package/dist/models/FeedbackRating.d.ts +25 -0
  74. package/dist/models/FeedbackRating.js +51 -0
  75. package/dist/models/FeedbackReason.d.ts +34 -0
  76. package/dist/models/FeedbackReason.js +60 -0
  77. package/dist/models/FeedbackTargetType.d.ts +28 -0
  78. package/dist/models/FeedbackTargetType.js +54 -0
  79. package/dist/models/InvokeWorkflowRequest.d.ts +47 -0
  80. package/dist/models/InvokeWorkflowRequest.js +54 -0
  81. package/dist/models/PaginatedResponseFeedbackEventResponse.d.ts +66 -0
  82. package/dist/models/PaginatedResponseFeedbackEventResponse.js +78 -0
  83. package/dist/models/PaginatedResponseWorkflowDefinitionResponse.d.ts +66 -0
  84. package/dist/models/PaginatedResponseWorkflowDefinitionResponse.js +78 -0
  85. package/dist/models/PaginatedResponseWorkflowRunResponse.d.ts +66 -0
  86. package/dist/models/PaginatedResponseWorkflowRunResponse.js +78 -0
  87. package/dist/models/PartType.d.ts +2 -0
  88. package/dist/models/PartType.js +3 -1
  89. package/dist/models/ReferenceType.d.ts +2 -0
  90. package/dist/models/ReferenceType.js +2 -0
  91. package/dist/models/SelfHostedRunnerConfig.d.ts +53 -0
  92. package/dist/models/SelfHostedRunnerConfig.js +61 -0
  93. package/dist/models/SelfHostedRunnerConfigResponse.d.ts +47 -0
  94. package/dist/models/SelfHostedRunnerConfigResponse.js +57 -0
  95. package/dist/models/SubmitFeedbackRequest.d.ts +82 -0
  96. package/dist/models/SubmitFeedbackRequest.js +73 -0
  97. package/dist/models/UpdateWorkflowDefinitionRequest.d.ts +103 -0
  98. package/dist/models/UpdateWorkflowDefinitionRequest.js +105 -0
  99. package/dist/models/WorkflowCallbackResponse.d.ts +47 -0
  100. package/dist/models/WorkflowCallbackResponse.js +52 -0
  101. package/dist/models/WorkflowDefinitionResponse.d.ts +121 -0
  102. package/dist/models/WorkflowDefinitionResponse.js +102 -0
  103. package/dist/models/WorkflowRunCallbackRequest.d.ts +61 -0
  104. package/dist/models/WorkflowRunCallbackRequest.js +65 -0
  105. package/dist/models/WorkflowRunResponse.d.ts +110 -0
  106. package/dist/models/WorkflowRunResponse.js +95 -0
  107. package/dist/models/WorkflowRunSnapshot.d.ts +97 -0
  108. package/dist/models/WorkflowRunSnapshot.js +86 -0
  109. package/dist/models/WorkflowRunStatus.d.ts +27 -0
  110. package/dist/models/WorkflowRunStatus.js +53 -0
  111. package/dist/models/WorkflowRunnerType.d.ts +24 -0
  112. package/dist/models/WorkflowRunnerType.js +50 -0
  113. package/dist/models/index.d.ts +21 -0
  114. package/dist/models/index.js +21 -0
  115. package/docs/ABCDPathSnapshot.md +39 -0
  116. package/docs/CreateWorkflowDefinitionRequest.md +51 -0
  117. package/docs/FeedbackApi.md +245 -0
  118. package/docs/FeedbackEventResponse.md +53 -0
  119. package/docs/FeedbackRating.md +32 -0
  120. package/docs/FeedbackReason.md +32 -0
  121. package/docs/FeedbackTargetType.md +32 -0
  122. package/docs/InvokeWorkflowRequest.md +35 -0
  123. package/docs/PaginatedResponseFeedbackEventResponse.md +40 -0
  124. package/docs/PaginatedResponseWorkflowDefinitionResponse.md +40 -0
  125. package/docs/PaginatedResponseWorkflowRunResponse.md +40 -0
  126. package/docs/SelfHostedRunnerConfig.md +37 -0
  127. package/docs/SelfHostedRunnerConfigResponse.md +35 -0
  128. package/docs/SubmitFeedbackRequest.md +45 -0
  129. package/docs/UpdateWorkflowDefinitionRequest.md +53 -0
  130. package/docs/WorkflowCallbackResponse.md +35 -0
  131. package/docs/WorkflowDefinitionResponse.md +59 -0
  132. package/docs/WorkflowDefinitionsApi.md +534 -0
  133. package/docs/WorkflowRunCallbackRequest.md +37 -0
  134. package/docs/WorkflowRunResponse.md +55 -0
  135. package/docs/WorkflowRunSnapshot.md +51 -0
  136. package/docs/WorkflowRunStatus.md +33 -0
  137. package/docs/WorkflowRunnerType.md +33 -0
  138. package/docs/WorkflowRunsApi.md +224 -0
  139. package/package.json +1 -1
  140. package/src/apis/FeedbackApi.ts +334 -0
  141. package/src/apis/WorkflowDefinitionsApi.ts +678 -0
  142. package/src/apis/WorkflowRunsApi.ts +296 -0
  143. package/src/apis/index.ts +3 -0
  144. package/src/models/ABCDPathSnapshot.ts +111 -0
  145. package/src/models/CreateWorkflowDefinitionRequest.ts +192 -0
  146. package/src/models/FeedbackEventResponse.ts +188 -0
  147. package/src/models/FeedbackRating.ts +53 -0
  148. package/src/models/FeedbackReason.ts +62 -0
  149. package/src/models/FeedbackTargetType.ts +56 -0
  150. package/src/models/InvokeWorkflowRequest.ts +85 -0
  151. package/src/models/PaginatedResponseFeedbackEventResponse.ts +130 -0
  152. package/src/models/PaginatedResponseWorkflowDefinitionResponse.ts +130 -0
  153. package/src/models/PaginatedResponseWorkflowRunResponse.ts +130 -0
  154. package/src/models/PartType.ts +3 -1
  155. package/src/models/ReferenceType.ts +2 -0
  156. package/src/models/SelfHostedRunnerConfig.ts +96 -0
  157. package/src/models/SelfHostedRunnerConfigResponse.ts +87 -0
  158. package/src/models/SubmitFeedbackRequest.ts +152 -0
  159. package/src/models/UpdateWorkflowDefinitionRequest.ts +200 -0
  160. package/src/models/WorkflowCallbackResponse.ts +83 -0
  161. package/src/models/WorkflowDefinitionResponse.ts +208 -0
  162. package/src/models/WorkflowRunCallbackRequest.ts +105 -0
  163. package/src/models/WorkflowRunResponse.ts +197 -0
  164. package/src/models/WorkflowRunSnapshot.ts +172 -0
  165. package/src/models/WorkflowRunStatus.ts +55 -0
  166. package/src/models/WorkflowRunnerType.ts +52 -0
  167. package/src/models/index.ts +21 -0
@@ -0,0 +1,86 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * Knowledge Stack API
6
+ * Knowledge Stack backend API for authentication and knowledge management
7
+ *
8
+ * The version of the OpenAPI document: 0.1.0
9
+ *
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.WorkflowRunSnapshotPropertyValidationAttributesMap = void 0;
17
+ exports.instanceOfWorkflowRunSnapshot = instanceOfWorkflowRunSnapshot;
18
+ exports.WorkflowRunSnapshotFromJSON = WorkflowRunSnapshotFromJSON;
19
+ exports.WorkflowRunSnapshotFromJSONTyped = WorkflowRunSnapshotFromJSONTyped;
20
+ exports.WorkflowRunSnapshotToJSON = WorkflowRunSnapshotToJSON;
21
+ exports.WorkflowRunSnapshotToJSONTyped = WorkflowRunSnapshotToJSONTyped;
22
+ const ABCDPathSnapshot_1 = require("./ABCDPathSnapshot");
23
+ const WorkflowRunnerType_1 = require("./WorkflowRunnerType");
24
+ /**
25
+ * Check if a given object implements the WorkflowRunSnapshot interface.
26
+ */
27
+ function instanceOfWorkflowRunSnapshot(value) {
28
+ if (!('workflowDefinitionId' in value) || value['workflowDefinitionId'] === undefined)
29
+ return false;
30
+ if (!('workflowName' in value) || value['workflowName'] === undefined)
31
+ return false;
32
+ if (!('runnerType' in value) || value['runnerType'] === undefined)
33
+ return false;
34
+ if (!('userId' in value) || value['userId'] === undefined)
35
+ return false;
36
+ if (!('maxRunDurationSeconds' in value) || value['maxRunDurationSeconds'] === undefined)
37
+ return false;
38
+ if (!('sources' in value) || value['sources'] === undefined)
39
+ return false;
40
+ if (!('instructions' in value) || value['instructions'] === undefined)
41
+ return false;
42
+ if (!('outputs' in value) || value['outputs'] === undefined)
43
+ return false;
44
+ if (!('template' in value) || value['template'] === undefined)
45
+ return false;
46
+ return true;
47
+ }
48
+ function WorkflowRunSnapshotFromJSON(json) {
49
+ return WorkflowRunSnapshotFromJSONTyped(json, false);
50
+ }
51
+ function WorkflowRunSnapshotFromJSONTyped(json, ignoreDiscriminator) {
52
+ if (json == null) {
53
+ return json;
54
+ }
55
+ return {
56
+ 'workflowDefinitionId': json['workflow_definition_id'],
57
+ 'workflowName': json['workflow_name'],
58
+ 'runnerType': (0, WorkflowRunnerType_1.WorkflowRunnerTypeFromJSON)(json['runner_type']),
59
+ 'userId': json['user_id'],
60
+ 'maxRunDurationSeconds': json['max_run_duration_seconds'],
61
+ 'sources': (json['sources'].map(ABCDPathSnapshot_1.ABCDPathSnapshotFromJSON)),
62
+ 'instructions': (json['instructions'].map(ABCDPathSnapshot_1.ABCDPathSnapshotFromJSON)),
63
+ 'outputs': (json['outputs'].map(ABCDPathSnapshot_1.ABCDPathSnapshotFromJSON)),
64
+ 'template': (0, ABCDPathSnapshot_1.ABCDPathSnapshotFromJSON)(json['template']),
65
+ };
66
+ }
67
+ function WorkflowRunSnapshotToJSON(json) {
68
+ return WorkflowRunSnapshotToJSONTyped(json, false);
69
+ }
70
+ function WorkflowRunSnapshotToJSONTyped(value, ignoreDiscriminator = false) {
71
+ if (value == null) {
72
+ return value;
73
+ }
74
+ return {
75
+ 'workflow_definition_id': value['workflowDefinitionId'],
76
+ 'workflow_name': value['workflowName'],
77
+ 'runner_type': (0, WorkflowRunnerType_1.WorkflowRunnerTypeToJSON)(value['runnerType']),
78
+ 'user_id': value['userId'],
79
+ 'max_run_duration_seconds': value['maxRunDurationSeconds'],
80
+ 'sources': (value['sources'].map(ABCDPathSnapshot_1.ABCDPathSnapshotToJSON)),
81
+ 'instructions': (value['instructions'].map(ABCDPathSnapshot_1.ABCDPathSnapshotToJSON)),
82
+ 'outputs': (value['outputs'].map(ABCDPathSnapshot_1.ABCDPathSnapshotToJSON)),
83
+ 'template': (0, ABCDPathSnapshot_1.ABCDPathSnapshotToJSON)(value['template']),
84
+ };
85
+ }
86
+ exports.WorkflowRunSnapshotPropertyValidationAttributesMap = {};
@@ -0,0 +1,27 @@
1
+ /**
2
+ * Knowledge Stack API
3
+ * Knowledge Stack backend API for authentication and knowledge management
4
+ *
5
+ * The version of the OpenAPI document: 0.1.0
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ /**
13
+ * Lifecycle status of a workflow run.
14
+ * @export
15
+ */
16
+ export declare const WorkflowRunStatus: {
17
+ readonly Pending: "PENDING";
18
+ readonly Running: "RUNNING";
19
+ readonly Completed: "COMPLETED";
20
+ readonly Failed: "FAILED";
21
+ };
22
+ export type WorkflowRunStatus = typeof WorkflowRunStatus[keyof typeof WorkflowRunStatus];
23
+ export declare function instanceOfWorkflowRunStatus(value: any): boolean;
24
+ export declare function WorkflowRunStatusFromJSON(json: any): WorkflowRunStatus;
25
+ export declare function WorkflowRunStatusFromJSONTyped(json: any, ignoreDiscriminator: boolean): WorkflowRunStatus;
26
+ export declare function WorkflowRunStatusToJSON(value?: WorkflowRunStatus | null): any;
27
+ export declare function WorkflowRunStatusToJSONTyped(value: any, ignoreDiscriminator: boolean): WorkflowRunStatus;
@@ -0,0 +1,53 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * Knowledge Stack API
6
+ * Knowledge Stack backend API for authentication and knowledge management
7
+ *
8
+ * The version of the OpenAPI document: 0.1.0
9
+ *
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.WorkflowRunStatus = void 0;
17
+ exports.instanceOfWorkflowRunStatus = instanceOfWorkflowRunStatus;
18
+ exports.WorkflowRunStatusFromJSON = WorkflowRunStatusFromJSON;
19
+ exports.WorkflowRunStatusFromJSONTyped = WorkflowRunStatusFromJSONTyped;
20
+ exports.WorkflowRunStatusToJSON = WorkflowRunStatusToJSON;
21
+ exports.WorkflowRunStatusToJSONTyped = WorkflowRunStatusToJSONTyped;
22
+ /**
23
+ * Lifecycle status of a workflow run.
24
+ * @export
25
+ */
26
+ exports.WorkflowRunStatus = {
27
+ Pending: 'PENDING',
28
+ Running: 'RUNNING',
29
+ Completed: 'COMPLETED',
30
+ Failed: 'FAILED'
31
+ };
32
+ function instanceOfWorkflowRunStatus(value) {
33
+ for (const key in exports.WorkflowRunStatus) {
34
+ if (Object.prototype.hasOwnProperty.call(exports.WorkflowRunStatus, key)) {
35
+ if (exports.WorkflowRunStatus[key] === value) {
36
+ return true;
37
+ }
38
+ }
39
+ }
40
+ return false;
41
+ }
42
+ function WorkflowRunStatusFromJSON(json) {
43
+ return WorkflowRunStatusFromJSONTyped(json, false);
44
+ }
45
+ function WorkflowRunStatusFromJSONTyped(json, ignoreDiscriminator) {
46
+ return json;
47
+ }
48
+ function WorkflowRunStatusToJSON(value) {
49
+ return value;
50
+ }
51
+ function WorkflowRunStatusToJSONTyped(value, ignoreDiscriminator) {
52
+ return value;
53
+ }
@@ -0,0 +1,24 @@
1
+ /**
2
+ * Knowledge Stack API
3
+ * Knowledge Stack backend API for authentication and knowledge management
4
+ *
5
+ * The version of the OpenAPI document: 0.1.0
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ /**
13
+ * Runner that executes the workflow.
14
+ * @export
15
+ */
16
+ export declare const WorkflowRunnerType: {
17
+ readonly SelfHosted: "SELF_HOSTED";
18
+ };
19
+ export type WorkflowRunnerType = typeof WorkflowRunnerType[keyof typeof WorkflowRunnerType];
20
+ export declare function instanceOfWorkflowRunnerType(value: any): boolean;
21
+ export declare function WorkflowRunnerTypeFromJSON(json: any): WorkflowRunnerType;
22
+ export declare function WorkflowRunnerTypeFromJSONTyped(json: any, ignoreDiscriminator: boolean): WorkflowRunnerType;
23
+ export declare function WorkflowRunnerTypeToJSON(value?: WorkflowRunnerType | null): any;
24
+ export declare function WorkflowRunnerTypeToJSONTyped(value: any, ignoreDiscriminator: boolean): WorkflowRunnerType;
@@ -0,0 +1,50 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * Knowledge Stack API
6
+ * Knowledge Stack backend API for authentication and knowledge management
7
+ *
8
+ * The version of the OpenAPI document: 0.1.0
9
+ *
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.WorkflowRunnerType = void 0;
17
+ exports.instanceOfWorkflowRunnerType = instanceOfWorkflowRunnerType;
18
+ exports.WorkflowRunnerTypeFromJSON = WorkflowRunnerTypeFromJSON;
19
+ exports.WorkflowRunnerTypeFromJSONTyped = WorkflowRunnerTypeFromJSONTyped;
20
+ exports.WorkflowRunnerTypeToJSON = WorkflowRunnerTypeToJSON;
21
+ exports.WorkflowRunnerTypeToJSONTyped = WorkflowRunnerTypeToJSONTyped;
22
+ /**
23
+ * Runner that executes the workflow.
24
+ * @export
25
+ */
26
+ exports.WorkflowRunnerType = {
27
+ SelfHosted: 'SELF_HOSTED'
28
+ };
29
+ function instanceOfWorkflowRunnerType(value) {
30
+ for (const key in exports.WorkflowRunnerType) {
31
+ if (Object.prototype.hasOwnProperty.call(exports.WorkflowRunnerType, key)) {
32
+ if (exports.WorkflowRunnerType[key] === value) {
33
+ return true;
34
+ }
35
+ }
36
+ }
37
+ return false;
38
+ }
39
+ function WorkflowRunnerTypeFromJSON(json) {
40
+ return WorkflowRunnerTypeFromJSONTyped(json, false);
41
+ }
42
+ function WorkflowRunnerTypeFromJSONTyped(json, ignoreDiscriminator) {
43
+ return json;
44
+ }
45
+ function WorkflowRunnerTypeToJSON(value) {
46
+ return value;
47
+ }
48
+ function WorkflowRunnerTypeToJSONTyped(value, ignoreDiscriminator) {
49
+ return value;
50
+ }
@@ -1,3 +1,4 @@
1
+ export * from './ABCDPathSnapshot';
1
2
  export * from './AcceptInviteResponse';
2
3
  export * from './AddMemberRequest';
3
4
  export * from './AncestryResponse';
@@ -33,6 +34,7 @@ export * from './CreateTagRequest';
33
34
  export * from './CreateTenantRequest';
34
35
  export * from './CreateThreadMessageRequest';
35
36
  export * from './CreateThreadRequest';
37
+ export * from './CreateWorkflowDefinitionRequest';
36
38
  export * from './DissolveSectionResponse';
37
39
  export * from './DocumentOrigin';
38
40
  export * from './DocumentResponse';
@@ -48,6 +50,10 @@ export * from './EmailVerificationRequest';
48
50
  export * from './EnrichedCitation';
49
51
  export * from './EnrichedThreadMessageContent';
50
52
  export * from './FeaturesResponse';
53
+ export * from './FeedbackEventResponse';
54
+ export * from './FeedbackRating';
55
+ export * from './FeedbackReason';
56
+ export * from './FeedbackTargetType';
51
57
  export * from './FolderAction';
52
58
  export * from './FolderActionResponse';
53
59
  export * from './FolderResponse';
@@ -64,6 +70,7 @@ export * from './IngestionMode';
64
70
  export * from './InviteResponse';
65
71
  export * from './InviteStatus';
66
72
  export * from './InviteUserRequest';
73
+ export * from './InvokeWorkflowRequest';
67
74
  export * from './LineageEdgeResponse';
68
75
  export * from './LineageGraphResponse';
69
76
  export * from './LineageNodeResponse';
@@ -76,6 +83,7 @@ export * from './PaginatedResponseAnnotatedUnionFolderResponseDocumentResponseDi
76
83
  export * from './PaginatedResponseAnnotatedUnionSectionContentItemChunkContentItemDiscriminator';
77
84
  export * from './PaginatedResponseDocumentResponse';
78
85
  export * from './PaginatedResponseDocumentVersionResponse';
86
+ export * from './PaginatedResponseFeedbackEventResponse';
79
87
  export * from './PaginatedResponseFolderResponse';
80
88
  export * from './PaginatedResponseGroupPermissionResponse';
81
89
  export * from './PaginatedResponseGroupResponse';
@@ -88,6 +96,8 @@ export * from './PaginatedResponseTenantResponse';
88
96
  export * from './PaginatedResponseTenantUserResponse';
89
97
  export * from './PaginatedResponseThreadMessageResponse';
90
98
  export * from './PaginatedResponseThreadResponse';
99
+ export * from './PaginatedResponseWorkflowDefinitionResponse';
100
+ export * from './PaginatedResponseWorkflowRunResponse';
91
101
  export * from './PaginatedResponseWorkflowSummaryResponse';
92
102
  export * from './PartType';
93
103
  export * from './PasswordResetRequest';
@@ -115,10 +125,13 @@ export * from './SectionContentItem';
115
125
  export * from './SectionContentItemOrChunkContentItem';
116
126
  export * from './SectionResponse';
117
127
  export * from './SectionSystemMetadata';
128
+ export * from './SelfHostedRunnerConfig';
129
+ export * from './SelfHostedRunnerConfigResponse';
118
130
  export * from './SignInRequest';
119
131
  export * from './StepInput';
120
132
  export * from './StepKind';
121
133
  export * from './StepOutput';
134
+ export * from './SubmitFeedbackRequest';
122
135
  export * from './SubtreeChunkGroup';
123
136
  export * from './SubtreeChunksResponse';
124
137
  export * from './SupportedLanguage';
@@ -148,12 +161,20 @@ export * from './UpdateTagRequest';
148
161
  export * from './UpdateTenantRequest';
149
162
  export * from './UpdateThreadRequest';
150
163
  export * from './UpdateUserRequest';
164
+ export * from './UpdateWorkflowDefinitionRequest';
151
165
  export * from './UserMessageRequest';
152
166
  export * from './UserMessageResponse';
153
167
  export * from './UserResponse';
154
168
  export * from './ValidationError';
155
169
  export * from './VersionChunkIdsResponse';
156
170
  export * from './WorkflowActionResponse';
171
+ export * from './WorkflowCallbackResponse';
157
172
  export * from './WorkflowCancelResponse';
173
+ export * from './WorkflowDefinitionResponse';
158
174
  export * from './WorkflowDetailResponse';
175
+ export * from './WorkflowRunCallbackRequest';
176
+ export * from './WorkflowRunResponse';
177
+ export * from './WorkflowRunSnapshot';
178
+ export * from './WorkflowRunStatus';
179
+ export * from './WorkflowRunnerType';
159
180
  export * from './WorkflowSummaryResponse';
@@ -16,6 +16,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
17
  /* tslint:disable */
18
18
  /* eslint-disable */
19
+ __exportStar(require("./ABCDPathSnapshot"), exports);
19
20
  __exportStar(require("./AcceptInviteResponse"), exports);
20
21
  __exportStar(require("./AddMemberRequest"), exports);
21
22
  __exportStar(require("./AncestryResponse"), exports);
@@ -51,6 +52,7 @@ __exportStar(require("./CreateTagRequest"), exports);
51
52
  __exportStar(require("./CreateTenantRequest"), exports);
52
53
  __exportStar(require("./CreateThreadMessageRequest"), exports);
53
54
  __exportStar(require("./CreateThreadRequest"), exports);
55
+ __exportStar(require("./CreateWorkflowDefinitionRequest"), exports);
54
56
  __exportStar(require("./DissolveSectionResponse"), exports);
55
57
  __exportStar(require("./DocumentOrigin"), exports);
56
58
  __exportStar(require("./DocumentResponse"), exports);
@@ -66,6 +68,10 @@ __exportStar(require("./EmailVerificationRequest"), exports);
66
68
  __exportStar(require("./EnrichedCitation"), exports);
67
69
  __exportStar(require("./EnrichedThreadMessageContent"), exports);
68
70
  __exportStar(require("./FeaturesResponse"), exports);
71
+ __exportStar(require("./FeedbackEventResponse"), exports);
72
+ __exportStar(require("./FeedbackRating"), exports);
73
+ __exportStar(require("./FeedbackReason"), exports);
74
+ __exportStar(require("./FeedbackTargetType"), exports);
69
75
  __exportStar(require("./FolderAction"), exports);
70
76
  __exportStar(require("./FolderActionResponse"), exports);
71
77
  __exportStar(require("./FolderResponse"), exports);
@@ -82,6 +88,7 @@ __exportStar(require("./IngestionMode"), exports);
82
88
  __exportStar(require("./InviteResponse"), exports);
83
89
  __exportStar(require("./InviteStatus"), exports);
84
90
  __exportStar(require("./InviteUserRequest"), exports);
91
+ __exportStar(require("./InvokeWorkflowRequest"), exports);
85
92
  __exportStar(require("./LineageEdgeResponse"), exports);
86
93
  __exportStar(require("./LineageGraphResponse"), exports);
87
94
  __exportStar(require("./LineageNodeResponse"), exports);
@@ -94,6 +101,7 @@ __exportStar(require("./PaginatedResponseAnnotatedUnionFolderResponseDocumentRes
94
101
  __exportStar(require("./PaginatedResponseAnnotatedUnionSectionContentItemChunkContentItemDiscriminator"), exports);
95
102
  __exportStar(require("./PaginatedResponseDocumentResponse"), exports);
96
103
  __exportStar(require("./PaginatedResponseDocumentVersionResponse"), exports);
104
+ __exportStar(require("./PaginatedResponseFeedbackEventResponse"), exports);
97
105
  __exportStar(require("./PaginatedResponseFolderResponse"), exports);
98
106
  __exportStar(require("./PaginatedResponseGroupPermissionResponse"), exports);
99
107
  __exportStar(require("./PaginatedResponseGroupResponse"), exports);
@@ -106,6 +114,8 @@ __exportStar(require("./PaginatedResponseTenantResponse"), exports);
106
114
  __exportStar(require("./PaginatedResponseTenantUserResponse"), exports);
107
115
  __exportStar(require("./PaginatedResponseThreadMessageResponse"), exports);
108
116
  __exportStar(require("./PaginatedResponseThreadResponse"), exports);
117
+ __exportStar(require("./PaginatedResponseWorkflowDefinitionResponse"), exports);
118
+ __exportStar(require("./PaginatedResponseWorkflowRunResponse"), exports);
109
119
  __exportStar(require("./PaginatedResponseWorkflowSummaryResponse"), exports);
110
120
  __exportStar(require("./PartType"), exports);
111
121
  __exportStar(require("./PasswordResetRequest"), exports);
@@ -133,10 +143,13 @@ __exportStar(require("./SectionContentItem"), exports);
133
143
  __exportStar(require("./SectionContentItemOrChunkContentItem"), exports);
134
144
  __exportStar(require("./SectionResponse"), exports);
135
145
  __exportStar(require("./SectionSystemMetadata"), exports);
146
+ __exportStar(require("./SelfHostedRunnerConfig"), exports);
147
+ __exportStar(require("./SelfHostedRunnerConfigResponse"), exports);
136
148
  __exportStar(require("./SignInRequest"), exports);
137
149
  __exportStar(require("./StepInput"), exports);
138
150
  __exportStar(require("./StepKind"), exports);
139
151
  __exportStar(require("./StepOutput"), exports);
152
+ __exportStar(require("./SubmitFeedbackRequest"), exports);
140
153
  __exportStar(require("./SubtreeChunkGroup"), exports);
141
154
  __exportStar(require("./SubtreeChunksResponse"), exports);
142
155
  __exportStar(require("./SupportedLanguage"), exports);
@@ -166,12 +179,20 @@ __exportStar(require("./UpdateTagRequest"), exports);
166
179
  __exportStar(require("./UpdateTenantRequest"), exports);
167
180
  __exportStar(require("./UpdateThreadRequest"), exports);
168
181
  __exportStar(require("./UpdateUserRequest"), exports);
182
+ __exportStar(require("./UpdateWorkflowDefinitionRequest"), exports);
169
183
  __exportStar(require("./UserMessageRequest"), exports);
170
184
  __exportStar(require("./UserMessageResponse"), exports);
171
185
  __exportStar(require("./UserResponse"), exports);
172
186
  __exportStar(require("./ValidationError"), exports);
173
187
  __exportStar(require("./VersionChunkIdsResponse"), exports);
174
188
  __exportStar(require("./WorkflowActionResponse"), exports);
189
+ __exportStar(require("./WorkflowCallbackResponse"), exports);
175
190
  __exportStar(require("./WorkflowCancelResponse"), exports);
191
+ __exportStar(require("./WorkflowDefinitionResponse"), exports);
176
192
  __exportStar(require("./WorkflowDetailResponse"), exports);
193
+ __exportStar(require("./WorkflowRunCallbackRequest"), exports);
194
+ __exportStar(require("./WorkflowRunResponse"), exports);
195
+ __exportStar(require("./WorkflowRunSnapshot"), exports);
196
+ __exportStar(require("./WorkflowRunStatus"), exports);
197
+ __exportStar(require("./WorkflowRunnerType"), exports);
177
198
  __exportStar(require("./WorkflowSummaryResponse"), exports);
@@ -0,0 +1,39 @@
1
+
2
+ # ABCDPathSnapshot
3
+
4
+ Snapshot of a single ABCD path reference at trigger time.
5
+
6
+ ## Properties
7
+
8
+ Name | Type
9
+ ------------ | -------------
10
+ `pathPartId` | string
11
+ `materializedPath` | string
12
+ `partType` | [PartType](PartType.md)
13
+
14
+ ## Example
15
+
16
+ ```typescript
17
+ import type { ABCDPathSnapshot } from '@knowledge-stack/ksapi'
18
+
19
+ // TODO: Update the object below with actual values
20
+ const example = {
21
+ "pathPartId": null,
22
+ "materializedPath": null,
23
+ "partType": null,
24
+ } satisfies ABCDPathSnapshot
25
+
26
+ console.log(example)
27
+
28
+ // Convert the instance to a JSON string
29
+ const exampleJSON: string = JSON.stringify(example)
30
+ console.log(exampleJSON)
31
+
32
+ // Parse the JSON string back to an object
33
+ const exampleParsed = JSON.parse(exampleJSON) as ABCDPathSnapshot
34
+ console.log(exampleParsed)
35
+ ```
36
+
37
+ [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
38
+
39
+
@@ -0,0 +1,51 @@
1
+
2
+ # CreateWorkflowDefinitionRequest
3
+
4
+ Create a new workflow definition.
5
+
6
+ ## Properties
7
+
8
+ Name | Type
9
+ ------------ | -------------
10
+ `name` | string
11
+ `description` | string
12
+ `runnerType` | [WorkflowRunnerType](WorkflowRunnerType.md)
13
+ `runnerConfig` | [SelfHostedRunnerConfig](SelfHostedRunnerConfig.md)
14
+ `maxRunDurationSeconds` | number
15
+ `sourcePathPartIds` | Array<string>
16
+ `instructionPathPartIds` | Array<string>
17
+ `outputPathPartIds` | Array<string>
18
+ `templatePathPartId` | string
19
+
20
+ ## Example
21
+
22
+ ```typescript
23
+ import type { CreateWorkflowDefinitionRequest } from '@knowledge-stack/ksapi'
24
+
25
+ // TODO: Update the object below with actual values
26
+ const example = {
27
+ "name": null,
28
+ "description": null,
29
+ "runnerType": null,
30
+ "runnerConfig": null,
31
+ "maxRunDurationSeconds": null,
32
+ "sourcePathPartIds": null,
33
+ "instructionPathPartIds": null,
34
+ "outputPathPartIds": null,
35
+ "templatePathPartId": null,
36
+ } satisfies CreateWorkflowDefinitionRequest
37
+
38
+ console.log(example)
39
+
40
+ // Convert the instance to a JSON string
41
+ const exampleJSON: string = JSON.stringify(example)
42
+ console.log(exampleJSON)
43
+
44
+ // Parse the JSON string back to an object
45
+ const exampleParsed = JSON.parse(exampleJSON) as CreateWorkflowDefinitionRequest
46
+ console.log(exampleParsed)
47
+ ```
48
+
49
+ [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
50
+
51
+