/** * Agilicus API * Agilicus is API-first. Modern software is controlled by other software, is open, is available for you to use the way you want, securely, simply. The OpenAPI Specification in YAML format is available on [www](https://www.agilicus.com/www/api/agilicus-openapi.yaml) for importing to other tools. A rendered, online viewable and usable version of this specification is available at [api](https://www.agilicus.com/api). You may try the API inline directly in the web page. To do so, first obtain an Authentication Token (the simplest way is to install the Python SDK, and then run `agilicus-cli --issuer https://MYISSUER get-token`). You will need an org-id for most calls (and can obtain from `agilicus-cli --issuer https://MYISSUER list-orgs`). The `MYISSUER` will typically be `auth.MYDOMAIN`, and you will see it as you sign-in to the administrative UI. This API releases on Bearer-Token authentication. To obtain a valid bearer token you will need to Authenticate to an Issuer with OpenID Connect (a superset of OAUTH2). Your \"issuer\" will look like https://auth.MYDOMAIN. For example, when you signed-up, if you said \"use my own domain name\" and assigned a CNAME of cloud.example.com, then your issuer would be https://auth.cloud.example.com. If you selected \"use an Agilicus supplied domain name\", your issuer would look like https://auth.myorg.agilicus.cloud. For test purposes you can use our [Python SDK](https://pypi.org/project/agilicus/) and run `agilicus-cli --issuer https://auth.MYDOMAIN get-token`. This API may be used in any language runtime that supports OpenAPI 3.0, or, you may use our [Python SDK](https://pypi.org/project/agilicus/), our [Typescript SDK](https://www.npmjs.com/package/@agilicus/angular), or our [Golang SDK](https://git.agilicus.com/pub/sdk-go). 100% of the activities in our system our API-driven, from our web-admin, through our progressive web applications, to all internals: there is nothing that is not accessible. For more information, see [developer resources](https://www.agilicus.com/developer). * * The version of the OpenAPI document: 2025.12.16 * Contact: dev@agilicus.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ import { HttpHeaders } from '@angular/common/http'; import { Observable } from 'rxjs'; import { BulkDeleteLabelledObjectsRequest } from '../model/models'; import { BulkDeleteLabelledObjectsResponse } from '../model/models'; import { Label } from '../model/models'; import { LabelAssociation } from '../model/models'; import { LabelledObject } from '../model/models'; import { ListLabelledObjectsResponse } from '../model/models'; import { ListLabelsResponse } from '../model/models'; import { Configuration } from '../configuration'; export interface BulkDeleteLabelledObjectsRequestParams { BulkDeleteLabelledObjectsRequest: BulkDeleteLabelledObjectsRequest; } export interface CreateLabelledObjectRequestParams { LabelledObject: LabelledObject; } export interface CreateLabelledObjectLabelRequestParams { labelled_object_id: string; LabelAssociation: LabelAssociation; } export interface CreateObjectLabelRequestParams { Label: Label; } export interface DeleteLabelledObjectRequestParams { labelled_object_id: string; org_id?: string; } export interface DeleteLabelledObjectLabelRequestParams { labelled_object_id: string; label_name: string; org_id?: string; } export interface DeleteObjectLabelRequestParams { label_id: string; org_id?: string; } export interface GetLabelledObjectRequestParams { labelled_object_id: string; org_id?: string; } export interface GetObjectLabelRequestParams { label_id: string; org_id?: string; } export interface ListLabelledObjectsRequestParams { limit?: number; includes_any_label?: Array; excludes_any_label?: Array; object_id?: string; object_type?: string; object_types?: Array; object_ids?: Array; org_ids?: Array; page_at_id?: string; org_id?: string; } export interface ListObjectLabelsRequestParams { limit?: number; label_name?: string; page_at_id?: string; org_id?: string; navigation_enabled?: boolean; } export interface ReplaceLabelledObjectRequestParams { labelled_object_id: string; LabelledObject?: LabelledObject; } export interface ReplaceObjectLabelRequestParams { label_id: string; Label?: Label; } export interface LabelsServiceInterface { defaultHeaders: HttpHeaders; configuration: Configuration; /** * Delete many label associations * Deletes many label associations. Will also remove any labels if they are no longer referenced and they were automatically created. * @param requestParameters */ bulkDeleteLabelledObjects(requestParameters: BulkDeleteLabelledObjectsRequestParams, observe?: any, extraHeaders?: HttpHeaders): Observable; /** * Add a labelled object * Adds a new labelled object. The association must have a unique object_id, object_type and label_name within an organsation. If it does not, then the create will return a 409 including the conflicting object. * @param requestParameters */ createLabelledObject(requestParameters: CreateLabelledObjectRequestParams, observe?: any, extraHeaders?: HttpHeaders): Observable; /** * Add a label association * Associates a label with an object. If already associated, this will return a 409 including the conflicting object. Note that a new label will be created if one with the provided name does not yet exist. * @param requestParameters */ createLabelledObjectLabel(requestParameters: CreateLabelledObjectLabelRequestParams, observe?: any, extraHeaders?: HttpHeaders): Observable; /** * Add a label * Adds a label. Labels must have unique names within an org. If the name is not unique, a 409 will be returned. * @param requestParameters */ createObjectLabel(requestParameters: CreateObjectLabelRequestParams, observe?: any, extraHeaders?: HttpHeaders): Observable