@emilgroup/task-sdk-node
Advanced tools
+0
-2
@@ -30,3 +30,2 @@ /* tslint:disable */ | ||
| import { HubSpotApi } from './api'; | ||
| import { PrioritiesApi } from './api'; | ||
| import { StatusesApi } from './api'; | ||
@@ -39,5 +38,4 @@ import { TasksApi } from './api'; | ||
| export * from './api/hub-spot-api'; | ||
| export * from './api/priorities-api'; | ||
| export * from './api/statuses-api'; | ||
| export * from './api/tasks-api'; | ||
+44
-30
@@ -46,3 +46,3 @@ /* tslint:disable */ | ||
| /** | ||
| * This will create category. | ||
| * This will create a category. | ||
| * @summary Create the category | ||
@@ -94,3 +94,3 @@ * @param {CreateCategoryRequestDto} createCategoryRequestDto | ||
| /** | ||
| * This will delete category. | ||
| * This will delete a task category by code. | ||
| * @summary Delete the category | ||
@@ -140,3 +140,3 @@ * @param {string} code Unique identifier for the object. | ||
| /** | ||
| * This will get category. | ||
| * Get category by code. | ||
| * @summary Retrieve the category | ||
@@ -196,5 +196,6 @@ * @param {string} code | ||
| * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken. | ||
| * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, code, createdAt</i> | ||
| * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, code, createdAt</i> | ||
| * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: id, createdAt</i> | ||
| * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, code, slug, name, createdAt, updatedAt</i> | ||
| * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, code, slug, name, createdAt, updatedAt</i> | ||
| * @param {string} [search] Search the response for matches in any searchable field. Use filter instead where possible for improved performance.<br/> <br/> <i>Searchable fields: id, code, name, slug</i> | ||
| * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: id, createdAt, updatedAt, name, slug</i> | ||
| * @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/> | ||
@@ -204,3 +205,3 @@ * @param {*} [options] Override http request option. | ||
| */ | ||
| listCategories: async (authorization?: string, filter?: string, filters?: string, order?: string, expand?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => { | ||
| listCategories: async (authorization?: string, filter?: string, filters?: string, search?: string, order?: string, expand?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => { | ||
| const localVarPath = `/taskservice/v1/categories`; | ||
@@ -232,2 +233,6 @@ // use dummy base URL string because the URL constructor only accepts absolute URLs. | ||
| if (search !== undefined) { | ||
| localVarQueryParameter['search'] = search; | ||
| } | ||
| if (order !== undefined) { | ||
@@ -318,3 +323,3 @@ localVarQueryParameter['order'] = order; | ||
| /** | ||
| * This will create category. | ||
| * This will create a category. | ||
| * @summary Create the category | ||
@@ -331,3 +336,3 @@ * @param {CreateCategoryRequestDto} createCategoryRequestDto | ||
| /** | ||
| * This will delete category. | ||
| * This will delete a task category by code. | ||
| * @summary Delete the category | ||
@@ -344,3 +349,3 @@ * @param {string} code Unique identifier for the object. | ||
| /** | ||
| * This will get category. | ||
| * Get category by code. | ||
| * @summary Retrieve the category | ||
@@ -361,5 +366,6 @@ * @param {string} code | ||
| * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken. | ||
| * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, code, createdAt</i> | ||
| * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, code, createdAt</i> | ||
| * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: id, createdAt</i> | ||
| * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, code, slug, name, createdAt, updatedAt</i> | ||
| * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, code, slug, name, createdAt, updatedAt</i> | ||
| * @param {string} [search] Search the response for matches in any searchable field. Use filter instead where possible for improved performance.<br/> <br/> <i>Searchable fields: id, code, name, slug</i> | ||
| * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: id, createdAt, updatedAt, name, slug</i> | ||
| * @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/> | ||
@@ -369,4 +375,4 @@ * @param {*} [options] Override http request option. | ||
| */ | ||
| async listCategories(authorization?: string, filter?: string, filters?: string, order?: string, expand?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListCategoriesResponseClass>> { | ||
| const localVarAxiosArgs = await localVarAxiosParamCreator.listCategories(authorization, filter, filters, order, expand, options); | ||
| async listCategories(authorization?: string, filter?: string, filters?: string, search?: string, order?: string, expand?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListCategoriesResponseClass>> { | ||
| const localVarAxiosArgs = await localVarAxiosParamCreator.listCategories(authorization, filter, filters, search, order, expand, options); | ||
| return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); | ||
@@ -398,3 +404,3 @@ }, | ||
| /** | ||
| * This will create category. | ||
| * This will create a category. | ||
| * @summary Create the category | ||
@@ -410,3 +416,3 @@ * @param {CreateCategoryRequestDto} createCategoryRequestDto | ||
| /** | ||
| * This will delete category. | ||
| * This will delete a task category by code. | ||
| * @summary Delete the category | ||
@@ -422,3 +428,3 @@ * @param {string} code Unique identifier for the object. | ||
| /** | ||
| * This will get category. | ||
| * Get category by code. | ||
| * @summary Retrieve the category | ||
@@ -438,5 +444,6 @@ * @param {string} code | ||
| * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken. | ||
| * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, code, createdAt</i> | ||
| * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, code, createdAt</i> | ||
| * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: id, createdAt</i> | ||
| * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, code, slug, name, createdAt, updatedAt</i> | ||
| * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, code, slug, name, createdAt, updatedAt</i> | ||
| * @param {string} [search] Search the response for matches in any searchable field. Use filter instead where possible for improved performance.<br/> <br/> <i>Searchable fields: id, code, name, slug</i> | ||
| * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: id, createdAt, updatedAt, name, slug</i> | ||
| * @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/> | ||
@@ -446,4 +453,4 @@ * @param {*} [options] Override http request option. | ||
| */ | ||
| listCategories(authorization?: string, filter?: string, filters?: string, order?: string, expand?: string, options?: any): AxiosPromise<ListCategoriesResponseClass> { | ||
| return localVarFp.listCategories(authorization, filter, filters, order, expand, options).then((request) => request(axios, basePath)); | ||
| listCategories(authorization?: string, filter?: string, filters?: string, search?: string, order?: string, expand?: string, options?: any): AxiosPromise<ListCategoriesResponseClass> { | ||
| return localVarFp.listCategories(authorization, filter, filters, search, order, expand, options).then((request) => request(axios, basePath)); | ||
| }, | ||
@@ -549,3 +556,3 @@ /** | ||
| /** | ||
| * Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, code, createdAt</i> | ||
| * Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, code, slug, name, createdAt, updatedAt</i> | ||
| * @type {string} | ||
@@ -557,3 +564,3 @@ * @memberof CategoriesApiListCategories | ||
| /** | ||
| * Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, code, createdAt</i> | ||
| * Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, code, slug, name, createdAt, updatedAt</i> | ||
| * @type {string} | ||
@@ -565,6 +572,13 @@ * @memberof CategoriesApiListCategories | ||
| /** | ||
| * Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: id, createdAt</i> | ||
| * Search the response for matches in any searchable field. Use filter instead where possible for improved performance.<br/> <br/> <i>Searchable fields: id, code, name, slug</i> | ||
| * @type {string} | ||
| * @memberof CategoriesApiListCategories | ||
| */ | ||
| readonly search?: string | ||
| /** | ||
| * Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: id, createdAt, updatedAt, name, slug</i> | ||
| * @type {string} | ||
| * @memberof CategoriesApiListCategories | ||
| */ | ||
| readonly order?: string | ||
@@ -616,3 +630,3 @@ | ||
| /** | ||
| * This will create category. | ||
| * This will create a category. | ||
| * @summary Create the category | ||
@@ -629,3 +643,3 @@ * @param {CategoriesApiCreateCategoryRequest} requestParameters Request parameters. | ||
| /** | ||
| * This will delete category. | ||
| * This will delete a task category by code. | ||
| * @summary Delete the category | ||
@@ -642,3 +656,3 @@ * @param {CategoriesApiDeleteCategoryRequest} requestParameters Request parameters. | ||
| /** | ||
| * This will get category. | ||
| * Get category by code. | ||
| * @summary Retrieve the category | ||
@@ -663,3 +677,3 @@ * @param {CategoriesApiGetCategoryRequest} requestParameters Request parameters. | ||
| public listCategories(requestParameters: CategoriesApiListCategoriesRequest = {}, options?: AxiosRequestConfig) { | ||
| return CategoriesApiFp(this.configuration).listCategories(requestParameters.authorization, requestParameters.filter, requestParameters.filters, requestParameters.order, requestParameters.expand, options).then((request) => request(this.axios, this.basePath)); | ||
| return CategoriesApiFp(this.configuration).listCategories(requestParameters.authorization, requestParameters.filter, requestParameters.filters, requestParameters.search, requestParameters.order, requestParameters.expand, options).then((request) => request(this.axios, this.basePath)); | ||
| } | ||
@@ -666,0 +680,0 @@ |
+40
-26
@@ -46,3 +46,3 @@ /* tslint:disable */ | ||
| /** | ||
| * This will create status. | ||
| * This will create a status. | ||
| * @summary Create the status | ||
@@ -139,3 +139,3 @@ * @param {CreateStatusRequestDto} createStatusRequestDto | ||
| /** | ||
| * This will get status. | ||
| * Get status by code. | ||
| * @summary Retrieve the status | ||
@@ -195,5 +195,6 @@ * @param {string} code | ||
| * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken. | ||
| * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, code, createdAt</i> | ||
| * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, code, createdAt</i> | ||
| * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: createdAt</i> | ||
| * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, code, slug, name, createdAt, updatedAt</i> | ||
| * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, code, slug, name, createdAt, updatedAt</i> | ||
| * @param {string} [search] Search the response for matches in any searchable field. Use filter instead where possible for improved performance.<br/> <br/> <i>Searchable fields: id, code, name, slug</i> | ||
| * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: id, createdAt, updatedAt, name, slug</i> | ||
| * @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/> | ||
@@ -203,3 +204,3 @@ * @param {*} [options] Override http request option. | ||
| */ | ||
| listStatuses: async (authorization?: string, filter?: string, filters?: string, order?: string, expand?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => { | ||
| listStatuses: async (authorization?: string, filter?: string, filters?: string, search?: string, order?: string, expand?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => { | ||
| const localVarPath = `/taskservice/v1/statuses`; | ||
@@ -231,2 +232,6 @@ // use dummy base URL string because the URL constructor only accepts absolute URLs. | ||
| if (search !== undefined) { | ||
| localVarQueryParameter['search'] = search; | ||
| } | ||
| if (order !== undefined) { | ||
@@ -317,3 +322,3 @@ localVarQueryParameter['order'] = order; | ||
| /** | ||
| * This will create status. | ||
| * This will create a status. | ||
| * @summary Create the status | ||
@@ -342,3 +347,3 @@ * @param {CreateStatusRequestDto} createStatusRequestDto | ||
| /** | ||
| * This will get status. | ||
| * Get status by code. | ||
| * @summary Retrieve the status | ||
@@ -359,5 +364,6 @@ * @param {string} code | ||
| * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken. | ||
| * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, code, createdAt</i> | ||
| * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, code, createdAt</i> | ||
| * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: createdAt</i> | ||
| * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, code, slug, name, createdAt, updatedAt</i> | ||
| * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, code, slug, name, createdAt, updatedAt</i> | ||
| * @param {string} [search] Search the response for matches in any searchable field. Use filter instead where possible for improved performance.<br/> <br/> <i>Searchable fields: id, code, name, slug</i> | ||
| * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: id, createdAt, updatedAt, name, slug</i> | ||
| * @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/> | ||
@@ -367,4 +373,4 @@ * @param {*} [options] Override http request option. | ||
| */ | ||
| async listStatuses(authorization?: string, filter?: string, filters?: string, order?: string, expand?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListStatusesResponseClass>> { | ||
| const localVarAxiosArgs = await localVarAxiosParamCreator.listStatuses(authorization, filter, filters, order, expand, options); | ||
| async listStatuses(authorization?: string, filter?: string, filters?: string, search?: string, order?: string, expand?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListStatusesResponseClass>> { | ||
| const localVarAxiosArgs = await localVarAxiosParamCreator.listStatuses(authorization, filter, filters, search, order, expand, options); | ||
| return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); | ||
@@ -396,3 +402,3 @@ }, | ||
| /** | ||
| * This will create status. | ||
| * This will create a status. | ||
| * @summary Create the status | ||
@@ -419,3 +425,3 @@ * @param {CreateStatusRequestDto} createStatusRequestDto | ||
| /** | ||
| * This will get status. | ||
| * Get status by code. | ||
| * @summary Retrieve the status | ||
@@ -435,5 +441,6 @@ * @param {string} code | ||
| * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken. | ||
| * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, code, createdAt</i> | ||
| * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, code, createdAt</i> | ||
| * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: createdAt</i> | ||
| * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, code, slug, name, createdAt, updatedAt</i> | ||
| * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, code, slug, name, createdAt, updatedAt</i> | ||
| * @param {string} [search] Search the response for matches in any searchable field. Use filter instead where possible for improved performance.<br/> <br/> <i>Searchable fields: id, code, name, slug</i> | ||
| * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: id, createdAt, updatedAt, name, slug</i> | ||
| * @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/> | ||
@@ -443,4 +450,4 @@ * @param {*} [options] Override http request option. | ||
| */ | ||
| listStatuses(authorization?: string, filter?: string, filters?: string, order?: string, expand?: string, options?: any): AxiosPromise<ListStatusesResponseClass> { | ||
| return localVarFp.listStatuses(authorization, filter, filters, order, expand, options).then((request) => request(axios, basePath)); | ||
| listStatuses(authorization?: string, filter?: string, filters?: string, search?: string, order?: string, expand?: string, options?: any): AxiosPromise<ListStatusesResponseClass> { | ||
| return localVarFp.listStatuses(authorization, filter, filters, search, order, expand, options).then((request) => request(axios, basePath)); | ||
| }, | ||
@@ -546,3 +553,3 @@ /** | ||
| /** | ||
| * Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, code, createdAt</i> | ||
| * Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, code, slug, name, createdAt, updatedAt</i> | ||
| * @type {string} | ||
@@ -554,3 +561,3 @@ * @memberof StatusesApiListStatuses | ||
| /** | ||
| * Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, code, createdAt</i> | ||
| * Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, code, slug, name, createdAt, updatedAt</i> | ||
| * @type {string} | ||
@@ -562,6 +569,13 @@ * @memberof StatusesApiListStatuses | ||
| /** | ||
| * Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: createdAt</i> | ||
| * Search the response for matches in any searchable field. Use filter instead where possible for improved performance.<br/> <br/> <i>Searchable fields: id, code, name, slug</i> | ||
| * @type {string} | ||
| * @memberof StatusesApiListStatuses | ||
| */ | ||
| readonly search?: string | ||
| /** | ||
| * Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: id, createdAt, updatedAt, name, slug</i> | ||
| * @type {string} | ||
| * @memberof StatusesApiListStatuses | ||
| */ | ||
| readonly order?: string | ||
@@ -613,3 +627,3 @@ | ||
| /** | ||
| * This will create status. | ||
| * This will create a status. | ||
| * @summary Create the status | ||
@@ -638,3 +652,3 @@ * @param {StatusesApiCreateStatusRequest} requestParameters Request parameters. | ||
| /** | ||
| * This will get status. | ||
| * Get status by code. | ||
| * @summary Retrieve the status | ||
@@ -659,3 +673,3 @@ * @param {StatusesApiGetStatusRequest} requestParameters Request parameters. | ||
| public listStatuses(requestParameters: StatusesApiListStatusesRequest = {}, options?: AxiosRequestConfig) { | ||
| return StatusesApiFp(this.configuration).listStatuses(requestParameters.authorization, requestParameters.filter, requestParameters.filters, requestParameters.order, requestParameters.expand, options).then((request) => request(this.axios, this.basePath)); | ||
| return StatusesApiFp(this.configuration).listStatuses(requestParameters.authorization, requestParameters.filter, requestParameters.filters, requestParameters.search, requestParameters.order, requestParameters.expand, options).then((request) => request(this.axios, this.basePath)); | ||
| } | ||
@@ -662,0 +676,0 @@ |
+48
-34
@@ -93,3 +93,3 @@ /* tslint:disable */ | ||
| /** | ||
| * This will delete task. | ||
| * This will delete a task by code. | ||
| * @summary Delete the task | ||
@@ -139,3 +139,3 @@ * @param {string} code Unique identifier for the object. | ||
| /** | ||
| * This will get task. | ||
| * This will get a task by code. | ||
| * @summary Retrieve the task | ||
@@ -195,10 +195,11 @@ * @param {string} code | ||
| * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken. | ||
| * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, code, categoryId, statusId, priorityId, createdAt</i> | ||
| * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, code, categoryId, statusId, priorityId, createdAt</i> | ||
| * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: id, createdAt</i> | ||
| * @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/> <i>Allowed values: category, status, priority<i> | ||
| * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, code, categoryId, statusId, priority, assignee, reporter, dueDate, createdAt, updatedAt, status.slug, category.slug</i> | ||
| * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, code, categoryId, statusId, priority, assignee, reporter, dueDate, createdAt, updatedAt, status.slug, category.slug</i> | ||
| * @param {string} [search] Search the response for matches in any searchable field. Use filter instead where possible for improved performance.<br/> <br/> <i>Searchable fields: id, code, subject, description, assignee, reporter</i> | ||
| * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: id, createdAt, updatedAt, assignee, reporter, dueDate</i> | ||
| * @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/> <i>Allowed values: category, status<i> | ||
| * @param {*} [options] Override http request option. | ||
| * @throws {RequiredError} | ||
| */ | ||
| listTasks: async (authorization?: string, filter?: string, filters?: string, order?: string, expand?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => { | ||
| listTasks: async (authorization?: string, filter?: string, filters?: string, search?: string, order?: string, expand?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => { | ||
| const localVarPath = `/taskservice/v1/tasks`; | ||
@@ -230,2 +231,6 @@ // use dummy base URL string because the URL constructor only accepts absolute URLs. | ||
| if (search !== undefined) { | ||
| localVarQueryParameter['search'] = search; | ||
| } | ||
| if (order !== undefined) { | ||
@@ -255,3 +260,3 @@ localVarQueryParameter['order'] = order; | ||
| /** | ||
| * This will update task. | ||
| * This will update a task by code. | ||
| * @summary Update the task | ||
@@ -329,3 +334,3 @@ * @param {string} code | ||
| /** | ||
| * This will delete task. | ||
| * This will delete a task by code. | ||
| * @summary Delete the task | ||
@@ -342,3 +347,3 @@ * @param {string} code Unique identifier for the object. | ||
| /** | ||
| * This will get task. | ||
| * This will get a task by code. | ||
| * @summary Retrieve the task | ||
@@ -359,15 +364,16 @@ * @param {string} code | ||
| * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken. | ||
| * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, code, categoryId, statusId, priorityId, createdAt</i> | ||
| * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, code, categoryId, statusId, priorityId, createdAt</i> | ||
| * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: id, createdAt</i> | ||
| * @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/> <i>Allowed values: category, status, priority<i> | ||
| * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, code, categoryId, statusId, priority, assignee, reporter, dueDate, createdAt, updatedAt, status.slug, category.slug</i> | ||
| * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, code, categoryId, statusId, priority, assignee, reporter, dueDate, createdAt, updatedAt, status.slug, category.slug</i> | ||
| * @param {string} [search] Search the response for matches in any searchable field. Use filter instead where possible for improved performance.<br/> <br/> <i>Searchable fields: id, code, subject, description, assignee, reporter</i> | ||
| * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: id, createdAt, updatedAt, assignee, reporter, dueDate</i> | ||
| * @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/> <i>Allowed values: category, status<i> | ||
| * @param {*} [options] Override http request option. | ||
| * @throws {RequiredError} | ||
| */ | ||
| async listTasks(authorization?: string, filter?: string, filters?: string, order?: string, expand?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListTasksResponseClass>> { | ||
| const localVarAxiosArgs = await localVarAxiosParamCreator.listTasks(authorization, filter, filters, order, expand, options); | ||
| async listTasks(authorization?: string, filter?: string, filters?: string, search?: string, order?: string, expand?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListTasksResponseClass>> { | ||
| const localVarAxiosArgs = await localVarAxiosParamCreator.listTasks(authorization, filter, filters, search, order, expand, options); | ||
| return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); | ||
| }, | ||
| /** | ||
| * This will update task. | ||
| * This will update a task by code. | ||
| * @summary Update the task | ||
@@ -406,3 +412,3 @@ * @param {string} code | ||
| /** | ||
| * This will delete task. | ||
| * This will delete a task by code. | ||
| * @summary Delete the task | ||
@@ -418,3 +424,3 @@ * @param {string} code Unique identifier for the object. | ||
| /** | ||
| * This will get task. | ||
| * This will get a task by code. | ||
| * @summary Retrieve the task | ||
@@ -434,14 +440,15 @@ * @param {string} code | ||
| * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken. | ||
| * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, code, categoryId, statusId, priorityId, createdAt</i> | ||
| * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, code, categoryId, statusId, priorityId, createdAt</i> | ||
| * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: id, createdAt</i> | ||
| * @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/> <i>Allowed values: category, status, priority<i> | ||
| * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, code, categoryId, statusId, priority, assignee, reporter, dueDate, createdAt, updatedAt, status.slug, category.slug</i> | ||
| * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, code, categoryId, statusId, priority, assignee, reporter, dueDate, createdAt, updatedAt, status.slug, category.slug</i> | ||
| * @param {string} [search] Search the response for matches in any searchable field. Use filter instead where possible for improved performance.<br/> <br/> <i>Searchable fields: id, code, subject, description, assignee, reporter</i> | ||
| * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: id, createdAt, updatedAt, assignee, reporter, dueDate</i> | ||
| * @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/> <i>Allowed values: category, status<i> | ||
| * @param {*} [options] Override http request option. | ||
| * @throws {RequiredError} | ||
| */ | ||
| listTasks(authorization?: string, filter?: string, filters?: string, order?: string, expand?: string, options?: any): AxiosPromise<ListTasksResponseClass> { | ||
| return localVarFp.listTasks(authorization, filter, filters, order, expand, options).then((request) => request(axios, basePath)); | ||
| listTasks(authorization?: string, filter?: string, filters?: string, search?: string, order?: string, expand?: string, options?: any): AxiosPromise<ListTasksResponseClass> { | ||
| return localVarFp.listTasks(authorization, filter, filters, search, order, expand, options).then((request) => request(axios, basePath)); | ||
| }, | ||
| /** | ||
| * This will update task. | ||
| * This will update a task by code. | ||
| * @summary Update the task | ||
@@ -544,3 +551,3 @@ * @param {string} code | ||
| /** | ||
| * Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, code, categoryId, statusId, priorityId, createdAt</i> | ||
| * Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, code, categoryId, statusId, priority, assignee, reporter, dueDate, createdAt, updatedAt, status.slug, category.slug</i> | ||
| * @type {string} | ||
@@ -552,3 +559,3 @@ * @memberof TasksApiListTasks | ||
| /** | ||
| * Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, code, categoryId, statusId, priorityId, createdAt</i> | ||
| * Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, code, categoryId, statusId, priority, assignee, reporter, dueDate, createdAt, updatedAt, status.slug, category.slug</i> | ||
| * @type {string} | ||
@@ -560,10 +567,17 @@ * @memberof TasksApiListTasks | ||
| /** | ||
| * Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: id, createdAt</i> | ||
| * Search the response for matches in any searchable field. Use filter instead where possible for improved performance.<br/> <br/> <i>Searchable fields: id, code, subject, description, assignee, reporter</i> | ||
| * @type {string} | ||
| * @memberof TasksApiListTasks | ||
| */ | ||
| readonly search?: string | ||
| /** | ||
| * Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: id, createdAt, updatedAt, assignee, reporter, dueDate</i> | ||
| * @type {string} | ||
| * @memberof TasksApiListTasks | ||
| */ | ||
| readonly order?: 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/> <i>Allowed values: category, status, priority<i> | ||
| * 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/> <i>Allowed values: category, status<i> | ||
| * @type {string} | ||
@@ -623,3 +637,3 @@ * @memberof TasksApiListTasks | ||
| /** | ||
| * This will delete task. | ||
| * This will delete a task by code. | ||
| * @summary Delete the task | ||
@@ -636,3 +650,3 @@ * @param {TasksApiDeleteTaskRequest} requestParameters Request parameters. | ||
| /** | ||
| * This will get task. | ||
| * This will get a task by code. | ||
| * @summary Retrieve the task | ||
@@ -657,7 +671,7 @@ * @param {TasksApiGetTaskRequest} requestParameters Request parameters. | ||
| public listTasks(requestParameters: TasksApiListTasksRequest = {}, options?: AxiosRequestConfig) { | ||
| return TasksApiFp(this.configuration).listTasks(requestParameters.authorization, requestParameters.filter, requestParameters.filters, requestParameters.order, requestParameters.expand, options).then((request) => request(this.axios, this.basePath)); | ||
| return TasksApiFp(this.configuration).listTasks(requestParameters.authorization, requestParameters.filter, requestParameters.filters, requestParameters.search, requestParameters.order, requestParameters.expand, options).then((request) => request(this.axios, this.basePath)); | ||
| } | ||
| /** | ||
| * This will update task. | ||
| * This will update a task by code. | ||
| * @summary Update the task | ||
@@ -664,0 +678,0 @@ * @param {TasksApiUpdateTaskRequest} requestParameters Request parameters. |
+0
-1
@@ -15,4 +15,3 @@ /** | ||
| export * from './api/hub-spot-api'; | ||
| export * from './api/priorities-api'; | ||
| export * from './api/statuses-api'; | ||
| export * from './api/tasks-api'; |
+0
-1
@@ -33,4 +33,3 @@ "use strict"; | ||
| __exportStar(require("./api/hub-spot-api"), exports); | ||
| __exportStar(require("./api/priorities-api"), exports); | ||
| __exportStar(require("./api/statuses-api"), exports); | ||
| __exportStar(require("./api/tasks-api"), exports); |
@@ -27,3 +27,3 @@ /** | ||
| /** | ||
| * This will create category. | ||
| * This will create a category. | ||
| * @summary Create the category | ||
@@ -37,3 +37,3 @@ * @param {CreateCategoryRequestDto} createCategoryRequestDto | ||
| /** | ||
| * This will delete category. | ||
| * This will delete a task category by code. | ||
| * @summary Delete the category | ||
@@ -47,3 +47,3 @@ * @param {string} code Unique identifier for the object. | ||
| /** | ||
| * This will get category. | ||
| * Get category by code. | ||
| * @summary Retrieve the category | ||
@@ -61,5 +61,6 @@ * @param {string} code | ||
| * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken. | ||
| * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, code, createdAt</i> | ||
| * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, code, createdAt</i> | ||
| * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: id, createdAt</i> | ||
| * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, code, slug, name, createdAt, updatedAt</i> | ||
| * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, code, slug, name, createdAt, updatedAt</i> | ||
| * @param {string} [search] Search the response for matches in any searchable field. Use filter instead where possible for improved performance.<br/> <br/> <i>Searchable fields: id, code, name, slug</i> | ||
| * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: id, createdAt, updatedAt, name, slug</i> | ||
| * @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/> | ||
@@ -69,3 +70,3 @@ * @param {*} [options] Override http request option. | ||
| */ | ||
| listCategories: (authorization?: string, filter?: string, filters?: string, order?: string, expand?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>; | ||
| listCategories: (authorization?: string, filter?: string, filters?: string, search?: string, order?: string, expand?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>; | ||
| /** | ||
@@ -88,3 +89,3 @@ * This will update category. | ||
| /** | ||
| * This will create category. | ||
| * This will create a category. | ||
| * @summary Create the category | ||
@@ -98,3 +99,3 @@ * @param {CreateCategoryRequestDto} createCategoryRequestDto | ||
| /** | ||
| * This will delete category. | ||
| * This will delete a task category by code. | ||
| * @summary Delete the category | ||
@@ -108,3 +109,3 @@ * @param {string} code Unique identifier for the object. | ||
| /** | ||
| * This will get category. | ||
| * Get category by code. | ||
| * @summary Retrieve the category | ||
@@ -122,5 +123,6 @@ * @param {string} code | ||
| * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken. | ||
| * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, code, createdAt</i> | ||
| * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, code, createdAt</i> | ||
| * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: id, createdAt</i> | ||
| * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, code, slug, name, createdAt, updatedAt</i> | ||
| * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, code, slug, name, createdAt, updatedAt</i> | ||
| * @param {string} [search] Search the response for matches in any searchable field. Use filter instead where possible for improved performance.<br/> <br/> <i>Searchable fields: id, code, name, slug</i> | ||
| * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: id, createdAt, updatedAt, name, slug</i> | ||
| * @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/> | ||
@@ -130,3 +132,3 @@ * @param {*} [options] Override http request option. | ||
| */ | ||
| listCategories(authorization?: string, filter?: string, filters?: string, order?: string, expand?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListCategoriesResponseClass>>; | ||
| listCategories(authorization?: string, filter?: string, filters?: string, search?: string, order?: string, expand?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListCategoriesResponseClass>>; | ||
| /** | ||
@@ -149,3 +151,3 @@ * This will update category. | ||
| /** | ||
| * This will create category. | ||
| * This will create a category. | ||
| * @summary Create the category | ||
@@ -159,3 +161,3 @@ * @param {CreateCategoryRequestDto} createCategoryRequestDto | ||
| /** | ||
| * This will delete category. | ||
| * This will delete a task category by code. | ||
| * @summary Delete the category | ||
@@ -169,3 +171,3 @@ * @param {string} code Unique identifier for the object. | ||
| /** | ||
| * This will get category. | ||
| * Get category by code. | ||
| * @summary Retrieve the category | ||
@@ -183,5 +185,6 @@ * @param {string} code | ||
| * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken. | ||
| * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, code, createdAt</i> | ||
| * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, code, createdAt</i> | ||
| * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: id, createdAt</i> | ||
| * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, code, slug, name, createdAt, updatedAt</i> | ||
| * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, code, slug, name, createdAt, updatedAt</i> | ||
| * @param {string} [search] Search the response for matches in any searchable field. Use filter instead where possible for improved performance.<br/> <br/> <i>Searchable fields: id, code, name, slug</i> | ||
| * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: id, createdAt, updatedAt, name, slug</i> | ||
| * @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/> | ||
@@ -191,3 +194,3 @@ * @param {*} [options] Override http request option. | ||
| */ | ||
| listCategories(authorization?: string, filter?: string, filters?: string, order?: string, expand?: string, options?: any): AxiosPromise<ListCategoriesResponseClass>; | ||
| listCategories(authorization?: string, filter?: string, filters?: string, search?: string, order?: string, expand?: string, options?: any): AxiosPromise<ListCategoriesResponseClass>; | ||
| /** | ||
@@ -280,3 +283,3 @@ * This will update category. | ||
| /** | ||
| * Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, code, createdAt</i> | ||
| * Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, code, slug, name, createdAt, updatedAt</i> | ||
| * @type {string} | ||
@@ -287,3 +290,3 @@ * @memberof CategoriesApiListCategories | ||
| /** | ||
| * Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, code, createdAt</i> | ||
| * Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, code, slug, name, createdAt, updatedAt</i> | ||
| * @type {string} | ||
@@ -294,6 +297,12 @@ * @memberof CategoriesApiListCategories | ||
| /** | ||
| * Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: id, createdAt</i> | ||
| * Search the response for matches in any searchable field. Use filter instead where possible for improved performance.<br/> <br/> <i>Searchable fields: id, code, name, slug</i> | ||
| * @type {string} | ||
| * @memberof CategoriesApiListCategories | ||
| */ | ||
| readonly search?: string; | ||
| /** | ||
| * Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: id, createdAt, updatedAt, name, slug</i> | ||
| * @type {string} | ||
| * @memberof CategoriesApiListCategories | ||
| */ | ||
| readonly order?: string; | ||
@@ -340,3 +349,3 @@ /** | ||
| /** | ||
| * This will create category. | ||
| * This will create a category. | ||
| * @summary Create the category | ||
@@ -350,3 +359,3 @@ * @param {CategoriesApiCreateCategoryRequest} requestParameters Request parameters. | ||
| /** | ||
| * This will delete category. | ||
| * This will delete a task category by code. | ||
| * @summary Delete the category | ||
@@ -360,3 +369,3 @@ * @param {CategoriesApiDeleteCategoryRequest} requestParameters Request parameters. | ||
| /** | ||
| * This will get category. | ||
| * Get category by code. | ||
| * @summary Retrieve the category | ||
@@ -363,0 +372,0 @@ * @param {CategoriesApiGetCategoryRequest} requestParameters Request parameters. |
@@ -100,3 +100,3 @@ "use strict"; | ||
| /** | ||
| * This will create category. | ||
| * This will create a category. | ||
| * @summary Create the category | ||
@@ -150,3 +150,3 @@ * @param {CreateCategoryRequestDto} createCategoryRequestDto | ||
| /** | ||
| * This will delete category. | ||
| * This will delete a task category by code. | ||
| * @summary Delete the category | ||
@@ -199,3 +199,3 @@ * @param {string} code Unique identifier for the object. | ||
| /** | ||
| * This will get category. | ||
| * Get category by code. | ||
| * @summary Retrieve the category | ||
@@ -257,5 +257,6 @@ * @param {string} code | ||
| * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken. | ||
| * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, code, createdAt</i> | ||
| * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, code, createdAt</i> | ||
| * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: id, createdAt</i> | ||
| * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, code, slug, name, createdAt, updatedAt</i> | ||
| * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, code, slug, name, createdAt, updatedAt</i> | ||
| * @param {string} [search] Search the response for matches in any searchable field. Use filter instead where possible for improved performance.<br/> <br/> <i>Searchable fields: id, code, name, slug</i> | ||
| * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: id, createdAt, updatedAt, name, slug</i> | ||
| * @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/> | ||
@@ -265,3 +266,3 @@ * @param {*} [options] Override http request option. | ||
| */ | ||
| listCategories: function (authorization, filter, filters, order, expand, options) { | ||
| listCategories: function (authorization, filter, filters, search, order, expand, options) { | ||
| if (options === void 0) { options = {}; } | ||
@@ -295,2 +296,5 @@ return __awaiter(_this, void 0, void 0, function () { | ||
| } | ||
| if (search !== undefined) { | ||
| localVarQueryParameter['search'] = search; | ||
| } | ||
| if (order !== undefined) { | ||
@@ -380,3 +384,3 @@ localVarQueryParameter['order'] = order; | ||
| /** | ||
| * This will create category. | ||
| * This will create a category. | ||
| * @summary Create the category | ||
@@ -402,3 +406,3 @@ * @param {CreateCategoryRequestDto} createCategoryRequestDto | ||
| /** | ||
| * This will delete category. | ||
| * This will delete a task category by code. | ||
| * @summary Delete the category | ||
@@ -424,3 +428,3 @@ * @param {string} code Unique identifier for the object. | ||
| /** | ||
| * This will get category. | ||
| * Get category by code. | ||
| * @summary Retrieve the category | ||
@@ -450,5 +454,6 @@ * @param {string} code | ||
| * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken. | ||
| * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, code, createdAt</i> | ||
| * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, code, createdAt</i> | ||
| * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: id, createdAt</i> | ||
| * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, code, slug, name, createdAt, updatedAt</i> | ||
| * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, code, slug, name, createdAt, updatedAt</i> | ||
| * @param {string} [search] Search the response for matches in any searchable field. Use filter instead where possible for improved performance.<br/> <br/> <i>Searchable fields: id, code, name, slug</i> | ||
| * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: id, createdAt, updatedAt, name, slug</i> | ||
| * @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/> | ||
@@ -458,3 +463,3 @@ * @param {*} [options] Override http request option. | ||
| */ | ||
| listCategories: function (authorization, filter, filters, order, expand, options) { | ||
| listCategories: function (authorization, filter, filters, search, order, expand, options) { | ||
| return __awaiter(this, void 0, void 0, function () { | ||
@@ -464,3 +469,3 @@ var localVarAxiosArgs; | ||
| switch (_a.label) { | ||
| case 0: return [4 /*yield*/, localVarAxiosParamCreator.listCategories(authorization, filter, filters, order, expand, options)]; | ||
| case 0: return [4 /*yield*/, localVarAxiosParamCreator.listCategories(authorization, filter, filters, search, order, expand, options)]; | ||
| case 1: | ||
@@ -506,3 +511,3 @@ localVarAxiosArgs = _a.sent(); | ||
| /** | ||
| * This will create category. | ||
| * This will create a category. | ||
| * @summary Create the category | ||
@@ -518,3 +523,3 @@ * @param {CreateCategoryRequestDto} createCategoryRequestDto | ||
| /** | ||
| * This will delete category. | ||
| * This will delete a task category by code. | ||
| * @summary Delete the category | ||
@@ -530,3 +535,3 @@ * @param {string} code Unique identifier for the object. | ||
| /** | ||
| * This will get category. | ||
| * Get category by code. | ||
| * @summary Retrieve the category | ||
@@ -546,5 +551,6 @@ * @param {string} code | ||
| * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken. | ||
| * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, code, createdAt</i> | ||
| * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, code, createdAt</i> | ||
| * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: id, createdAt</i> | ||
| * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, code, slug, name, createdAt, updatedAt</i> | ||
| * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, code, slug, name, createdAt, updatedAt</i> | ||
| * @param {string} [search] Search the response for matches in any searchable field. Use filter instead where possible for improved performance.<br/> <br/> <i>Searchable fields: id, code, name, slug</i> | ||
| * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: id, createdAt, updatedAt, name, slug</i> | ||
| * @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/> | ||
@@ -554,4 +560,4 @@ * @param {*} [options] Override http request option. | ||
| */ | ||
| listCategories: function (authorization, filter, filters, order, expand, options) { | ||
| return localVarFp.listCategories(authorization, filter, filters, order, expand, options).then(function (request) { return request(axios, basePath); }); | ||
| listCategories: function (authorization, filter, filters, search, order, expand, options) { | ||
| return localVarFp.listCategories(authorization, filter, filters, search, order, expand, options).then(function (request) { return request(axios, basePath); }); | ||
| }, | ||
@@ -585,3 +591,3 @@ /** | ||
| /** | ||
| * This will create category. | ||
| * This will create a category. | ||
| * @summary Create the category | ||
@@ -598,3 +604,3 @@ * @param {CategoriesApiCreateCategoryRequest} requestParameters Request parameters. | ||
| /** | ||
| * This will delete category. | ||
| * This will delete a task category by code. | ||
| * @summary Delete the category | ||
@@ -611,3 +617,3 @@ * @param {CategoriesApiDeleteCategoryRequest} requestParameters Request parameters. | ||
| /** | ||
| * This will get category. | ||
| * Get category by code. | ||
| * @summary Retrieve the category | ||
@@ -634,3 +640,3 @@ * @param {CategoriesApiGetCategoryRequest} requestParameters Request parameters. | ||
| if (requestParameters === void 0) { requestParameters = {}; } | ||
| return (0, exports.CategoriesApiFp)(this.configuration).listCategories(requestParameters.authorization, requestParameters.filter, requestParameters.filters, requestParameters.order, requestParameters.expand, options).then(function (request) { return request(_this.axios, _this.basePath); }); | ||
| return (0, exports.CategoriesApiFp)(this.configuration).listCategories(requestParameters.authorization, requestParameters.filter, requestParameters.filters, requestParameters.search, requestParameters.order, requestParameters.expand, options).then(function (request) { return request(_this.axios, _this.basePath); }); | ||
| }; | ||
@@ -637,0 +643,0 @@ /** |
@@ -27,3 +27,3 @@ /** | ||
| /** | ||
| * This will create status. | ||
| * This will create a status. | ||
| * @summary Create the status | ||
@@ -46,3 +46,3 @@ * @param {CreateStatusRequestDto} createStatusRequestDto | ||
| /** | ||
| * This will get status. | ||
| * Get status by code. | ||
| * @summary Retrieve the status | ||
@@ -60,5 +60,6 @@ * @param {string} code | ||
| * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken. | ||
| * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, code, createdAt</i> | ||
| * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, code, createdAt</i> | ||
| * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: createdAt</i> | ||
| * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, code, slug, name, createdAt, updatedAt</i> | ||
| * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, code, slug, name, createdAt, updatedAt</i> | ||
| * @param {string} [search] Search the response for matches in any searchable field. Use filter instead where possible for improved performance.<br/> <br/> <i>Searchable fields: id, code, name, slug</i> | ||
| * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: id, createdAt, updatedAt, name, slug</i> | ||
| * @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/> | ||
@@ -68,3 +69,3 @@ * @param {*} [options] Override http request option. | ||
| */ | ||
| listStatuses: (authorization?: string, filter?: string, filters?: string, order?: string, expand?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>; | ||
| listStatuses: (authorization?: string, filter?: string, filters?: string, search?: string, order?: string, expand?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>; | ||
| /** | ||
@@ -87,3 +88,3 @@ * This will update status. | ||
| /** | ||
| * This will create status. | ||
| * This will create a status. | ||
| * @summary Create the status | ||
@@ -106,3 +107,3 @@ * @param {CreateStatusRequestDto} createStatusRequestDto | ||
| /** | ||
| * This will get status. | ||
| * Get status by code. | ||
| * @summary Retrieve the status | ||
@@ -120,5 +121,6 @@ * @param {string} code | ||
| * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken. | ||
| * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, code, createdAt</i> | ||
| * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, code, createdAt</i> | ||
| * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: createdAt</i> | ||
| * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, code, slug, name, createdAt, updatedAt</i> | ||
| * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, code, slug, name, createdAt, updatedAt</i> | ||
| * @param {string} [search] Search the response for matches in any searchable field. Use filter instead where possible for improved performance.<br/> <br/> <i>Searchable fields: id, code, name, slug</i> | ||
| * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: id, createdAt, updatedAt, name, slug</i> | ||
| * @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/> | ||
@@ -128,3 +130,3 @@ * @param {*} [options] Override http request option. | ||
| */ | ||
| listStatuses(authorization?: string, filter?: string, filters?: string, order?: string, expand?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListStatusesResponseClass>>; | ||
| listStatuses(authorization?: string, filter?: string, filters?: string, search?: string, order?: string, expand?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListStatusesResponseClass>>; | ||
| /** | ||
@@ -147,3 +149,3 @@ * This will update status. | ||
| /** | ||
| * This will create status. | ||
| * This will create a status. | ||
| * @summary Create the status | ||
@@ -166,3 +168,3 @@ * @param {CreateStatusRequestDto} createStatusRequestDto | ||
| /** | ||
| * This will get status. | ||
| * Get status by code. | ||
| * @summary Retrieve the status | ||
@@ -180,5 +182,6 @@ * @param {string} code | ||
| * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken. | ||
| * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, code, createdAt</i> | ||
| * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, code, createdAt</i> | ||
| * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: createdAt</i> | ||
| * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, code, slug, name, createdAt, updatedAt</i> | ||
| * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, code, slug, name, createdAt, updatedAt</i> | ||
| * @param {string} [search] Search the response for matches in any searchable field. Use filter instead where possible for improved performance.<br/> <br/> <i>Searchable fields: id, code, name, slug</i> | ||
| * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: id, createdAt, updatedAt, name, slug</i> | ||
| * @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/> | ||
@@ -188,3 +191,3 @@ * @param {*} [options] Override http request option. | ||
| */ | ||
| listStatuses(authorization?: string, filter?: string, filters?: string, order?: string, expand?: string, options?: any): AxiosPromise<ListStatusesResponseClass>; | ||
| listStatuses(authorization?: string, filter?: string, filters?: string, search?: string, order?: string, expand?: string, options?: any): AxiosPromise<ListStatusesResponseClass>; | ||
| /** | ||
@@ -277,3 +280,3 @@ * This will update status. | ||
| /** | ||
| * Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, code, createdAt</i> | ||
| * Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, code, slug, name, createdAt, updatedAt</i> | ||
| * @type {string} | ||
@@ -284,3 +287,3 @@ * @memberof StatusesApiListStatuses | ||
| /** | ||
| * Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, code, createdAt</i> | ||
| * Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, code, slug, name, createdAt, updatedAt</i> | ||
| * @type {string} | ||
@@ -291,6 +294,12 @@ * @memberof StatusesApiListStatuses | ||
| /** | ||
| * Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: createdAt</i> | ||
| * Search the response for matches in any searchable field. Use filter instead where possible for improved performance.<br/> <br/> <i>Searchable fields: id, code, name, slug</i> | ||
| * @type {string} | ||
| * @memberof StatusesApiListStatuses | ||
| */ | ||
| readonly search?: string; | ||
| /** | ||
| * Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: id, createdAt, updatedAt, name, slug</i> | ||
| * @type {string} | ||
| * @memberof StatusesApiListStatuses | ||
| */ | ||
| readonly order?: string; | ||
@@ -337,3 +346,3 @@ /** | ||
| /** | ||
| * This will create status. | ||
| * This will create a status. | ||
| * @summary Create the status | ||
@@ -356,3 +365,3 @@ * @param {StatusesApiCreateStatusRequest} requestParameters Request parameters. | ||
| /** | ||
| * This will get status. | ||
| * Get status by code. | ||
| * @summary Retrieve the status | ||
@@ -359,0 +368,0 @@ * @param {StatusesApiGetStatusRequest} requestParameters Request parameters. |
+29
-23
@@ -100,3 +100,3 @@ "use strict"; | ||
| /** | ||
| * This will create status. | ||
| * This will create a status. | ||
| * @summary Create the status | ||
@@ -198,3 +198,3 @@ * @param {CreateStatusRequestDto} createStatusRequestDto | ||
| /** | ||
| * This will get status. | ||
| * Get status by code. | ||
| * @summary Retrieve the status | ||
@@ -256,5 +256,6 @@ * @param {string} code | ||
| * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken. | ||
| * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, code, createdAt</i> | ||
| * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, code, createdAt</i> | ||
| * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: createdAt</i> | ||
| * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, code, slug, name, createdAt, updatedAt</i> | ||
| * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, code, slug, name, createdAt, updatedAt</i> | ||
| * @param {string} [search] Search the response for matches in any searchable field. Use filter instead where possible for improved performance.<br/> <br/> <i>Searchable fields: id, code, name, slug</i> | ||
| * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: id, createdAt, updatedAt, name, slug</i> | ||
| * @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/> | ||
@@ -264,3 +265,3 @@ * @param {*} [options] Override http request option. | ||
| */ | ||
| listStatuses: function (authorization, filter, filters, order, expand, options) { | ||
| listStatuses: function (authorization, filter, filters, search, order, expand, options) { | ||
| if (options === void 0) { options = {}; } | ||
@@ -294,2 +295,5 @@ return __awaiter(_this, void 0, void 0, function () { | ||
| } | ||
| if (search !== undefined) { | ||
| localVarQueryParameter['search'] = search; | ||
| } | ||
| if (order !== undefined) { | ||
@@ -379,3 +383,3 @@ localVarQueryParameter['order'] = order; | ||
| /** | ||
| * This will create status. | ||
| * This will create a status. | ||
| * @summary Create the status | ||
@@ -422,3 +426,3 @@ * @param {CreateStatusRequestDto} createStatusRequestDto | ||
| /** | ||
| * This will get status. | ||
| * Get status by code. | ||
| * @summary Retrieve the status | ||
@@ -448,5 +452,6 @@ * @param {string} code | ||
| * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken. | ||
| * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, code, createdAt</i> | ||
| * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, code, createdAt</i> | ||
| * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: createdAt</i> | ||
| * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, code, slug, name, createdAt, updatedAt</i> | ||
| * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, code, slug, name, createdAt, updatedAt</i> | ||
| * @param {string} [search] Search the response for matches in any searchable field. Use filter instead where possible for improved performance.<br/> <br/> <i>Searchable fields: id, code, name, slug</i> | ||
| * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: id, createdAt, updatedAt, name, slug</i> | ||
| * @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/> | ||
@@ -456,3 +461,3 @@ * @param {*} [options] Override http request option. | ||
| */ | ||
| listStatuses: function (authorization, filter, filters, order, expand, options) { | ||
| listStatuses: function (authorization, filter, filters, search, order, expand, options) { | ||
| return __awaiter(this, void 0, void 0, function () { | ||
@@ -462,3 +467,3 @@ var localVarAxiosArgs; | ||
| switch (_a.label) { | ||
| case 0: return [4 /*yield*/, localVarAxiosParamCreator.listStatuses(authorization, filter, filters, order, expand, options)]; | ||
| case 0: return [4 /*yield*/, localVarAxiosParamCreator.listStatuses(authorization, filter, filters, search, order, expand, options)]; | ||
| case 1: | ||
@@ -504,3 +509,3 @@ localVarAxiosArgs = _a.sent(); | ||
| /** | ||
| * This will create status. | ||
| * This will create a status. | ||
| * @summary Create the status | ||
@@ -527,3 +532,3 @@ * @param {CreateStatusRequestDto} createStatusRequestDto | ||
| /** | ||
| * This will get status. | ||
| * Get status by code. | ||
| * @summary Retrieve the status | ||
@@ -543,5 +548,6 @@ * @param {string} code | ||
| * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken. | ||
| * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, code, createdAt</i> | ||
| * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, code, createdAt</i> | ||
| * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: createdAt</i> | ||
| * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, code, slug, name, createdAt, updatedAt</i> | ||
| * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, code, slug, name, createdAt, updatedAt</i> | ||
| * @param {string} [search] Search the response for matches in any searchable field. Use filter instead where possible for improved performance.<br/> <br/> <i>Searchable fields: id, code, name, slug</i> | ||
| * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: id, createdAt, updatedAt, name, slug</i> | ||
| * @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/> | ||
@@ -551,4 +557,4 @@ * @param {*} [options] Override http request option. | ||
| */ | ||
| listStatuses: function (authorization, filter, filters, order, expand, options) { | ||
| return localVarFp.listStatuses(authorization, filter, filters, order, expand, options).then(function (request) { return request(axios, basePath); }); | ||
| listStatuses: function (authorization, filter, filters, search, order, expand, options) { | ||
| return localVarFp.listStatuses(authorization, filter, filters, search, order, expand, options).then(function (request) { return request(axios, basePath); }); | ||
| }, | ||
@@ -582,3 +588,3 @@ /** | ||
| /** | ||
| * This will create status. | ||
| * This will create a status. | ||
| * @summary Create the status | ||
@@ -607,3 +613,3 @@ * @param {StatusesApiCreateStatusRequest} requestParameters Request parameters. | ||
| /** | ||
| * This will get status. | ||
| * Get status by code. | ||
| * @summary Retrieve the status | ||
@@ -630,3 +636,3 @@ * @param {StatusesApiGetStatusRequest} requestParameters Request parameters. | ||
| if (requestParameters === void 0) { requestParameters = {}; } | ||
| return (0, exports.StatusesApiFp)(this.configuration).listStatuses(requestParameters.authorization, requestParameters.filter, requestParameters.filters, requestParameters.order, requestParameters.expand, options).then(function (request) { return request(_this.axios, _this.basePath); }); | ||
| return (0, exports.StatusesApiFp)(this.configuration).listStatuses(requestParameters.authorization, requestParameters.filter, requestParameters.filters, requestParameters.search, requestParameters.order, requestParameters.expand, options).then(function (request) { return request(_this.axios, _this.basePath); }); | ||
| }; | ||
@@ -633,0 +639,0 @@ /** |
+40
-31
@@ -36,3 +36,3 @@ /** | ||
| /** | ||
| * This will delete task. | ||
| * This will delete a task by code. | ||
| * @summary Delete the task | ||
@@ -46,3 +46,3 @@ * @param {string} code Unique identifier for the object. | ||
| /** | ||
| * This will get task. | ||
| * This will get a task by code. | ||
| * @summary Retrieve the task | ||
@@ -60,12 +60,13 @@ * @param {string} code | ||
| * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken. | ||
| * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, code, categoryId, statusId, priorityId, createdAt</i> | ||
| * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, code, categoryId, statusId, priorityId, createdAt</i> | ||
| * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: id, createdAt</i> | ||
| * @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/> <i>Allowed values: category, status, priority<i> | ||
| * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, code, categoryId, statusId, priority, assignee, reporter, dueDate, createdAt, updatedAt, status.slug, category.slug</i> | ||
| * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, code, categoryId, statusId, priority, assignee, reporter, dueDate, createdAt, updatedAt, status.slug, category.slug</i> | ||
| * @param {string} [search] Search the response for matches in any searchable field. Use filter instead where possible for improved performance.<br/> <br/> <i>Searchable fields: id, code, subject, description, assignee, reporter</i> | ||
| * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: id, createdAt, updatedAt, assignee, reporter, dueDate</i> | ||
| * @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/> <i>Allowed values: category, status<i> | ||
| * @param {*} [options] Override http request option. | ||
| * @throws {RequiredError} | ||
| */ | ||
| listTasks: (authorization?: string, filter?: string, filters?: string, order?: string, expand?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>; | ||
| listTasks: (authorization?: string, filter?: string, filters?: string, search?: string, order?: string, expand?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>; | ||
| /** | ||
| * This will update task. | ||
| * This will update a task by code. | ||
| * @summary Update the task | ||
@@ -95,3 +96,3 @@ * @param {string} code | ||
| /** | ||
| * This will delete task. | ||
| * This will delete a task by code. | ||
| * @summary Delete the task | ||
@@ -105,3 +106,3 @@ * @param {string} code Unique identifier for the object. | ||
| /** | ||
| * This will get task. | ||
| * This will get a task by code. | ||
| * @summary Retrieve the task | ||
@@ -119,12 +120,13 @@ * @param {string} code | ||
| * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken. | ||
| * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, code, categoryId, statusId, priorityId, createdAt</i> | ||
| * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, code, categoryId, statusId, priorityId, createdAt</i> | ||
| * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: id, createdAt</i> | ||
| * @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/> <i>Allowed values: category, status, priority<i> | ||
| * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, code, categoryId, statusId, priority, assignee, reporter, dueDate, createdAt, updatedAt, status.slug, category.slug</i> | ||
| * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, code, categoryId, statusId, priority, assignee, reporter, dueDate, createdAt, updatedAt, status.slug, category.slug</i> | ||
| * @param {string} [search] Search the response for matches in any searchable field. Use filter instead where possible for improved performance.<br/> <br/> <i>Searchable fields: id, code, subject, description, assignee, reporter</i> | ||
| * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: id, createdAt, updatedAt, assignee, reporter, dueDate</i> | ||
| * @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/> <i>Allowed values: category, status<i> | ||
| * @param {*} [options] Override http request option. | ||
| * @throws {RequiredError} | ||
| */ | ||
| listTasks(authorization?: string, filter?: string, filters?: string, order?: string, expand?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListTasksResponseClass>>; | ||
| listTasks(authorization?: string, filter?: string, filters?: string, search?: string, order?: string, expand?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListTasksResponseClass>>; | ||
| /** | ||
| * This will update task. | ||
| * This will update a task by code. | ||
| * @summary Update the task | ||
@@ -154,3 +156,3 @@ * @param {string} code | ||
| /** | ||
| * This will delete task. | ||
| * This will delete a task by code. | ||
| * @summary Delete the task | ||
@@ -164,3 +166,3 @@ * @param {string} code Unique identifier for the object. | ||
| /** | ||
| * This will get task. | ||
| * This will get a task by code. | ||
| * @summary Retrieve the task | ||
@@ -178,12 +180,13 @@ * @param {string} code | ||
| * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken. | ||
| * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, code, categoryId, statusId, priorityId, createdAt</i> | ||
| * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, code, categoryId, statusId, priorityId, createdAt</i> | ||
| * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: id, createdAt</i> | ||
| * @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/> <i>Allowed values: category, status, priority<i> | ||
| * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, code, categoryId, statusId, priority, assignee, reporter, dueDate, createdAt, updatedAt, status.slug, category.slug</i> | ||
| * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, code, categoryId, statusId, priority, assignee, reporter, dueDate, createdAt, updatedAt, status.slug, category.slug</i> | ||
| * @param {string} [search] Search the response for matches in any searchable field. Use filter instead where possible for improved performance.<br/> <br/> <i>Searchable fields: id, code, subject, description, assignee, reporter</i> | ||
| * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: id, createdAt, updatedAt, assignee, reporter, dueDate</i> | ||
| * @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/> <i>Allowed values: category, status<i> | ||
| * @param {*} [options] Override http request option. | ||
| * @throws {RequiredError} | ||
| */ | ||
| listTasks(authorization?: string, filter?: string, filters?: string, order?: string, expand?: string, options?: any): AxiosPromise<ListTasksResponseClass>; | ||
| listTasks(authorization?: string, filter?: string, filters?: string, search?: string, order?: string, expand?: string, options?: any): AxiosPromise<ListTasksResponseClass>; | ||
| /** | ||
| * This will update task. | ||
| * This will update a task by code. | ||
| * @summary Update the task | ||
@@ -274,3 +277,3 @@ * @param {string} code | ||
| /** | ||
| * Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, code, categoryId, statusId, priorityId, createdAt</i> | ||
| * Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, code, categoryId, statusId, priority, assignee, reporter, dueDate, createdAt, updatedAt, status.slug, category.slug</i> | ||
| * @type {string} | ||
@@ -281,3 +284,3 @@ * @memberof TasksApiListTasks | ||
| /** | ||
| * Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, code, categoryId, statusId, priorityId, createdAt</i> | ||
| * Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, code, categoryId, statusId, priority, assignee, reporter, dueDate, createdAt, updatedAt, status.slug, category.slug</i> | ||
| * @type {string} | ||
@@ -288,9 +291,15 @@ * @memberof TasksApiListTasks | ||
| /** | ||
| * Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: id, createdAt</i> | ||
| * Search the response for matches in any searchable field. Use filter instead where possible for improved performance.<br/> <br/> <i>Searchable fields: id, code, subject, description, assignee, reporter</i> | ||
| * @type {string} | ||
| * @memberof TasksApiListTasks | ||
| */ | ||
| readonly search?: string; | ||
| /** | ||
| * Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: id, createdAt, updatedAt, assignee, reporter, dueDate</i> | ||
| * @type {string} | ||
| * @memberof TasksApiListTasks | ||
| */ | ||
| readonly order?: 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/> <i>Allowed values: category, status, priority<i> | ||
| * 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/> <i>Allowed values: category, status<i> | ||
| * @type {string} | ||
@@ -343,3 +352,3 @@ * @memberof TasksApiListTasks | ||
| /** | ||
| * This will delete task. | ||
| * This will delete a task by code. | ||
| * @summary Delete the task | ||
@@ -353,3 +362,3 @@ * @param {TasksApiDeleteTaskRequest} requestParameters Request parameters. | ||
| /** | ||
| * This will get task. | ||
| * This will get a task by code. | ||
| * @summary Retrieve the task | ||
@@ -372,3 +381,3 @@ * @param {TasksApiGetTaskRequest} requestParameters Request parameters. | ||
| /** | ||
| * This will update task. | ||
| * This will update a task by code. | ||
| * @summary Update the task | ||
@@ -375,0 +384,0 @@ * @param {TasksApiUpdateTaskRequest} requestParameters Request parameters. |
+36
-30
@@ -149,3 +149,3 @@ "use strict"; | ||
| /** | ||
| * This will delete task. | ||
| * This will delete a task by code. | ||
| * @summary Delete the task | ||
@@ -198,3 +198,3 @@ * @param {string} code Unique identifier for the object. | ||
| /** | ||
| * This will get task. | ||
| * This will get a task by code. | ||
| * @summary Retrieve the task | ||
@@ -256,10 +256,11 @@ * @param {string} code | ||
| * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken. | ||
| * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, code, categoryId, statusId, priorityId, createdAt</i> | ||
| * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, code, categoryId, statusId, priorityId, createdAt</i> | ||
| * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: id, createdAt</i> | ||
| * @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/> <i>Allowed values: category, status, priority<i> | ||
| * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, code, categoryId, statusId, priority, assignee, reporter, dueDate, createdAt, updatedAt, status.slug, category.slug</i> | ||
| * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, code, categoryId, statusId, priority, assignee, reporter, dueDate, createdAt, updatedAt, status.slug, category.slug</i> | ||
| * @param {string} [search] Search the response for matches in any searchable field. Use filter instead where possible for improved performance.<br/> <br/> <i>Searchable fields: id, code, subject, description, assignee, reporter</i> | ||
| * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: id, createdAt, updatedAt, assignee, reporter, dueDate</i> | ||
| * @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/> <i>Allowed values: category, status<i> | ||
| * @param {*} [options] Override http request option. | ||
| * @throws {RequiredError} | ||
| */ | ||
| listTasks: function (authorization, filter, filters, order, expand, options) { | ||
| listTasks: function (authorization, filter, filters, search, order, expand, options) { | ||
| if (options === void 0) { options = {}; } | ||
@@ -293,2 +294,5 @@ return __awaiter(_this, void 0, void 0, function () { | ||
| } | ||
| if (search !== undefined) { | ||
| localVarQueryParameter['search'] = search; | ||
| } | ||
| if (order !== undefined) { | ||
@@ -315,3 +319,3 @@ localVarQueryParameter['order'] = order; | ||
| /** | ||
| * This will update task. | ||
| * This will update a task by code. | ||
| * @summary Update the task | ||
@@ -400,3 +404,3 @@ * @param {string} code | ||
| /** | ||
| * This will delete task. | ||
| * This will delete a task by code. | ||
| * @summary Delete the task | ||
@@ -422,3 +426,3 @@ * @param {string} code Unique identifier for the object. | ||
| /** | ||
| * This will get task. | ||
| * This will get a task by code. | ||
| * @summary Retrieve the task | ||
@@ -448,10 +452,11 @@ * @param {string} code | ||
| * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken. | ||
| * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, code, categoryId, statusId, priorityId, createdAt</i> | ||
| * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, code, categoryId, statusId, priorityId, createdAt</i> | ||
| * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: id, createdAt</i> | ||
| * @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/> <i>Allowed values: category, status, priority<i> | ||
| * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, code, categoryId, statusId, priority, assignee, reporter, dueDate, createdAt, updatedAt, status.slug, category.slug</i> | ||
| * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, code, categoryId, statusId, priority, assignee, reporter, dueDate, createdAt, updatedAt, status.slug, category.slug</i> | ||
| * @param {string} [search] Search the response for matches in any searchable field. Use filter instead where possible for improved performance.<br/> <br/> <i>Searchable fields: id, code, subject, description, assignee, reporter</i> | ||
| * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: id, createdAt, updatedAt, assignee, reporter, dueDate</i> | ||
| * @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/> <i>Allowed values: category, status<i> | ||
| * @param {*} [options] Override http request option. | ||
| * @throws {RequiredError} | ||
| */ | ||
| listTasks: function (authorization, filter, filters, order, expand, options) { | ||
| listTasks: function (authorization, filter, filters, search, order, expand, options) { | ||
| return __awaiter(this, void 0, void 0, function () { | ||
@@ -461,3 +466,3 @@ var localVarAxiosArgs; | ||
| switch (_a.label) { | ||
| case 0: return [4 /*yield*/, localVarAxiosParamCreator.listTasks(authorization, filter, filters, order, expand, options)]; | ||
| case 0: return [4 /*yield*/, localVarAxiosParamCreator.listTasks(authorization, filter, filters, search, order, expand, options)]; | ||
| case 1: | ||
@@ -471,3 +476,3 @@ localVarAxiosArgs = _a.sent(); | ||
| /** | ||
| * This will update task. | ||
| * This will update a task by code. | ||
| * @summary Update the task | ||
@@ -515,3 +520,3 @@ * @param {string} code | ||
| /** | ||
| * This will delete task. | ||
| * This will delete a task by code. | ||
| * @summary Delete the task | ||
@@ -527,3 +532,3 @@ * @param {string} code Unique identifier for the object. | ||
| /** | ||
| * This will get task. | ||
| * This will get a task by code. | ||
| * @summary Retrieve the task | ||
@@ -543,14 +548,15 @@ * @param {string} code | ||
| * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken. | ||
| * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, code, categoryId, statusId, priorityId, createdAt</i> | ||
| * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, code, categoryId, statusId, priorityId, createdAt</i> | ||
| * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: id, createdAt</i> | ||
| * @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/> <i>Allowed values: category, status, priority<i> | ||
| * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, code, categoryId, statusId, priority, assignee, reporter, dueDate, createdAt, updatedAt, status.slug, category.slug</i> | ||
| * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, code, categoryId, statusId, priority, assignee, reporter, dueDate, createdAt, updatedAt, status.slug, category.slug</i> | ||
| * @param {string} [search] Search the response for matches in any searchable field. Use filter instead where possible for improved performance.<br/> <br/> <i>Searchable fields: id, code, subject, description, assignee, reporter</i> | ||
| * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: id, createdAt, updatedAt, assignee, reporter, dueDate</i> | ||
| * @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/> <i>Allowed values: category, status<i> | ||
| * @param {*} [options] Override http request option. | ||
| * @throws {RequiredError} | ||
| */ | ||
| listTasks: function (authorization, filter, filters, order, expand, options) { | ||
| return localVarFp.listTasks(authorization, filter, filters, order, expand, options).then(function (request) { return request(axios, basePath); }); | ||
| listTasks: function (authorization, filter, filters, search, order, expand, options) { | ||
| return localVarFp.listTasks(authorization, filter, filters, search, order, expand, options).then(function (request) { return request(axios, basePath); }); | ||
| }, | ||
| /** | ||
| * This will update task. | ||
| * This will update a task by code. | ||
| * @summary Update the task | ||
@@ -593,3 +599,3 @@ * @param {string} code | ||
| /** | ||
| * This will delete task. | ||
| * This will delete a task by code. | ||
| * @summary Delete the task | ||
@@ -606,3 +612,3 @@ * @param {TasksApiDeleteTaskRequest} requestParameters Request parameters. | ||
| /** | ||
| * This will get task. | ||
| * This will get a task by code. | ||
| * @summary Retrieve the task | ||
@@ -629,6 +635,6 @@ * @param {TasksApiGetTaskRequest} requestParameters Request parameters. | ||
| if (requestParameters === void 0) { requestParameters = {}; } | ||
| return (0, exports.TasksApiFp)(this.configuration).listTasks(requestParameters.authorization, requestParameters.filter, requestParameters.filters, requestParameters.order, requestParameters.expand, options).then(function (request) { return request(_this.axios, _this.basePath); }); | ||
| return (0, exports.TasksApiFp)(this.configuration).listTasks(requestParameters.authorization, requestParameters.filter, requestParameters.filters, requestParameters.search, requestParameters.order, requestParameters.expand, options).then(function (request) { return request(_this.axios, _this.basePath); }); | ||
| }; | ||
| /** | ||
| * This will update task. | ||
| * This will update a task by code. | ||
| * @summary Update the task | ||
@@ -635,0 +641,0 @@ * @param {TasksApiUpdateTaskRequest} requestParameters Request parameters. |
@@ -60,2 +60,8 @@ /** | ||
| 'updatedAt'?: string; | ||
| /** | ||
| * slug | ||
| * @type {string} | ||
| * @memberof CategoryClass | ||
| */ | ||
| 'slug': string; | ||
| } |
@@ -19,3 +19,3 @@ /** | ||
| /** | ||
| * name | ||
| * Category name: display name of the category | ||
| * @type {string} | ||
@@ -25,2 +25,8 @@ * @memberof CreateCategoryRequestDto | ||
| 'name': string; | ||
| /** | ||
| * Category slug: URL-friendly identifier (auto-generated from name if not provided) | ||
| * @type {string} | ||
| * @memberof CreateCategoryRequestDto | ||
| */ | ||
| 'slug'?: string; | ||
| } |
@@ -19,3 +19,3 @@ /** | ||
| /** | ||
| * name | ||
| * Task status name: display name of the status | ||
| * @type {string} | ||
@@ -25,2 +25,8 @@ * @memberof CreateStatusRequestDto | ||
| 'name': string; | ||
| /** | ||
| * Task status slug - URL-friendly identifier (auto-generated from name if not provided) | ||
| * @type {string} | ||
| * @memberof CreateStatusRequestDto | ||
| */ | ||
| 'slug'?: string; | ||
| } |
@@ -19,3 +19,3 @@ /** | ||
| /** | ||
| * subject | ||
| * Task subject: title of the task | ||
| * @type {string} | ||
@@ -26,3 +26,3 @@ * @memberof CreateTaskRequestDto | ||
| /** | ||
| * description | ||
| * Task description: detailed description of the task | ||
| * @type {string} | ||
@@ -33,25 +33,43 @@ * @memberof CreateTaskRequestDto | ||
| /** | ||
| * assignee | ||
| * Task assignee user code: person assigned to the task | ||
| * @type {string} | ||
| * @memberof CreateTaskRequestDto | ||
| */ | ||
| 'assignee': string; | ||
| 'assignee'?: string; | ||
| /** | ||
| * categoryId | ||
| * @type {number} | ||
| * Task category slug | ||
| * @type {string} | ||
| * @memberof CreateTaskRequestDto | ||
| */ | ||
| 'categoryId'?: number | null; | ||
| 'categorySlug'?: string; | ||
| /** | ||
| * statusId | ||
| * @type {number} | ||
| * Task status slug | ||
| * @type {string} | ||
| * @memberof CreateTaskRequestDto | ||
| */ | ||
| 'statusId'?: number | null; | ||
| 'statusSlug'?: string; | ||
| /** | ||
| * priorityId | ||
| * @type {number} | ||
| * Task priority | ||
| * @type {string} | ||
| * @memberof CreateTaskRequestDto | ||
| */ | ||
| 'priorityId'?: number | null; | ||
| 'priority'?: CreateTaskRequestDtoPriorityEnum; | ||
| /** | ||
| * Task reporter user code: person who reported the task | ||
| * @type {string} | ||
| * @memberof CreateTaskRequestDto | ||
| */ | ||
| 'reporter'?: string; | ||
| /** | ||
| * Task due date. | ||
| * @type {string} | ||
| * @memberof CreateTaskRequestDto | ||
| */ | ||
| 'dueDate'?: string; | ||
| } | ||
| export declare const CreateTaskRequestDtoPriorityEnum: { | ||
| readonly Low: "LOW"; | ||
| readonly Medium: "MEDIUM"; | ||
| readonly High: "HIGH"; | ||
| }; | ||
| export type CreateTaskRequestDtoPriorityEnum = typeof CreateTaskRequestDtoPriorityEnum[keyof typeof CreateTaskRequestDtoPriorityEnum]; |
@@ -16,1 +16,7 @@ "use strict"; | ||
| Object.defineProperty(exports, "__esModule", { value: true }); | ||
| exports.CreateTaskRequestDtoPriorityEnum = void 0; | ||
| exports.CreateTaskRequestDtoPriorityEnum = { | ||
| Low: 'LOW', | ||
| Medium: 'MEDIUM', | ||
| High: 'HIGH' | ||
| }; |
@@ -6,4 +6,2 @@ export * from './category-class'; | ||
| export * from './create-hub-spot-ticket-response-class'; | ||
| export * from './create-priority-request-dto'; | ||
| export * from './create-priority-response-class'; | ||
| export * from './create-status-request-dto'; | ||
@@ -14,3 +12,2 @@ export * from './create-status-response-class'; | ||
| export * from './get-category-response-class'; | ||
| export * from './get-priority-response-class'; | ||
| export * from './get-status-response-class'; | ||
@@ -26,3 +23,2 @@ export * from './get-task-response-class'; | ||
| export * from './list-tasks-response-class'; | ||
| export * from './priority-class'; | ||
| export * from './status-class'; | ||
@@ -29,0 +25,0 @@ export * from './task-class'; |
@@ -22,4 +22,2 @@ "use strict"; | ||
| __exportStar(require("./create-hub-spot-ticket-response-class"), exports); | ||
| __exportStar(require("./create-priority-request-dto"), exports); | ||
| __exportStar(require("./create-priority-response-class"), exports); | ||
| __exportStar(require("./create-status-request-dto"), exports); | ||
@@ -30,3 +28,2 @@ __exportStar(require("./create-status-response-class"), exports); | ||
| __exportStar(require("./get-category-response-class"), exports); | ||
| __exportStar(require("./get-priority-response-class"), exports); | ||
| __exportStar(require("./get-status-response-class"), exports); | ||
@@ -42,3 +39,2 @@ __exportStar(require("./get-task-response-class"), exports); | ||
| __exportStar(require("./list-tasks-response-class"), exports); | ||
| __exportStar(require("./priority-class"), exports); | ||
| __exportStar(require("./status-class"), exports); | ||
@@ -45,0 +41,0 @@ __exportStar(require("./task-class"), exports); |
@@ -60,2 +60,8 @@ /** | ||
| 'updatedAt'?: string; | ||
| /** | ||
| * slug | ||
| * @type {string} | ||
| * @memberof StatusClass | ||
| */ | ||
| 'slug': string; | ||
| } |
@@ -13,3 +13,2 @@ /** | ||
| import { CategoryClass } from './category-class'; | ||
| import { PriorityClass } from './priority-class'; | ||
| import { StatusClass } from './status-class'; | ||
@@ -51,3 +50,3 @@ /** | ||
| */ | ||
| 'assignee': string; | ||
| 'assignee'?: string; | ||
| /** | ||
@@ -66,8 +65,20 @@ * category | ||
| /** | ||
| * priority | ||
| * @type {PriorityClass} | ||
| * Task priority | ||
| * @type {string} | ||
| * @memberof TaskClass | ||
| */ | ||
| 'priority'?: PriorityClass; | ||
| 'priority': TaskClassPriorityEnum; | ||
| /** | ||
| * Task reporter: person who reported the task | ||
| * @type {string} | ||
| * @memberof TaskClass | ||
| */ | ||
| 'reporter'?: string; | ||
| /** | ||
| * Task due date | ||
| * @type {string} | ||
| * @memberof TaskClass | ||
| */ | ||
| 'dueDate'?: string; | ||
| /** | ||
| * createdBy | ||
@@ -103,1 +114,7 @@ * @type {string} | ||
| } | ||
| export declare const TaskClassPriorityEnum: { | ||
| readonly Low: "LOW"; | ||
| readonly Medium: "MEDIUM"; | ||
| readonly High: "HIGH"; | ||
| }; | ||
| export type TaskClassPriorityEnum = typeof TaskClassPriorityEnum[keyof typeof TaskClassPriorityEnum]; |
@@ -16,1 +16,7 @@ "use strict"; | ||
| Object.defineProperty(exports, "__esModule", { value: true }); | ||
| exports.TaskClassPriorityEnum = void 0; | ||
| exports.TaskClassPriorityEnum = { | ||
| Low: 'LOW', | ||
| Medium: 'MEDIUM', | ||
| High: 'HIGH' | ||
| }; |
@@ -19,3 +19,3 @@ /** | ||
| /** | ||
| * code | ||
| * Category code: unique identifier of the category | ||
| * @type {string} | ||
@@ -26,3 +26,3 @@ * @memberof UpdateCategoryRequestDto | ||
| /** | ||
| * name | ||
| * Category name: display name of the category | ||
| * @type {string} | ||
@@ -32,2 +32,8 @@ * @memberof UpdateCategoryRequestDto | ||
| 'name': string; | ||
| /** | ||
| * Category slug: URL-friendly identifier | ||
| * @type {string} | ||
| * @memberof UpdateCategoryRequestDto | ||
| */ | ||
| 'slug': string; | ||
| } |
@@ -19,3 +19,3 @@ /** | ||
| /** | ||
| * code | ||
| * Status code: unique identifier of the status | ||
| * @type {string} | ||
@@ -26,3 +26,3 @@ * @memberof UpdateStatusRequestDto | ||
| /** | ||
| * name | ||
| * Status name: display name of the status | ||
| * @type {string} | ||
@@ -32,2 +32,8 @@ * @memberof UpdateStatusRequestDto | ||
| 'name': string; | ||
| /** | ||
| * Status slug: URL-friendly identifier | ||
| * @type {string} | ||
| * @memberof UpdateStatusRequestDto | ||
| */ | ||
| 'slug': string; | ||
| } |
@@ -19,3 +19,3 @@ /** | ||
| /** | ||
| * code | ||
| * Task code: unique identifier of the task | ||
| * @type {string} | ||
@@ -26,3 +26,3 @@ * @memberof UpdateTaskRequestDto | ||
| /** | ||
| * subject | ||
| * Task subject: title of the task | ||
| * @type {string} | ||
@@ -33,3 +33,3 @@ * @memberof UpdateTaskRequestDto | ||
| /** | ||
| * description | ||
| * Task description: detailed description of the task | ||
| * @type {string} | ||
@@ -40,25 +40,37 @@ * @memberof UpdateTaskRequestDto | ||
| /** | ||
| * assignee | ||
| * Task assignee: person assigned to the task | ||
| * @type {string} | ||
| * @memberof UpdateTaskRequestDto | ||
| */ | ||
| 'assignee'?: string; | ||
| 'assignee': string; | ||
| /** | ||
| * categoryId | ||
| * @type {number} | ||
| * Task category slug | ||
| * @type {string} | ||
| * @memberof UpdateTaskRequestDto | ||
| */ | ||
| 'categoryId'?: number | null; | ||
| 'categorySlug'?: string; | ||
| /** | ||
| * statusId | ||
| * @type {number} | ||
| * Task status slug | ||
| * @type {string} | ||
| * @memberof UpdateTaskRequestDto | ||
| */ | ||
| 'statusId'?: number | null; | ||
| 'statusSlug'?: string; | ||
| /** | ||
| * priorityId | ||
| * @type {number} | ||
| * Task priority | ||
| * @type {string} | ||
| * @memberof UpdateTaskRequestDto | ||
| */ | ||
| 'priorityId'?: number | null; | ||
| '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; | ||
| } |
@@ -65,3 +65,9 @@ /* tslint:disable */ | ||
| 'updatedAt'?: string; | ||
| /** | ||
| * slug | ||
| * @type {string} | ||
| * @memberof CategoryClass | ||
| */ | ||
| 'slug': string; | ||
| } | ||
@@ -24,3 +24,3 @@ /* tslint:disable */ | ||
| /** | ||
| * name | ||
| * Category name: display name of the category | ||
| * @type {string} | ||
@@ -30,3 +30,9 @@ * @memberof CreateCategoryRequestDto | ||
| 'name': string; | ||
| /** | ||
| * Category slug: URL-friendly identifier (auto-generated from name if not provided) | ||
| * @type {string} | ||
| * @memberof CreateCategoryRequestDto | ||
| */ | ||
| 'slug'?: string; | ||
| } | ||
@@ -24,3 +24,3 @@ /* tslint:disable */ | ||
| /** | ||
| * name | ||
| * Task status name: display name of the status | ||
| * @type {string} | ||
@@ -30,3 +30,9 @@ * @memberof CreateStatusRequestDto | ||
| 'name': string; | ||
| /** | ||
| * Task status slug - URL-friendly identifier (auto-generated from name if not provided) | ||
| * @type {string} | ||
| * @memberof CreateStatusRequestDto | ||
| */ | ||
| 'slug'?: string; | ||
| } | ||
@@ -24,3 +24,3 @@ /* tslint:disable */ | ||
| /** | ||
| * subject | ||
| * Task subject: title of the task | ||
| * @type {string} | ||
@@ -31,3 +31,3 @@ * @memberof CreateTaskRequestDto | ||
| /** | ||
| * description | ||
| * Task description: detailed description of the task | ||
| * @type {string} | ||
@@ -38,26 +38,47 @@ * @memberof CreateTaskRequestDto | ||
| /** | ||
| * assignee | ||
| * Task assignee user code: person assigned to the task | ||
| * @type {string} | ||
| * @memberof CreateTaskRequestDto | ||
| */ | ||
| 'assignee': string; | ||
| 'assignee'?: string; | ||
| /** | ||
| * categoryId | ||
| * @type {number} | ||
| * Task category slug | ||
| * @type {string} | ||
| * @memberof CreateTaskRequestDto | ||
| */ | ||
| 'categoryId'?: number | null; | ||
| 'categorySlug'?: string; | ||
| /** | ||
| * statusId | ||
| * @type {number} | ||
| * Task status slug | ||
| * @type {string} | ||
| * @memberof CreateTaskRequestDto | ||
| */ | ||
| 'statusId'?: number | null; | ||
| 'statusSlug'?: string; | ||
| /** | ||
| * priorityId | ||
| * @type {number} | ||
| * Task priority | ||
| * @type {string} | ||
| * @memberof CreateTaskRequestDto | ||
| */ | ||
| 'priorityId'?: number | null; | ||
| 'priority'?: CreateTaskRequestDtoPriorityEnum; | ||
| /** | ||
| * Task reporter user code: person who reported the task | ||
| * @type {string} | ||
| * @memberof CreateTaskRequestDto | ||
| */ | ||
| 'reporter'?: string; | ||
| /** | ||
| * Task due date. | ||
| * @type {string} | ||
| * @memberof CreateTaskRequestDto | ||
| */ | ||
| 'dueDate'?: string; | ||
| } | ||
| export const CreateTaskRequestDtoPriorityEnum = { | ||
| Low: 'LOW', | ||
| Medium: 'MEDIUM', | ||
| High: 'HIGH' | ||
| } as const; | ||
| export type CreateTaskRequestDtoPriorityEnum = typeof CreateTaskRequestDtoPriorityEnum[keyof typeof CreateTaskRequestDtoPriorityEnum]; | ||
+0
-4
@@ -6,4 +6,2 @@ export * from './category-class'; | ||
| export * from './create-hub-spot-ticket-response-class'; | ||
| export * from './create-priority-request-dto'; | ||
| export * from './create-priority-response-class'; | ||
| export * from './create-status-request-dto'; | ||
@@ -14,3 +12,2 @@ export * from './create-status-response-class'; | ||
| export * from './get-category-response-class'; | ||
| export * from './get-priority-response-class'; | ||
| export * from './get-status-response-class'; | ||
@@ -26,3 +23,2 @@ export * from './get-task-response-class'; | ||
| export * from './list-tasks-response-class'; | ||
| export * from './priority-class'; | ||
| export * from './status-class'; | ||
@@ -29,0 +25,0 @@ export * from './task-class'; |
@@ -65,3 +65,9 @@ /* tslint:disable */ | ||
| 'updatedAt'?: string; | ||
| /** | ||
| * slug | ||
| * @type {string} | ||
| * @memberof StatusClass | ||
| */ | ||
| 'slug': string; | ||
| } | ||
+25
-5
@@ -17,3 +17,2 @@ /* tslint:disable */ | ||
| import { CategoryClass } from './category-class'; | ||
| import { PriorityClass } from './priority-class'; | ||
| import { StatusClass } from './status-class'; | ||
@@ -56,3 +55,3 @@ | ||
| */ | ||
| 'assignee': string; | ||
| 'assignee'?: string; | ||
| /** | ||
@@ -71,8 +70,20 @@ * category | ||
| /** | ||
| * priority | ||
| * @type {PriorityClass} | ||
| * Task priority | ||
| * @type {string} | ||
| * @memberof TaskClass | ||
| */ | ||
| 'priority'?: PriorityClass; | ||
| 'priority': TaskClassPriorityEnum; | ||
| /** | ||
| * Task reporter: person who reported the task | ||
| * @type {string} | ||
| * @memberof TaskClass | ||
| */ | ||
| 'reporter'?: string; | ||
| /** | ||
| * Task due date | ||
| * @type {string} | ||
| * @memberof TaskClass | ||
| */ | ||
| 'dueDate'?: string; | ||
| /** | ||
| * createdBy | ||
@@ -109,1 +120,10 @@ * @type {string} | ||
| export const TaskClassPriorityEnum = { | ||
| Low: 'LOW', | ||
| Medium: 'MEDIUM', | ||
| High: 'HIGH' | ||
| } as const; | ||
| export type TaskClassPriorityEnum = typeof TaskClassPriorityEnum[keyof typeof TaskClassPriorityEnum]; | ||
@@ -24,3 +24,3 @@ /* tslint:disable */ | ||
| /** | ||
| * code | ||
| * Category code: unique identifier of the category | ||
| * @type {string} | ||
@@ -31,3 +31,3 @@ * @memberof UpdateCategoryRequestDto | ||
| /** | ||
| * name | ||
| * Category name: display name of the category | ||
| * @type {string} | ||
@@ -37,3 +37,9 @@ * @memberof UpdateCategoryRequestDto | ||
| 'name': string; | ||
| /** | ||
| * Category slug: URL-friendly identifier | ||
| * @type {string} | ||
| * @memberof UpdateCategoryRequestDto | ||
| */ | ||
| 'slug': string; | ||
| } | ||
@@ -24,3 +24,3 @@ /* tslint:disable */ | ||
| /** | ||
| * code | ||
| * Status code: unique identifier of the status | ||
| * @type {string} | ||
@@ -31,3 +31,3 @@ * @memberof UpdateStatusRequestDto | ||
| /** | ||
| * name | ||
| * Status name: display name of the status | ||
| * @type {string} | ||
@@ -37,3 +37,9 @@ * @memberof UpdateStatusRequestDto | ||
| 'name': string; | ||
| /** | ||
| * Status slug: URL-friendly identifier | ||
| * @type {string} | ||
| * @memberof UpdateStatusRequestDto | ||
| */ | ||
| 'slug': string; | ||
| } | ||
@@ -24,3 +24,3 @@ /* tslint:disable */ | ||
| /** | ||
| * code | ||
| * Task code: unique identifier of the task | ||
| * @type {string} | ||
@@ -31,3 +31,3 @@ * @memberof UpdateTaskRequestDto | ||
| /** | ||
| * subject | ||
| * Task subject: title of the task | ||
| * @type {string} | ||
@@ -38,3 +38,3 @@ * @memberof UpdateTaskRequestDto | ||
| /** | ||
| * description | ||
| * Task description: detailed description of the task | ||
| * @type {string} | ||
@@ -45,26 +45,38 @@ * @memberof UpdateTaskRequestDto | ||
| /** | ||
| * assignee | ||
| * Task assignee: person assigned to the task | ||
| * @type {string} | ||
| * @memberof UpdateTaskRequestDto | ||
| */ | ||
| 'assignee'?: string; | ||
| 'assignee': string; | ||
| /** | ||
| * categoryId | ||
| * @type {number} | ||
| * Task category slug | ||
| * @type {string} | ||
| * @memberof UpdateTaskRequestDto | ||
| */ | ||
| 'categoryId'?: number | null; | ||
| 'categorySlug'?: string; | ||
| /** | ||
| * statusId | ||
| * @type {number} | ||
| * Task status slug | ||
| * @type {string} | ||
| * @memberof UpdateTaskRequestDto | ||
| */ | ||
| 'statusId'?: number | null; | ||
| 'statusSlug'?: string; | ||
| /** | ||
| * priorityId | ||
| * @type {number} | ||
| * Task priority | ||
| * @type {string} | ||
| * @memberof UpdateTaskRequestDto | ||
| */ | ||
| 'priorityId'?: number | null; | ||
| '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; | ||
| } | ||
+1
-1
| { | ||
| "name": "@emilgroup/task-sdk-node", | ||
| "version": "1.0.1-beta.1", | ||
| "version": "1.0.1-beta.3", | ||
| "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.1 --save | ||
| npm install @emilgroup/task-sdk-node@1.0.1-beta.3 --save | ||
| ``` | ||
| or | ||
| ``` | ||
| yarn add @emilgroup/task-sdk-node@1.0.1-beta.1 | ||
| yarn add @emilgroup/task-sdk-node@1.0.1-beta.3 | ||
| ``` | ||
@@ -27,0 +27,0 @@ |
| /* 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 { CreatePriorityRequestDto } from '../models'; | ||
| // @ts-ignore | ||
| import { CreatePriorityResponseClass } from '../models'; | ||
| // @ts-ignore | ||
| import { GetPriorityResponseClass } from '../models'; | ||
| // URLSearchParams not necessarily used | ||
| // @ts-ignore | ||
| import { URL, URLSearchParams } from 'url'; | ||
| const FormData = require('form-data'); | ||
| /** | ||
| * PrioritiesApi - axios parameter creator | ||
| * @export | ||
| */ | ||
| export const PrioritiesApiAxiosParamCreator = function (configuration?: Configuration) { | ||
| return { | ||
| /** | ||
| * This will create priority. | ||
| * @summary Create the priority | ||
| * @param {CreatePriorityRequestDto} createPriorityRequestDto | ||
| * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken. | ||
| * @param {*} [options] Override http request option. | ||
| * @throws {RequiredError} | ||
| */ | ||
| createPriority: async (createPriorityRequestDto: CreatePriorityRequestDto, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => { | ||
| // verify required parameter 'createPriorityRequestDto' is not null or undefined | ||
| assertParamExists('createPriority', 'createPriorityRequestDto', createPriorityRequestDto) | ||
| const localVarPath = `/taskservice/v1/priorities`; | ||
| // 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: 'POST', ...baseOptions, ...options}; | ||
| const localVarHeaderParameter = {} as any; | ||
| const localVarQueryParameter = {} as any; | ||
| // authentication bearer required | ||
| // http bearer authentication required | ||
| await setBearerAuthToObject(localVarHeaderParameter, configuration) | ||
| if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) { | ||
| localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken); | ||
| } | ||
| localVarHeaderParameter['Content-Type'] = 'application/json'; | ||
| setSearchParams(localVarUrlObj, localVarQueryParameter); | ||
| let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; | ||
| localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers}; | ||
| localVarRequestOptions.data = serializeDataIfNeeded(createPriorityRequestDto, localVarRequestOptions, configuration) | ||
| return { | ||
| url: toPathString(localVarUrlObj), | ||
| options: localVarRequestOptions, | ||
| }; | ||
| }, | ||
| /** | ||
| * This will get priority. | ||
| * @summary Retrieve the priority | ||
| * @param {string} code | ||
| * @param {string} expand | ||
| * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken. | ||
| * @param {*} [options] Override http request option. | ||
| * @throws {RequiredError} | ||
| */ | ||
| getPriority: async (code: string, expand: string, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => { | ||
| // verify required parameter 'code' is not null or undefined | ||
| assertParamExists('getPriority', 'code', code) | ||
| // verify required parameter 'expand' is not null or undefined | ||
| assertParamExists('getPriority', 'expand', expand) | ||
| const localVarPath = `/taskservice/v1/priorities/{code}` | ||
| .replace(`{${"code"}}`, encodeURIComponent(String(code))); | ||
| // 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, | ||
| }; | ||
| }, | ||
| } | ||
| }; | ||
| /** | ||
| * PrioritiesApi - functional programming interface | ||
| * @export | ||
| */ | ||
| export const PrioritiesApiFp = function(configuration?: Configuration) { | ||
| const localVarAxiosParamCreator = PrioritiesApiAxiosParamCreator(configuration) | ||
| return { | ||
| /** | ||
| * This will create priority. | ||
| * @summary Create the priority | ||
| * @param {CreatePriorityRequestDto} createPriorityRequestDto | ||
| * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken. | ||
| * @param {*} [options] Override http request option. | ||
| * @throws {RequiredError} | ||
| */ | ||
| async createPriority(createPriorityRequestDto: CreatePriorityRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreatePriorityResponseClass>> { | ||
| const localVarAxiosArgs = await localVarAxiosParamCreator.createPriority(createPriorityRequestDto, authorization, options); | ||
| return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); | ||
| }, | ||
| /** | ||
| * This will get priority. | ||
| * @summary Retrieve the priority | ||
| * @param {string} code | ||
| * @param {string} expand | ||
| * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken. | ||
| * @param {*} [options] Override http request option. | ||
| * @throws {RequiredError} | ||
| */ | ||
| async getPriority(code: string, expand: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetPriorityResponseClass>> { | ||
| const localVarAxiosArgs = await localVarAxiosParamCreator.getPriority(code, expand, authorization, options); | ||
| return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); | ||
| }, | ||
| } | ||
| }; | ||
| /** | ||
| * PrioritiesApi - factory interface | ||
| * @export | ||
| */ | ||
| export const PrioritiesApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) { | ||
| const localVarFp = PrioritiesApiFp(configuration) | ||
| return { | ||
| /** | ||
| * This will create priority. | ||
| * @summary Create the priority | ||
| * @param {CreatePriorityRequestDto} createPriorityRequestDto | ||
| * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken. | ||
| * @param {*} [options] Override http request option. | ||
| * @throws {RequiredError} | ||
| */ | ||
| createPriority(createPriorityRequestDto: CreatePriorityRequestDto, authorization?: string, options?: any): AxiosPromise<CreatePriorityResponseClass> { | ||
| return localVarFp.createPriority(createPriorityRequestDto, authorization, options).then((request) => request(axios, basePath)); | ||
| }, | ||
| /** | ||
| * This will get priority. | ||
| * @summary Retrieve the priority | ||
| * @param {string} code | ||
| * @param {string} expand | ||
| * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken. | ||
| * @param {*} [options] Override http request option. | ||
| * @throws {RequiredError} | ||
| */ | ||
| getPriority(code: string, expand: string, authorization?: string, options?: any): AxiosPromise<GetPriorityResponseClass> { | ||
| return localVarFp.getPriority(code, expand, authorization, options).then((request) => request(axios, basePath)); | ||
| }, | ||
| }; | ||
| }; | ||
| /** | ||
| * Request parameters for createPriority operation in PrioritiesApi. | ||
| * @export | ||
| * @interface PrioritiesApiCreatePriorityRequest | ||
| */ | ||
| export interface PrioritiesApiCreatePriorityRequest { | ||
| /** | ||
| * | ||
| * @type {CreatePriorityRequestDto} | ||
| * @memberof PrioritiesApiCreatePriority | ||
| */ | ||
| readonly createPriorityRequestDto: CreatePriorityRequestDto | ||
| /** | ||
| * Bearer Token: provided by the login endpoint under the name accessToken. | ||
| * @type {string} | ||
| * @memberof PrioritiesApiCreatePriority | ||
| */ | ||
| readonly authorization?: string | ||
| } | ||
| /** | ||
| * Request parameters for getPriority operation in PrioritiesApi. | ||
| * @export | ||
| * @interface PrioritiesApiGetPriorityRequest | ||
| */ | ||
| export interface PrioritiesApiGetPriorityRequest { | ||
| /** | ||
| * | ||
| * @type {string} | ||
| * @memberof PrioritiesApiGetPriority | ||
| */ | ||
| readonly code: string | ||
| /** | ||
| * | ||
| * @type {string} | ||
| * @memberof PrioritiesApiGetPriority | ||
| */ | ||
| readonly expand: string | ||
| /** | ||
| * Bearer Token: provided by the login endpoint under the name accessToken. | ||
| * @type {string} | ||
| * @memberof PrioritiesApiGetPriority | ||
| */ | ||
| readonly authorization?: string | ||
| } | ||
| /** | ||
| * PrioritiesApi - object-oriented interface | ||
| * @export | ||
| * @class PrioritiesApi | ||
| * @extends {BaseAPI} | ||
| */ | ||
| export class PrioritiesApi extends BaseAPI { | ||
| /** | ||
| * This will create priority. | ||
| * @summary Create the priority | ||
| * @param {PrioritiesApiCreatePriorityRequest} requestParameters Request parameters. | ||
| * @param {*} [options] Override http request option. | ||
| * @throws {RequiredError} | ||
| * @memberof PrioritiesApi | ||
| */ | ||
| public createPriority(requestParameters: PrioritiesApiCreatePriorityRequest, options?: AxiosRequestConfig) { | ||
| return PrioritiesApiFp(this.configuration).createPriority(requestParameters.createPriorityRequestDto, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath)); | ||
| } | ||
| /** | ||
| * This will get priority. | ||
| * @summary Retrieve the priority | ||
| * @param {PrioritiesApiGetPriorityRequest} requestParameters Request parameters. | ||
| * @param {*} [options] Override http request option. | ||
| * @throws {RequiredError} | ||
| * @memberof PrioritiesApi | ||
| */ | ||
| public getPriority(requestParameters: PrioritiesApiGetPriorityRequest, options?: AxiosRequestConfig) { | ||
| return PrioritiesApiFp(this.configuration).getPriority(requestParameters.code, requestParameters.expand, requestParameters.authorization, 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 { CreatePriorityRequestDto } from '../models'; | ||
| import { CreatePriorityResponseClass } from '../models'; | ||
| import { GetPriorityResponseClass } from '../models'; | ||
| /** | ||
| * PrioritiesApi - axios parameter creator | ||
| * @export | ||
| */ | ||
| export declare const PrioritiesApiAxiosParamCreator: (configuration?: Configuration) => { | ||
| /** | ||
| * This will create priority. | ||
| * @summary Create the priority | ||
| * @param {CreatePriorityRequestDto} createPriorityRequestDto | ||
| * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken. | ||
| * @param {*} [options] Override http request option. | ||
| * @throws {RequiredError} | ||
| */ | ||
| createPriority: (createPriorityRequestDto: CreatePriorityRequestDto, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>; | ||
| /** | ||
| * This will get priority. | ||
| * @summary Retrieve the priority | ||
| * @param {string} code | ||
| * @param {string} expand | ||
| * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken. | ||
| * @param {*} [options] Override http request option. | ||
| * @throws {RequiredError} | ||
| */ | ||
| getPriority: (code: string, expand: string, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>; | ||
| }; | ||
| /** | ||
| * PrioritiesApi - functional programming interface | ||
| * @export | ||
| */ | ||
| export declare const PrioritiesApiFp: (configuration?: Configuration) => { | ||
| /** | ||
| * This will create priority. | ||
| * @summary Create the priority | ||
| * @param {CreatePriorityRequestDto} createPriorityRequestDto | ||
| * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken. | ||
| * @param {*} [options] Override http request option. | ||
| * @throws {RequiredError} | ||
| */ | ||
| createPriority(createPriorityRequestDto: CreatePriorityRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreatePriorityResponseClass>>; | ||
| /** | ||
| * This will get priority. | ||
| * @summary Retrieve the priority | ||
| * @param {string} code | ||
| * @param {string} expand | ||
| * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken. | ||
| * @param {*} [options] Override http request option. | ||
| * @throws {RequiredError} | ||
| */ | ||
| getPriority(code: string, expand: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetPriorityResponseClass>>; | ||
| }; | ||
| /** | ||
| * PrioritiesApi - factory interface | ||
| * @export | ||
| */ | ||
| export declare const PrioritiesApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => { | ||
| /** | ||
| * This will create priority. | ||
| * @summary Create the priority | ||
| * @param {CreatePriorityRequestDto} createPriorityRequestDto | ||
| * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken. | ||
| * @param {*} [options] Override http request option. | ||
| * @throws {RequiredError} | ||
| */ | ||
| createPriority(createPriorityRequestDto: CreatePriorityRequestDto, authorization?: string, options?: any): AxiosPromise<CreatePriorityResponseClass>; | ||
| /** | ||
| * This will get priority. | ||
| * @summary Retrieve the priority | ||
| * @param {string} code | ||
| * @param {string} expand | ||
| * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken. | ||
| * @param {*} [options] Override http request option. | ||
| * @throws {RequiredError} | ||
| */ | ||
| getPriority(code: string, expand: string, authorization?: string, options?: any): AxiosPromise<GetPriorityResponseClass>; | ||
| }; | ||
| /** | ||
| * Request parameters for createPriority operation in PrioritiesApi. | ||
| * @export | ||
| * @interface PrioritiesApiCreatePriorityRequest | ||
| */ | ||
| export interface PrioritiesApiCreatePriorityRequest { | ||
| /** | ||
| * | ||
| * @type {CreatePriorityRequestDto} | ||
| * @memberof PrioritiesApiCreatePriority | ||
| */ | ||
| readonly createPriorityRequestDto: CreatePriorityRequestDto; | ||
| /** | ||
| * Bearer Token: provided by the login endpoint under the name accessToken. | ||
| * @type {string} | ||
| * @memberof PrioritiesApiCreatePriority | ||
| */ | ||
| readonly authorization?: string; | ||
| } | ||
| /** | ||
| * Request parameters for getPriority operation in PrioritiesApi. | ||
| * @export | ||
| * @interface PrioritiesApiGetPriorityRequest | ||
| */ | ||
| export interface PrioritiesApiGetPriorityRequest { | ||
| /** | ||
| * | ||
| * @type {string} | ||
| * @memberof PrioritiesApiGetPriority | ||
| */ | ||
| readonly code: string; | ||
| /** | ||
| * | ||
| * @type {string} | ||
| * @memberof PrioritiesApiGetPriority | ||
| */ | ||
| readonly expand: string; | ||
| /** | ||
| * Bearer Token: provided by the login endpoint under the name accessToken. | ||
| * @type {string} | ||
| * @memberof PrioritiesApiGetPriority | ||
| */ | ||
| readonly authorization?: string; | ||
| } | ||
| /** | ||
| * PrioritiesApi - object-oriented interface | ||
| * @export | ||
| * @class PrioritiesApi | ||
| * @extends {BaseAPI} | ||
| */ | ||
| export declare class PrioritiesApi extends BaseAPI { | ||
| /** | ||
| * This will create priority. | ||
| * @summary Create the priority | ||
| * @param {PrioritiesApiCreatePriorityRequest} requestParameters Request parameters. | ||
| * @param {*} [options] Override http request option. | ||
| * @throws {RequiredError} | ||
| * @memberof PrioritiesApi | ||
| */ | ||
| createPriority(requestParameters: PrioritiesApiCreatePriorityRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CreatePriorityResponseClass, any, {}>>; | ||
| /** | ||
| * This will get priority. | ||
| * @summary Retrieve the priority | ||
| * @param {PrioritiesApiGetPriorityRequest} requestParameters Request parameters. | ||
| * @param {*} [options] Override http request option. | ||
| * @throws {RequiredError} | ||
| * @memberof PrioritiesApi | ||
| */ | ||
| getPriority(requestParameters: PrioritiesApiGetPriorityRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetPriorityResponseClass, 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.PrioritiesApi = exports.PrioritiesApiFactory = exports.PrioritiesApiFp = exports.PrioritiesApiAxiosParamCreator = 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'); | ||
| /** | ||
| * PrioritiesApi - axios parameter creator | ||
| * @export | ||
| */ | ||
| var PrioritiesApiAxiosParamCreator = function (configuration) { | ||
| var _this = this; | ||
| return { | ||
| /** | ||
| * This will create priority. | ||
| * @summary Create the priority | ||
| * @param {CreatePriorityRequestDto} createPriorityRequestDto | ||
| * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken. | ||
| * @param {*} [options] Override http request option. | ||
| * @throws {RequiredError} | ||
| */ | ||
| createPriority: function (createPriorityRequestDto, authorization, 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: | ||
| // verify required parameter 'createPriorityRequestDto' is not null or undefined | ||
| (0, common_1.assertParamExists)('createPriority', 'createPriorityRequestDto', createPriorityRequestDto); | ||
| localVarPath = "/taskservice/v1/priorities"; | ||
| localVarUrlObj = new url_1.URL(localVarPath, common_1.DUMMY_BASE_URL); | ||
| if (configuration) { | ||
| baseOptions = configuration.baseOptions; | ||
| baseAccessToken = configuration.accessToken; | ||
| } | ||
| localVarRequestOptions = __assign(__assign({ method: 'POST' }, 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 (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) { | ||
| localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken); | ||
| } | ||
| localVarHeaderParameter['Content-Type'] = 'application/json'; | ||
| (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter); | ||
| headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; | ||
| localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers); | ||
| localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(createPriorityRequestDto, localVarRequestOptions, configuration); | ||
| return [2 /*return*/, { | ||
| url: (0, common_1.toPathString)(localVarUrlObj), | ||
| options: localVarRequestOptions, | ||
| }]; | ||
| } | ||
| }); | ||
| }); | ||
| }, | ||
| /** | ||
| * This will get priority. | ||
| * @summary Retrieve the priority | ||
| * @param {string} code | ||
| * @param {string} expand | ||
| * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken. | ||
| * @param {*} [options] Override http request option. | ||
| * @throws {RequiredError} | ||
| */ | ||
| getPriority: function (code, expand, authorization, 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: | ||
| // verify required parameter 'code' is not null or undefined | ||
| (0, common_1.assertParamExists)('getPriority', 'code', code); | ||
| // verify required parameter 'expand' is not null or undefined | ||
| (0, common_1.assertParamExists)('getPriority', 'expand', expand); | ||
| localVarPath = "/taskservice/v1/priorities/{code}" | ||
| .replace("{".concat("code", "}"), encodeURIComponent(String(code))); | ||
| 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.PrioritiesApiAxiosParamCreator = PrioritiesApiAxiosParamCreator; | ||
| /** | ||
| * PrioritiesApi - functional programming interface | ||
| * @export | ||
| */ | ||
| var PrioritiesApiFp = function (configuration) { | ||
| var localVarAxiosParamCreator = (0, exports.PrioritiesApiAxiosParamCreator)(configuration); | ||
| return { | ||
| /** | ||
| * This will create priority. | ||
| * @summary Create the priority | ||
| * @param {CreatePriorityRequestDto} createPriorityRequestDto | ||
| * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken. | ||
| * @param {*} [options] Override http request option. | ||
| * @throws {RequiredError} | ||
| */ | ||
| createPriority: function (createPriorityRequestDto, authorization, 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.createPriority(createPriorityRequestDto, authorization, options)]; | ||
| case 1: | ||
| localVarAxiosArgs = _a.sent(); | ||
| return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)]; | ||
| } | ||
| }); | ||
| }); | ||
| }, | ||
| /** | ||
| * This will get priority. | ||
| * @summary Retrieve the priority | ||
| * @param {string} code | ||
| * @param {string} expand | ||
| * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken. | ||
| * @param {*} [options] Override http request option. | ||
| * @throws {RequiredError} | ||
| */ | ||
| getPriority: function (code, expand, authorization, 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.getPriority(code, expand, authorization, options)]; | ||
| case 1: | ||
| localVarAxiosArgs = _a.sent(); | ||
| return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)]; | ||
| } | ||
| }); | ||
| }); | ||
| }, | ||
| }; | ||
| }; | ||
| exports.PrioritiesApiFp = PrioritiesApiFp; | ||
| /** | ||
| * PrioritiesApi - factory interface | ||
| * @export | ||
| */ | ||
| var PrioritiesApiFactory = function (configuration, basePath, axios) { | ||
| var localVarFp = (0, exports.PrioritiesApiFp)(configuration); | ||
| return { | ||
| /** | ||
| * This will create priority. | ||
| * @summary Create the priority | ||
| * @param {CreatePriorityRequestDto} createPriorityRequestDto | ||
| * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken. | ||
| * @param {*} [options] Override http request option. | ||
| * @throws {RequiredError} | ||
| */ | ||
| createPriority: function (createPriorityRequestDto, authorization, options) { | ||
| return localVarFp.createPriority(createPriorityRequestDto, authorization, options).then(function (request) { return request(axios, basePath); }); | ||
| }, | ||
| /** | ||
| * This will get priority. | ||
| * @summary Retrieve the priority | ||
| * @param {string} code | ||
| * @param {string} expand | ||
| * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken. | ||
| * @param {*} [options] Override http request option. | ||
| * @throws {RequiredError} | ||
| */ | ||
| getPriority: function (code, expand, authorization, options) { | ||
| return localVarFp.getPriority(code, expand, authorization, options).then(function (request) { return request(axios, basePath); }); | ||
| }, | ||
| }; | ||
| }; | ||
| exports.PrioritiesApiFactory = PrioritiesApiFactory; | ||
| /** | ||
| * PrioritiesApi - object-oriented interface | ||
| * @export | ||
| * @class PrioritiesApi | ||
| * @extends {BaseAPI} | ||
| */ | ||
| var PrioritiesApi = /** @class */ (function (_super) { | ||
| __extends(PrioritiesApi, _super); | ||
| function PrioritiesApi() { | ||
| return _super !== null && _super.apply(this, arguments) || this; | ||
| } | ||
| /** | ||
| * This will create priority. | ||
| * @summary Create the priority | ||
| * @param {PrioritiesApiCreatePriorityRequest} requestParameters Request parameters. | ||
| * @param {*} [options] Override http request option. | ||
| * @throws {RequiredError} | ||
| * @memberof PrioritiesApi | ||
| */ | ||
| PrioritiesApi.prototype.createPriority = function (requestParameters, options) { | ||
| var _this = this; | ||
| return (0, exports.PrioritiesApiFp)(this.configuration).createPriority(requestParameters.createPriorityRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); }); | ||
| }; | ||
| /** | ||
| * This will get priority. | ||
| * @summary Retrieve the priority | ||
| * @param {PrioritiesApiGetPriorityRequest} requestParameters Request parameters. | ||
| * @param {*} [options] Override http request option. | ||
| * @throws {RequiredError} | ||
| * @memberof PrioritiesApi | ||
| */ | ||
| PrioritiesApi.prototype.getPriority = function (requestParameters, options) { | ||
| var _this = this; | ||
| return (0, exports.PrioritiesApiFp)(this.configuration).getPriority(requestParameters.code, requestParameters.expand, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); }); | ||
| }; | ||
| return PrioritiesApi; | ||
| }(base_1.BaseAPI)); | ||
| exports.PrioritiesApi = PrioritiesApi; |
| /** | ||
| * 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 CreatePriorityRequestDto | ||
| */ | ||
| export interface CreatePriorityRequestDto { | ||
| /** | ||
| * level | ||
| * @type {string} | ||
| * @memberof CreatePriorityRequestDto | ||
| */ | ||
| 'level': 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 { PriorityClass } from './priority-class'; | ||
| /** | ||
| * | ||
| * @export | ||
| * @interface CreatePriorityResponseClass | ||
| */ | ||
| export interface CreatePriorityResponseClass { | ||
| /** | ||
| * priority | ||
| * @type {PriorityClass} | ||
| * @memberof CreatePriorityResponseClass | ||
| */ | ||
| 'priority'?: PriorityClass; | ||
| } |
| "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 { PriorityClass } from './priority-class'; | ||
| /** | ||
| * | ||
| * @export | ||
| * @interface GetPriorityResponseClass | ||
| */ | ||
| export interface GetPriorityResponseClass { | ||
| /** | ||
| * priority | ||
| * @type {PriorityClass} | ||
| * @memberof GetPriorityResponseClass | ||
| */ | ||
| 'priority'?: PriorityClass; | ||
| } |
| "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 PriorityClass | ||
| */ | ||
| export interface PriorityClass { | ||
| /** | ||
| * id | ||
| * @type {number} | ||
| * @memberof PriorityClass | ||
| */ | ||
| 'id': number; | ||
| /** | ||
| * code | ||
| * @type {string} | ||
| * @memberof PriorityClass | ||
| */ | ||
| 'code': string; | ||
| /** | ||
| * level | ||
| * @type {string} | ||
| * @memberof PriorityClass | ||
| */ | ||
| 'level': string; | ||
| /** | ||
| * createdBy | ||
| * @type {string} | ||
| * @memberof PriorityClass | ||
| */ | ||
| 'createdBy': string; | ||
| /** | ||
| * updatedBy | ||
| * @type {string} | ||
| * @memberof PriorityClass | ||
| */ | ||
| 'updatedBy': string; | ||
| /** | ||
| * createdAt | ||
| * @type {string} | ||
| * @memberof PriorityClass | ||
| */ | ||
| 'createdAt'?: string; | ||
| /** | ||
| * updatedAt | ||
| * @type {string} | ||
| * @memberof PriorityClass | ||
| */ | ||
| 'updatedAt'?: 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 }); |
| /* 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 CreatePriorityRequestDto | ||
| */ | ||
| export interface CreatePriorityRequestDto { | ||
| /** | ||
| * level | ||
| * @type {string} | ||
| * @memberof CreatePriorityRequestDto | ||
| */ | ||
| 'level': 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 { PriorityClass } from './priority-class'; | ||
| /** | ||
| * | ||
| * @export | ||
| * @interface CreatePriorityResponseClass | ||
| */ | ||
| export interface CreatePriorityResponseClass { | ||
| /** | ||
| * priority | ||
| * @type {PriorityClass} | ||
| * @memberof CreatePriorityResponseClass | ||
| */ | ||
| 'priority'?: PriorityClass; | ||
| } | ||
| /* 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 { PriorityClass } from './priority-class'; | ||
| /** | ||
| * | ||
| * @export | ||
| * @interface GetPriorityResponseClass | ||
| */ | ||
| export interface GetPriorityResponseClass { | ||
| /** | ||
| * priority | ||
| * @type {PriorityClass} | ||
| * @memberof GetPriorityResponseClass | ||
| */ | ||
| 'priority'?: PriorityClass; | ||
| } | ||
| /* 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 PriorityClass | ||
| */ | ||
| export interface PriorityClass { | ||
| /** | ||
| * id | ||
| * @type {number} | ||
| * @memberof PriorityClass | ||
| */ | ||
| 'id': number; | ||
| /** | ||
| * code | ||
| * @type {string} | ||
| * @memberof PriorityClass | ||
| */ | ||
| 'code': string; | ||
| /** | ||
| * level | ||
| * @type {string} | ||
| * @memberof PriorityClass | ||
| */ | ||
| 'level': string; | ||
| /** | ||
| * createdBy | ||
| * @type {string} | ||
| * @memberof PriorityClass | ||
| */ | ||
| 'createdBy': string; | ||
| /** | ||
| * updatedBy | ||
| * @type {string} | ||
| * @memberof PriorityClass | ||
| */ | ||
| 'updatedBy': string; | ||
| /** | ||
| * createdAt | ||
| * @type {string} | ||
| * @memberof PriorityClass | ||
| */ | ||
| 'createdAt'?: string; | ||
| /** | ||
| * updatedAt | ||
| * @type {string} | ||
| * @memberof PriorityClass | ||
| */ | ||
| 'updatedAt'?: string; | ||
| } | ||
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
URL strings
Supply chain riskPackage contains fragments of external URLs or IP addresses, which the package may be accessing at runtime.
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
URL strings
Supply chain riskPackage contains fragments of external URLs or IP addresses, which the package may be accessing at runtime.
Found 1 instance in 1 package
472940
-4.98%124
-10.79%10388
-7.31%