@servicenow/sdk - v4.4.1
Preparing search index...
@servicenow/sdk/api
<internal>
Factory
Interface Factory
interface
Factory
{
createRecord
(
args
:
{
action
?:
Action
;
explicitId
?:
string
|
Shape
<
unknown
>
;
guidOverride
?:
string
;
installCategory
?:
InstallCategory
;
properties
:
object
;
source
:
Source
;
table
:
string
;
}
,
)
:
Promise
<
Record
>
;
createReference
(
args
:
{
guid
?:
string
|
StringShape
;
keys
?:
ObjectShape
|
Record
<
string
,
string
|
Shape
<
unknown
>
>
;
source
:
Source
;
table
:
string
|
StringShape
;
}
,
)
:
Promise
<
RecordId
>
;
createShape
<
const
S
extends
Shape
<
unknown
>
>
(
shape
:
S
)
:
Promise
<
S
>
;
}
Index
Methods
create
Record
create
Reference
create
Shape
Methods
create
Record
createRecord
(
args
:
{
action
?:
Action
;
explicitId
?:
string
|
Shape
<
unknown
>
;
guidOverride
?:
string
;
installCategory
?:
InstallCategory
;
properties
:
object
;
source
:
Source
;
table
:
string
;
}
,
)
:
Promise
<
Record
>
Parameters
args
:
{
action
?:
Action
;
explicitId
?:
string
|
Shape
<
unknown
>
;
guidOverride
?:
string
;
installCategory
?:
InstallCategory
;
properties
:
object
;
source
:
Source
;
table
:
string
;
}
Returns
Promise
<
Record
>
create
Reference
createReference
(
args
:
{
guid
?:
string
|
StringShape
;
keys
?:
ObjectShape
|
Record
<
string
,
string
|
Shape
<
unknown
>
>
;
source
:
Source
;
table
:
string
|
StringShape
;
}
,
)
:
Promise
<
RecordId
>
Parameters
args
:
{
guid
?:
string
|
StringShape
;
keys
?:
ObjectShape
|
Record
<
string
,
string
|
Shape
<
unknown
>
>
;
source
:
Source
;
table
:
string
|
StringShape
;
}
Returns
Promise
<
RecordId
>
create
Shape
createShape
<
const
S
extends
Shape
<
unknown
>
>
(
shape
:
S
)
:
Promise
<
S
>
Type Parameters
const
S
extends
Shape
<
unknown
>
Parameters
shape
:
S
Returns
Promise
<
S
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Methods
create
Record
create
Reference
create
Shape
@servicenow/sdk - v4.4.1
Loading...