Options
All
  • Public
  • Public/Protected
  • All
Menu

Class ProvisioningRequest<Params, ResBody, ReqBody, ReqQuery>

Type parameters

  • Params = {}

  • ResBody = any

  • ReqBody = any

  • ReqQuery = ParsedQs

Hierarchy

  • ProvisioningRequest

Implements

Index

Constructors

constructor

  • new ProvisioningRequest<Params, ResBody, ReqBody, ReqQuery>(expressReq: Request<Params, ResBody, ReqBody, ReqQuery, Record<string, any>>, userId: null | string, requestSource: "widget" | "provisioner", widgetToken?: string, fnName?: string): ProvisioningRequest<Params, ResBody, ReqBody, ReqQuery>
  • Type parameters

    • Params = {}

    • ResBody = any

    • ReqBody = any

    • ReqQuery = ParsedQs

    Parameters

    • expressReq: Request<Params, ResBody, ReqBody, ReqQuery, Record<string, any>>
    • userId: null | string
    • requestSource: "widget" | "provisioner"
    • Optional widgetToken: string
    • Optional fnName: string

    Returns ProvisioningRequest<Params, ResBody, ReqBody, ReqQuery>

Properties

Readonly expressReq

expressReq: Request<Params, ResBody, ReqBody, ReqQuery, Record<string, any>>

Optional Readonly fnName

fnName?: string

Readonly id

id: string

Readonly log

log: LogWrapper

Readonly requestSource

requestSource: "widget" | "provisioner"

Readonly userId

userId: null | string

Optional Readonly widgetToken

widgetToken?: string

Accessors

body

  • get body(): ReqBody

params

  • get params(): Params

query

  • get query(): ReqQuery

Methods

getId

  • getId(): string

Generated using TypeDoc