@emilgroup/task-sdk-node 1.7.0 → 1.7.1-beta.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.openapi-generator/FILES +8 -0
- package/README.md +2 -2
- package/api/filters-api.ts +681 -0
- package/api/task-client-api.ts +8 -8
- package/api/tasks-api.ts +8 -8
- package/api.ts +2 -0
- package/dist/api/filters-api.d.ts +384 -0
- package/dist/api/filters-api.js +640 -0
- package/dist/api/task-client-api.d.ts +8 -8
- package/dist/api/task-client-api.js +6 -6
- package/dist/api/tasks-api.d.ts +8 -8
- package/dist/api/tasks-api.js +6 -6
- package/dist/api.d.ts +1 -0
- package/dist/api.js +1 -0
- package/dist/models/create-filter-request-dto.d.ts +66 -0
- package/dist/models/create-filter-request-dto.js +15 -0
- package/dist/models/create-filter-response-class.d.ts +25 -0
- package/dist/models/create-filter-response-class.js +15 -0
- package/dist/models/filter-class.d.ts +102 -0
- package/dist/models/filter-class.js +15 -0
- package/dist/models/get-filter-response-class.d.ts +25 -0
- package/dist/models/get-filter-response-class.js +15 -0
- package/dist/models/index.d.ts +7 -0
- package/dist/models/index.js +7 -0
- package/dist/models/list-filters-response-class.d.ts +43 -0
- package/dist/models/list-filters-response-class.js +15 -0
- package/dist/models/task-class.d.ts +6 -0
- package/dist/models/update-filter-request-dto.d.ts +60 -0
- package/dist/models/update-filter-request-dto.js +15 -0
- package/dist/models/update-filter-response-class.d.ts +25 -0
- package/dist/models/update-filter-response-class.js +15 -0
- package/models/create-filter-request-dto.ts +72 -0
- package/models/create-filter-response-class.ts +31 -0
- package/models/filter-class.ts +108 -0
- package/models/get-filter-response-class.ts +31 -0
- package/models/index.ts +7 -0
- package/models/list-filters-response-class.ts +49 -0
- package/models/task-class.ts +6 -0
- package/models/update-filter-request-dto.ts +66 -0
- package/models/update-filter-response-class.ts +31 -0
- package/package.json +1 -1
package/api/task-client-api.ts
CHANGED
|
@@ -739,11 +739,11 @@ export const TaskClientApiAxiosParamCreator = function (configuration?: Configur
|
|
|
739
739
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
740
740
|
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
741
741
|
* @param {string} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
|
|
742
|
-
* @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, statusId, priority, assignee, reporter, entityType, entityCode, entityNumber, dueDate, createdAt, updatedAt, status.slug, categories.slug</i>
|
|
742
|
+
* @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, statusId, priority, assignee, reporter, entityType, entityCode, entityNumber, userGroupCode, dueDate, createdAt, updatedAt, status.slug, categories.slug</i>
|
|
743
743
|
* @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: subject, description</i>
|
|
744
744
|
* @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, entityType, entityCode, status, priority</i>
|
|
745
745
|
* @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: categories, status<i>
|
|
746
|
-
* @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, statusId, priority, assignee, reporter, entityType, entityCode, entityNumber, dueDate, createdAt, updatedAt, status.slug, categories.slug</i>
|
|
746
|
+
* @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, statusId, priority, assignee, reporter, entityType, entityCode, entityNumber, userGroupCode, dueDate, createdAt, updatedAt, status.slug, categories.slug</i>
|
|
747
747
|
* @param {*} [options] Override http request option.
|
|
748
748
|
* @throws {RequiredError}
|
|
749
749
|
*/
|
|
@@ -1147,11 +1147,11 @@ export const TaskClientApiFp = function(configuration?: Configuration) {
|
|
|
1147
1147
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
1148
1148
|
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
1149
1149
|
* @param {string} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
|
|
1150
|
-
* @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, statusId, priority, assignee, reporter, entityType, entityCode, entityNumber, dueDate, createdAt, updatedAt, status.slug, categories.slug</i>
|
|
1150
|
+
* @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, statusId, priority, assignee, reporter, entityType, entityCode, entityNumber, userGroupCode, dueDate, createdAt, updatedAt, status.slug, categories.slug</i>
|
|
1151
1151
|
* @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: subject, description</i>
|
|
1152
1152
|
* @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, entityType, entityCode, status, priority</i>
|
|
1153
1153
|
* @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: categories, status<i>
|
|
1154
|
-
* @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, statusId, priority, assignee, reporter, entityType, entityCode, entityNumber, dueDate, createdAt, updatedAt, status.slug, categories.slug</i>
|
|
1154
|
+
* @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, statusId, priority, assignee, reporter, entityType, entityCode, entityNumber, userGroupCode, dueDate, createdAt, updatedAt, status.slug, categories.slug</i>
|
|
1155
1155
|
* @param {*} [options] Override http request option.
|
|
1156
1156
|
* @throws {RequiredError}
|
|
1157
1157
|
*/
|
|
@@ -1370,11 +1370,11 @@ export const TaskClientApiFactory = function (configuration?: Configuration, bas
|
|
|
1370
1370
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
1371
1371
|
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
1372
1372
|
* @param {string} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
|
|
1373
|
-
* @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, statusId, priority, assignee, reporter, entityType, entityCode, entityNumber, dueDate, createdAt, updatedAt, status.slug, categories.slug</i>
|
|
1373
|
+
* @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, statusId, priority, assignee, reporter, entityType, entityCode, entityNumber, userGroupCode, dueDate, createdAt, updatedAt, status.slug, categories.slug</i>
|
|
1374
1374
|
* @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: subject, description</i>
|
|
1375
1375
|
* @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, entityType, entityCode, status, priority</i>
|
|
1376
1376
|
* @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: categories, status<i>
|
|
1377
|
-
* @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, statusId, priority, assignee, reporter, entityType, entityCode, entityNumber, dueDate, createdAt, updatedAt, status.slug, categories.slug</i>
|
|
1377
|
+
* @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, statusId, priority, assignee, reporter, entityType, entityCode, entityNumber, userGroupCode, dueDate, createdAt, updatedAt, status.slug, categories.slug</i>
|
|
1378
1378
|
* @param {*} [options] Override http request option.
|
|
1379
1379
|
* @throws {RequiredError}
|
|
1380
1380
|
*/
|
|
@@ -1812,7 +1812,7 @@ export interface TaskClientApiListTasksRequest {
|
|
|
1812
1812
|
readonly pageToken?: string
|
|
1813
1813
|
|
|
1814
1814
|
/**
|
|
1815
|
-
* 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, statusId, priority, assignee, reporter, entityType, entityCode, entityNumber, dueDate, createdAt, updatedAt, status.slug, categories.slug</i>
|
|
1815
|
+
* 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, statusId, priority, assignee, reporter, entityType, entityCode, entityNumber, userGroupCode, dueDate, createdAt, updatedAt, status.slug, categories.slug</i>
|
|
1816
1816
|
* @type {string}
|
|
1817
1817
|
* @memberof TaskClientApiListTasks
|
|
1818
1818
|
*/
|
|
@@ -1840,7 +1840,7 @@ export interface TaskClientApiListTasksRequest {
|
|
|
1840
1840
|
readonly expand?: string
|
|
1841
1841
|
|
|
1842
1842
|
/**
|
|
1843
|
-
* 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, statusId, priority, assignee, reporter, entityType, entityCode, entityNumber, dueDate, createdAt, updatedAt, status.slug, categories.slug</i>
|
|
1843
|
+
* 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, statusId, priority, assignee, reporter, entityType, entityCode, entityNumber, userGroupCode, dueDate, createdAt, updatedAt, status.slug, categories.slug</i>
|
|
1844
1844
|
* @type {string}
|
|
1845
1845
|
* @memberof TaskClientApiListTasks
|
|
1846
1846
|
*/
|
package/api/tasks-api.ts
CHANGED
|
@@ -190,11 +190,11 @@ export const TasksApiAxiosParamCreator = function (configuration?: Configuration
|
|
|
190
190
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
191
191
|
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
192
192
|
* @param {string} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
|
|
193
|
-
* @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, statusId, priority, assignee, reporter, entityType, entityCode, entityNumber, dueDate, createdAt, updatedAt, status.slug, categories.slug</i>
|
|
193
|
+
* @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, statusId, priority, assignee, reporter, entityType, entityCode, entityNumber, userGroupCode, dueDate, createdAt, updatedAt, status.slug, categories.slug</i>
|
|
194
194
|
* @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: subject, description</i>
|
|
195
195
|
* @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, entityType, entityCode, status, priority</i>
|
|
196
196
|
* @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: categories, status<i>
|
|
197
|
-
* @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, statusId, priority, assignee, reporter, entityType, entityCode, entityNumber, dueDate, createdAt, updatedAt, status.slug, categories.slug</i>
|
|
197
|
+
* @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, statusId, priority, assignee, reporter, entityType, entityCode, entityNumber, userGroupCode, dueDate, createdAt, updatedAt, status.slug, categories.slug</i>
|
|
198
198
|
* @param {*} [options] Override http request option.
|
|
199
199
|
* @throws {RequiredError}
|
|
200
200
|
*/
|
|
@@ -364,11 +364,11 @@ export const TasksApiFp = function(configuration?: Configuration) {
|
|
|
364
364
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
365
365
|
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
366
366
|
* @param {string} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
|
|
367
|
-
* @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, statusId, priority, assignee, reporter, entityType, entityCode, entityNumber, dueDate, createdAt, updatedAt, status.slug, categories.slug</i>
|
|
367
|
+
* @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, statusId, priority, assignee, reporter, entityType, entityCode, entityNumber, userGroupCode, dueDate, createdAt, updatedAt, status.slug, categories.slug</i>
|
|
368
368
|
* @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: subject, description</i>
|
|
369
369
|
* @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, entityType, entityCode, status, priority</i>
|
|
370
370
|
* @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: categories, status<i>
|
|
371
|
-
* @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, statusId, priority, assignee, reporter, entityType, entityCode, entityNumber, dueDate, createdAt, updatedAt, status.slug, categories.slug</i>
|
|
371
|
+
* @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, statusId, priority, assignee, reporter, entityType, entityCode, entityNumber, userGroupCode, dueDate, createdAt, updatedAt, status.slug, categories.slug</i>
|
|
372
372
|
* @param {*} [options] Override http request option.
|
|
373
373
|
* @throws {RequiredError}
|
|
374
374
|
*/
|
|
@@ -439,11 +439,11 @@ export const TasksApiFactory = function (configuration?: Configuration, basePath
|
|
|
439
439
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
440
440
|
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
441
441
|
* @param {string} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
|
|
442
|
-
* @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, statusId, priority, assignee, reporter, entityType, entityCode, entityNumber, dueDate, createdAt, updatedAt, status.slug, categories.slug</i>
|
|
442
|
+
* @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, statusId, priority, assignee, reporter, entityType, entityCode, entityNumber, userGroupCode, dueDate, createdAt, updatedAt, status.slug, categories.slug</i>
|
|
443
443
|
* @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: subject, description</i>
|
|
444
444
|
* @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, entityType, entityCode, status, priority</i>
|
|
445
445
|
* @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: categories, status<i>
|
|
446
|
-
* @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, statusId, priority, assignee, reporter, entityType, entityCode, entityNumber, dueDate, createdAt, updatedAt, status.slug, categories.slug</i>
|
|
446
|
+
* @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, statusId, priority, assignee, reporter, entityType, entityCode, entityNumber, userGroupCode, dueDate, createdAt, updatedAt, status.slug, categories.slug</i>
|
|
447
447
|
* @param {*} [options] Override http request option.
|
|
448
448
|
* @throws {RequiredError}
|
|
449
449
|
*/
|
|
@@ -563,7 +563,7 @@ export interface TasksApiListTasksRequest {
|
|
|
563
563
|
readonly pageToken?: string
|
|
564
564
|
|
|
565
565
|
/**
|
|
566
|
-
* 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, statusId, priority, assignee, reporter, entityType, entityCode, entityNumber, dueDate, createdAt, updatedAt, status.slug, categories.slug</i>
|
|
566
|
+
* 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, statusId, priority, assignee, reporter, entityType, entityCode, entityNumber, userGroupCode, dueDate, createdAt, updatedAt, status.slug, categories.slug</i>
|
|
567
567
|
* @type {string}
|
|
568
568
|
* @memberof TasksApiListTasks
|
|
569
569
|
*/
|
|
@@ -591,7 +591,7 @@ export interface TasksApiListTasksRequest {
|
|
|
591
591
|
readonly expand?: string
|
|
592
592
|
|
|
593
593
|
/**
|
|
594
|
-
* 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, statusId, priority, assignee, reporter, entityType, entityCode, entityNumber, dueDate, createdAt, updatedAt, status.slug, categories.slug</i>
|
|
594
|
+
* 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, statusId, priority, assignee, reporter, entityType, entityCode, entityNumber, userGroupCode, dueDate, createdAt, updatedAt, status.slug, categories.slug</i>
|
|
595
595
|
* @type {string}
|
|
596
596
|
* @memberof TasksApiListTasks
|
|
597
597
|
*/
|
package/api.ts
CHANGED
|
@@ -26,6 +26,7 @@ import { DUMMY_BASE_URL, assertParamExists, setApiKeyToObject, setBasicAuthToObj
|
|
|
26
26
|
import { BASE_PATH, COLLECTION_FORMATS, RequestArgs, BaseAPI, RequiredError } from './base';
|
|
27
27
|
import { AssigneesApi } from './api';
|
|
28
28
|
import { CategoriesApi } from './api';
|
|
29
|
+
import { FiltersApi } from './api';
|
|
29
30
|
import { HealthApi } from './api';
|
|
30
31
|
import { HubSpotApi } from './api';
|
|
31
32
|
import { RemindersApi } from './api';
|
|
@@ -36,6 +37,7 @@ import { TasksApi } from './api';
|
|
|
36
37
|
|
|
37
38
|
export * from './api/assignees-api';
|
|
38
39
|
export * from './api/categories-api';
|
|
40
|
+
export * from './api/filters-api';
|
|
39
41
|
export * from './api/health-api';
|
|
40
42
|
export * from './api/hub-spot-api';
|
|
41
43
|
export * from './api/reminders-api';
|
|
@@ -0,0 +1,384 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* EMIL TaskService
|
|
3
|
+
* The EMIL Task API description
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0
|
|
6
|
+
* Contact: kontakt@emil.de
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import { AxiosPromise, AxiosInstance, AxiosRequestConfig } from 'axios';
|
|
13
|
+
import { Configuration } from '../configuration';
|
|
14
|
+
import { RequestArgs, BaseAPI } from '../base';
|
|
15
|
+
import { CreateFilterRequestDto } from '../models';
|
|
16
|
+
import { CreateFilterResponseClass } from '../models';
|
|
17
|
+
import { GetFilterResponseClass } from '../models';
|
|
18
|
+
import { ListFiltersResponseClass } from '../models';
|
|
19
|
+
import { UpdateFilterRequestDto } from '../models';
|
|
20
|
+
import { UpdateFilterResponseClass } from '../models';
|
|
21
|
+
/**
|
|
22
|
+
* FiltersApi - axios parameter creator
|
|
23
|
+
* @export
|
|
24
|
+
*/
|
|
25
|
+
export declare const FiltersApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
26
|
+
/**
|
|
27
|
+
* Create a routing filter targeting a user-group. **Required Permissions** \"task-management.task-filters.create\"
|
|
28
|
+
* @summary Create the filter
|
|
29
|
+
* @param {CreateFilterRequestDto} createFilterRequestDto
|
|
30
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
31
|
+
* @param {*} [options] Override http request option.
|
|
32
|
+
* @throws {RequiredError}
|
|
33
|
+
*/
|
|
34
|
+
createFilter: (createFilterRequestDto: CreateFilterRequestDto, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
35
|
+
/**
|
|
36
|
+
* Delete a filter by its code. **Required Permissions** \"task-management.task-filters.delete\"
|
|
37
|
+
* @summary Delete the filter
|
|
38
|
+
* @param {string} code Unique identifier for the object.
|
|
39
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
40
|
+
* @param {*} [options] Override http request option.
|
|
41
|
+
* @throws {RequiredError}
|
|
42
|
+
*/
|
|
43
|
+
deleteFilter: (code: string, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
44
|
+
/**
|
|
45
|
+
* Fetch a filter by its code. **Required Permissions** \"task-management.task-filters.view\"
|
|
46
|
+
* @summary Retrieve the filter
|
|
47
|
+
* @param {string} code Unique identifier for the object.
|
|
48
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
49
|
+
* @param {*} [options] Override http request option.
|
|
50
|
+
* @throws {RequiredError}
|
|
51
|
+
*/
|
|
52
|
+
getFilter: (code: string, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
53
|
+
/**
|
|
54
|
+
* Returns a list of filters you have previously created. The filters are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"task-management.task-filters.view\"
|
|
55
|
+
* @summary List filters
|
|
56
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
57
|
+
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
58
|
+
* @param {string} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
|
|
59
|
+
* @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
|
60
|
+
* @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
61
|
+
* @param {string} [order] The order parameter determines how the results should be sorted according to a specified field. It functions similarly to an SQL ORDER BY. Sorting can be performed in either ascending (ASC) or descending (DESC) order. Default: ASC.
|
|
62
|
+
* @param {string} [expand] Use this parameter to fetch additional information about the list items. The expand query parameter increases the set of fields that appear in the response in addition to the default ones. Expanding resources can reduce the number of API calls required to accomplish a task. However, use this with parsimony as some expanded fields can drastically increase payload size.
|
|
63
|
+
* @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations. In general, fetching filtered responses conserves bandwidth and reduces response time.
|
|
64
|
+
* @param {*} [options] Override http request option.
|
|
65
|
+
* @throws {RequiredError}
|
|
66
|
+
*/
|
|
67
|
+
listFilters: (authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
68
|
+
/**
|
|
69
|
+
* Update a filter (slug, name, description, expression, target group, priority, is_active, is_fallback). **Required Permissions** \"task-management.task-filters.update\"
|
|
70
|
+
* @summary Update the filter
|
|
71
|
+
* @param {string} code Unique identifier for the object.
|
|
72
|
+
* @param {UpdateFilterRequestDto} updateFilterRequestDto
|
|
73
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
74
|
+
* @param {*} [options] Override http request option.
|
|
75
|
+
* @throws {RequiredError}
|
|
76
|
+
*/
|
|
77
|
+
updateFilter: (code: string, updateFilterRequestDto: UpdateFilterRequestDto, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
78
|
+
};
|
|
79
|
+
/**
|
|
80
|
+
* FiltersApi - functional programming interface
|
|
81
|
+
* @export
|
|
82
|
+
*/
|
|
83
|
+
export declare const FiltersApiFp: (configuration?: Configuration) => {
|
|
84
|
+
/**
|
|
85
|
+
* Create a routing filter targeting a user-group. **Required Permissions** \"task-management.task-filters.create\"
|
|
86
|
+
* @summary Create the filter
|
|
87
|
+
* @param {CreateFilterRequestDto} createFilterRequestDto
|
|
88
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
89
|
+
* @param {*} [options] Override http request option.
|
|
90
|
+
* @throws {RequiredError}
|
|
91
|
+
*/
|
|
92
|
+
createFilter(createFilterRequestDto: CreateFilterRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateFilterResponseClass>>;
|
|
93
|
+
/**
|
|
94
|
+
* Delete a filter by its code. **Required Permissions** \"task-management.task-filters.delete\"
|
|
95
|
+
* @summary Delete the filter
|
|
96
|
+
* @param {string} code Unique identifier for the object.
|
|
97
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
98
|
+
* @param {*} [options] Override http request option.
|
|
99
|
+
* @throws {RequiredError}
|
|
100
|
+
*/
|
|
101
|
+
deleteFilter(code: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
102
|
+
/**
|
|
103
|
+
* Fetch a filter by its code. **Required Permissions** \"task-management.task-filters.view\"
|
|
104
|
+
* @summary Retrieve the filter
|
|
105
|
+
* @param {string} code Unique identifier for the object.
|
|
106
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
107
|
+
* @param {*} [options] Override http request option.
|
|
108
|
+
* @throws {RequiredError}
|
|
109
|
+
*/
|
|
110
|
+
getFilter(code: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetFilterResponseClass>>;
|
|
111
|
+
/**
|
|
112
|
+
* Returns a list of filters you have previously created. The filters are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"task-management.task-filters.view\"
|
|
113
|
+
* @summary List filters
|
|
114
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
115
|
+
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
116
|
+
* @param {string} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
|
|
117
|
+
* @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
|
118
|
+
* @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
119
|
+
* @param {string} [order] The order parameter determines how the results should be sorted according to a specified field. It functions similarly to an SQL ORDER BY. Sorting can be performed in either ascending (ASC) or descending (DESC) order. Default: ASC.
|
|
120
|
+
* @param {string} [expand] Use this parameter to fetch additional information about the list items. The expand query parameter increases the set of fields that appear in the response in addition to the default ones. Expanding resources can reduce the number of API calls required to accomplish a task. However, use this with parsimony as some expanded fields can drastically increase payload size.
|
|
121
|
+
* @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations. In general, fetching filtered responses conserves bandwidth and reduces response time.
|
|
122
|
+
* @param {*} [options] Override http request option.
|
|
123
|
+
* @throws {RequiredError}
|
|
124
|
+
*/
|
|
125
|
+
listFilters(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListFiltersResponseClass>>;
|
|
126
|
+
/**
|
|
127
|
+
* Update a filter (slug, name, description, expression, target group, priority, is_active, is_fallback). **Required Permissions** \"task-management.task-filters.update\"
|
|
128
|
+
* @summary Update the filter
|
|
129
|
+
* @param {string} code Unique identifier for the object.
|
|
130
|
+
* @param {UpdateFilterRequestDto} updateFilterRequestDto
|
|
131
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
132
|
+
* @param {*} [options] Override http request option.
|
|
133
|
+
* @throws {RequiredError}
|
|
134
|
+
*/
|
|
135
|
+
updateFilter(code: string, updateFilterRequestDto: UpdateFilterRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UpdateFilterResponseClass>>;
|
|
136
|
+
};
|
|
137
|
+
/**
|
|
138
|
+
* FiltersApi - factory interface
|
|
139
|
+
* @export
|
|
140
|
+
*/
|
|
141
|
+
export declare const FiltersApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
142
|
+
/**
|
|
143
|
+
* Create a routing filter targeting a user-group. **Required Permissions** \"task-management.task-filters.create\"
|
|
144
|
+
* @summary Create the filter
|
|
145
|
+
* @param {CreateFilterRequestDto} createFilterRequestDto
|
|
146
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
147
|
+
* @param {*} [options] Override http request option.
|
|
148
|
+
* @throws {RequiredError}
|
|
149
|
+
*/
|
|
150
|
+
createFilter(createFilterRequestDto: CreateFilterRequestDto, authorization?: string, options?: any): AxiosPromise<CreateFilterResponseClass>;
|
|
151
|
+
/**
|
|
152
|
+
* Delete a filter by its code. **Required Permissions** \"task-management.task-filters.delete\"
|
|
153
|
+
* @summary Delete the filter
|
|
154
|
+
* @param {string} code Unique identifier for the object.
|
|
155
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
156
|
+
* @param {*} [options] Override http request option.
|
|
157
|
+
* @throws {RequiredError}
|
|
158
|
+
*/
|
|
159
|
+
deleteFilter(code: string, authorization?: string, options?: any): AxiosPromise<void>;
|
|
160
|
+
/**
|
|
161
|
+
* Fetch a filter by its code. **Required Permissions** \"task-management.task-filters.view\"
|
|
162
|
+
* @summary Retrieve the filter
|
|
163
|
+
* @param {string} code Unique identifier for the object.
|
|
164
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
165
|
+
* @param {*} [options] Override http request option.
|
|
166
|
+
* @throws {RequiredError}
|
|
167
|
+
*/
|
|
168
|
+
getFilter(code: string, authorization?: string, options?: any): AxiosPromise<GetFilterResponseClass>;
|
|
169
|
+
/**
|
|
170
|
+
* Returns a list of filters you have previously created. The filters are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"task-management.task-filters.view\"
|
|
171
|
+
* @summary List filters
|
|
172
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
173
|
+
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
174
|
+
* @param {string} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
|
|
175
|
+
* @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
|
176
|
+
* @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
177
|
+
* @param {string} [order] The order parameter determines how the results should be sorted according to a specified field. It functions similarly to an SQL ORDER BY. Sorting can be performed in either ascending (ASC) or descending (DESC) order. Default: ASC.
|
|
178
|
+
* @param {string} [expand] Use this parameter to fetch additional information about the list items. The expand query parameter increases the set of fields that appear in the response in addition to the default ones. Expanding resources can reduce the number of API calls required to accomplish a task. However, use this with parsimony as some expanded fields can drastically increase payload size.
|
|
179
|
+
* @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations. In general, fetching filtered responses conserves bandwidth and reduces response time.
|
|
180
|
+
* @param {*} [options] Override http request option.
|
|
181
|
+
* @throws {RequiredError}
|
|
182
|
+
*/
|
|
183
|
+
listFilters(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<ListFiltersResponseClass>;
|
|
184
|
+
/**
|
|
185
|
+
* Update a filter (slug, name, description, expression, target group, priority, is_active, is_fallback). **Required Permissions** \"task-management.task-filters.update\"
|
|
186
|
+
* @summary Update the filter
|
|
187
|
+
* @param {string} code Unique identifier for the object.
|
|
188
|
+
* @param {UpdateFilterRequestDto} updateFilterRequestDto
|
|
189
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
190
|
+
* @param {*} [options] Override http request option.
|
|
191
|
+
* @throws {RequiredError}
|
|
192
|
+
*/
|
|
193
|
+
updateFilter(code: string, updateFilterRequestDto: UpdateFilterRequestDto, authorization?: string, options?: any): AxiosPromise<UpdateFilterResponseClass>;
|
|
194
|
+
};
|
|
195
|
+
/**
|
|
196
|
+
* Request parameters for createFilter operation in FiltersApi.
|
|
197
|
+
* @export
|
|
198
|
+
* @interface FiltersApiCreateFilterRequest
|
|
199
|
+
*/
|
|
200
|
+
export interface FiltersApiCreateFilterRequest {
|
|
201
|
+
/**
|
|
202
|
+
*
|
|
203
|
+
* @type {CreateFilterRequestDto}
|
|
204
|
+
* @memberof FiltersApiCreateFilter
|
|
205
|
+
*/
|
|
206
|
+
readonly createFilterRequestDto: CreateFilterRequestDto;
|
|
207
|
+
/**
|
|
208
|
+
* Bearer Token: provided by the login endpoint under the name accessToken.
|
|
209
|
+
* @type {string}
|
|
210
|
+
* @memberof FiltersApiCreateFilter
|
|
211
|
+
*/
|
|
212
|
+
readonly authorization?: string;
|
|
213
|
+
}
|
|
214
|
+
/**
|
|
215
|
+
* Request parameters for deleteFilter operation in FiltersApi.
|
|
216
|
+
* @export
|
|
217
|
+
* @interface FiltersApiDeleteFilterRequest
|
|
218
|
+
*/
|
|
219
|
+
export interface FiltersApiDeleteFilterRequest {
|
|
220
|
+
/**
|
|
221
|
+
* Unique identifier for the object.
|
|
222
|
+
* @type {string}
|
|
223
|
+
* @memberof FiltersApiDeleteFilter
|
|
224
|
+
*/
|
|
225
|
+
readonly code: string;
|
|
226
|
+
/**
|
|
227
|
+
* Bearer Token: provided by the login endpoint under the name accessToken.
|
|
228
|
+
* @type {string}
|
|
229
|
+
* @memberof FiltersApiDeleteFilter
|
|
230
|
+
*/
|
|
231
|
+
readonly authorization?: string;
|
|
232
|
+
}
|
|
233
|
+
/**
|
|
234
|
+
* Request parameters for getFilter operation in FiltersApi.
|
|
235
|
+
* @export
|
|
236
|
+
* @interface FiltersApiGetFilterRequest
|
|
237
|
+
*/
|
|
238
|
+
export interface FiltersApiGetFilterRequest {
|
|
239
|
+
/**
|
|
240
|
+
* Unique identifier for the object.
|
|
241
|
+
* @type {string}
|
|
242
|
+
* @memberof FiltersApiGetFilter
|
|
243
|
+
*/
|
|
244
|
+
readonly code: string;
|
|
245
|
+
/**
|
|
246
|
+
* Bearer Token: provided by the login endpoint under the name accessToken.
|
|
247
|
+
* @type {string}
|
|
248
|
+
* @memberof FiltersApiGetFilter
|
|
249
|
+
*/
|
|
250
|
+
readonly authorization?: string;
|
|
251
|
+
}
|
|
252
|
+
/**
|
|
253
|
+
* Request parameters for listFilters operation in FiltersApi.
|
|
254
|
+
* @export
|
|
255
|
+
* @interface FiltersApiListFiltersRequest
|
|
256
|
+
*/
|
|
257
|
+
export interface FiltersApiListFiltersRequest {
|
|
258
|
+
/**
|
|
259
|
+
* Bearer Token: provided by the login endpoint under the name accessToken.
|
|
260
|
+
* @type {string}
|
|
261
|
+
* @memberof FiltersApiListFilters
|
|
262
|
+
*/
|
|
263
|
+
readonly authorization?: string;
|
|
264
|
+
/**
|
|
265
|
+
* A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
266
|
+
* @type {number}
|
|
267
|
+
* @memberof FiltersApiListFilters
|
|
268
|
+
*/
|
|
269
|
+
readonly pageSize?: number;
|
|
270
|
+
/**
|
|
271
|
+
* A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
|
|
272
|
+
* @type {string}
|
|
273
|
+
* @memberof FiltersApiListFilters
|
|
274
|
+
*/
|
|
275
|
+
readonly pageToken?: string;
|
|
276
|
+
/**
|
|
277
|
+
* Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
|
278
|
+
* @type {string}
|
|
279
|
+
* @memberof FiltersApiListFilters
|
|
280
|
+
*/
|
|
281
|
+
readonly filter?: string;
|
|
282
|
+
/**
|
|
283
|
+
* To search the list by any field, pass search=xxx to fetch the result.
|
|
284
|
+
* @type {string}
|
|
285
|
+
* @memberof FiltersApiListFilters
|
|
286
|
+
*/
|
|
287
|
+
readonly search?: string;
|
|
288
|
+
/**
|
|
289
|
+
* The order parameter determines how the results should be sorted according to a specified field. It functions similarly to an SQL ORDER BY. Sorting can be performed in either ascending (ASC) or descending (DESC) order. Default: ASC.
|
|
290
|
+
* @type {string}
|
|
291
|
+
* @memberof FiltersApiListFilters
|
|
292
|
+
*/
|
|
293
|
+
readonly order?: string;
|
|
294
|
+
/**
|
|
295
|
+
* Use this parameter to fetch additional information about the list items. The expand query parameter increases the set of fields that appear in the response in addition to the default ones. Expanding resources can reduce the number of API calls required to accomplish a task. However, use this with parsimony as some expanded fields can drastically increase payload size.
|
|
296
|
+
* @type {string}
|
|
297
|
+
* @memberof FiltersApiListFilters
|
|
298
|
+
*/
|
|
299
|
+
readonly expand?: string;
|
|
300
|
+
/**
|
|
301
|
+
* Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations. In general, fetching filtered responses conserves bandwidth and reduces response time.
|
|
302
|
+
* @type {string}
|
|
303
|
+
* @memberof FiltersApiListFilters
|
|
304
|
+
*/
|
|
305
|
+
readonly filters?: string;
|
|
306
|
+
}
|
|
307
|
+
/**
|
|
308
|
+
* Request parameters for updateFilter operation in FiltersApi.
|
|
309
|
+
* @export
|
|
310
|
+
* @interface FiltersApiUpdateFilterRequest
|
|
311
|
+
*/
|
|
312
|
+
export interface FiltersApiUpdateFilterRequest {
|
|
313
|
+
/**
|
|
314
|
+
* Unique identifier for the object.
|
|
315
|
+
* @type {string}
|
|
316
|
+
* @memberof FiltersApiUpdateFilter
|
|
317
|
+
*/
|
|
318
|
+
readonly code: string;
|
|
319
|
+
/**
|
|
320
|
+
*
|
|
321
|
+
* @type {UpdateFilterRequestDto}
|
|
322
|
+
* @memberof FiltersApiUpdateFilter
|
|
323
|
+
*/
|
|
324
|
+
readonly updateFilterRequestDto: UpdateFilterRequestDto;
|
|
325
|
+
/**
|
|
326
|
+
* Bearer Token: provided by the login endpoint under the name accessToken.
|
|
327
|
+
* @type {string}
|
|
328
|
+
* @memberof FiltersApiUpdateFilter
|
|
329
|
+
*/
|
|
330
|
+
readonly authorization?: string;
|
|
331
|
+
}
|
|
332
|
+
/**
|
|
333
|
+
* FiltersApi - object-oriented interface
|
|
334
|
+
* @export
|
|
335
|
+
* @class FiltersApi
|
|
336
|
+
* @extends {BaseAPI}
|
|
337
|
+
*/
|
|
338
|
+
export declare class FiltersApi extends BaseAPI {
|
|
339
|
+
/**
|
|
340
|
+
* Create a routing filter targeting a user-group. **Required Permissions** \"task-management.task-filters.create\"
|
|
341
|
+
* @summary Create the filter
|
|
342
|
+
* @param {FiltersApiCreateFilterRequest} requestParameters Request parameters.
|
|
343
|
+
* @param {*} [options] Override http request option.
|
|
344
|
+
* @throws {RequiredError}
|
|
345
|
+
* @memberof FiltersApi
|
|
346
|
+
*/
|
|
347
|
+
createFilter(requestParameters: FiltersApiCreateFilterRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CreateFilterResponseClass, any, {}>>;
|
|
348
|
+
/**
|
|
349
|
+
* Delete a filter by its code. **Required Permissions** \"task-management.task-filters.delete\"
|
|
350
|
+
* @summary Delete the filter
|
|
351
|
+
* @param {FiltersApiDeleteFilterRequest} requestParameters Request parameters.
|
|
352
|
+
* @param {*} [options] Override http request option.
|
|
353
|
+
* @throws {RequiredError}
|
|
354
|
+
* @memberof FiltersApi
|
|
355
|
+
*/
|
|
356
|
+
deleteFilter(requestParameters: FiltersApiDeleteFilterRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
357
|
+
/**
|
|
358
|
+
* Fetch a filter by its code. **Required Permissions** \"task-management.task-filters.view\"
|
|
359
|
+
* @summary Retrieve the filter
|
|
360
|
+
* @param {FiltersApiGetFilterRequest} requestParameters Request parameters.
|
|
361
|
+
* @param {*} [options] Override http request option.
|
|
362
|
+
* @throws {RequiredError}
|
|
363
|
+
* @memberof FiltersApi
|
|
364
|
+
*/
|
|
365
|
+
getFilter(requestParameters: FiltersApiGetFilterRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetFilterResponseClass, any, {}>>;
|
|
366
|
+
/**
|
|
367
|
+
* Returns a list of filters you have previously created. The filters are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"task-management.task-filters.view\"
|
|
368
|
+
* @summary List filters
|
|
369
|
+
* @param {FiltersApiListFiltersRequest} requestParameters Request parameters.
|
|
370
|
+
* @param {*} [options] Override http request option.
|
|
371
|
+
* @throws {RequiredError}
|
|
372
|
+
* @memberof FiltersApi
|
|
373
|
+
*/
|
|
374
|
+
listFilters(requestParameters?: FiltersApiListFiltersRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListFiltersResponseClass, any, {}>>;
|
|
375
|
+
/**
|
|
376
|
+
* Update a filter (slug, name, description, expression, target group, priority, is_active, is_fallback). **Required Permissions** \"task-management.task-filters.update\"
|
|
377
|
+
* @summary Update the filter
|
|
378
|
+
* @param {FiltersApiUpdateFilterRequest} requestParameters Request parameters.
|
|
379
|
+
* @param {*} [options] Override http request option.
|
|
380
|
+
* @throws {RequiredError}
|
|
381
|
+
* @memberof FiltersApi
|
|
382
|
+
*/
|
|
383
|
+
updateFilter(requestParameters: FiltersApiUpdateFilterRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<UpdateFilterResponseClass, any, {}>>;
|
|
384
|
+
}
|