Constructors

Methods

  • Archive a function for a definition

    Parameters

    • definitionId: string
    • functionType:
          | "PRE_ACTION_EXECUTION"
          | "PRE_FETCH_OPTIONS"
          | "POST_FETCH_OPTIONS"
          | "POST_ACTION_EXECUTION"
    • functionId: string
    • appId: number
    • Optional_options: PromiseConfigurationOptions

    Returns Promise<void>

  • Delete a function within a given definition. Delete a function for a definition

    Parameters

    • definitionId: string

      The ID of the definition.

    • functionType:
          | "PRE_ACTION_EXECUTION"
          | "PRE_FETCH_OPTIONS"
          | "POST_FETCH_OPTIONS"
          | "POST_ACTION_EXECUTION"

      The type of function. Can be `PRE_ACTION_EXECUTION`, `PRE_FETCH_OPTIONS`, `POST_FETCH_OPTIONS`, `POST_ACTION_EXECUTION`.

    • appId: number

      The ID of the app.

    • Optional_options: PromiseConfigurationOptions

    Returns Promise<void>

  • Delete a function within a given definition. Delete a function for a definition

    Parameters

    • definitionId: string

      The ID of the definition.

    • functionType:
          | "PRE_ACTION_EXECUTION"
          | "PRE_FETCH_OPTIONS"
          | "POST_FETCH_OPTIONS"
          | "POST_ACTION_EXECUTION"

      The type of function. Can be `PRE_ACTION_EXECUTION`, `PRE_FETCH_OPTIONS`, `POST_FETCH_OPTIONS`, `POST_ACTION_EXECUTION`.

    • appId: number

      The ID of the app.

    • Optional_options: PromiseConfigurationOptions

    Returns Promise<HttpInfo<void>>

  • Archive a function for a definition

    Parameters

    • definitionId: string
    • functionType:
          | "PRE_ACTION_EXECUTION"
          | "PRE_FETCH_OPTIONS"
          | "POST_FETCH_OPTIONS"
          | "POST_ACTION_EXECUTION"
    • functionId: string
    • appId: number
    • Optional_options: PromiseConfigurationOptions

    Returns Promise<HttpInfo<void>>

  • Update a function for a given definition by ID. Update a function for a definition

    Parameters

    • definitionId: string

      The ID of the definition.

    • functionType:
          | "PRE_ACTION_EXECUTION"
          | "PRE_FETCH_OPTIONS"
          | "POST_FETCH_OPTIONS"
          | "POST_ACTION_EXECUTION"

      The type of function. Can be `PRE_ACTION_EXECUTION`, `PRE_FETCH_OPTIONS`, `POST_FETCH_OPTIONS`, `POST_ACTION_EXECUTION`.

    • functionId: string

      The ID of the function.

    • appId: number

      The ID of the app.

    • body: string
    • Optional_options: PromiseConfigurationOptions

    Returns Promise<PublicActionFunctionIdentifier>

  • Add a function for a given definition. Insert a function for a definition

    Parameters

    • definitionId: string

      The ID of the definition.

    • functionType:
          | "PRE_ACTION_EXECUTION"
          | "PRE_FETCH_OPTIONS"
          | "POST_FETCH_OPTIONS"
          | "POST_ACTION_EXECUTION"

      The type of function. Can be `PRE_ACTION_EXECUTION`, `PRE_FETCH_OPTIONS`, `POST_FETCH_OPTIONS`, `POST_ACTION_EXECUTION`.

    • appId: number

      The ID of the app.

    • body: string
    • Optional_options: PromiseConfigurationOptions

    Returns Promise<PublicActionFunctionIdentifier>

  • Update a function for a given definition by ID. Update a function for a definition

    Parameters

    • definitionId: string

      The ID of the definition.

    • functionType:
          | "PRE_ACTION_EXECUTION"
          | "PRE_FETCH_OPTIONS"
          | "POST_FETCH_OPTIONS"
          | "POST_ACTION_EXECUTION"

      The type of function. Can be `PRE_ACTION_EXECUTION`, `PRE_FETCH_OPTIONS`, `POST_FETCH_OPTIONS`, `POST_ACTION_EXECUTION`.

    • functionId: string

      The ID of the function.

    • appId: number

      The ID of the app.

    • body: string
    • Optional_options: PromiseConfigurationOptions

    Returns Promise<HttpInfo<PublicActionFunctionIdentifier>>

  • Retrieve functions by a type for a given definition

    Parameters

    • definitionId: string

      The ID of the definition.

    • functionType:
          | "PRE_ACTION_EXECUTION"
          | "PRE_FETCH_OPTIONS"
          | "POST_FETCH_OPTIONS"
          | "POST_ACTION_EXECUTION"

      The type of function. Can be `PRE_ACTION_EXECUTION`, `PRE_FETCH_OPTIONS`, `POST_FETCH_OPTIONS`, `POST_ACTION_EXECUTION`.

    • appId: number

      The ID of the app.

    • Optional_options: PromiseConfigurationOptions

    Returns Promise<PublicActionFunction>

  • Retrieve functions by a type for a given definition

    Parameters

    • definitionId: string

      The ID of the definition.

    • functionType:
          | "PRE_ACTION_EXECUTION"
          | "PRE_FETCH_OPTIONS"
          | "POST_FETCH_OPTIONS"
          | "POST_ACTION_EXECUTION"

      The type of function. Can be `PRE_ACTION_EXECUTION`, `PRE_FETCH_OPTIONS`, `POST_FETCH_OPTIONS`, `POST_ACTION_EXECUTION`.

    • appId: number

      The ID of the app.

    • Optional_options: PromiseConfigurationOptions

    Returns Promise<HttpInfo<PublicActionFunction>>

  • Retrieve a specific function from a given definition. Retrieve a function from a given definition

    Parameters

    • definitionId: string

      The ID of the definition.

    • functionType:
          | "PRE_ACTION_EXECUTION"
          | "PRE_FETCH_OPTIONS"
          | "POST_FETCH_OPTIONS"
          | "POST_ACTION_EXECUTION"

      The type of function. Can be `PRE_ACTION_EXECUTION`, `PRE_FETCH_OPTIONS`, `POST_FETCH_OPTIONS`, `POST_ACTION_EXECUTION`.

    • functionId: string

      The ID of the function.

    • appId: number

      The ID of the app.

    • Optional_options: PromiseConfigurationOptions

    Returns Promise<PublicActionFunction>

  • Retrieve a specific function from a given definition. Retrieve a function from a given definition

    Parameters

    • definitionId: string

      The ID of the definition.

    • functionType:
          | "PRE_ACTION_EXECUTION"
          | "PRE_FETCH_OPTIONS"
          | "POST_FETCH_OPTIONS"
          | "POST_ACTION_EXECUTION"

      The type of function. Can be `PRE_ACTION_EXECUTION`, `PRE_FETCH_OPTIONS`, `POST_FETCH_OPTIONS`, `POST_ACTION_EXECUTION`.

    • functionId: string

      The ID of the function.

    • appId: number

      The ID of the app.

    • Optional_options: PromiseConfigurationOptions

    Returns Promise<HttpInfo<PublicActionFunction>>