export interface FullResponse<T, U extends number> {
  'statusCode': U;
  'headers': object;
  'body': T;
}

export type GetV1WorkflowReferencesRequest = {
  'x-token'?: string;
  'x-timezone'?: string;
}

export type GetV1WorkflowReferencesResponseOK = {
  'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
  'success': boolean;
  'status_code': number;
  'message': string;
  'data': object;
  'pagination': object;
}
export type GetV1WorkflowReferencesResponseBadRequest = {
  'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
  'success': boolean;
  'status_code': number;
  'message': string;
}
export type GetV1WorkflowReferencesResponseNotFound = {
  'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
  'success': boolean;
  'status_code': number;
  'message': string;
}
export type GetV1WorkflowReferencesResponseInternalServerError = {
  'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
  'success': boolean;
  'status_code': number;
  'message': string;
}
export type GetV1WorkflowReferencesResponses =
  GetV1WorkflowReferencesResponseOK
  | GetV1WorkflowReferencesResponseBadRequest
  | GetV1WorkflowReferencesResponseNotFound
  | GetV1WorkflowReferencesResponseInternalServerError

export type GetV1WorkflowReferencesTypeRequest = {
  'skip'?: number;
  'limit'?: number;
  'order'?: string;
  'filters'?: string;
  'search'?: string;
  'select'?: string;
  'x-token'?: string;
  'x-timezone'?: string;
  'type': string;
}

export type GetV1WorkflowReferencesTypeResponseOK = {
  'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
  'success': boolean;
  'status_code': number;
  'message': string;
  'data': object;
  'pagination': object;
}
export type GetV1WorkflowReferencesTypeResponseBadRequest = {
  'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
  'success': boolean;
  'status_code': number;
  'message': string;
}
export type GetV1WorkflowReferencesTypeResponseNotFound = {
  'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
  'success': boolean;
  'status_code': number;
  'message': string;
}
export type GetV1WorkflowReferencesTypeResponseInternalServerError = {
  'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
  'success': boolean;
  'status_code': number;
  'message': string;
}
export type GetV1WorkflowReferencesTypeResponses =
  GetV1WorkflowReferencesTypeResponseOK
  | GetV1WorkflowReferencesTypeResponseBadRequest
  | GetV1WorkflowReferencesTypeResponseNotFound
  | GetV1WorkflowReferencesTypeResponseInternalServerError

export type PutV1WorkflowReferencesTypeRequest = {
  'x-token'?: string;
  'x-timezone'?: string;
  'type': string;
}

export type PutV1WorkflowReferencesTypeResponseOK = {
  'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
  'success': boolean;
  'status_code': number;
  'message': string;
  'data': object;
  'pagination': object;
}
export type PutV1WorkflowReferencesTypeResponseBadRequest = {
  'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
  'success': boolean;
  'status_code': number;
  'message': string;
}
export type PutV1WorkflowReferencesTypeResponseNotFound = {
  'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
  'success': boolean;
  'status_code': number;
  'message': string;
}
export type PutV1WorkflowReferencesTypeResponseInternalServerError = {
  'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
  'success': boolean;
  'status_code': number;
  'message': string;
}
export type PutV1WorkflowReferencesTypeResponses =
  PutV1WorkflowReferencesTypeResponseOK
  | PutV1WorkflowReferencesTypeResponseBadRequest
  | PutV1WorkflowReferencesTypeResponseNotFound
  | PutV1WorkflowReferencesTypeResponseInternalServerError

export type GetV1WorkflowReferencesHierarchicalTypeRequest = {
  'x-token'?: string;
  'x-timezone'?: string;
  'type': string;
}

export type GetV1WorkflowReferencesHierarchicalTypeResponseOK = {
  'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
  'success': boolean;
  'status_code': number;
  'message': string;
  'data': object;
  'pagination': object;
}
export type GetV1WorkflowReferencesHierarchicalTypeResponseBadRequest = {
  'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
  'success': boolean;
  'status_code': number;
  'message': string;
}
export type GetV1WorkflowReferencesHierarchicalTypeResponseNotFound = {
  'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
  'success': boolean;
  'status_code': number;
  'message': string;
}
export type GetV1WorkflowReferencesHierarchicalTypeResponseInternalServerError = {
  'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
  'success': boolean;
  'status_code': number;
  'message': string;
}
export type GetV1WorkflowReferencesHierarchicalTypeResponses =
  GetV1WorkflowReferencesHierarchicalTypeResponseOK
  | GetV1WorkflowReferencesHierarchicalTypeResponseBadRequest
  | GetV1WorkflowReferencesHierarchicalTypeResponseNotFound
  | GetV1WorkflowReferencesHierarchicalTypeResponseInternalServerError

export type PostV1WorkflowReferencesTypeItemsRequest = {
  'x-token'?: string;
  'x-timezone'?: string;
  'type': string;
}

export type PostV1WorkflowReferencesTypeItemsResponseOK = {
  'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
  'success': boolean;
  'status_code': number;
  'message': string;
  'data': object;
  'pagination': object;
}
export type PostV1WorkflowReferencesTypeItemsResponseBadRequest = {
  'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
  'success': boolean;
  'status_code': number;
  'message': string;
}
export type PostV1WorkflowReferencesTypeItemsResponseNotFound = {
  'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
  'success': boolean;
  'status_code': number;
  'message': string;
}
export type PostV1WorkflowReferencesTypeItemsResponseInternalServerError = {
  'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
  'success': boolean;
  'status_code': number;
  'message': string;
}
export type PostV1WorkflowReferencesTypeItemsResponses =
  PostV1WorkflowReferencesTypeItemsResponseOK
  | PostV1WorkflowReferencesTypeItemsResponseBadRequest
  | PostV1WorkflowReferencesTypeItemsResponseNotFound
  | PostV1WorkflowReferencesTypeItemsResponseInternalServerError

export type DeleteV1WorkflowReferencesTypeItemsValueRequest = {
  'x-token'?: string;
  'x-timezone'?: string;
  'type': string;
  'value': string;
}

export type DeleteV1WorkflowReferencesTypeItemsValueResponseOK = {
  'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
  'success': boolean;
  'status_code': number;
  'message': string;
  'data': object;
  'pagination': object;
}
export type DeleteV1WorkflowReferencesTypeItemsValueResponseBadRequest = {
  'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
  'success': boolean;
  'status_code': number;
  'message': string;
}
export type DeleteV1WorkflowReferencesTypeItemsValueResponseNotFound = {
  'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
  'success': boolean;
  'status_code': number;
  'message': string;
}
export type DeleteV1WorkflowReferencesTypeItemsValueResponseInternalServerError = {
  'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
  'success': boolean;
  'status_code': number;
  'message': string;
}
export type DeleteV1WorkflowReferencesTypeItemsValueResponses =
  DeleteV1WorkflowReferencesTypeItemsValueResponseOK
  | DeleteV1WorkflowReferencesTypeItemsValueResponseBadRequest
  | DeleteV1WorkflowReferencesTypeItemsValueResponseNotFound
  | DeleteV1WorkflowReferencesTypeItemsValueResponseInternalServerError

export type GetV1WorkflowReferencesFieldsEntityTypeRequest = {
  'skip'?: number;
  'limit'?: number;
  'order'?: string;
  'filters'?: string;
  'search'?: string;
  'select'?: string;
  'x-token'?: string;
  'x-timezone'?: string;
  'entity_type': string;
}

export type GetV1WorkflowReferencesFieldsEntityTypeResponseOK = {
  'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
  'success': boolean;
  'status_code': number;
  'message': string;
  'data': object;
  'pagination': object;
}
export type GetV1WorkflowReferencesFieldsEntityTypeResponseBadRequest = {
  'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
  'success': boolean;
  'status_code': number;
  'message': string;
}
export type GetV1WorkflowReferencesFieldsEntityTypeResponseNotFound = {
  'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
  'success': boolean;
  'status_code': number;
  'message': string;
}
export type GetV1WorkflowReferencesFieldsEntityTypeResponseInternalServerError = {
  'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
  'success': boolean;
  'status_code': number;
  'message': string;
}
export type GetV1WorkflowReferencesFieldsEntityTypeResponses =
  GetV1WorkflowReferencesFieldsEntityTypeResponseOK
  | GetV1WorkflowReferencesFieldsEntityTypeResponseBadRequest
  | GetV1WorkflowReferencesFieldsEntityTypeResponseNotFound
  | GetV1WorkflowReferencesFieldsEntityTypeResponseInternalServerError

export type GetV1WorkflowReferencesOperatorsEntityTypeFieldNameRequest = {
  'x-token'?: string;
  'x-timezone'?: string;
  'entity_type': string;
  'field_name': string;
}

export type GetV1WorkflowReferencesOperatorsEntityTypeFieldNameResponseOK = {
  'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
  'success': boolean;
  'status_code': number;
  'message': string;
  'data': object;
  'pagination': object;
}
export type GetV1WorkflowReferencesOperatorsEntityTypeFieldNameResponseBadRequest = {
  'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
  'success': boolean;
  'status_code': number;
  'message': string;
}
export type GetV1WorkflowReferencesOperatorsEntityTypeFieldNameResponseNotFound = {
  'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
  'success': boolean;
  'status_code': number;
  'message': string;
}
export type GetV1WorkflowReferencesOperatorsEntityTypeFieldNameResponseInternalServerError = {
  'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
  'success': boolean;
  'status_code': number;
  'message': string;
}
export type GetV1WorkflowReferencesOperatorsEntityTypeFieldNameResponses =
  GetV1WorkflowReferencesOperatorsEntityTypeFieldNameResponseOK
  | GetV1WorkflowReferencesOperatorsEntityTypeFieldNameResponseBadRequest
  | GetV1WorkflowReferencesOperatorsEntityTypeFieldNameResponseNotFound
  | GetV1WorkflowReferencesOperatorsEntityTypeFieldNameResponseInternalServerError

export type GetV1WorkflowReferencesEntityFieldOptionsEntityTypeRequest = {
  'x-token'?: string;
  'x-timezone'?: string;
  'entity_type': string;
}

export type GetV1WorkflowReferencesEntityFieldOptionsEntityTypeResponseOK = {
  'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
  'success': boolean;
  'status_code': number;
  'message': string;
  'data': object;
  'pagination': object;
}
export type GetV1WorkflowReferencesEntityFieldOptionsEntityTypeResponseBadRequest = {
  'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
  'success': boolean;
  'status_code': number;
  'message': string;
}
export type GetV1WorkflowReferencesEntityFieldOptionsEntityTypeResponseNotFound = {
  'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
  'success': boolean;
  'status_code': number;
  'message': string;
}
export type GetV1WorkflowReferencesEntityFieldOptionsEntityTypeResponseInternalServerError = {
  'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
  'success': boolean;
  'status_code': number;
  'message': string;
}
export type GetV1WorkflowReferencesEntityFieldOptionsEntityTypeResponses =
  GetV1WorkflowReferencesEntityFieldOptionsEntityTypeResponseOK
  | GetV1WorkflowReferencesEntityFieldOptionsEntityTypeResponseBadRequest
  | GetV1WorkflowReferencesEntityFieldOptionsEntityTypeResponseNotFound
  | GetV1WorkflowReferencesEntityFieldOptionsEntityTypeResponseInternalServerError

export type GetV1WorkflowsRequest = {
  'skip'?: number;
  'limit'?: number;
  'order'?: string;
  'filters'?: string;
  'search'?: string;
  'select'?: string;
  'x-token'?: string;
  'x-timezone'?: string;
}

export type GetV1WorkflowsResponseOK = {
  'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
  'success': boolean;
  'status_code': number;
  'message': string;
  'data': object;
  'pagination': object;
}
export type GetV1WorkflowsResponseBadRequest = {
  'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
  'success': boolean;
  'status_code': number;
  'message': string;
}
export type GetV1WorkflowsResponseNotFound = {
  'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
  'success': boolean;
  'status_code': number;
  'message': string;
}
export type GetV1WorkflowsResponseInternalServerError = {
  'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
  'success': boolean;
  'status_code': number;
  'message': string;
}
export type GetV1WorkflowsResponses =
  GetV1WorkflowsResponseOK
  | GetV1WorkflowsResponseBadRequest
  | GetV1WorkflowsResponseNotFound
  | GetV1WorkflowsResponseInternalServerError

export type PostV1WorkflowsRequest = {
  'x-token'?: string;
  'x-timezone'?: string;
  'name': string;
  'description': string;
  'module': string;
  'entity_type': string;
  'company_ids': Array<number>;
  'status': 'draft' | 'published';
  'is_active': boolean;
  'graph': { 'nodes': Array<object>; 'edges': Array<object> };
}

export type PostV1WorkflowsResponseOK = {
  'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
  'success': boolean;
  'status_code': number;
  'message': string;
  'data': object;
  'pagination': object;
}
export type PostV1WorkflowsResponseBadRequest = {
  'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
  'success': boolean;
  'status_code': number;
  'message': string;
}
export type PostV1WorkflowsResponseNotFound = {
  'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
  'success': boolean;
  'status_code': number;
  'message': string;
}
export type PostV1WorkflowsResponseInternalServerError = {
  'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
  'success': boolean;
  'status_code': number;
  'message': string;
}
export type PostV1WorkflowsResponses =
  PostV1WorkflowsResponseOK
  | PostV1WorkflowsResponseBadRequest
  | PostV1WorkflowsResponseNotFound
  | PostV1WorkflowsResponseInternalServerError

export type GetV1WorkflowsIdRequest = {
  'id': string;
  'x-token'?: string;
  'x-timezone'?: string;
}

export type GetV1WorkflowsIdResponseOK = {
  'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
  'success': boolean;
  'status_code': number;
  'message': string;
  'data': object;
  'pagination': object;
}
export type GetV1WorkflowsIdResponseBadRequest = {
  'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
  'success': boolean;
  'status_code': number;
  'message': string;
}
export type GetV1WorkflowsIdResponseNotFound = {
  'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
  'success': boolean;
  'status_code': number;
  'message': string;
}
export type GetV1WorkflowsIdResponseInternalServerError = {
  'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
  'success': boolean;
  'status_code': number;
  'message': string;
}
export type GetV1WorkflowsIdResponses =
  GetV1WorkflowsIdResponseOK
  | GetV1WorkflowsIdResponseBadRequest
  | GetV1WorkflowsIdResponseNotFound
  | GetV1WorkflowsIdResponseInternalServerError

export type PutV1WorkflowsIdRequest = {
  'id': string;
  'x-token'?: string;
  'x-timezone'?: string;
  'name': string;
  'description': string;
  'module': string;
  'entity_type': string;
  'company_ids': Array<number>;
  'status': 'draft' | 'published';
  'is_active': boolean;
  'graph': { 'nodes': Array<object>; 'edges': Array<object> };
}

export type PutV1WorkflowsIdResponseOK = {
  'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
  'success': boolean;
  'status_code': number;
  'message': string;
  'data': object;
  'pagination': object;
}
export type PutV1WorkflowsIdResponseBadRequest = {
  'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
  'success': boolean;
  'status_code': number;
  'message': string;
}
export type PutV1WorkflowsIdResponseNotFound = {
  'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
  'success': boolean;
  'status_code': number;
  'message': string;
}
export type PutV1WorkflowsIdResponseInternalServerError = {
  'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
  'success': boolean;
  'status_code': number;
  'message': string;
}
export type PutV1WorkflowsIdResponses =
  PutV1WorkflowsIdResponseOK
  | PutV1WorkflowsIdResponseBadRequest
  | PutV1WorkflowsIdResponseNotFound
  | PutV1WorkflowsIdResponseInternalServerError

export type DeleteV1WorkflowsIdRequest = {
  'id': string;
  'x-token'?: string;
  'x-timezone'?: string;
}

export type DeleteV1WorkflowsIdResponseOK = {
  'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
  'success': boolean;
  'status_code': number;
  'message': string;
  'data': object;
  'pagination': object;
}
export type DeleteV1WorkflowsIdResponseBadRequest = {
  'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
  'success': boolean;
  'status_code': number;
  'message': string;
}
export type DeleteV1WorkflowsIdResponseNotFound = {
  'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
  'success': boolean;
  'status_code': number;
  'message': string;
}
export type DeleteV1WorkflowsIdResponseInternalServerError = {
  'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
  'success': boolean;
  'status_code': number;
  'message': string;
}
export type DeleteV1WorkflowsIdResponses =
  DeleteV1WorkflowsIdResponseOK
  | DeleteV1WorkflowsIdResponseBadRequest
  | DeleteV1WorkflowsIdResponseNotFound
  | DeleteV1WorkflowsIdResponseInternalServerError

export type PostV1WorkflowsIdToggleRequest = {
  'id': string;
  'x-token'?: string;
  'x-timezone'?: string;
}

export type PostV1WorkflowsIdToggleResponseOK = {
  'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
  'success': boolean;
  'status_code': number;
  'message': string;
  'data': object;
  'pagination': object;
}
export type PostV1WorkflowsIdToggleResponseBadRequest = {
  'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
  'success': boolean;
  'status_code': number;
  'message': string;
}
export type PostV1WorkflowsIdToggleResponseNotFound = {
  'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
  'success': boolean;
  'status_code': number;
  'message': string;
}
export type PostV1WorkflowsIdToggleResponseInternalServerError = {
  'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
  'success': boolean;
  'status_code': number;
  'message': string;
}
export type PostV1WorkflowsIdToggleResponses =
  PostV1WorkflowsIdToggleResponseOK
  | PostV1WorkflowsIdToggleResponseBadRequest
  | PostV1WorkflowsIdToggleResponseNotFound
  | PostV1WorkflowsIdToggleResponseInternalServerError

export type PostV1WorkflowsTestTransformRequest = {
  'x-token'?: string;
  'x-timezone'?: string;
}

export type PostV1WorkflowsTestTransformResponseOK = {
  'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
  'success': boolean;
  'status_code': number;
  'message': string;
  'data': object;
  'pagination': object;
}
export type PostV1WorkflowsTestTransformResponseBadRequest = {
  'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
  'success': boolean;
  'status_code': number;
  'message': string;
}
export type PostV1WorkflowsTestTransformResponseNotFound = {
  'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
  'success': boolean;
  'status_code': number;
  'message': string;
}
export type PostV1WorkflowsTestTransformResponseInternalServerError = {
  'api': { 'author'?: string; 'version'?: string; 'endpoint'?: string; 'module'?: string };
  'success': boolean;
  'status_code': number;
  'message': string;
}
export type PostV1WorkflowsTestTransformResponses =
  PostV1WorkflowsTestTransformResponseOK
  | PostV1WorkflowsTestTransformResponseBadRequest
  | PostV1WorkflowsTestTransformResponseNotFound
  | PostV1WorkflowsTestTransformResponseInternalServerError



export interface Api {
  setBaseUrl(newUrl: string) : void;
  setDefaultHeaders(headers: Object) : void;
  getV1WorkflowReferences(req?: GetV1WorkflowReferencesRequest): Promise<GetV1WorkflowReferencesResponses>;
  getV1WorkflowReferencesType(req?: GetV1WorkflowReferencesTypeRequest): Promise<GetV1WorkflowReferencesTypeResponses>;
  putV1WorkflowReferencesType(req?: PutV1WorkflowReferencesTypeRequest): Promise<PutV1WorkflowReferencesTypeResponses>;
  getV1WorkflowReferencesHierarchicalType(req?: GetV1WorkflowReferencesHierarchicalTypeRequest): Promise<GetV1WorkflowReferencesHierarchicalTypeResponses>;
  postV1WorkflowReferencesTypeItems(req?: PostV1WorkflowReferencesTypeItemsRequest): Promise<PostV1WorkflowReferencesTypeItemsResponses>;
  deleteV1WorkflowReferencesTypeItemsValue(req?: DeleteV1WorkflowReferencesTypeItemsValueRequest): Promise<DeleteV1WorkflowReferencesTypeItemsValueResponses>;
  getV1WorkflowReferencesFieldsEntityType(req?: GetV1WorkflowReferencesFieldsEntityTypeRequest): Promise<GetV1WorkflowReferencesFieldsEntityTypeResponses>;
  getV1WorkflowReferencesOperatorsEntityTypeFieldName(req?: GetV1WorkflowReferencesOperatorsEntityTypeFieldNameRequest): Promise<GetV1WorkflowReferencesOperatorsEntityTypeFieldNameResponses>;
  getV1WorkflowReferencesEntityFieldOptionsEntityType(req?: GetV1WorkflowReferencesEntityFieldOptionsEntityTypeRequest): Promise<GetV1WorkflowReferencesEntityFieldOptionsEntityTypeResponses>;
  getV1Workflows(req?: GetV1WorkflowsRequest): Promise<GetV1WorkflowsResponses>;
  postV1Workflows(req?: PostV1WorkflowsRequest): Promise<PostV1WorkflowsResponses>;
  getV1WorkflowsId(req?: GetV1WorkflowsIdRequest): Promise<GetV1WorkflowsIdResponses>;
  putV1WorkflowsId(req?: PutV1WorkflowsIdRequest): Promise<PutV1WorkflowsIdResponses>;
  deleteV1WorkflowsId(req?: DeleteV1WorkflowsIdRequest): Promise<DeleteV1WorkflowsIdResponses>;
  postV1WorkflowsIdToggle(req?: PostV1WorkflowsIdToggleRequest): Promise<PostV1WorkflowsIdToggleResponses>;
  postV1WorkflowsTestTransform(req?: PostV1WorkflowsTestTransformRequest): Promise<PostV1WorkflowsTestTransformResponses>;
}
type PlatformaticFrontendClient = Omit<Api, 'setBaseUrl'>
type BuildOptions = {
  headers?: Object
}
export default function build(url: string, options?: BuildOptions): PlatformaticFrontendClient
