Options
All
  • Public
  • Public/Protected
  • All
Menu

Class ProvisioningRequest<Body, Params>

Type parameters

  • Body = Record<string, unknown>

  • Params = Record<string, unknown>

Hierarchy

  • ProvisioningRequest

Implements

Index

Constructors

constructor

  • new ProvisioningRequest<Body, Params>(expressReq: { body: Body; params: Params; path?: string }, userId: null | string, requestSource: "widget" | "provisioner", widgetToken?: string, fnName?: string): ProvisioningRequest<Body, Params>
  • Type parameters

    • Body = Record<string, unknown>

    • Params = Record<string, unknown>

    Parameters

    • expressReq: { body: Body; params: Params; path?: string }
      • body: Body
      • params: Params
      • Optional path?: string
    • userId: null | string
    • requestSource: "widget" | "provisioner"
    • Optional widgetToken: string
    • Optional fnName: string

    Returns ProvisioningRequest<Body, Params>

Properties

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(): Body

params

  • get params(): Params

Methods

getId

  • getId(): string

Generated using TypeDoc