@emilgroup/task-sdk-node
Advanced tools
| /* tslint:disable */ | ||
| /* eslint-disable */ | ||
| /** | ||
| * EMIL TaskService | ||
| * The EMIL Task API description | ||
| * | ||
| * The version of the OpenAPI document: 1.0 | ||
| * Contact: kontakt@emil.de | ||
| * | ||
| * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). | ||
| * https://openapi-generator.tech | ||
| * Do not edit the class manually. | ||
| */ | ||
| import globalAxios, { AxiosPromise, AxiosInstance, AxiosRequestConfig } from 'axios'; | ||
| import { Configuration } from '../configuration'; | ||
| // Some imports not used depending on template conditions | ||
| // @ts-ignore | ||
| import { DUMMY_BASE_URL, assertParamExists, setApiKeyToObject, setBasicAuthToObject, setBearerAuthToObject, setOAuthToObject, setSearchParams, serializeDataIfNeeded, toPathString, createRequestFunction } from '../common'; | ||
| // @ts-ignore | ||
| import { BASE_PATH, COLLECTION_FORMATS, RequestArgs, BaseAPI, RequiredError } from '../base'; | ||
| // @ts-ignore | ||
| import { ListAssigneesResponseClass } from '../models'; | ||
| // URLSearchParams not necessarily used | ||
| // @ts-ignore | ||
| import { URL, URLSearchParams } from 'url'; | ||
| const FormData = require('form-data'); | ||
| /** | ||
| * AssigneesApi - axios parameter creator | ||
| * @export | ||
| */ | ||
| export const AssigneesApiAxiosParamCreator = function (configuration?: Configuration) { | ||
| return { | ||
| /** | ||
| * Retrieves a list of distinct assignees from tasks. | ||
| * @summary List assignees | ||
| * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken. | ||
| * @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/> | ||
| * @param {*} [options] Override http request option. | ||
| * @throws {RequiredError} | ||
| */ | ||
| listAssignees: async (authorization?: string, expand?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => { | ||
| const localVarPath = `/taskservice/v1/assignees`; | ||
| // use dummy base URL string because the URL constructor only accepts absolute URLs. | ||
| const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL); | ||
| let baseOptions; | ||
| let baseAccessToken; | ||
| if (configuration) { | ||
| baseOptions = configuration.baseOptions; | ||
| baseAccessToken = configuration.accessToken; | ||
| } | ||
| const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options}; | ||
| const localVarHeaderParameter = {} as any; | ||
| const localVarQueryParameter = {} as any; | ||
| // authentication bearer required | ||
| // http bearer authentication required | ||
| await setBearerAuthToObject(localVarHeaderParameter, configuration) | ||
| if (expand !== undefined) { | ||
| localVarQueryParameter['expand'] = expand; | ||
| } | ||
| if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) { | ||
| localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken); | ||
| } | ||
| setSearchParams(localVarUrlObj, localVarQueryParameter); | ||
| let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; | ||
| localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers}; | ||
| return { | ||
| url: toPathString(localVarUrlObj), | ||
| options: localVarRequestOptions, | ||
| }; | ||
| }, | ||
| } | ||
| }; | ||
| /** | ||
| * AssigneesApi - functional programming interface | ||
| * @export | ||
| */ | ||
| export const AssigneesApiFp = function(configuration?: Configuration) { | ||
| const localVarAxiosParamCreator = AssigneesApiAxiosParamCreator(configuration) | ||
| return { | ||
| /** | ||
| * Retrieves a list of distinct assignees from tasks. | ||
| * @summary List assignees | ||
| * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken. | ||
| * @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/> | ||
| * @param {*} [options] Override http request option. | ||
| * @throws {RequiredError} | ||
| */ | ||
| async listAssignees(authorization?: string, expand?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListAssigneesResponseClass>> { | ||
| const localVarAxiosArgs = await localVarAxiosParamCreator.listAssignees(authorization, expand, options); | ||
| return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); | ||
| }, | ||
| } | ||
| }; | ||
| /** | ||
| * AssigneesApi - factory interface | ||
| * @export | ||
| */ | ||
| export const AssigneesApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) { | ||
| const localVarFp = AssigneesApiFp(configuration) | ||
| return { | ||
| /** | ||
| * Retrieves a list of distinct assignees from tasks. | ||
| * @summary List assignees | ||
| * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken. | ||
| * @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/> | ||
| * @param {*} [options] Override http request option. | ||
| * @throws {RequiredError} | ||
| */ | ||
| listAssignees(authorization?: string, expand?: string, options?: any): AxiosPromise<ListAssigneesResponseClass> { | ||
| return localVarFp.listAssignees(authorization, expand, options).then((request) => request(axios, basePath)); | ||
| }, | ||
| }; | ||
| }; | ||
| /** | ||
| * Request parameters for listAssignees operation in AssigneesApi. | ||
| * @export | ||
| * @interface AssigneesApiListAssigneesRequest | ||
| */ | ||
| export interface AssigneesApiListAssigneesRequest { | ||
| /** | ||
| * Bearer Token: provided by the login endpoint under the name accessToken. | ||
| * @type {string} | ||
| * @memberof AssigneesApiListAssignees | ||
| */ | ||
| readonly authorization?: string | ||
| /** | ||
| * Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/> | ||
| * @type {string} | ||
| * @memberof AssigneesApiListAssignees | ||
| */ | ||
| readonly expand?: string | ||
| } | ||
| /** | ||
| * AssigneesApi - object-oriented interface | ||
| * @export | ||
| * @class AssigneesApi | ||
| * @extends {BaseAPI} | ||
| */ | ||
| export class AssigneesApi extends BaseAPI { | ||
| /** | ||
| * Retrieves a list of distinct assignees from tasks. | ||
| * @summary List assignees | ||
| * @param {AssigneesApiListAssigneesRequest} requestParameters Request parameters. | ||
| * @param {*} [options] Override http request option. | ||
| * @throws {RequiredError} | ||
| * @memberof AssigneesApi | ||
| */ | ||
| public listAssignees(requestParameters: AssigneesApiListAssigneesRequest = {}, options?: AxiosRequestConfig) { | ||
| return AssigneesApiFp(this.configuration).listAssignees(requestParameters.authorization, requestParameters.expand, options).then((request) => request(this.axios, this.basePath)); | ||
| } | ||
| } |
| /** | ||
| * EMIL TaskService | ||
| * The EMIL Task API description | ||
| * | ||
| * The version of the OpenAPI document: 1.0 | ||
| * Contact: kontakt@emil.de | ||
| * | ||
| * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). | ||
| * https://openapi-generator.tech | ||
| * Do not edit the class manually. | ||
| */ | ||
| import { AxiosPromise, AxiosInstance, AxiosRequestConfig } from 'axios'; | ||
| import { Configuration } from '../configuration'; | ||
| import { RequestArgs, BaseAPI } from '../base'; | ||
| import { ListAssigneesResponseClass } from '../models'; | ||
| /** | ||
| * AssigneesApi - axios parameter creator | ||
| * @export | ||
| */ | ||
| export declare const AssigneesApiAxiosParamCreator: (configuration?: Configuration) => { | ||
| /** | ||
| * Retrieves a list of distinct assignees from tasks. | ||
| * @summary List assignees | ||
| * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken. | ||
| * @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/> | ||
| * @param {*} [options] Override http request option. | ||
| * @throws {RequiredError} | ||
| */ | ||
| listAssignees: (authorization?: string, expand?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>; | ||
| }; | ||
| /** | ||
| * AssigneesApi - functional programming interface | ||
| * @export | ||
| */ | ||
| export declare const AssigneesApiFp: (configuration?: Configuration) => { | ||
| /** | ||
| * Retrieves a list of distinct assignees from tasks. | ||
| * @summary List assignees | ||
| * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken. | ||
| * @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/> | ||
| * @param {*} [options] Override http request option. | ||
| * @throws {RequiredError} | ||
| */ | ||
| listAssignees(authorization?: string, expand?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListAssigneesResponseClass>>; | ||
| }; | ||
| /** | ||
| * AssigneesApi - factory interface | ||
| * @export | ||
| */ | ||
| export declare const AssigneesApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => { | ||
| /** | ||
| * Retrieves a list of distinct assignees from tasks. | ||
| * @summary List assignees | ||
| * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken. | ||
| * @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/> | ||
| * @param {*} [options] Override http request option. | ||
| * @throws {RequiredError} | ||
| */ | ||
| listAssignees(authorization?: string, expand?: string, options?: any): AxiosPromise<ListAssigneesResponseClass>; | ||
| }; | ||
| /** | ||
| * Request parameters for listAssignees operation in AssigneesApi. | ||
| * @export | ||
| * @interface AssigneesApiListAssigneesRequest | ||
| */ | ||
| export interface AssigneesApiListAssigneesRequest { | ||
| /** | ||
| * Bearer Token: provided by the login endpoint under the name accessToken. | ||
| * @type {string} | ||
| * @memberof AssigneesApiListAssignees | ||
| */ | ||
| readonly authorization?: string; | ||
| /** | ||
| * Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/> | ||
| * @type {string} | ||
| * @memberof AssigneesApiListAssignees | ||
| */ | ||
| readonly expand?: string; | ||
| } | ||
| /** | ||
| * AssigneesApi - object-oriented interface | ||
| * @export | ||
| * @class AssigneesApi | ||
| * @extends {BaseAPI} | ||
| */ | ||
| export declare class AssigneesApi extends BaseAPI { | ||
| /** | ||
| * Retrieves a list of distinct assignees from tasks. | ||
| * @summary List assignees | ||
| * @param {AssigneesApiListAssigneesRequest} requestParameters Request parameters. | ||
| * @param {*} [options] Override http request option. | ||
| * @throws {RequiredError} | ||
| * @memberof AssigneesApi | ||
| */ | ||
| listAssignees(requestParameters?: AssigneesApiListAssigneesRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListAssigneesResponseClass, any, {}>>; | ||
| } |
| "use strict"; | ||
| /* tslint:disable */ | ||
| /* eslint-disable */ | ||
| /** | ||
| * EMIL TaskService | ||
| * The EMIL Task API description | ||
| * | ||
| * The version of the OpenAPI document: 1.0 | ||
| * Contact: kontakt@emil.de | ||
| * | ||
| * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). | ||
| * https://openapi-generator.tech | ||
| * Do not edit the class manually. | ||
| */ | ||
| var __extends = (this && this.__extends) || (function () { | ||
| var extendStatics = function (d, b) { | ||
| extendStatics = Object.setPrototypeOf || | ||
| ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) || | ||
| function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; }; | ||
| return extendStatics(d, b); | ||
| }; | ||
| return function (d, b) { | ||
| if (typeof b !== "function" && b !== null) | ||
| throw new TypeError("Class extends value " + String(b) + " is not a constructor or null"); | ||
| extendStatics(d, b); | ||
| function __() { this.constructor = d; } | ||
| d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); | ||
| }; | ||
| })(); | ||
| var __assign = (this && this.__assign) || function () { | ||
| __assign = Object.assign || function(t) { | ||
| for (var s, i = 1, n = arguments.length; i < n; i++) { | ||
| s = arguments[i]; | ||
| for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) | ||
| t[p] = s[p]; | ||
| } | ||
| return t; | ||
| }; | ||
| return __assign.apply(this, arguments); | ||
| }; | ||
| var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) { | ||
| function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); } | ||
| return new (P || (P = Promise))(function (resolve, reject) { | ||
| function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } } | ||
| function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } } | ||
| function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); } | ||
| step((generator = generator.apply(thisArg, _arguments || [])).next()); | ||
| }); | ||
| }; | ||
| var __generator = (this && this.__generator) || function (thisArg, body) { | ||
| var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g; | ||
| return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g; | ||
| function verb(n) { return function (v) { return step([n, v]); }; } | ||
| function step(op) { | ||
| if (f) throw new TypeError("Generator is already executing."); | ||
| while (g && (g = 0, op[0] && (_ = 0)), _) try { | ||
| if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t; | ||
| if (y = 0, t) op = [op[0] & 2, t.value]; | ||
| switch (op[0]) { | ||
| case 0: case 1: t = op; break; | ||
| case 4: _.label++; return { value: op[1], done: false }; | ||
| case 5: _.label++; y = op[1]; op = [0]; continue; | ||
| case 7: op = _.ops.pop(); _.trys.pop(); continue; | ||
| default: | ||
| if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; } | ||
| if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; } | ||
| if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; } | ||
| if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; } | ||
| if (t[2]) _.ops.pop(); | ||
| _.trys.pop(); continue; | ||
| } | ||
| op = body.call(thisArg, _); | ||
| } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; } | ||
| if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true }; | ||
| } | ||
| }; | ||
| var __importDefault = (this && this.__importDefault) || function (mod) { | ||
| return (mod && mod.__esModule) ? mod : { "default": mod }; | ||
| }; | ||
| Object.defineProperty(exports, "__esModule", { value: true }); | ||
| exports.AssigneesApi = exports.AssigneesApiFactory = exports.AssigneesApiFp = exports.AssigneesApiAxiosParamCreator = void 0; | ||
| var axios_1 = __importDefault(require("axios")); | ||
| // Some imports not used depending on template conditions | ||
| // @ts-ignore | ||
| var common_1 = require("../common"); | ||
| // @ts-ignore | ||
| var base_1 = require("../base"); | ||
| // URLSearchParams not necessarily used | ||
| // @ts-ignore | ||
| var url_1 = require("url"); | ||
| var FormData = require('form-data'); | ||
| /** | ||
| * AssigneesApi - axios parameter creator | ||
| * @export | ||
| */ | ||
| var AssigneesApiAxiosParamCreator = function (configuration) { | ||
| var _this = this; | ||
| return { | ||
| /** | ||
| * Retrieves a list of distinct assignees from tasks. | ||
| * @summary List assignees | ||
| * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken. | ||
| * @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/> | ||
| * @param {*} [options] Override http request option. | ||
| * @throws {RequiredError} | ||
| */ | ||
| listAssignees: function (authorization, expand, options) { | ||
| if (options === void 0) { options = {}; } | ||
| return __awaiter(_this, void 0, void 0, function () { | ||
| var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions; | ||
| return __generator(this, function (_a) { | ||
| switch (_a.label) { | ||
| case 0: | ||
| localVarPath = "/taskservice/v1/assignees"; | ||
| localVarUrlObj = new url_1.URL(localVarPath, common_1.DUMMY_BASE_URL); | ||
| if (configuration) { | ||
| baseOptions = configuration.baseOptions; | ||
| baseAccessToken = configuration.accessToken; | ||
| } | ||
| localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options); | ||
| localVarHeaderParameter = {}; | ||
| localVarQueryParameter = {}; | ||
| // authentication bearer required | ||
| // http bearer authentication required | ||
| return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)]; | ||
| case 1: | ||
| // authentication bearer required | ||
| // http bearer authentication required | ||
| _a.sent(); | ||
| if (expand !== undefined) { | ||
| localVarQueryParameter['expand'] = expand; | ||
| } | ||
| if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) { | ||
| localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken); | ||
| } | ||
| (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter); | ||
| headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; | ||
| localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers); | ||
| return [2 /*return*/, { | ||
| url: (0, common_1.toPathString)(localVarUrlObj), | ||
| options: localVarRequestOptions, | ||
| }]; | ||
| } | ||
| }); | ||
| }); | ||
| }, | ||
| }; | ||
| }; | ||
| exports.AssigneesApiAxiosParamCreator = AssigneesApiAxiosParamCreator; | ||
| /** | ||
| * AssigneesApi - functional programming interface | ||
| * @export | ||
| */ | ||
| var AssigneesApiFp = function (configuration) { | ||
| var localVarAxiosParamCreator = (0, exports.AssigneesApiAxiosParamCreator)(configuration); | ||
| return { | ||
| /** | ||
| * Retrieves a list of distinct assignees from tasks. | ||
| * @summary List assignees | ||
| * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken. | ||
| * @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/> | ||
| * @param {*} [options] Override http request option. | ||
| * @throws {RequiredError} | ||
| */ | ||
| listAssignees: function (authorization, expand, options) { | ||
| return __awaiter(this, void 0, void 0, function () { | ||
| var localVarAxiosArgs; | ||
| return __generator(this, function (_a) { | ||
| switch (_a.label) { | ||
| case 0: return [4 /*yield*/, localVarAxiosParamCreator.listAssignees(authorization, expand, options)]; | ||
| case 1: | ||
| localVarAxiosArgs = _a.sent(); | ||
| return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)]; | ||
| } | ||
| }); | ||
| }); | ||
| }, | ||
| }; | ||
| }; | ||
| exports.AssigneesApiFp = AssigneesApiFp; | ||
| /** | ||
| * AssigneesApi - factory interface | ||
| * @export | ||
| */ | ||
| var AssigneesApiFactory = function (configuration, basePath, axios) { | ||
| var localVarFp = (0, exports.AssigneesApiFp)(configuration); | ||
| return { | ||
| /** | ||
| * Retrieves a list of distinct assignees from tasks. | ||
| * @summary List assignees | ||
| * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken. | ||
| * @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/> | ||
| * @param {*} [options] Override http request option. | ||
| * @throws {RequiredError} | ||
| */ | ||
| listAssignees: function (authorization, expand, options) { | ||
| return localVarFp.listAssignees(authorization, expand, options).then(function (request) { return request(axios, basePath); }); | ||
| }, | ||
| }; | ||
| }; | ||
| exports.AssigneesApiFactory = AssigneesApiFactory; | ||
| /** | ||
| * AssigneesApi - object-oriented interface | ||
| * @export | ||
| * @class AssigneesApi | ||
| * @extends {BaseAPI} | ||
| */ | ||
| var AssigneesApi = /** @class */ (function (_super) { | ||
| __extends(AssigneesApi, _super); | ||
| function AssigneesApi() { | ||
| return _super !== null && _super.apply(this, arguments) || this; | ||
| } | ||
| /** | ||
| * Retrieves a list of distinct assignees from tasks. | ||
| * @summary List assignees | ||
| * @param {AssigneesApiListAssigneesRequest} requestParameters Request parameters. | ||
| * @param {*} [options] Override http request option. | ||
| * @throws {RequiredError} | ||
| * @memberof AssigneesApi | ||
| */ | ||
| AssigneesApi.prototype.listAssignees = function (requestParameters, options) { | ||
| var _this = this; | ||
| if (requestParameters === void 0) { requestParameters = {}; } | ||
| return (0, exports.AssigneesApiFp)(this.configuration).listAssignees(requestParameters.authorization, requestParameters.expand, options).then(function (request) { return request(_this.axios, _this.basePath); }); | ||
| }; | ||
| return AssigneesApi; | ||
| }(base_1.BaseAPI)); | ||
| exports.AssigneesApi = AssigneesApi; |
| /** | ||
| * EMIL TaskService | ||
| * The EMIL Task API description | ||
| * | ||
| * The version of the OpenAPI document: 1.0 | ||
| * Contact: kontakt@emil.de | ||
| * | ||
| * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). | ||
| * https://openapi-generator.tech | ||
| * Do not edit the class manually. | ||
| */ | ||
| /** | ||
| * | ||
| * @export | ||
| * @interface AssigneeClass | ||
| */ | ||
| export interface AssigneeClass { | ||
| /** | ||
| * Assignee code/identifier | ||
| * @type {string} | ||
| * @memberof AssigneeClass | ||
| */ | ||
| 'code': string; | ||
| } |
| "use strict"; | ||
| /* tslint:disable */ | ||
| /* eslint-disable */ | ||
| /** | ||
| * EMIL TaskService | ||
| * The EMIL Task API description | ||
| * | ||
| * The version of the OpenAPI document: 1.0 | ||
| * Contact: kontakt@emil.de | ||
| * | ||
| * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). | ||
| * https://openapi-generator.tech | ||
| * Do not edit the class manually. | ||
| */ | ||
| Object.defineProperty(exports, "__esModule", { value: true }); |
| /** | ||
| * EMIL TaskService | ||
| * The EMIL Task API description | ||
| * | ||
| * The version of the OpenAPI document: 1.0 | ||
| * Contact: kontakt@emil.de | ||
| * | ||
| * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). | ||
| * https://openapi-generator.tech | ||
| * Do not edit the class manually. | ||
| */ | ||
| import { AssigneeClass } from './assignee-class'; | ||
| /** | ||
| * | ||
| * @export | ||
| * @interface ListAssigneesResponseClass | ||
| */ | ||
| export interface ListAssigneesResponseClass { | ||
| /** | ||
| * List of assignees | ||
| * @type {Array<AssigneeClass>} | ||
| * @memberof ListAssigneesResponseClass | ||
| */ | ||
| 'items': Array<AssigneeClass>; | ||
| /** | ||
| * Token for next page | ||
| * @type {string} | ||
| * @memberof ListAssigneesResponseClass | ||
| */ | ||
| 'nextPageToken': string; | ||
| /** | ||
| * Number of items per page | ||
| * @type {number} | ||
| * @memberof ListAssigneesResponseClass | ||
| */ | ||
| 'itemsPerPage': number; | ||
| /** | ||
| * Total number of items | ||
| * @type {number} | ||
| * @memberof ListAssigneesResponseClass | ||
| */ | ||
| 'totalItems': number; | ||
| } |
| "use strict"; | ||
| /* tslint:disable */ | ||
| /* eslint-disable */ | ||
| /** | ||
| * EMIL TaskService | ||
| * The EMIL Task API description | ||
| * | ||
| * The version of the OpenAPI document: 1.0 | ||
| * Contact: kontakt@emil.de | ||
| * | ||
| * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). | ||
| * https://openapi-generator.tech | ||
| * Do not edit the class manually. | ||
| */ | ||
| Object.defineProperty(exports, "__esModule", { value: true }); |
| /* tslint:disable */ | ||
| /* eslint-disable */ | ||
| /** | ||
| * EMIL TaskService | ||
| * The EMIL Task API description | ||
| * | ||
| * The version of the OpenAPI document: 1.0 | ||
| * Contact: kontakt@emil.de | ||
| * | ||
| * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). | ||
| * https://openapi-generator.tech | ||
| * Do not edit the class manually. | ||
| */ | ||
| /** | ||
| * | ||
| * @export | ||
| * @interface AssigneeClass | ||
| */ | ||
| export interface AssigneeClass { | ||
| /** | ||
| * Assignee code/identifier | ||
| * @type {string} | ||
| * @memberof AssigneeClass | ||
| */ | ||
| 'code': string; | ||
| } | ||
| /* tslint:disable */ | ||
| /* eslint-disable */ | ||
| /** | ||
| * EMIL TaskService | ||
| * The EMIL Task API description | ||
| * | ||
| * The version of the OpenAPI document: 1.0 | ||
| * Contact: kontakt@emil.de | ||
| * | ||
| * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). | ||
| * https://openapi-generator.tech | ||
| * Do not edit the class manually. | ||
| */ | ||
| import { AssigneeClass } from './assignee-class'; | ||
| /** | ||
| * | ||
| * @export | ||
| * @interface ListAssigneesResponseClass | ||
| */ | ||
| export interface ListAssigneesResponseClass { | ||
| /** | ||
| * List of assignees | ||
| * @type {Array<AssigneeClass>} | ||
| * @memberof ListAssigneesResponseClass | ||
| */ | ||
| 'items': Array<AssigneeClass>; | ||
| /** | ||
| * Token for next page | ||
| * @type {string} | ||
| * @memberof ListAssigneesResponseClass | ||
| */ | ||
| 'nextPageToken': string; | ||
| /** | ||
| * Number of items per page | ||
| * @type {number} | ||
| * @memberof ListAssigneesResponseClass | ||
| */ | ||
| 'itemsPerPage': number; | ||
| /** | ||
| * Total number of items | ||
| * @type {number} | ||
| * @memberof ListAssigneesResponseClass | ||
| */ | ||
| 'totalItems': number; | ||
| } | ||
+2
-0
@@ -27,2 +27,3 @@ /* tslint:disable */ | ||
| import { BASE_PATH, COLLECTION_FORMATS, RequestArgs, BaseAPI, RequiredError } from './base'; | ||
| import { AssigneesApi } from './api'; | ||
| import { CategoriesApi } from './api'; | ||
@@ -35,2 +36,3 @@ import { DefaultApi } from './api'; | ||
| export * from './api/assignees-api'; | ||
| export * from './api/categories-api'; | ||
@@ -37,0 +39,0 @@ export * from './api/default-api'; |
+1
-0
@@ -12,2 +12,3 @@ /** | ||
| */ | ||
| export * from './api/assignees-api'; | ||
| export * from './api/categories-api'; | ||
@@ -14,0 +15,0 @@ export * from './api/default-api'; |
+1
-0
@@ -30,2 +30,3 @@ "use strict"; | ||
| Object.defineProperty(exports, "__esModule", { value: true }); | ||
| __exportStar(require("./api/assignees-api"), exports); | ||
| __exportStar(require("./api/categories-api"), exports); | ||
@@ -32,0 +33,0 @@ __exportStar(require("./api/default-api"), exports); |
@@ -0,1 +1,2 @@ | ||
| export * from './assignee-class'; | ||
| export * from './category-class'; | ||
@@ -18,2 +19,3 @@ export * from './create-category-request-dto'; | ||
| export * from './inline-response503'; | ||
| export * from './list-assignees-response-class'; | ||
| export * from './list-categories-response-class'; | ||
@@ -20,0 +22,0 @@ export * from './list-statuses-response-class'; |
@@ -17,2 +17,3 @@ "use strict"; | ||
| Object.defineProperty(exports, "__esModule", { value: true }); | ||
| __exportStar(require("./assignee-class"), exports); | ||
| __exportStar(require("./category-class"), exports); | ||
@@ -35,2 +36,3 @@ __exportStar(require("./create-category-request-dto"), exports); | ||
| __exportStar(require("./inline-response503"), exports); | ||
| __exportStar(require("./list-assignees-response-class"), exports); | ||
| __exportStar(require("./list-categories-response-class"), exports); | ||
@@ -37,0 +39,0 @@ __exportStar(require("./list-statuses-response-class"), exports); |
+2
-0
@@ -0,1 +1,2 @@ | ||
| export * from './assignee-class'; | ||
| export * from './category-class'; | ||
@@ -18,2 +19,3 @@ export * from './create-category-request-dto'; | ||
| export * from './inline-response503'; | ||
| export * from './list-assignees-response-class'; | ||
| export * from './list-categories-response-class'; | ||
@@ -20,0 +22,0 @@ export * from './list-statuses-response-class'; |
+1
-1
| { | ||
| "name": "@emilgroup/task-sdk-node", | ||
| "version": "1.0.1-beta.10", | ||
| "version": "1.0.1-beta.11", | ||
| "description": "OpenAPI client for @emilgroup/task-sdk-node", | ||
@@ -5,0 +5,0 @@ "author": "OpenAPI-Generator Contributors", |
+2
-2
@@ -20,7 +20,7 @@ # Emil Task SDK for Nodejs | ||
| ``` | ||
| npm install @emilgroup/task-sdk-node@1.0.1-beta.10 --save | ||
| npm install @emilgroup/task-sdk-node@1.0.1-beta.11 --save | ||
| ``` | ||
| or | ||
| ``` | ||
| yarn add @emilgroup/task-sdk-node@1.0.1-beta.10 | ||
| yarn add @emilgroup/task-sdk-node@1.0.1-beta.11 | ||
| ``` | ||
@@ -27,0 +27,0 @@ |
Sorry, the diff of this file is not supported yet
Network access
Supply chain riskThis module accesses the network.
Found 1 instance in 1 package
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 2 instances in 1 package
Filesystem access
Supply chain riskAccesses the file system, and could potentially read sensitive data.
Found 1 instance in 1 package
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
Network access
Supply chain riskThis module accesses the network.
Found 1 instance in 1 package
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 2 instances in 1 package
Filesystem access
Supply chain riskAccesses the file system, and could potentially read sensitive data.
Found 1 instance in 1 package
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
511011
6.04%133
7.26%11169
6.21%55
25%