Options
All
  • Public
  • Public/Protected
  • All
Menu

Class DeviceRegistrationService

Hierarchy

Index

Constructors

constructor

Methods

accept

acceptAll

  • Returns Promise<IResultList<IDeviceRegistrationAccept>>

    Response wrapped in IResultList

    Example

    
      (async () => {
        const {data, res} = await deviceRegistrationService.acceptAll();
      })();
    

bootstrap

create

  • Parameters

    Returns Object

    Response wrapped in IResult

    Example

    
       const mandantoryObject: IDeviceRegistrationCreate = {
         id: 1,
       };
    
       (async () => {
         const {data, res} = await deviceRegistrationService.create(mandantoryObject);
       })();
    

delete

  • delete(entityOrId: string | number | IIdentified): Object
  • Parameters

    Returns Object

    Response wrapped in IResult

detail

  • detail(entityOrId: string | number | IIdentified): Object
  • Parameters

    Returns Object

    Response wrapped in IResult

    Example

    
       const entityId: number = 1;
    
       (async () => {
         const {data, res} = await deviceRegistrationService.detail(entityId);
       })();
    

limit

  • Returns Promise<IResult<IDeviceRegistrationLimit>>

    Response wrapped in IResult

    Example

    
      (async () => {
        const {data, res} = await deviceRegistrationService.limit();
      })();
    

list

  • list(filter?: object): Object
  • Parameters

    • Default value filter: object = {}

    Returns Object

    Response wrapped in IResultList

Generated using TypeDoc