UNPKG
@becomes/cms-cloud-client
Version:
latest (2.0.0)
next (1.0.0-alpha.8)
2.0.0
1.3.4
1.3.2
1.3.1
1.3.0
1.2.0
1.1.2
1.1.1
1.1.0
1.0.3
1.0.2
1.0.1
1.0.0
1.0.0-alpha1
1.0.0-alpha.8
1.0.0-alpha.7
1.0.0-alpha.6
1.0.0-alpha.5
1.0.0-alpha.4
1.0.0-alpha.3
1.0.0-alpha.2
1.0.0-alpha.1
SDK for accessing BCMS Cloud API
@becomes/cms-cloud-client
/
b-types
/
invitation
/
factory.d.ts
6 lines
(5 loc)
•
271 B
TypeScript
View Raw
1
2
3
4
5
6
import
type
{
Invitation
,
InvitationProtected
}
from
'./models'
;
export
declare
class
InvitationFactory
{
static
instance
(
data
:
Omit
<
Invitation
,
'_id'
|
'createdAt'
|
'updatedAt'
|
'otp'
>):
Invitation
;
static
toProtected
(
data
:
Invitation
):
InvitationProtected
; }