UNPKG

@datenkraft/bb-organization-structure-api-ts-client

Version:

The organization-structure API TS Client enables you to work with the organization-structure API

196 lines (195 loc) 11.7 kB
/** * Backbone Organization Structure API * - alpha: Currently developed API version. Subject to major changes. - beta: A semi-stable early access version. New features can be added. Breaking changes are possible. - stable: The API is recommended for use in production. [Changelog](https://organization-structure-api.steve.niceshops.com/v2/docs/changelog.html) All data is transferred in UTF-8 encoding.\\ The API uses stateless HTTP. No cookies have to be kept.\\ Authentication via OAuth2 client credentials flow. [Privacy Policy](https://www.niceshops.com/en/dienstleistungen/data-privacy-policy) [Backbone Organization Structure API PHP client @Packagist](https://packagist.org/packages/datenkraft/bb-organization-structure-api-php-client) * * The version of the OpenAPI document: v2.beta * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ import type { Configuration } from '../configuration'; import type { AxiosPromise, AxiosInstance, AxiosRequestConfig } from 'axios'; import { RequestArgs, BaseAPI } from '../base'; import { GetIdentityProjectCollectionResponse } from '../models'; import { IdentityProject } from '../models'; /** * IdentityProjectApi - axios parameter creator * @export */ export declare const IdentityProjectApiAxiosParamCreator: (configuration?: Configuration) => { /** * Delete Identity to Project relations * @summary Delete Identity to Project relations * @param {Array<IdentityProject>} identityProject * @param {*} [options] Override http request option. * @throws {RequiredError} */ deleteIdentityProject: (identityProject: Array<IdentityProject>, options?: AxiosRequestConfig) => Promise<RequestArgs>; /** * Get a list of Identities and the Projects they are related to * @summary Get a list of Identities and the Projects they are related to * @param {number} [page] The page to read. Default is the first page. * @param {number} [pageSize] The maximum size per page is 100. Default is 100. * @param {'default' | 'totalCount'} [paginationMode] The paginationMode to use: - default: The total number of items in the collection will not be calculated. - totalCount: The total number of items in the collection will be calculated. This can mean loss of performance. * @param {string} [filterIdentityId] Filter by identityId * @param {string} [filterProjectId] Filter by projectId * @param {*} [options] Override http request option. * @throws {RequiredError} */ getIdentityProjectCollection: (page?: number, pageSize?: number, paginationMode?: 'default' | 'totalCount', filterIdentityId?: string, filterProjectId?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>; /** * Post new Identity to Project relations * @summary Post new Identity to Project relations * @param {Array<IdentityProject>} identityProject * @param {*} [options] Override http request option. * @throws {RequiredError} */ postIdentityProject: (identityProject: Array<IdentityProject>, options?: AxiosRequestConfig) => Promise<RequestArgs>; }; /** * IdentityProjectApi - functional programming interface * @export */ export declare const IdentityProjectApiFp: (configuration?: Configuration) => { /** * Delete Identity to Project relations * @summary Delete Identity to Project relations * @param {Array<IdentityProject>} identityProject * @param {*} [options] Override http request option. * @throws {RequiredError} */ deleteIdentityProject(identityProject: Array<IdentityProject>, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>; /** * Get a list of Identities and the Projects they are related to * @summary Get a list of Identities and the Projects they are related to * @param {number} [page] The page to read. Default is the first page. * @param {number} [pageSize] The maximum size per page is 100. Default is 100. * @param {'default' | 'totalCount'} [paginationMode] The paginationMode to use: - default: The total number of items in the collection will not be calculated. - totalCount: The total number of items in the collection will be calculated. This can mean loss of performance. * @param {string} [filterIdentityId] Filter by identityId * @param {string} [filterProjectId] Filter by projectId * @param {*} [options] Override http request option. * @throws {RequiredError} */ getIdentityProjectCollection(page?: number, pageSize?: number, paginationMode?: 'default' | 'totalCount', filterIdentityId?: string, filterProjectId?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetIdentityProjectCollectionResponse>>; /** * Post new Identity to Project relations * @summary Post new Identity to Project relations * @param {Array<IdentityProject>} identityProject * @param {*} [options] Override http request option. * @throws {RequiredError} */ postIdentityProject(identityProject: Array<IdentityProject>, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<IdentityProject>>>; }; /** * IdentityProjectApi - factory interface * @export */ export declare const IdentityProjectApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => { /** * Delete Identity to Project relations * @summary Delete Identity to Project relations * @param {Array<IdentityProject>} identityProject * @param {*} [options] Override http request option. * @throws {RequiredError} */ deleteIdentityProject(identityProject: Array<IdentityProject>, options?: any): AxiosPromise<void>; /** * Get a list of Identities and the Projects they are related to * @summary Get a list of Identities and the Projects they are related to * @param {number} [page] The page to read. Default is the first page. * @param {number} [pageSize] The maximum size per page is 100. Default is 100. * @param {'default' | 'totalCount'} [paginationMode] The paginationMode to use: - default: The total number of items in the collection will not be calculated. - totalCount: The total number of items in the collection will be calculated. This can mean loss of performance. * @param {string} [filterIdentityId] Filter by identityId * @param {string} [filterProjectId] Filter by projectId * @param {*} [options] Override http request option. * @throws {RequiredError} */ getIdentityProjectCollection(page?: number, pageSize?: number, paginationMode?: 'default' | 'totalCount', filterIdentityId?: string, filterProjectId?: string, options?: any): AxiosPromise<GetIdentityProjectCollectionResponse>; /** * Post new Identity to Project relations * @summary Post new Identity to Project relations * @param {Array<IdentityProject>} identityProject * @param {*} [options] Override http request option. * @throws {RequiredError} */ postIdentityProject(identityProject: Array<IdentityProject>, options?: any): AxiosPromise<Array<IdentityProject>>; }; /** * IdentityProjectApi - interface * @export * @interface IdentityProjectApi */ export interface IdentityProjectApiInterface { /** * Delete Identity to Project relations * @summary Delete Identity to Project relations * @param {Array<IdentityProject>} identityProject * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof IdentityProjectApiInterface */ deleteIdentityProject(identityProject: Array<IdentityProject>, options?: AxiosRequestConfig): AxiosPromise<void>; /** * Get a list of Identities and the Projects they are related to * @summary Get a list of Identities and the Projects they are related to * @param {number} [page] The page to read. Default is the first page. * @param {number} [pageSize] The maximum size per page is 100. Default is 100. * @param {'default' | 'totalCount'} [paginationMode] The paginationMode to use: - default: The total number of items in the collection will not be calculated. - totalCount: The total number of items in the collection will be calculated. This can mean loss of performance. * @param {string} [filterIdentityId] Filter by identityId * @param {string} [filterProjectId] Filter by projectId * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof IdentityProjectApiInterface */ getIdentityProjectCollection(page?: number, pageSize?: number, paginationMode?: 'default' | 'totalCount', filterIdentityId?: string, filterProjectId?: string, options?: AxiosRequestConfig): AxiosPromise<GetIdentityProjectCollectionResponse>; /** * Post new Identity to Project relations * @summary Post new Identity to Project relations * @param {Array<IdentityProject>} identityProject * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof IdentityProjectApiInterface */ postIdentityProject(identityProject: Array<IdentityProject>, options?: AxiosRequestConfig): AxiosPromise<Array<IdentityProject>>; } /** * IdentityProjectApi - object-oriented interface * @export * @class IdentityProjectApi * @extends {BaseAPI} */ export declare class IdentityProjectApi extends BaseAPI implements IdentityProjectApiInterface { /** * Delete Identity to Project relations * @summary Delete Identity to Project relations * @param {Array<IdentityProject>} identityProject * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof IdentityProjectApi */ deleteIdentityProject(identityProject: Array<IdentityProject>, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>; /** * Get a list of Identities and the Projects they are related to * @summary Get a list of Identities and the Projects they are related to * @param {number} [page] The page to read. Default is the first page. * @param {number} [pageSize] The maximum size per page is 100. Default is 100. * @param {'default' | 'totalCount'} [paginationMode] The paginationMode to use: - default: The total number of items in the collection will not be calculated. - totalCount: The total number of items in the collection will be calculated. This can mean loss of performance. * @param {string} [filterIdentityId] Filter by identityId * @param {string} [filterProjectId] Filter by projectId * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof IdentityProjectApi */ getIdentityProjectCollection(page?: number, pageSize?: number, paginationMode?: 'default' | 'totalCount', filterIdentityId?: string, filterProjectId?: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetIdentityProjectCollectionResponse, any>>; /** * Post new Identity to Project relations * @summary Post new Identity to Project relations * @param {Array<IdentityProject>} identityProject * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof IdentityProjectApi */ postIdentityProject(identityProject: Array<IdentityProject>, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<IdentityProject[], any>>; }