API Reference
Rockets Core API
ts-common
interfaces
OtpCreateInterface

Interface: OtpCreateInterface<O>

Type Parameters

Type ParameterDefault type
O extends ReferenceQueryOptionsInterfaceReferenceQueryOptionsInterface

Methods

create()

create(assignment, otp, options?): Promise<OtpInterface>

Create a otp with a for the given assignee.

Parameters

ParameterTypeDescription
assignmentstringThe otp assignment
otpOtpCreatableInterfaceThe 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)