/** * 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 { AddGroupMemberRequest } from '../model/models'; import { Group } from '../model/models'; import { ListGroupsResponse } from '../model/models'; import { UpstreamGroupReconcile } from '../model/models'; import { UpstreamGroupReconcileResponse } from '../model/models'; import { User } from '../model/models'; import { Configuration } from '../configuration'; export interface AddGroupMemberRequestParams { group_id: string; AddGroupMemberRequest: AddGroupMemberRequest; } export interface CreateGroupRequestParams { Group: Group; } export interface CreateUpstreamGroupReconcileRequestParams { UpstreamGroupReconcile: UpstreamGroupReconcile; } export interface CreateUpstreamGroupReconcileSimRequestParams { UpstreamGroupReconcile: UpstreamGroupReconcile; } export interface DeleteGroupRequestParams { group_id: string; org_id?: string; } export interface DeleteGroupMemberRequestParams { group_id: string; member_id: string; org_id?: string; } export interface GetGroupRequestParams { group_id: string; org_id?: string; flatten_hierarchy?: boolean; } export interface ListGroupsRequestParams { org_id?: string; type?: Array<'group' | 'sysgroup' | 'bigroup'>; limit?: number; previous_email?: string; search_direction?: 'backwards' | 'forwards'; prefix_email_search?: string; allow_partial_match?: boolean; first_name?: string; last_name?: string; search_params?: Array; show_system_user?: boolean; } export interface ReplaceGroupRequestParams { group_id: string; Group?: Group; } export interface GroupsServiceInterface { defaultHeaders: HttpHeaders; configuration: Configuration; /** * Add a group member * Add a group member * @param requestParameters */ addGroupMember(requestParameters: AddGroupMemberRequestParams, observe?: any, extraHeaders?: HttpHeaders): Observable; /** * Create a group * Create a group * @param requestParameters */ createGroup(requestParameters: CreateGroupRequestParams, observe?: any, extraHeaders?: HttpHeaders): Observable; /** * Reconcile a user\'s groups based on the user\'s upstream group membership * Reconcile a user\'s groups based on the user\'s upstream group membership * @param requestParameters */ createUpstreamGroupReconcile(requestParameters: CreateUpstreamGroupReconcileRequestParams, observe?: any, extraHeaders?: HttpHeaders): Observable; /** * Get the set of groups to reconcile based on the user\'s upstream group membership * Get the set of groups to reconcile based on the user\'s upstream group membership This indicates what reconciliatory action will be taken if this endpoint is invoked via a POST. * @param requestParameters */ createUpstreamGroupReconcileSim(requestParameters: CreateUpstreamGroupReconcileSimRequestParams, observe?: any, extraHeaders?: HttpHeaders): Observable; /** * Delete a group * Delete a group * @param requestParameters */ deleteGroup(requestParameters: DeleteGroupRequestParams, observe?: any, extraHeaders?: HttpHeaders): Observable<{}>; /** * Remove a group member * Remove a group member * @param requestParameters */ deleteGroupMember(requestParameters: DeleteGroupMemberRequestParams, observe?: any, extraHeaders?: HttpHeaders): Observable<{}>; /** * Get a group * Get a group * @param requestParameters */ getGroup(requestParameters: GetGroupRequestParams, observe?: any, extraHeaders?: HttpHeaders): Observable; /** * Get all groups * Get all groups * @param requestParameters */ listGroups(requestParameters: ListGroupsRequestParams, observe?: any, extraHeaders?: HttpHeaders): Observable; /** * update a group * update a group * @param requestParameters */ replaceGroup(requestParameters: ReplaceGroupRequestParams, observe?: any, extraHeaders?: HttpHeaders): Observable; }