@2bad/bitrix
Version:
Bitrix24 REST API client that doesn't suck
18 lines (17 loc) • 525 B
TypeScript
import { Method } from '../../methods';
import { GetPayload } from '../../payloads';
import { User } from './entities';
export declare type UsersMethods = {
readonly [Method.USER_FIELDS]: {
readonly type: User;
readonly payload: GetPayload<User>;
readonly params?: Record<string, unknown>;
};
readonly [Method.USER_GET]: {
readonly type: User;
readonly payload: GetPayload<readonly User[]>;
readonly params: {
readonly id?: string;
};
};
};