Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,8 @@ const edifactencode = 'edifactencode';
const edifactbatchencode = 'edifactbatchencode';
const edifactdecode = 'edifactdecode';
const parsedocument = 'parsedocument';
const hl7decode = 'hl7decode';
const hl7encode = 'hl7encode';
Comment thread
lambrianmsft marked this conversation as resolved.
export const parsedocumentwithmetadata = 'parsedocumentwithmetadata';
export const chunktextwithmetadata = 'chunktextwithmetadata';

Expand All @@ -155,6 +157,7 @@ const dataMapperConnectorId = 'connectionProviders/dataMapperOperations';
const x12ConnectorId = 'connectionProviders/x12Operations';
const xmlOperationsConnectionId = 'connectionProviders/xmlOperations';
const edifactConnectorId = 'connectionProviders/edifactOperations';
const hl7ConnectorId = 'connectionProviders/hl7Operations';
export const inlineCodeConnectorId = 'connectionProviders/inlineCode';

const azurefunction = 'azurefunction';
Expand Down Expand Up @@ -235,6 +238,8 @@ export const supportedBaseManifestTypes = [
parsedocument,
parsedocumentwithmetadata,
chunktextwithmetadata,
hl7decode,
hl7encode,
];

export const builtInConnectorIds = {
Expand Down Expand Up @@ -374,6 +379,8 @@ export function isBuiltInOperation(definition: any): boolean {
case chunktext:
case chunktextwithmetadata:
case parsedocumentwithmetadata:
case hl7decode:
case hl7encode:
return true;

case mcpclienttool:
Expand Down Expand Up @@ -786,6 +793,14 @@ const builtInOperationsMetadata: Record<string, OperationInfo> = {
connectorId: dataOperationConnectorId,
operationId: chunktextwithmetadata,
},
[hl7decode]: {
connectorId: hl7ConnectorId,
operationId: hl7decode,
},
[hl7encode]: {
connectorId: hl7ConnectorId,
operationId: hl7encode,
},
};

export const supportedBaseManifestObjects = new Map<string, OperationManifest>([
Expand Down
Loading