@servicenow/sdk - v4.4.1
Preparing search index...
@servicenow/sdk/api
<internal>
Transform
Interface Transform
interface
Transform
{
getUpdateName
(
record
:
Record
,
...
plugins
:
Plugin
[]
)
:
Promise
<
string
>
;
recordToShape
(
record
:
Record
,
database
:
Database
,
...
plugins
:
Plugin
[]
,
)
:
Promise
<
Result
<
Shape
<
unknown
>
>
>
;
toRecord
(
node
:
Node
,
...
plugins
:
Plugin
[]
)
:
Promise
<
Result
<
Record
>
>
;
toRecord
(
shape
:
Shape
,
...
plugins
:
Plugin
[]
)
:
Promise
<
Result
<
Record
>
>
;
toRecord
(
file
:
File
,
...
plugins
:
Plugin
[]
)
:
Promise
<
Result
<
Record
>
>
;
toRecord
(
source
:
File
|
Shape
<
unknown
>
|
Node
<
tsc
.
Node
>
,
...
plugins
:
Plugin
[]
,
)
:
Promise
<
Result
<
Record
>
>
;
toShape
(
node
:
Node
,
...
plugins
:
Plugin
[]
)
:
Promise
<
Result
<
Shape
<
unknown
>
>
>
;
toSubclass
<
const
S
extends
Shape
<
unknown
>
>
(
shape
:
S
,
...
plugins
:
Plugin
[]
,
)
:
Promise
<
Result
<
S
>
>
;
}
Index
Methods
get
Update
Name
record
To
Shape
to
Record
to
Shape
to
Subclass
Methods
get
Update
Name
getUpdateName
(
record
:
Record
,
...
plugins
:
Plugin
[]
)
:
Promise
<
string
>
Parameters
record
:
Record
...
plugins
:
Plugin
[]
Returns
Promise
<
string
>
record
To
Shape
recordToShape
(
record
:
Record
,
database
:
Database
,
...
plugins
:
Plugin
[]
,
)
:
Promise
<
Result
<
Shape
<
unknown
>
>
>
Parameters
record
:
Record
database
:
Database
...
plugins
:
Plugin
[]
Returns
Promise
<
Result
<
Shape
<
unknown
>
>
>
to
Record
toRecord
(
node
:
Node
,
...
plugins
:
Plugin
[]
)
:
Promise
<
Result
<
Record
>
>
Parameters
node
:
Node
...
plugins
:
Plugin
[]
Returns
Promise
<
Result
<
Record
>
>
toRecord
(
shape
:
Shape
,
...
plugins
:
Plugin
[]
)
:
Promise
<
Result
<
Record
>
>
Parameters
shape
:
Shape
...
plugins
:
Plugin
[]
Returns
Promise
<
Result
<
Record
>
>
toRecord
(
file
:
File
,
...
plugins
:
Plugin
[]
)
:
Promise
<
Result
<
Record
>
>
Parameters
file
:
File
...
plugins
:
Plugin
[]
Returns
Promise
<
Result
<
Record
>
>
toRecord
(
source
:
File
|
Shape
<
unknown
>
|
Node
<
tsc
.
Node
>
,
...
plugins
:
Plugin
[]
,
)
:
Promise
<
Result
<
Record
>
>
Parameters
source
:
File
|
Shape
<
unknown
>
|
Node
<
tsc
.
Node
>
...
plugins
:
Plugin
[]
Returns
Promise
<
Result
<
Record
>
>
to
Shape
toShape
(
node
:
Node
,
...
plugins
:
Plugin
[]
)
:
Promise
<
Result
<
Shape
<
unknown
>
>
>
Parameters
node
:
Node
...
plugins
:
Plugin
[]
Returns
Promise
<
Result
<
Shape
<
unknown
>
>
>
to
Subclass
toSubclass
<
const
S
extends
Shape
<
unknown
>
>
(
shape
:
S
,
...
plugins
:
Plugin
[]
,
)
:
Promise
<
Result
<
S
>
>
Type Parameters
const
S
extends
Shape
<
unknown
>
Parameters
shape
:
S
...
plugins
:
Plugin
[]
Returns
Promise
<
Result
<
S
>
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Methods
get
Update
Name
record
To
Shape
to
Record
to
Shape
to
Subclass
@servicenow/sdk - v4.4.1
Loading...