import type { APSBusinessGroupCreate } from '../models/APSBusinessGroupCreate'; import type { APSBusinessGroupResponse } from '../models/APSBusinessGroupResponse'; import type { APSBusinessGroupUpdate } from '../models/APSBusinessGroupUpdate'; import type { APSId } from '../models/APSId'; import type { APSUserIdList } from '../models/APSUserIdList'; import type { ListAPSBusinessGroupsResponse } from '../models/ListAPSBusinessGroupsResponse'; import type { CancelablePromise } from '../core/CancelablePromise'; export declare class ApsBusinessGroupsService { /** * Create an APSBusinessGroup object. * @returns APSBusinessGroupResponse Successful creation of new APSBusinessGroup. * @throws ApiError */ static createApsBusinessGroup({ organizationId, requestBody, }: { organizationId: APSId; /** The APSBusinessGroupCreate object. **/ requestBody: APSBusinessGroupCreate; }): CancelablePromise; /** * Get a list of APSBusinessGroupResponse objects in the organization. * @returns ListAPSBusinessGroupsResponse Array of APSBusinessGroupResponse object and total count of the objects. Returns empty array if none found. * @throws ApiError */ static listApsBusinessGroups({ organizationId, }: { organizationId: APSId; }): CancelablePromise; /** * Get a list of APSBusinessGroupResponse objects by external system id. * @returns ListAPSBusinessGroupsResponse Array of APSBusinessGroupResponse object and total count of the objects. Returns empty array if none found. * @throws ApiError */ static listApsBusinessGroupsByExternalSystem({ organizationId, externalSystemId, }: { organizationId: APSId; externalSystemId: APSId; }): CancelablePromise; /** * Get a APSBusinessGroupResponse object by business group id. * @returns APSBusinessGroupResponse The APSBusinessGroupResponse object. * @throws ApiError */ static getApsBusinessGroup({ organizationId, businessgroupId, }: { organizationId: APSId; businessgroupId: APSId; }): CancelablePromise; /** * Update an APSBusinessGroup object by business group id. Operation performs a merge update between the exsting object and the update request. Arrays are not merged but replaced in their entirety. * @returns APSBusinessGroupResponse The APSBusinessGroup object. * @throws ApiError */ static updateApsBusinessGroup({ organizationId, businessgroupId, requestBody, }: { organizationId: APSId; businessgroupId: APSId; /** The APSBusinessGroupUpdate object. **/ requestBody: APSBusinessGroupUpdate; }): CancelablePromise; /** * Delete an APSBusinessGroup object. * @returns void * @throws ApiError */ static deleteApsBusinessGroup({ organizationId, businessgroupId, }: { organizationId: APSId; businessgroupId: APSId; }): CancelablePromise; /** * Get a list of members (userIds). * @returns APSUserIdList The userId list. Empty list if none found. * @throws ApiError */ static listApsBusinessGroupMembers({ organizationId, businessgroupId, }: { organizationId: APSId; businessgroupId: APSId; }): CancelablePromise; /** * Get a APSBusinessGroupResponse object by external reference id. * @returns APSBusinessGroupResponse The APSBusinessGroupResponse object. * @throws ApiError */ static getApsBusinessGroupByExternalReference({ organizationId, externalReferenceId, }: { organizationId: APSId; externalReferenceId: APSId; }): CancelablePromise; }