@harnessio/react-intelligence-service-client 0.2.0 → 0.3.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.
@@ -3,10 +3,14 @@ export type { GeneratePipelineStepErrorResponse, GeneratePipelineStepMutationQue
3
3
  export { generatePipelineStep, useGeneratePipelineStepMutation, } from './hooks/useGeneratePipelineStepMutation';
4
4
  export type { UpdatePipelineStepErrorResponse, UpdatePipelineStepMutationQueryParams, UpdatePipelineStepOkResponse, UpdatePipelineStepProps, UpdatePipelineStepRequestBody, } from './hooks/useUpdatePipelineStepMutation';
5
5
  export { updatePipelineStep, useUpdatePipelineStepMutation, } from './hooks/useUpdatePipelineStepMutation';
6
+ export type { TypesConversation } from './schemas/TypesConversation';
6
7
  export type { TypesGeneratePipelineStepInput } from './schemas/TypesGeneratePipelineStepInput';
7
8
  export type { TypesGeneratePipelineStepOutput } from './schemas/TypesGeneratePipelineStepOutput';
9
+ export type { TypesMessage } from './schemas/TypesMessage';
10
+ export type { TypesMessageType } from './schemas/TypesMessageType';
8
11
  export type { TypesPipelineData } from './schemas/TypesPipelineData';
9
12
  export type { TypesPipelineStepData } from './schemas/TypesPipelineStepData';
13
+ export type { TypesRole } from './schemas/TypesRole';
10
14
  export type { TypesUpdatePipelineInput } from './schemas/TypesUpdatePipelineInput';
11
15
  export type { TypesUpdatePipelineOutput } from './schemas/TypesUpdatePipelineOutput';
12
16
  export type { UsererrorError } from './schemas/UsererrorError';
@@ -0,0 +1,6 @@
1
+ import type { TypesMessage } from '../schemas/TypesMessage';
2
+ import type { TypesRole } from '../schemas/TypesRole';
3
+ export interface TypesConversation {
4
+ message?: TypesMessage;
5
+ role?: TypesRole;
6
+ }
@@ -1,3 +1,8 @@
1
+ import type { TypesConversation } from '../schemas/TypesConversation';
1
2
  export interface TypesGeneratePipelineStepInput {
3
+ conversation?: TypesConversation[] | null;
4
+ metadata?: {
5
+ [key: string]: string;
6
+ } | null;
2
7
  prompt?: string;
3
8
  }
@@ -1,4 +1 @@
1
- /* eslint-disable */
2
- // This code is autogenerated using @harnessio/oats-cli.
3
- // Please do not modify this code directly.
4
1
  export {};
@@ -0,0 +1,5 @@
1
+ import type { TypesMessageType } from '../schemas/TypesMessageType';
2
+ export interface TypesMessage {
3
+ data?: string;
4
+ type?: TypesMessageType;
5
+ }
@@ -0,0 +1 @@
1
+ export type TypesMessageType = string;
@@ -0,0 +1,4 @@
1
+ /* eslint-disable */
2
+ // This code is autogenerated using @harnessio/oats-cli.
3
+ // Please do not modify this code directly.
4
+ export {};
@@ -1,3 +1,3 @@
1
1
  export interface TypesPipelineStepData {
2
- yaml?: string;
2
+ yaml_step?: string;
3
3
  }
@@ -0,0 +1 @@
1
+ export type TypesRole = string;
@@ -0,0 +1,4 @@
1
+ /* eslint-disable */
2
+ // This code is autogenerated using @harnessio/oats-cli.
3
+ // Please do not modify this code directly.
4
+ export {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@harnessio/react-intelligence-service-client",
3
- "version": "0.2.0",
3
+ "version": "0.3.0",
4
4
  "description": "Harness React Intelligence service client - Intelligence APIs integrated with react hooks",
5
5
  "author": "Harness Inc",
6
6
  "license": "MIT",