Interface: OtpCreateInterface<O>
Type Parameters
Type Parameter | Default type |
---|---|
O extends ReferenceQueryOptionsInterface | ReferenceQueryOptionsInterface |
Methods
create()
create(
assignment
,otp
,options
?):Promise
<OtpInterface
>
Create a otp with a for the given assignee.
Parameters
Parameter | Type | Description |
---|---|---|
assignment | string | The otp assignment |
otp | OtpCreatableInterface | The OTP to create |
options ? | O | - |
Returns
Promise
<OtpInterface
>
Defined in
ts-common/src/otp/interfaces/otp-create.interface.ts:18 (opens in a new tab)