User

@julep/sdk / Modules / managers/user / UsersManager

Class: UsersManager

managers/user.UsersManager

BaseManager serves as the base class for all manager classes that interact with the Julep API. It provides common functionality needed for API interactions.

Hierarchy

Table of contents

Constructors

Properties

Methods

Constructors

constructor

β€’ new UsersManager(apiClient): UsersManager

Constructs a new instance of BaseManager.

Parameters

Name
Type
Description

apiClient

The JulepApiClient instance used for API interactions.

Returns

UsersManager

Inherited from

BaseManager.constructor

Defined in

src/managers/base.ts:12

Properties

apiClient

β€’ apiClient: JulepApiClient

The JulepApiClient instance used for API interactions.

Inherited from

BaseManager.apiClient

Defined in

src/managers/base.ts:12

Methods

create

β–Έ create(Β«destructuredΒ»?): Promise<User>

Parameters

Name
Type

Β«destructuredΒ»

Returns

Promise<User>

Defined in

src/managers/user.ts:27


delete

β–Έ delete(userId): Promise<void>

Parameters

Name
Type

userId

string

Returns

Promise<void>

Defined in

src/managers/user.ts:63


get

β–Έ get(userId): Promise<User>

Parameters

Name
Type

userId

string

Returns

Promise<User>

Defined in

src/managers/user.ts:15


list

β–Έ list(Β«destructuredΒ»?): Promise<User[]>

Parameters

Name
Type
Default value

Β«destructuredΒ»

Object

{}

β€Ί limit?

number

10

β€Ί metadataFilter?

Object

{}

β€Ί offset?

number

0

Returns

Promise<User[]>

Defined in

src/managers/user.ts:44


update

β–Έ update(userId, request, overwrite): Promise<User>

Parameters

Name
Type

userId

string

overwrite

true

Returns

Promise<User>

Defined in

src/managers/user.ts:73

β–Έ update(userId, request, overwrite?): Promise<User>

Parameters

Name
Type

userId

string

overwrite?

false

Returns

Promise<User>

Defined in

src/managers/user.ts:79

Last updated