Search
Preparing search index...
The search index is not available
amocrm-js
Options
All
Public
Public/Protected
All
Inherited
Externals
Menu
amocrm-js
api/activeRecords/common/EmbeddedEntityList
EmbeddedEntityList
Class EmbeddedEntityList<T, E>
Type parameters
T
:
IResourceFactory
<
IHasTypedEmbeddedEntity
<
T
,
E
>
>
E
:
IEmbeddedEntity
Hierarchy
EmbeddedEntityList
Implements
IEmbeddedEntityList
<
E
>
Index
Constructors
constructor
Properties
attributes
embedded
Type
entity
Accessors
create
Criteria
length
update
Criteria
Methods
add
get
get
Embedded
Save
Criteria
pick
Item
Attributes
remove
set
Constructors
constructor
new
Embedded
Entity
List
<
T
,
E
>
(
options
:
IEmbeddedEntityListOptions
<
T
,
E
>
)
:
EmbeddedEntityList
<
T
,
E
>
Type parameters
T
:
IResourceFactory
<
IHasTypedEmbeddedEntity
<
T
,
E
>
,
T
>
E
:
IEmbeddedEntity
Parameters
options:
IEmbeddedEntityListOptions
<
T
,
E
>
Returns
EmbeddedEntityList
<
T
,
E
>
Properties
Protected
Optional
attributes
attributes
?:
IQueryAttributes
<
E
>
Readonly
embedded
Type
embedded
Type
:
string
|
number
Protected
entity
entity
:
IHasTypedEmbeddedEntity
<
T
,
E
>
Accessors
create
Criteria
get
createCriteria
(
)
:
{
_embedded
:
undefined
}
|
{
_embedded
:
{}
}
Returns
{
_embedded
:
undefined
}
|
{
_embedded
:
{}
}
length
get
length
(
)
:
number
Returns
number
update
Criteria
get
updateCriteria
(
)
:
{
_embedded
:
undefined
}
|
{
_embedded
:
{}
}
Returns
{
_embedded
:
undefined
}
|
{
_embedded
:
{}
}
Methods
add
add
(
criteria
:
object
[]
)
:
void
Parameters
criteria:
object
[]
Returns
void
get
get
(
)
:
E
[]
Returns
E
[]
get
Embedded
Save
Criteria
get
Embedded
Save
Criteria
(
attributes
?:
keyof
E
[]
)
:
{
_embedded
:
undefined
}
|
{
_embedded
:
{}
}
Parameters
Optional
attributes:
keyof
E
[]
Returns
{
_embedded
:
undefined
}
|
{
_embedded
:
{}
}
Protected
pick
Item
Attributes
pick
Item
Attributes
(
item
:
E
, attributes
?:
keyof
E
[]
)
:
Target
Parameters
item:
E
Optional
attributes:
keyof
E
[]
Returns
Target
remove
remove
(
value
?:
IEmbeddedEntity
[]
)
:
void
Parameters
Optional
value:
IEmbeddedEntity
[]
Returns
void
set
set
(
value
:
null
|
IEmbeddedEntity
[]
)
:
void
Parameters
value:
null
|
IEmbeddedEntity
[]
Returns
void
Modules
Client
api/
Resource
Entity
api/
Resource
Factory
api/
Resource
Pagination
api/active
Records
api/active
Records/
Catalog
Element
api/active
Records/
Company
api/active
Records/
Contact
api/active
Records/
Customer
api/active
Records/
Lead
api/active
Records/
Loss
Reason
api/active
Records/
Source
api/active
Records/
Tag
api/active
Records/
Task
api/active
Records/common/
Embedded
Entity
List
api/active
Records/common/
Entity
Criteria
Builder
api/active
Records/common/
Entity
List
api/active
Records/common/
Linked
Entity
api/active
Records/mixins/embedded/has
Embedded
Catalog
Elements
api/active
Records/mixins/embedded/has
Embedded
Companies
api/active
Records/mixins/embedded/has
Embedded
Contacts
api/active
Records/mixins/embedded/has
Embedded
Customers
api/active
Records/mixins/embedded/has
Embedded
Loss
Reason
api/active
Records/mixins/embedded/has
Embedded
Source
api/active
Records/mixins/embedded/has
Embedded
Tags
api/active
Records/mixins/has
Create
api/active
Records/mixins/has
Embedded
api/active
Records/mixins/has
Fetch
api/active
Records/mixins/has
Linked
Entity
api/active
Records/mixins/has
Save
api/active
Records/mixins/has
Tasks
api/active
Records/mixins/has
Update
api/factories
api/factories/
Company
Factory
api/factories/
Contact
Factory
api/factories/
Customer
Factory
api/factories/
Lead
Factory
api/factories/
Tag
Factory
api/factories/
Task
Factory
api/factories/common/
Factory
Criteria
Builder
api/factories/common/get
Entity
Factory
api/factories/mixins/has
Create
api/factories/mixins/has
Get
By
Criteria
api/factories/mixins/has
Get
By
Id
api/factories/mixins/has
Tags
api/factories/mixins/has
Tasks
api/factories/mixins/has
Update
common/APIResponse
Error
common/
Auth
common/
Auth
Server
common/
Client
Request
common/
Connection
common/
Domain
Request
common/
Environment
common/
Event
Emitter
common/JSONResponse
Parser
common/
Token
common/constructors
enums
interfaces/api
interfaces/common
plugins/entities/has
Updatable
Tags
plugins/factories/has
Updatable
Tags
plugins/has
Updatable
Tags
types
util
Embedded
Entity
List
constructor
attributes
embedded
Type
entity
create
Criteria
length
update
Criteria
add
get
get
Embedded
Save
Criteria
pick
Item
Attributes
remove
set
Generated using
TypeDoc