Socket
Book a DemoSign in
Socket

@emilgroup/task-sdk-node

Package Overview
Dependencies
Maintainers
1
Versions
30
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@emilgroup/task-sdk-node - npm Package Compare versions

Comparing version
1.0.1-beta.4
to
1.0.1-beta.5
+36
dist/models/patch-category-request-dto.d.ts
/**
* 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 PatchCategoryRequestDto
*/
export interface PatchCategoryRequestDto {
/**
* Category code: unique identifier of the category
* @type {string}
* @memberof PatchCategoryRequestDto
*/
'code': string;
/**
* Category name: display name of the category
* @type {string}
* @memberof PatchCategoryRequestDto
*/
'name'?: string;
/**
* Category slug: URL-friendly identifier
* @type {string}
* @memberof PatchCategoryRequestDto
*/
'slug'?: 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 { CategoryClass } from './category-class';
/**
*
* @export
* @interface PatchCategoryResponseClass
*/
export interface PatchCategoryResponseClass {
/**
* category
* @type {CategoryClass}
* @memberof PatchCategoryResponseClass
*/
'category'?: CategoryClass;
}
"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.
*/
/**
*
* @export
* @interface PatchStatusRequestDto
*/
export interface PatchStatusRequestDto {
/**
* Status code: unique identifier of the status
* @type {string}
* @memberof PatchStatusRequestDto
*/
'code': string;
/**
* Status name: display name of the status
* @type {string}
* @memberof PatchStatusRequestDto
*/
'name'?: string;
/**
* Status slug: URL-friendly identifier
* @type {string}
* @memberof PatchStatusRequestDto
*/
'slug'?: 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 { StatusClass } from './status-class';
/**
*
* @export
* @interface PatchStatusResponseClass
*/
export interface PatchStatusResponseClass {
/**
* status
* @type {StatusClass}
* @memberof PatchStatusResponseClass
*/
'status'?: StatusClass;
}
"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.
*/
/**
*
* @export
* @interface PatchTaskRequestDto
*/
export interface PatchTaskRequestDto {
/**
* Task code: unique identifier of the task
* @type {string}
* @memberof PatchTaskRequestDto
*/
'code': string;
/**
* Task subject: title of the task
* @type {string}
* @memberof PatchTaskRequestDto
*/
'subject'?: string;
/**
* Task description: detailed description of the task
* @type {string}
* @memberof PatchTaskRequestDto
*/
'description'?: string;
/**
* Task assignee: person assigned to the task
* @type {string}
* @memberof PatchTaskRequestDto
*/
'assignee'?: string;
/**
* Task category slug
* @type {string}
* @memberof PatchTaskRequestDto
*/
'categorySlug'?: string;
/**
* Task status slug
* @type {string}
* @memberof PatchTaskRequestDto
*/
'statusSlug'?: string;
/**
* Task priority
* @type {string}
* @memberof PatchTaskRequestDto
*/
'priority'?: string;
/**
* Task reporter: person who reported the task
* @type {string}
* @memberof PatchTaskRequestDto
*/
'reporter'?: string;
/**
* Task due date
* @type {string}
* @memberof PatchTaskRequestDto
*/
'dueDate'?: string;
/**
* Set to true to clear/remove the due date.
* @type {boolean}
* @memberof PatchTaskRequestDto
*/
'clearDueDate'?: boolean;
/**
* Set to true to clear/remove the assignee.
* @type {boolean}
* @memberof PatchTaskRequestDto
*/
'clearAssignee'?: boolean;
/**
* Set to true to clear/remove the category.
* @type {boolean}
* @memberof PatchTaskRequestDto
*/
'clearCategory'?: boolean;
/**
* Set to true to clear/remove the status.
* @type {boolean}
* @memberof PatchTaskRequestDto
*/
'clearStatus'?: boolean;
/**
* Set to true to clear/remove the priority.
* @type {boolean}
* @memberof PatchTaskRequestDto
*/
'clearPriority'?: boolean;
/**
* Set to true to clear/remove the reporter.
* @type {boolean}
* @memberof PatchTaskRequestDto
*/
'clearReporter'?: boolean;
}
"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 { TaskClass } from './task-class';
/**
*
* @export
* @interface PatchTaskResponseClass
*/
export interface PatchTaskResponseClass {
/**
* task
* @type {TaskClass}
* @memberof PatchTaskResponseClass
*/
'task'?: TaskClass;
}
"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 PatchCategoryRequestDto
*/
export interface PatchCategoryRequestDto {
/**
* Category code: unique identifier of the category
* @type {string}
* @memberof PatchCategoryRequestDto
*/
'code': string;
/**
* Category name: display name of the category
* @type {string}
* @memberof PatchCategoryRequestDto
*/
'name'?: string;
/**
* Category slug: URL-friendly identifier
* @type {string}
* @memberof PatchCategoryRequestDto
*/
'slug'?: 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 { CategoryClass } from './category-class';
/**
*
* @export
* @interface PatchCategoryResponseClass
*/
export interface PatchCategoryResponseClass {
/**
* category
* @type {CategoryClass}
* @memberof PatchCategoryResponseClass
*/
'category'?: CategoryClass;
}
/* 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 PatchStatusRequestDto
*/
export interface PatchStatusRequestDto {
/**
* Status code: unique identifier of the status
* @type {string}
* @memberof PatchStatusRequestDto
*/
'code': string;
/**
* Status name: display name of the status
* @type {string}
* @memberof PatchStatusRequestDto
*/
'name'?: string;
/**
* Status slug: URL-friendly identifier
* @type {string}
* @memberof PatchStatusRequestDto
*/
'slug'?: 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 { StatusClass } from './status-class';
/**
*
* @export
* @interface PatchStatusResponseClass
*/
export interface PatchStatusResponseClass {
/**
* status
* @type {StatusClass}
* @memberof PatchStatusResponseClass
*/
'status'?: StatusClass;
}
/* 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 PatchTaskRequestDto
*/
export interface PatchTaskRequestDto {
/**
* Task code: unique identifier of the task
* @type {string}
* @memberof PatchTaskRequestDto
*/
'code': string;
/**
* Task subject: title of the task
* @type {string}
* @memberof PatchTaskRequestDto
*/
'subject'?: string;
/**
* Task description: detailed description of the task
* @type {string}
* @memberof PatchTaskRequestDto
*/
'description'?: string;
/**
* Task assignee: person assigned to the task
* @type {string}
* @memberof PatchTaskRequestDto
*/
'assignee'?: string;
/**
* Task category slug
* @type {string}
* @memberof PatchTaskRequestDto
*/
'categorySlug'?: string;
/**
* Task status slug
* @type {string}
* @memberof PatchTaskRequestDto
*/
'statusSlug'?: string;
/**
* Task priority
* @type {string}
* @memberof PatchTaskRequestDto
*/
'priority'?: string;
/**
* Task reporter: person who reported the task
* @type {string}
* @memberof PatchTaskRequestDto
*/
'reporter'?: string;
/**
* Task due date
* @type {string}
* @memberof PatchTaskRequestDto
*/
'dueDate'?: string;
/**
* Set to true to clear/remove the due date.
* @type {boolean}
* @memberof PatchTaskRequestDto
*/
'clearDueDate'?: boolean;
/**
* Set to true to clear/remove the assignee.
* @type {boolean}
* @memberof PatchTaskRequestDto
*/
'clearAssignee'?: boolean;
/**
* Set to true to clear/remove the category.
* @type {boolean}
* @memberof PatchTaskRequestDto
*/
'clearCategory'?: boolean;
/**
* Set to true to clear/remove the status.
* @type {boolean}
* @memberof PatchTaskRequestDto
*/
'clearStatus'?: boolean;
/**
* Set to true to clear/remove the priority.
* @type {boolean}
* @memberof PatchTaskRequestDto
*/
'clearPriority'?: boolean;
/**
* Set to true to clear/remove the reporter.
* @type {boolean}
* @memberof PatchTaskRequestDto
*/
'clearReporter'?: boolean;
}
/* 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 { TaskClass } from './task-class';
/**
*
* @export
* @interface PatchTaskResponseClass
*/
export interface PatchTaskResponseClass {
/**
* task
* @type {TaskClass}
* @memberof PatchTaskResponseClass
*/
'task'?: TaskClass;
}
+30
-30

@@ -32,5 +32,5 @@ /* tslint:disable */

// @ts-ignore
import { UpdateCategoryRequestDto } from '../models';
import { PatchCategoryRequestDto } from '../models';
// @ts-ignore
import { UpdateCategoryResponseClass } from '../models';
import { PatchCategoryResponseClass } from '../models';
// URLSearchParams not necessarily used

@@ -257,6 +257,6 @@ // @ts-ignore

/**
* This will update category.
* This will partially update a category by code with the provided fields.
* @summary Update the category
* @param {string} code
* @param {UpdateCategoryRequestDto} updateCategoryRequestDto
* @param {PatchCategoryRequestDto} patchCategoryRequestDto
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.

@@ -266,7 +266,7 @@ * @param {*} [options] Override http request option.

*/
updateCategory: async (code: string, updateCategoryRequestDto: UpdateCategoryRequestDto, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
patchCategory: async (code: string, patchCategoryRequestDto: PatchCategoryRequestDto, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
// verify required parameter 'code' is not null or undefined
assertParamExists('updateCategory', 'code', code)
// verify required parameter 'updateCategoryRequestDto' is not null or undefined
assertParamExists('updateCategory', 'updateCategoryRequestDto', updateCategoryRequestDto)
assertParamExists('patchCategory', 'code', code)
// verify required parameter 'patchCategoryRequestDto' is not null or undefined
assertParamExists('patchCategory', 'patchCategoryRequestDto', patchCategoryRequestDto)
const localVarPath = `/taskservice/v1/categories/{code}`

@@ -283,3 +283,3 @@ .replace(`{${"code"}}`, encodeURIComponent(String(code)));

const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
const localVarRequestOptions = { method: 'PATCH', ...baseOptions, ...options};
const localVarHeaderParameter = {} as any;

@@ -303,3 +303,3 @@ const localVarQueryParameter = {} as any;

localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
localVarRequestOptions.data = serializeDataIfNeeded(updateCategoryRequestDto, localVarRequestOptions, configuration)
localVarRequestOptions.data = serializeDataIfNeeded(patchCategoryRequestDto, localVarRequestOptions, configuration)

@@ -375,6 +375,6 @@ return {

/**
* This will update category.
* This will partially update a category by code with the provided fields.
* @summary Update the category
* @param {string} code
* @param {UpdateCategoryRequestDto} updateCategoryRequestDto
* @param {PatchCategoryRequestDto} patchCategoryRequestDto
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.

@@ -384,4 +384,4 @@ * @param {*} [options] Override http request option.

*/
async updateCategory(code: string, updateCategoryRequestDto: UpdateCategoryRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UpdateCategoryResponseClass>> {
const localVarAxiosArgs = await localVarAxiosParamCreator.updateCategory(code, updateCategoryRequestDto, authorization, options);
async patchCategory(code: string, patchCategoryRequestDto: PatchCategoryRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PatchCategoryResponseClass>> {
const localVarAxiosArgs = await localVarAxiosParamCreator.patchCategory(code, patchCategoryRequestDto, authorization, options);
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);

@@ -449,6 +449,6 @@ },

/**
* This will update category.
* This will partially update a category by code with the provided fields.
* @summary Update the category
* @param {string} code
* @param {UpdateCategoryRequestDto} updateCategoryRequestDto
* @param {PatchCategoryRequestDto} patchCategoryRequestDto
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.

@@ -458,4 +458,4 @@ * @param {*} [options] Override http request option.

*/
updateCategory(code: string, updateCategoryRequestDto: UpdateCategoryRequestDto, authorization?: string, options?: any): AxiosPromise<UpdateCategoryResponseClass> {
return localVarFp.updateCategory(code, updateCategoryRequestDto, authorization, options).then((request) => request(axios, basePath));
patchCategory(code: string, patchCategoryRequestDto: PatchCategoryRequestDto, authorization?: string, options?: any): AxiosPromise<PatchCategoryResponseClass> {
return localVarFp.patchCategory(code, patchCategoryRequestDto, authorization, options).then((request) => request(axios, basePath));
},

@@ -585,11 +585,11 @@ };

/**
* Request parameters for updateCategory operation in CategoriesApi.
* Request parameters for patchCategory operation in CategoriesApi.
* @export
* @interface CategoriesApiUpdateCategoryRequest
* @interface CategoriesApiPatchCategoryRequest
*/
export interface CategoriesApiUpdateCategoryRequest {
export interface CategoriesApiPatchCategoryRequest {
/**
*
* @type {string}
* @memberof CategoriesApiUpdateCategory
* @memberof CategoriesApiPatchCategory
*/

@@ -600,6 +600,6 @@ readonly code: string

*
* @type {UpdateCategoryRequestDto}
* @memberof CategoriesApiUpdateCategory
* @type {PatchCategoryRequestDto}
* @memberof CategoriesApiPatchCategory
*/
readonly updateCategoryRequestDto: UpdateCategoryRequestDto
readonly patchCategoryRequestDto: PatchCategoryRequestDto

@@ -609,3 +609,3 @@ /**

* @type {string}
* @memberof CategoriesApiUpdateCategory
* @memberof CategoriesApiPatchCategory
*/

@@ -671,5 +671,5 @@ readonly authorization?: string

/**
* This will update category.
* This will partially update a category by code with the provided fields.
* @summary Update the category
* @param {CategoriesApiUpdateCategoryRequest} requestParameters Request parameters.
* @param {CategoriesApiPatchCategoryRequest} requestParameters Request parameters.
* @param {*} [options] Override http request option.

@@ -679,5 +679,5 @@ * @throws {RequiredError}

*/
public updateCategory(requestParameters: CategoriesApiUpdateCategoryRequest, options?: AxiosRequestConfig) {
return CategoriesApiFp(this.configuration).updateCategory(requestParameters.code, requestParameters.updateCategoryRequestDto, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
public patchCategory(requestParameters: CategoriesApiPatchCategoryRequest, options?: AxiosRequestConfig) {
return CategoriesApiFp(this.configuration).patchCategory(requestParameters.code, requestParameters.patchCategoryRequestDto, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
}
}

@@ -32,5 +32,5 @@ /* tslint:disable */

// @ts-ignore
import { UpdateStatusRequestDto } from '../models';
import { PatchStatusRequestDto } from '../models';
// @ts-ignore
import { UpdateStatusResponseClass } from '../models';
import { PatchStatusResponseClass } from '../models';
// URLSearchParams not necessarily used

@@ -257,6 +257,6 @@ // @ts-ignore

/**
* This will update status.
* This will partially update a status by code with the provided fields.
* @summary Update the status
* @param {string} code
* @param {UpdateStatusRequestDto} updateStatusRequestDto
* @param {PatchStatusRequestDto} patchStatusRequestDto
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.

@@ -266,7 +266,7 @@ * @param {*} [options] Override http request option.

*/
updateStatus: async (code: string, updateStatusRequestDto: UpdateStatusRequestDto, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
patchStatus: async (code: string, patchStatusRequestDto: PatchStatusRequestDto, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
// verify required parameter 'code' is not null or undefined
assertParamExists('updateStatus', 'code', code)
// verify required parameter 'updateStatusRequestDto' is not null or undefined
assertParamExists('updateStatus', 'updateStatusRequestDto', updateStatusRequestDto)
assertParamExists('patchStatus', 'code', code)
// verify required parameter 'patchStatusRequestDto' is not null or undefined
assertParamExists('patchStatus', 'patchStatusRequestDto', patchStatusRequestDto)
const localVarPath = `/taskservice/v1/statuses/{code}`

@@ -283,3 +283,3 @@ .replace(`{${"code"}}`, encodeURIComponent(String(code)));

const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
const localVarRequestOptions = { method: 'PATCH', ...baseOptions, ...options};
const localVarHeaderParameter = {} as any;

@@ -303,3 +303,3 @@ const localVarQueryParameter = {} as any;

localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
localVarRequestOptions.data = serializeDataIfNeeded(updateStatusRequestDto, localVarRequestOptions, configuration)
localVarRequestOptions.data = serializeDataIfNeeded(patchStatusRequestDto, localVarRequestOptions, configuration)

@@ -375,6 +375,6 @@ return {

/**
* This will update status.
* This will partially update a status by code with the provided fields.
* @summary Update the status
* @param {string} code
* @param {UpdateStatusRequestDto} updateStatusRequestDto
* @param {PatchStatusRequestDto} patchStatusRequestDto
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.

@@ -384,4 +384,4 @@ * @param {*} [options] Override http request option.

*/
async updateStatus(code: string, updateStatusRequestDto: UpdateStatusRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UpdateStatusResponseClass>> {
const localVarAxiosArgs = await localVarAxiosParamCreator.updateStatus(code, updateStatusRequestDto, authorization, options);
async patchStatus(code: string, patchStatusRequestDto: PatchStatusRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PatchStatusResponseClass>> {
const localVarAxiosArgs = await localVarAxiosParamCreator.patchStatus(code, patchStatusRequestDto, authorization, options);
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);

@@ -449,6 +449,6 @@ },

/**
* This will update status.
* This will partially update a status by code with the provided fields.
* @summary Update the status
* @param {string} code
* @param {UpdateStatusRequestDto} updateStatusRequestDto
* @param {PatchStatusRequestDto} patchStatusRequestDto
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.

@@ -458,4 +458,4 @@ * @param {*} [options] Override http request option.

*/
updateStatus(code: string, updateStatusRequestDto: UpdateStatusRequestDto, authorization?: string, options?: any): AxiosPromise<UpdateStatusResponseClass> {
return localVarFp.updateStatus(code, updateStatusRequestDto, authorization, options).then((request) => request(axios, basePath));
patchStatus(code: string, patchStatusRequestDto: PatchStatusRequestDto, authorization?: string, options?: any): AxiosPromise<PatchStatusResponseClass> {
return localVarFp.patchStatus(code, patchStatusRequestDto, authorization, options).then((request) => request(axios, basePath));
},

@@ -585,11 +585,11 @@ };

/**
* Request parameters for updateStatus operation in StatusesApi.
* Request parameters for patchStatus operation in StatusesApi.
* @export
* @interface StatusesApiUpdateStatusRequest
* @interface StatusesApiPatchStatusRequest
*/
export interface StatusesApiUpdateStatusRequest {
export interface StatusesApiPatchStatusRequest {
/**
*
* @type {string}
* @memberof StatusesApiUpdateStatus
* @memberof StatusesApiPatchStatus
*/

@@ -600,6 +600,6 @@ readonly code: string

*
* @type {UpdateStatusRequestDto}
* @memberof StatusesApiUpdateStatus
* @type {PatchStatusRequestDto}
* @memberof StatusesApiPatchStatus
*/
readonly updateStatusRequestDto: UpdateStatusRequestDto
readonly patchStatusRequestDto: PatchStatusRequestDto

@@ -609,3 +609,3 @@ /**

* @type {string}
* @memberof StatusesApiUpdateStatus
* @memberof StatusesApiPatchStatus
*/

@@ -671,5 +671,5 @@ readonly authorization?: string

/**
* This will update status.
* This will partially update a status by code with the provided fields.
* @summary Update the status
* @param {StatusesApiUpdateStatusRequest} requestParameters Request parameters.
* @param {StatusesApiPatchStatusRequest} requestParameters Request parameters.
* @param {*} [options] Override http request option.

@@ -679,5 +679,5 @@ * @throws {RequiredError}

*/
public updateStatus(requestParameters: StatusesApiUpdateStatusRequest, options?: AxiosRequestConfig) {
return StatusesApiFp(this.configuration).updateStatus(requestParameters.code, requestParameters.updateStatusRequestDto, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
public patchStatus(requestParameters: StatusesApiPatchStatusRequest, options?: AxiosRequestConfig) {
return StatusesApiFp(this.configuration).patchStatus(requestParameters.code, requestParameters.patchStatusRequestDto, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
}
}

@@ -32,5 +32,5 @@ /* tslint:disable */

// @ts-ignore
import { UpdateTaskRequestDto } from '../models';
import { PatchTaskRequestDto } from '../models';
// @ts-ignore
import { UpdateTaskResponseClass } from '../models';
import { PatchTaskResponseClass } from '../models';
// URLSearchParams not necessarily used

@@ -257,6 +257,6 @@ // @ts-ignore

/**
* This will update a task by code.
* This will partially update a task by code with the provided fields.
* @summary Update the task
* @param {string} code
* @param {UpdateTaskRequestDto} updateTaskRequestDto
* @param {PatchTaskRequestDto} patchTaskRequestDto
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.

@@ -266,7 +266,7 @@ * @param {*} [options] Override http request option.

*/
updateTask: async (code: string, updateTaskRequestDto: UpdateTaskRequestDto, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
patchTask: async (code: string, patchTaskRequestDto: PatchTaskRequestDto, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
// verify required parameter 'code' is not null or undefined
assertParamExists('updateTask', 'code', code)
// verify required parameter 'updateTaskRequestDto' is not null or undefined
assertParamExists('updateTask', 'updateTaskRequestDto', updateTaskRequestDto)
assertParamExists('patchTask', 'code', code)
// verify required parameter 'patchTaskRequestDto' is not null or undefined
assertParamExists('patchTask', 'patchTaskRequestDto', patchTaskRequestDto)
const localVarPath = `/taskservice/v1/tasks/{code}`

@@ -283,3 +283,3 @@ .replace(`{${"code"}}`, encodeURIComponent(String(code)));

const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
const localVarRequestOptions = { method: 'PATCH', ...baseOptions, ...options};
const localVarHeaderParameter = {} as any;

@@ -303,3 +303,3 @@ const localVarQueryParameter = {} as any;

localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
localVarRequestOptions.data = serializeDataIfNeeded(updateTaskRequestDto, localVarRequestOptions, configuration)
localVarRequestOptions.data = serializeDataIfNeeded(patchTaskRequestDto, localVarRequestOptions, configuration)

@@ -375,6 +375,6 @@ return {

/**
* This will update a task by code.
* This will partially update a task by code with the provided fields.
* @summary Update the task
* @param {string} code
* @param {UpdateTaskRequestDto} updateTaskRequestDto
* @param {PatchTaskRequestDto} patchTaskRequestDto
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.

@@ -384,4 +384,4 @@ * @param {*} [options] Override http request option.

*/
async updateTask(code: string, updateTaskRequestDto: UpdateTaskRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UpdateTaskResponseClass>> {
const localVarAxiosArgs = await localVarAxiosParamCreator.updateTask(code, updateTaskRequestDto, authorization, options);
async patchTask(code: string, patchTaskRequestDto: PatchTaskRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PatchTaskResponseClass>> {
const localVarAxiosArgs = await localVarAxiosParamCreator.patchTask(code, patchTaskRequestDto, authorization, options);
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);

@@ -449,6 +449,6 @@ },

/**
* This will update a task by code.
* This will partially update a task by code with the provided fields.
* @summary Update the task
* @param {string} code
* @param {UpdateTaskRequestDto} updateTaskRequestDto
* @param {PatchTaskRequestDto} patchTaskRequestDto
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.

@@ -458,4 +458,4 @@ * @param {*} [options] Override http request option.

*/
updateTask(code: string, updateTaskRequestDto: UpdateTaskRequestDto, authorization?: string, options?: any): AxiosPromise<UpdateTaskResponseClass> {
return localVarFp.updateTask(code, updateTaskRequestDto, authorization, options).then((request) => request(axios, basePath));
patchTask(code: string, patchTaskRequestDto: PatchTaskRequestDto, authorization?: string, options?: any): AxiosPromise<PatchTaskResponseClass> {
return localVarFp.patchTask(code, patchTaskRequestDto, authorization, options).then((request) => request(axios, basePath));
},

@@ -585,11 +585,11 @@ };

/**
* Request parameters for updateTask operation in TasksApi.
* Request parameters for patchTask operation in TasksApi.
* @export
* @interface TasksApiUpdateTaskRequest
* @interface TasksApiPatchTaskRequest
*/
export interface TasksApiUpdateTaskRequest {
export interface TasksApiPatchTaskRequest {
/**
*
* @type {string}
* @memberof TasksApiUpdateTask
* @memberof TasksApiPatchTask
*/

@@ -600,6 +600,6 @@ readonly code: string

*
* @type {UpdateTaskRequestDto}
* @memberof TasksApiUpdateTask
* @type {PatchTaskRequestDto}
* @memberof TasksApiPatchTask
*/
readonly updateTaskRequestDto: UpdateTaskRequestDto
readonly patchTaskRequestDto: PatchTaskRequestDto

@@ -609,3 +609,3 @@ /**

* @type {string}
* @memberof TasksApiUpdateTask
* @memberof TasksApiPatchTask
*/

@@ -671,5 +671,5 @@ readonly authorization?: string

/**
* This will update a task by code.
* This will partially update a task by code with the provided fields.
* @summary Update the task
* @param {TasksApiUpdateTaskRequest} requestParameters Request parameters.
* @param {TasksApiPatchTaskRequest} requestParameters Request parameters.
* @param {*} [options] Override http request option.

@@ -679,5 +679,5 @@ * @throws {RequiredError}

*/
public updateTask(requestParameters: TasksApiUpdateTaskRequest, options?: AxiosRequestConfig) {
return TasksApiFp(this.configuration).updateTask(requestParameters.code, requestParameters.updateTaskRequestDto, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
public patchTask(requestParameters: TasksApiPatchTaskRequest, options?: AxiosRequestConfig) {
return TasksApiFp(this.configuration).patchTask(requestParameters.code, requestParameters.patchTaskRequestDto, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
}
}

@@ -19,4 +19,4 @@ /**

import { ListCategoriesResponseClass } from '../models';
import { UpdateCategoryRequestDto } from '../models';
import { UpdateCategoryResponseClass } from '../models';
import { PatchCategoryRequestDto } from '../models';
import { PatchCategoryResponseClass } from '../models';
/**

@@ -69,6 +69,6 @@ * CategoriesApi - axios parameter creator

/**
* This will update category.
* This will partially update a category by code with the provided fields.
* @summary Update the category
* @param {string} code
* @param {UpdateCategoryRequestDto} updateCategoryRequestDto
* @param {PatchCategoryRequestDto} patchCategoryRequestDto
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.

@@ -78,3 +78,3 @@ * @param {*} [options] Override http request option.

*/
updateCategory: (code: string, updateCategoryRequestDto: UpdateCategoryRequestDto, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
patchCategory: (code: string, patchCategoryRequestDto: PatchCategoryRequestDto, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
};

@@ -128,6 +128,6 @@ /**

/**
* This will update category.
* This will partially update a category by code with the provided fields.
* @summary Update the category
* @param {string} code
* @param {UpdateCategoryRequestDto} updateCategoryRequestDto
* @param {PatchCategoryRequestDto} patchCategoryRequestDto
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.

@@ -137,3 +137,3 @@ * @param {*} [options] Override http request option.

*/
updateCategory(code: string, updateCategoryRequestDto: UpdateCategoryRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UpdateCategoryResponseClass>>;
patchCategory(code: string, patchCategoryRequestDto: PatchCategoryRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PatchCategoryResponseClass>>;
};

@@ -187,6 +187,6 @@ /**

/**
* This will update category.
* This will partially update a category by code with the provided fields.
* @summary Update the category
* @param {string} code
* @param {UpdateCategoryRequestDto} updateCategoryRequestDto
* @param {PatchCategoryRequestDto} patchCategoryRequestDto
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.

@@ -196,3 +196,3 @@ * @param {*} [options] Override http request option.

*/
updateCategory(code: string, updateCategoryRequestDto: UpdateCategoryRequestDto, authorization?: string, options?: any): AxiosPromise<UpdateCategoryResponseClass>;
patchCategory(code: string, patchCategoryRequestDto: PatchCategoryRequestDto, authorization?: string, options?: any): AxiosPromise<PatchCategoryResponseClass>;
};

@@ -306,11 +306,11 @@ /**

/**
* Request parameters for updateCategory operation in CategoriesApi.
* Request parameters for patchCategory operation in CategoriesApi.
* @export
* @interface CategoriesApiUpdateCategoryRequest
* @interface CategoriesApiPatchCategoryRequest
*/
export interface CategoriesApiUpdateCategoryRequest {
export interface CategoriesApiPatchCategoryRequest {
/**
*
* @type {string}
* @memberof CategoriesApiUpdateCategory
* @memberof CategoriesApiPatchCategory
*/

@@ -320,10 +320,10 @@ readonly code: string;

*
* @type {UpdateCategoryRequestDto}
* @memberof CategoriesApiUpdateCategory
* @type {PatchCategoryRequestDto}
* @memberof CategoriesApiPatchCategory
*/
readonly updateCategoryRequestDto: UpdateCategoryRequestDto;
readonly patchCategoryRequestDto: PatchCategoryRequestDto;
/**
* Bearer Token: provided by the login endpoint under the name accessToken.
* @type {string}
* @memberof CategoriesApiUpdateCategory
* @memberof CategoriesApiPatchCategory
*/

@@ -376,5 +376,5 @@ readonly authorization?: string;

/**
* This will update category.
* This will partially update a category by code with the provided fields.
* @summary Update the category
* @param {CategoriesApiUpdateCategoryRequest} requestParameters Request parameters.
* @param {CategoriesApiPatchCategoryRequest} requestParameters Request parameters.
* @param {*} [options] Override http request option.

@@ -384,3 +384,3 @@ * @throws {RequiredError}

*/
updateCategory(requestParameters: CategoriesApiUpdateCategoryRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<UpdateCategoryResponseClass, any, {}>>;
patchCategory(requestParameters: CategoriesApiPatchCategoryRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<PatchCategoryResponseClass, any, {}>>;
}

@@ -315,6 +315,6 @@ "use strict";

/**
* This will update category.
* This will partially update a category by code with the provided fields.
* @summary Update the category
* @param {string} code
* @param {UpdateCategoryRequestDto} updateCategoryRequestDto
* @param {PatchCategoryRequestDto} patchCategoryRequestDto
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.

@@ -324,3 +324,3 @@ * @param {*} [options] Override http request option.

*/
updateCategory: function (code, updateCategoryRequestDto, authorization, options) {
patchCategory: function (code, patchCategoryRequestDto, authorization, options) {
if (options === void 0) { options = {}; }

@@ -333,5 +333,5 @@ return __awaiter(_this, void 0, void 0, function () {

// verify required parameter 'code' is not null or undefined
(0, common_1.assertParamExists)('updateCategory', 'code', code);
// verify required parameter 'updateCategoryRequestDto' is not null or undefined
(0, common_1.assertParamExists)('updateCategory', 'updateCategoryRequestDto', updateCategoryRequestDto);
(0, common_1.assertParamExists)('patchCategory', 'code', code);
// verify required parameter 'patchCategoryRequestDto' is not null or undefined
(0, common_1.assertParamExists)('patchCategory', 'patchCategoryRequestDto', patchCategoryRequestDto);
localVarPath = "/taskservice/v1/categories/{code}"

@@ -344,3 +344,3 @@ .replace("{".concat("code", "}"), encodeURIComponent(String(code)));

}
localVarRequestOptions = __assign(__assign({ method: 'PUT' }, baseOptions), options);
localVarRequestOptions = __assign(__assign({ method: 'PATCH' }, baseOptions), options);
localVarHeaderParameter = {};

@@ -362,3 +362,3 @@ localVarQueryParameter = {};

localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(updateCategoryRequestDto, localVarRequestOptions, configuration);
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(patchCategoryRequestDto, localVarRequestOptions, configuration);
return [2 /*return*/, {

@@ -472,6 +472,6 @@ url: (0, common_1.toPathString)(localVarUrlObj),

/**
* This will update category.
* This will partially update a category by code with the provided fields.
* @summary Update the category
* @param {string} code
* @param {UpdateCategoryRequestDto} updateCategoryRequestDto
* @param {PatchCategoryRequestDto} patchCategoryRequestDto
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.

@@ -481,3 +481,3 @@ * @param {*} [options] Override http request option.

*/
updateCategory: function (code, updateCategoryRequestDto, authorization, options) {
patchCategory: function (code, patchCategoryRequestDto, authorization, options) {
return __awaiter(this, void 0, void 0, function () {

@@ -487,3 +487,3 @@ var localVarAxiosArgs;

switch (_a.label) {
case 0: return [4 /*yield*/, localVarAxiosParamCreator.updateCategory(code, updateCategoryRequestDto, authorization, options)];
case 0: return [4 /*yield*/, localVarAxiosParamCreator.patchCategory(code, patchCategoryRequestDto, authorization, options)];
case 1:

@@ -556,6 +556,6 @@ localVarAxiosArgs = _a.sent();

/**
* This will update category.
* This will partially update a category by code with the provided fields.
* @summary Update the category
* @param {string} code
* @param {UpdateCategoryRequestDto} updateCategoryRequestDto
* @param {PatchCategoryRequestDto} patchCategoryRequestDto
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.

@@ -565,4 +565,4 @@ * @param {*} [options] Override http request option.

*/
updateCategory: function (code, updateCategoryRequestDto, authorization, options) {
return localVarFp.updateCategory(code, updateCategoryRequestDto, authorization, options).then(function (request) { return request(axios, basePath); });
patchCategory: function (code, patchCategoryRequestDto, authorization, options) {
return localVarFp.patchCategory(code, patchCategoryRequestDto, authorization, options).then(function (request) { return request(axios, basePath); });
},

@@ -633,5 +633,5 @@ };

/**
* This will update category.
* This will partially update a category by code with the provided fields.
* @summary Update the category
* @param {CategoriesApiUpdateCategoryRequest} requestParameters Request parameters.
* @param {CategoriesApiPatchCategoryRequest} requestParameters Request parameters.
* @param {*} [options] Override http request option.

@@ -641,5 +641,5 @@ * @throws {RequiredError}

*/
CategoriesApi.prototype.updateCategory = function (requestParameters, options) {
CategoriesApi.prototype.patchCategory = function (requestParameters, options) {
var _this = this;
return (0, exports.CategoriesApiFp)(this.configuration).updateCategory(requestParameters.code, requestParameters.updateCategoryRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
return (0, exports.CategoriesApiFp)(this.configuration).patchCategory(requestParameters.code, requestParameters.patchCategoryRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
};

@@ -646,0 +646,0 @@ return CategoriesApi;

@@ -19,4 +19,4 @@ /**

import { ListStatusesResponseClass } from '../models';
import { UpdateStatusRequestDto } from '../models';
import { UpdateStatusResponseClass } from '../models';
import { PatchStatusRequestDto } from '../models';
import { PatchStatusResponseClass } from '../models';
/**

@@ -69,6 +69,6 @@ * StatusesApi - axios parameter creator

/**
* This will update status.
* This will partially update a status by code with the provided fields.
* @summary Update the status
* @param {string} code
* @param {UpdateStatusRequestDto} updateStatusRequestDto
* @param {PatchStatusRequestDto} patchStatusRequestDto
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.

@@ -78,3 +78,3 @@ * @param {*} [options] Override http request option.

*/
updateStatus: (code: string, updateStatusRequestDto: UpdateStatusRequestDto, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
patchStatus: (code: string, patchStatusRequestDto: PatchStatusRequestDto, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
};

@@ -128,6 +128,6 @@ /**

/**
* This will update status.
* This will partially update a status by code with the provided fields.
* @summary Update the status
* @param {string} code
* @param {UpdateStatusRequestDto} updateStatusRequestDto
* @param {PatchStatusRequestDto} patchStatusRequestDto
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.

@@ -137,3 +137,3 @@ * @param {*} [options] Override http request option.

*/
updateStatus(code: string, updateStatusRequestDto: UpdateStatusRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UpdateStatusResponseClass>>;
patchStatus(code: string, patchStatusRequestDto: PatchStatusRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PatchStatusResponseClass>>;
};

@@ -187,6 +187,6 @@ /**

/**
* This will update status.
* This will partially update a status by code with the provided fields.
* @summary Update the status
* @param {string} code
* @param {UpdateStatusRequestDto} updateStatusRequestDto
* @param {PatchStatusRequestDto} patchStatusRequestDto
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.

@@ -196,3 +196,3 @@ * @param {*} [options] Override http request option.

*/
updateStatus(code: string, updateStatusRequestDto: UpdateStatusRequestDto, authorization?: string, options?: any): AxiosPromise<UpdateStatusResponseClass>;
patchStatus(code: string, patchStatusRequestDto: PatchStatusRequestDto, authorization?: string, options?: any): AxiosPromise<PatchStatusResponseClass>;
};

@@ -306,11 +306,11 @@ /**

/**
* Request parameters for updateStatus operation in StatusesApi.
* Request parameters for patchStatus operation in StatusesApi.
* @export
* @interface StatusesApiUpdateStatusRequest
* @interface StatusesApiPatchStatusRequest
*/
export interface StatusesApiUpdateStatusRequest {
export interface StatusesApiPatchStatusRequest {
/**
*
* @type {string}
* @memberof StatusesApiUpdateStatus
* @memberof StatusesApiPatchStatus
*/

@@ -320,10 +320,10 @@ readonly code: string;

*
* @type {UpdateStatusRequestDto}
* @memberof StatusesApiUpdateStatus
* @type {PatchStatusRequestDto}
* @memberof StatusesApiPatchStatus
*/
readonly updateStatusRequestDto: UpdateStatusRequestDto;
readonly patchStatusRequestDto: PatchStatusRequestDto;
/**
* Bearer Token: provided by the login endpoint under the name accessToken.
* @type {string}
* @memberof StatusesApiUpdateStatus
* @memberof StatusesApiPatchStatus
*/

@@ -376,5 +376,5 @@ readonly authorization?: string;

/**
* This will update status.
* This will partially update a status by code with the provided fields.
* @summary Update the status
* @param {StatusesApiUpdateStatusRequest} requestParameters Request parameters.
* @param {StatusesApiPatchStatusRequest} requestParameters Request parameters.
* @param {*} [options] Override http request option.

@@ -384,3 +384,3 @@ * @throws {RequiredError}

*/
updateStatus(requestParameters: StatusesApiUpdateStatusRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<UpdateStatusResponseClass, any, {}>>;
patchStatus(requestParameters: StatusesApiPatchStatusRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<PatchStatusResponseClass, any, {}>>;
}

@@ -315,6 +315,6 @@ "use strict";

/**
* This will update status.
* This will partially update a status by code with the provided fields.
* @summary Update the status
* @param {string} code
* @param {UpdateStatusRequestDto} updateStatusRequestDto
* @param {PatchStatusRequestDto} patchStatusRequestDto
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.

@@ -324,3 +324,3 @@ * @param {*} [options] Override http request option.

*/
updateStatus: function (code, updateStatusRequestDto, authorization, options) {
patchStatus: function (code, patchStatusRequestDto, authorization, options) {
if (options === void 0) { options = {}; }

@@ -333,5 +333,5 @@ return __awaiter(_this, void 0, void 0, function () {

// verify required parameter 'code' is not null or undefined
(0, common_1.assertParamExists)('updateStatus', 'code', code);
// verify required parameter 'updateStatusRequestDto' is not null or undefined
(0, common_1.assertParamExists)('updateStatus', 'updateStatusRequestDto', updateStatusRequestDto);
(0, common_1.assertParamExists)('patchStatus', 'code', code);
// verify required parameter 'patchStatusRequestDto' is not null or undefined
(0, common_1.assertParamExists)('patchStatus', 'patchStatusRequestDto', patchStatusRequestDto);
localVarPath = "/taskservice/v1/statuses/{code}"

@@ -344,3 +344,3 @@ .replace("{".concat("code", "}"), encodeURIComponent(String(code)));

}
localVarRequestOptions = __assign(__assign({ method: 'PUT' }, baseOptions), options);
localVarRequestOptions = __assign(__assign({ method: 'PATCH' }, baseOptions), options);
localVarHeaderParameter = {};

@@ -362,3 +362,3 @@ localVarQueryParameter = {};

localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(updateStatusRequestDto, localVarRequestOptions, configuration);
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(patchStatusRequestDto, localVarRequestOptions, configuration);
return [2 /*return*/, {

@@ -472,6 +472,6 @@ url: (0, common_1.toPathString)(localVarUrlObj),

/**
* This will update status.
* This will partially update a status by code with the provided fields.
* @summary Update the status
* @param {string} code
* @param {UpdateStatusRequestDto} updateStatusRequestDto
* @param {PatchStatusRequestDto} patchStatusRequestDto
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.

@@ -481,3 +481,3 @@ * @param {*} [options] Override http request option.

*/
updateStatus: function (code, updateStatusRequestDto, authorization, options) {
patchStatus: function (code, patchStatusRequestDto, authorization, options) {
return __awaiter(this, void 0, void 0, function () {

@@ -487,3 +487,3 @@ var localVarAxiosArgs;

switch (_a.label) {
case 0: return [4 /*yield*/, localVarAxiosParamCreator.updateStatus(code, updateStatusRequestDto, authorization, options)];
case 0: return [4 /*yield*/, localVarAxiosParamCreator.patchStatus(code, patchStatusRequestDto, authorization, options)];
case 1:

@@ -556,6 +556,6 @@ localVarAxiosArgs = _a.sent();

/**
* This will update status.
* This will partially update a status by code with the provided fields.
* @summary Update the status
* @param {string} code
* @param {UpdateStatusRequestDto} updateStatusRequestDto
* @param {PatchStatusRequestDto} patchStatusRequestDto
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.

@@ -565,4 +565,4 @@ * @param {*} [options] Override http request option.

*/
updateStatus: function (code, updateStatusRequestDto, authorization, options) {
return localVarFp.updateStatus(code, updateStatusRequestDto, authorization, options).then(function (request) { return request(axios, basePath); });
patchStatus: function (code, patchStatusRequestDto, authorization, options) {
return localVarFp.patchStatus(code, patchStatusRequestDto, authorization, options).then(function (request) { return request(axios, basePath); });
},

@@ -633,5 +633,5 @@ };

/**
* This will update status.
* This will partially update a status by code with the provided fields.
* @summary Update the status
* @param {StatusesApiUpdateStatusRequest} requestParameters Request parameters.
* @param {StatusesApiPatchStatusRequest} requestParameters Request parameters.
* @param {*} [options] Override http request option.

@@ -641,5 +641,5 @@ * @throws {RequiredError}

*/
StatusesApi.prototype.updateStatus = function (requestParameters, options) {
StatusesApi.prototype.patchStatus = function (requestParameters, options) {
var _this = this;
return (0, exports.StatusesApiFp)(this.configuration).updateStatus(requestParameters.code, requestParameters.updateStatusRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
return (0, exports.StatusesApiFp)(this.configuration).patchStatus(requestParameters.code, requestParameters.patchStatusRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
};

@@ -646,0 +646,0 @@ return StatusesApi;

@@ -19,4 +19,4 @@ /**

import { ListTasksResponseClass } from '../models';
import { UpdateTaskRequestDto } from '../models';
import { UpdateTaskResponseClass } from '../models';
import { PatchTaskRequestDto } from '../models';
import { PatchTaskResponseClass } from '../models';
/**

@@ -69,6 +69,6 @@ * TasksApi - axios parameter creator

/**
* This will update a task by code.
* This will partially update a task by code with the provided fields.
* @summary Update the task
* @param {string} code
* @param {UpdateTaskRequestDto} updateTaskRequestDto
* @param {PatchTaskRequestDto} patchTaskRequestDto
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.

@@ -78,3 +78,3 @@ * @param {*} [options] Override http request option.

*/
updateTask: (code: string, updateTaskRequestDto: UpdateTaskRequestDto, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
patchTask: (code: string, patchTaskRequestDto: PatchTaskRequestDto, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
};

@@ -128,6 +128,6 @@ /**

/**
* This will update a task by code.
* This will partially update a task by code with the provided fields.
* @summary Update the task
* @param {string} code
* @param {UpdateTaskRequestDto} updateTaskRequestDto
* @param {PatchTaskRequestDto} patchTaskRequestDto
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.

@@ -137,3 +137,3 @@ * @param {*} [options] Override http request option.

*/
updateTask(code: string, updateTaskRequestDto: UpdateTaskRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UpdateTaskResponseClass>>;
patchTask(code: string, patchTaskRequestDto: PatchTaskRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PatchTaskResponseClass>>;
};

@@ -187,6 +187,6 @@ /**

/**
* This will update a task by code.
* This will partially update a task by code with the provided fields.
* @summary Update the task
* @param {string} code
* @param {UpdateTaskRequestDto} updateTaskRequestDto
* @param {PatchTaskRequestDto} patchTaskRequestDto
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.

@@ -196,3 +196,3 @@ * @param {*} [options] Override http request option.

*/
updateTask(code: string, updateTaskRequestDto: UpdateTaskRequestDto, authorization?: string, options?: any): AxiosPromise<UpdateTaskResponseClass>;
patchTask(code: string, patchTaskRequestDto: PatchTaskRequestDto, authorization?: string, options?: any): AxiosPromise<PatchTaskResponseClass>;
};

@@ -306,11 +306,11 @@ /**

/**
* Request parameters for updateTask operation in TasksApi.
* Request parameters for patchTask operation in TasksApi.
* @export
* @interface TasksApiUpdateTaskRequest
* @interface TasksApiPatchTaskRequest
*/
export interface TasksApiUpdateTaskRequest {
export interface TasksApiPatchTaskRequest {
/**
*
* @type {string}
* @memberof TasksApiUpdateTask
* @memberof TasksApiPatchTask
*/

@@ -320,10 +320,10 @@ readonly code: string;

*
* @type {UpdateTaskRequestDto}
* @memberof TasksApiUpdateTask
* @type {PatchTaskRequestDto}
* @memberof TasksApiPatchTask
*/
readonly updateTaskRequestDto: UpdateTaskRequestDto;
readonly patchTaskRequestDto: PatchTaskRequestDto;
/**
* Bearer Token: provided by the login endpoint under the name accessToken.
* @type {string}
* @memberof TasksApiUpdateTask
* @memberof TasksApiPatchTask
*/

@@ -376,5 +376,5 @@ readonly authorization?: string;

/**
* This will update a task by code.
* This will partially update a task by code with the provided fields.
* @summary Update the task
* @param {TasksApiUpdateTaskRequest} requestParameters Request parameters.
* @param {TasksApiPatchTaskRequest} requestParameters Request parameters.
* @param {*} [options] Override http request option.

@@ -384,3 +384,3 @@ * @throws {RequiredError}

*/
updateTask(requestParameters: TasksApiUpdateTaskRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<UpdateTaskResponseClass, any, {}>>;
patchTask(requestParameters: TasksApiPatchTaskRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<PatchTaskResponseClass, any, {}>>;
}

@@ -315,6 +315,6 @@ "use strict";

/**
* This will update a task by code.
* This will partially update a task by code with the provided fields.
* @summary Update the task
* @param {string} code
* @param {UpdateTaskRequestDto} updateTaskRequestDto
* @param {PatchTaskRequestDto} patchTaskRequestDto
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.

@@ -324,3 +324,3 @@ * @param {*} [options] Override http request option.

*/
updateTask: function (code, updateTaskRequestDto, authorization, options) {
patchTask: function (code, patchTaskRequestDto, authorization, options) {
if (options === void 0) { options = {}; }

@@ -333,5 +333,5 @@ return __awaiter(_this, void 0, void 0, function () {

// verify required parameter 'code' is not null or undefined
(0, common_1.assertParamExists)('updateTask', 'code', code);
// verify required parameter 'updateTaskRequestDto' is not null or undefined
(0, common_1.assertParamExists)('updateTask', 'updateTaskRequestDto', updateTaskRequestDto);
(0, common_1.assertParamExists)('patchTask', 'code', code);
// verify required parameter 'patchTaskRequestDto' is not null or undefined
(0, common_1.assertParamExists)('patchTask', 'patchTaskRequestDto', patchTaskRequestDto);
localVarPath = "/taskservice/v1/tasks/{code}"

@@ -344,3 +344,3 @@ .replace("{".concat("code", "}"), encodeURIComponent(String(code)));

}
localVarRequestOptions = __assign(__assign({ method: 'PUT' }, baseOptions), options);
localVarRequestOptions = __assign(__assign({ method: 'PATCH' }, baseOptions), options);
localVarHeaderParameter = {};

@@ -362,3 +362,3 @@ localVarQueryParameter = {};

localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(updateTaskRequestDto, localVarRequestOptions, configuration);
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(patchTaskRequestDto, localVarRequestOptions, configuration);
return [2 /*return*/, {

@@ -472,6 +472,6 @@ url: (0, common_1.toPathString)(localVarUrlObj),

/**
* This will update a task by code.
* This will partially update a task by code with the provided fields.
* @summary Update the task
* @param {string} code
* @param {UpdateTaskRequestDto} updateTaskRequestDto
* @param {PatchTaskRequestDto} patchTaskRequestDto
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.

@@ -481,3 +481,3 @@ * @param {*} [options] Override http request option.

*/
updateTask: function (code, updateTaskRequestDto, authorization, options) {
patchTask: function (code, patchTaskRequestDto, authorization, options) {
return __awaiter(this, void 0, void 0, function () {

@@ -487,3 +487,3 @@ var localVarAxiosArgs;

switch (_a.label) {
case 0: return [4 /*yield*/, localVarAxiosParamCreator.updateTask(code, updateTaskRequestDto, authorization, options)];
case 0: return [4 /*yield*/, localVarAxiosParamCreator.patchTask(code, patchTaskRequestDto, authorization, options)];
case 1:

@@ -556,6 +556,6 @@ localVarAxiosArgs = _a.sent();

/**
* This will update a task by code.
* This will partially update a task by code with the provided fields.
* @summary Update the task
* @param {string} code
* @param {UpdateTaskRequestDto} updateTaskRequestDto
* @param {PatchTaskRequestDto} patchTaskRequestDto
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.

@@ -565,4 +565,4 @@ * @param {*} [options] Override http request option.

*/
updateTask: function (code, updateTaskRequestDto, authorization, options) {
return localVarFp.updateTask(code, updateTaskRequestDto, authorization, options).then(function (request) { return request(axios, basePath); });
patchTask: function (code, patchTaskRequestDto, authorization, options) {
return localVarFp.patchTask(code, patchTaskRequestDto, authorization, options).then(function (request) { return request(axios, basePath); });
},

@@ -633,5 +633,5 @@ };

/**
* This will update a task by code.
* This will partially update a task by code with the provided fields.
* @summary Update the task
* @param {TasksApiUpdateTaskRequest} requestParameters Request parameters.
* @param {TasksApiPatchTaskRequest} requestParameters Request parameters.
* @param {*} [options] Override http request option.

@@ -641,5 +641,5 @@ * @throws {RequiredError}

*/
TasksApi.prototype.updateTask = function (requestParameters, options) {
TasksApi.prototype.patchTask = function (requestParameters, options) {
var _this = this;
return (0, exports.TasksApiFp)(this.configuration).updateTask(requestParameters.code, requestParameters.updateTaskRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
return (0, exports.TasksApiFp)(this.configuration).patchTask(requestParameters.code, requestParameters.patchTaskRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
};

@@ -646,0 +646,0 @@ return TasksApi;

@@ -21,9 +21,9 @@ export * from './category-class';

export * from './list-tasks-response-class';
export * from './patch-category-request-dto';
export * from './patch-category-response-class';
export * from './patch-status-request-dto';
export * from './patch-status-response-class';
export * from './patch-task-request-dto';
export * from './patch-task-response-class';
export * from './status-class';
export * from './task-class';
export * from './update-category-request-dto';
export * from './update-category-response-class';
export * from './update-status-request-dto';
export * from './update-status-response-class';
export * from './update-task-request-dto';
export * from './update-task-response-class';

@@ -37,9 +37,9 @@ "use strict";

__exportStar(require("./list-tasks-response-class"), exports);
__exportStar(require("./patch-category-request-dto"), exports);
__exportStar(require("./patch-category-response-class"), exports);
__exportStar(require("./patch-status-request-dto"), exports);
__exportStar(require("./patch-status-response-class"), exports);
__exportStar(require("./patch-task-request-dto"), exports);
__exportStar(require("./patch-task-response-class"), exports);
__exportStar(require("./status-class"), exports);
__exportStar(require("./task-class"), exports);
__exportStar(require("./update-category-request-dto"), exports);
__exportStar(require("./update-category-response-class"), exports);
__exportStar(require("./update-status-request-dto"), exports);
__exportStar(require("./update-status-response-class"), exports);
__exportStar(require("./update-task-request-dto"), exports);
__exportStar(require("./update-task-response-class"), exports);

@@ -21,9 +21,9 @@ export * from './category-class';

export * from './list-tasks-response-class';
export * from './patch-category-request-dto';
export * from './patch-category-response-class';
export * from './patch-status-request-dto';
export * from './patch-status-response-class';
export * from './patch-task-request-dto';
export * from './patch-task-response-class';
export * from './status-class';
export * from './task-class';
export * from './update-category-request-dto';
export * from './update-category-response-class';
export * from './update-status-request-dto';
export * from './update-status-response-class';
export * from './update-task-request-dto';
export * from './update-task-response-class';
{
"name": "@emilgroup/task-sdk-node",
"version": "1.0.1-beta.4",
"version": "1.0.1-beta.5",
"description": "OpenAPI client for @emilgroup/task-sdk-node",

@@ -5,0 +5,0 @@ "author": "OpenAPI-Generator Contributors",

@@ -20,7 +20,7 @@ # Emil Task SDK for Nodejs

```
npm install @emilgroup/task-sdk-node@1.0.1-beta.4 --save
npm install @emilgroup/task-sdk-node@1.0.1-beta.5 --save
```
or
```
yarn add @emilgroup/task-sdk-node@1.0.1-beta.4
yarn add @emilgroup/task-sdk-node@1.0.1-beta.5
```

@@ -27,0 +27,0 @@

/**
* 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 UpdateCategoryRequestDto
*/
export interface UpdateCategoryRequestDto {
/**
* Category code: unique identifier of the category
* @type {string}
* @memberof UpdateCategoryRequestDto
*/
'code': string;
/**
* Category name: display name of the category
* @type {string}
* @memberof UpdateCategoryRequestDto
*/
'name': string;
/**
* Category slug: URL-friendly identifier
* @type {string}
* @memberof UpdateCategoryRequestDto
*/
'slug': 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 { CategoryClass } from './category-class';
/**
*
* @export
* @interface UpdateCategoryResponseClass
*/
export interface UpdateCategoryResponseClass {
/**
* category
* @type {CategoryClass}
* @memberof UpdateCategoryResponseClass
*/
'category'?: CategoryClass;
}
"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.
*/
/**
*
* @export
* @interface UpdateStatusRequestDto
*/
export interface UpdateStatusRequestDto {
/**
* Status code: unique identifier of the status
* @type {string}
* @memberof UpdateStatusRequestDto
*/
'code': string;
/**
* Status name: display name of the status
* @type {string}
* @memberof UpdateStatusRequestDto
*/
'name': string;
/**
* Status slug: URL-friendly identifier
* @type {string}
* @memberof UpdateStatusRequestDto
*/
'slug': 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 { StatusClass } from './status-class';
/**
*
* @export
* @interface UpdateStatusResponseClass
*/
export interface UpdateStatusResponseClass {
/**
* status
* @type {StatusClass}
* @memberof UpdateStatusResponseClass
*/
'status'?: StatusClass;
}
"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.
*/
/**
*
* @export
* @interface UpdateTaskRequestDto
*/
export interface UpdateTaskRequestDto {
/**
* Task code: unique identifier of the task
* @type {string}
* @memberof UpdateTaskRequestDto
*/
'code': string;
/**
* Task subject: title of the task
* @type {string}
* @memberof UpdateTaskRequestDto
*/
'subject': string;
/**
* Task description: detailed description of the task
* @type {string}
* @memberof UpdateTaskRequestDto
*/
'description': string;
/**
* Task assignee: person assigned to the task
* @type {string}
* @memberof UpdateTaskRequestDto
*/
'assignee': string;
/**
* Task category slug
* @type {string}
* @memberof UpdateTaskRequestDto
*/
'categorySlug'?: string;
/**
* Task status slug
* @type {string}
* @memberof UpdateTaskRequestDto
*/
'statusSlug'?: string;
/**
* Task priority
* @type {string}
* @memberof UpdateTaskRequestDto
*/
'priority'?: string | null;
/**
* Task reporter: person who reported the task
* @type {string}
* @memberof UpdateTaskRequestDto
*/
'reporter'?: string | null;
/**
* Task due date
* @type {string}
* @memberof UpdateTaskRequestDto
*/
'dueDate'?: string | null;
}
"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 { TaskClass } from './task-class';
/**
*
* @export
* @interface UpdateTaskResponseClass
*/
export interface UpdateTaskResponseClass {
/**
* task
* @type {TaskClass}
* @memberof UpdateTaskResponseClass
*/
'task'?: TaskClass;
}
"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 UpdateCategoryRequestDto
*/
export interface UpdateCategoryRequestDto {
/**
* Category code: unique identifier of the category
* @type {string}
* @memberof UpdateCategoryRequestDto
*/
'code': string;
/**
* Category name: display name of the category
* @type {string}
* @memberof UpdateCategoryRequestDto
*/
'name': string;
/**
* Category slug: URL-friendly identifier
* @type {string}
* @memberof UpdateCategoryRequestDto
*/
'slug': 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 { CategoryClass } from './category-class';
/**
*
* @export
* @interface UpdateCategoryResponseClass
*/
export interface UpdateCategoryResponseClass {
/**
* category
* @type {CategoryClass}
* @memberof UpdateCategoryResponseClass
*/
'category'?: CategoryClass;
}
/* 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 UpdateStatusRequestDto
*/
export interface UpdateStatusRequestDto {
/**
* Status code: unique identifier of the status
* @type {string}
* @memberof UpdateStatusRequestDto
*/
'code': string;
/**
* Status name: display name of the status
* @type {string}
* @memberof UpdateStatusRequestDto
*/
'name': string;
/**
* Status slug: URL-friendly identifier
* @type {string}
* @memberof UpdateStatusRequestDto
*/
'slug': 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 { StatusClass } from './status-class';
/**
*
* @export
* @interface UpdateStatusResponseClass
*/
export interface UpdateStatusResponseClass {
/**
* status
* @type {StatusClass}
* @memberof UpdateStatusResponseClass
*/
'status'?: StatusClass;
}
/* 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 UpdateTaskRequestDto
*/
export interface UpdateTaskRequestDto {
/**
* Task code: unique identifier of the task
* @type {string}
* @memberof UpdateTaskRequestDto
*/
'code': string;
/**
* Task subject: title of the task
* @type {string}
* @memberof UpdateTaskRequestDto
*/
'subject': string;
/**
* Task description: detailed description of the task
* @type {string}
* @memberof UpdateTaskRequestDto
*/
'description': string;
/**
* Task assignee: person assigned to the task
* @type {string}
* @memberof UpdateTaskRequestDto
*/
'assignee': string;
/**
* Task category slug
* @type {string}
* @memberof UpdateTaskRequestDto
*/
'categorySlug'?: string;
/**
* Task status slug
* @type {string}
* @memberof UpdateTaskRequestDto
*/
'statusSlug'?: string;
/**
* Task priority
* @type {string}
* @memberof UpdateTaskRequestDto
*/
'priority'?: string | null;
/**
* Task reporter: person who reported the task
* @type {string}
* @memberof UpdateTaskRequestDto
*/
'reporter'?: string | null;
/**
* Task due date
* @type {string}
* @memberof UpdateTaskRequestDto
*/
'dueDate'?: string | null;
}
/* 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 { TaskClass } from './task-class';
/**
*
* @export
* @interface UpdateTaskResponseClass
*/
export interface UpdateTaskResponseClass {
/**
* task
* @type {TaskClass}
* @memberof UpdateTaskResponseClass
*/
'task'?: TaskClass;
}

Sorry, the diff of this file is not supported yet