Agent
@julep/sdk / Modules / managers/agent / AgentsManager
Class: AgentsManager
managers/agent.AgentsManager
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
↳
AgentsManager
Table of contents
Constructors
Properties
Methods
Constructors
constructor
• new AgentsManager(apiClient
): AgentsManager
Constructs a new instance of BaseManager.
Parameters
Name | Type | Description |
---|---|---|
| The JulepApiClient instance used for API interactions. |
Returns
Inherited from
Defined in
Properties
apiClient
• apiClient: JulepApiClient
The JulepApiClient instance used for API interactions.
Inherited from
Defined in
Methods
create
▸ create(«destructured»
): Promise
<Partial
<Agent
> & { id
: string
}>
Parameters
Name | Type | Default value |
---|---|---|
|
|
|
› |
|
|
› |
| |
› |
|
|
› |
|
|
› |
|
|
› |
|
|
› |
|
Returns
Promise
<Partial
<Agent
> & { id
: string
}>
Defined in
delete
▸ delete(agentId
): Promise
<void
>
Parameters
Name | Type |
---|---|
|
|
Returns
Promise
<void
>
Defined in
get
▸ get(agentId
): Promise
<Agent
>
Parameters
Name | Type |
---|---|
|
|
Returns
Promise
<Agent
>
Defined in
list
▸ list(«destructured»?
): Promise
<Agent
[]>
Parameters
Name | Type | Default value |
---|---|---|
|
|
|
› |
|
|
› |
|
|
› |
|
|
Returns
Promise
<Agent
[]>
Defined in
update
▸ update(agentId
, request
, overwrite?
): Promise
<Partial
<Agent
> & { id
: string
}>
Parameters
Name | Type |
---|---|
|
|
| |
|
|
Returns
Promise
<Partial
<Agent
> & { id
: string
}>
Defined in
▸ update(agentId
, request
, overwrite
): Promise
<Partial
<Agent
> & { id
: string
}>
Parameters
Name | Type |
---|---|
|
|
| |
|
|
Returns
Promise
<Partial
<Agent
> & { id
: string
}>
Defined in
Last updated