bx-rest
Version:
Bitrix24 REST API client angular, vue or typescript
19 lines (18 loc) • 1.37 kB
TypeScript
import { iBXRestTaskGetAccess } from '../../typification/rest/task/access/getaccess';
import { iBXRestTasksTaskList, iBXRestTasksTaskListHttp } from '../../typification/rest/tasks/task/list';
import { iBXRestTasksTaskGetHttp, iBXRestTasksTaskGetHttpDefault } from '../../typification/rest/tasks/task/get';
import { BXRestMapTasksTaskResult } from './task/result';
import { iBXRestHttpTask, iBXRestTask } from '../../typification/rest/tasks/task';
import { iBXRestTaskFieldsName } from '../../typification/rest/tasks/base/fields-name';
export declare class BXRestMapTasksTask {
readonly result: typeof BXRestMapTasksTaskResult;
static getAccess(v: iBXRestTaskGetAccess | undefined): {
[key: number]: import("../../typification/rest/task/access/getaccess").iBXRestTaskGetAccessItem;
} | undefined;
static add(item: {
task: iBXRestTasksTaskGetHttpDefault;
} | undefined): iBXRestTask | undefined;
static get<S extends iBXRestTaskFieldsName[], CustomFields>(item: iBXRestTasksTaskGetHttp<S, CustomFields> | undefined): unknown;
static list<S extends iBXRestTaskFieldsName[], CustomFields>(item: iBXRestTasksTaskListHttp<S, CustomFields> | undefined): iBXRestTasksTaskList<S, CustomFields>[] | undefined;
static TaskBXHttpToTaskBX<CustomFields, T extends Partial<iBXRestHttpTask> & Partial<CustomFields>, R>(item: T): R;
}