Options
All
  • Public
  • Public/Protected
  • All
Menu

Module CRMAPI

Index

Type aliases

EmptyFn

EmptyFn: function

A function with no args or return value (as a polyfill)

Type declaration

    • (): void
    • Returns void

InstanceCallback

InstanceCallback: function

The callback function for an instance call

InstanceListener

InstanceListener: function

A listener for an instance

Type declaration

    • (message: any): void
    • Parameters

      • message: any

      Returns void

InstantCB

InstantCB: function

A callback that gets called immediately (as a polyfill)

Type declaration

    • (callback: function): void
    • Parameters

      • callback: function
          • (): void
          • Returns void

      Returns void

MessageHandler

MessageHandler: function

The handler of a message that is sent to the crm-api

Type declaration

    • (message: any): void
    • Parameters

      • message: any

      Returns void

NodeIdAssignable

NodeIdAssignable: GenericNodeId | GenericSafeNodeId | number

NodeStorage

NodeStorage: Object

The storage for this node, an object

Resources

Resources: object

Resources for scripts

Type declaration

RespondableInstanceListener

RespondableInstanceListener: function

A listener for an instance that can be responded to

Type declaration

    • (message: any, respond: function): void
    • Parameters

      • message: any
      • respond: function
          • (response: any): void
          • Parameters

            • response: any

            Returns void

      Returns void

SuccessfulInstanceCallback

SuccessfulInstanceCallback: object

An unsuccessful response to an instance call

Type declaration

  • error: false
  • success: true

UnsuccessfulInstanceCallback

UnsuccessfulInstanceCallback: object

A successful response to an instance call

Type declaration

  • error: true
  • message: any
  • success: false

Generated using TypeDoc