/** * 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 { ListObjectCredentialExistenceInfoResponse } from '../model/models'; import { ListObjectCredentialsResponse } from '../model/models'; import { ObjectCredential } from '../model/models'; import { Configuration } from '../configuration'; export interface CreateObjectCredentialRequestParams { ObjectCredential: ObjectCredential; } export interface DeleteObjectCredentialRequestParams { object_credential_id: string; org_id?: string; } export interface GetObjectCredentialRequestParams { object_credential_id: string; org_id?: string; } export interface ListObjectCredentialExistenceInfoRequestParams { limit?: number; object_id?: string; object_type?: string; object_types?: Array; object_ids?: Array; org_ids?: Array; page_at_id?: string; purpose?: string; org_id?: string; } export interface ListObjectCredentialsRequestParams { limit?: number; object_id?: string; object_type?: string; object_types?: Array; object_ids?: Array; org_ids?: Array; page_at_id?: string; encryption_key_id?: string; purpose?: string; org_id?: string; } export interface ReplaceObjectCredentialRequestParams { object_credential_id: string; ObjectCredential?: ObjectCredential; } export interface CredentialsServiceInterface { defaultHeaders: HttpHeaders; configuration: Configuration; /** * Add an object_credential * Adds an object_credential. Multiple credentials for a given purpose may exist for an object within an org. However, they must be distringuished by their priority. If one already exists for a given priority, a 409 will be returned. * @param requestParameters */ createObjectCredential(requestParameters: CreateObjectCredentialRequestParams, observe?: any, extraHeaders?: HttpHeaders): Observable; /** * Delete an object_credential * Delete an object_credential * @param requestParameters */ deleteObjectCredential(requestParameters: DeleteObjectCredentialRequestParams, observe?: any, extraHeaders?: HttpHeaders): Observable<{}>; /** * Get an object_credential * Get an object_credential * @param requestParameters */ getObjectCredential(requestParameters: GetObjectCredentialRequestParams, observe?: any, extraHeaders?: HttpHeaders): Observable; /** * List ObjectCredentialExistenceInfo * List whether or not ObjectCredentials exist for the provided query parameters. Perform keyset pagination by setting the page_at_id parameter to the id for the next page to fetch. Set it to `\"\"` to start from the beginning. * @param requestParameters */ listObjectCredentialExistenceInfo(requestParameters: ListObjectCredentialExistenceInfoRequestParams, observe?: any, extraHeaders?: HttpHeaders): Observable; /** * List all object_credentials * List all object_credentials matching the provided query parameters. Perform keyset pagination by setting the page_at_id parameter to the id for the next page to fetch. Set it to `\"\"` to start from the beginning. * @param requestParameters */ listObjectCredentials(requestParameters: ListObjectCredentialsRequestParams, observe?: any, extraHeaders?: HttpHeaders): Observable; /** * update an object_credential * update an object_credential * @param requestParameters */ replaceObjectCredential(requestParameters: ReplaceObjectCredentialRequestParams, observe?: any, extraHeaders?: HttpHeaders): Observable; }