Methods for dealing with MapUpdateRequests.

Hierarchy

  • SdkModule
    • MapUpdateRequests

Methods

  • Adds a comment to the map update request.

    Parameters

    • args: { mapUpdateRequestId: number; text: string }

    Returns Promise<ConversationElement>

    A promise that resolves to a created conversation element representing the comment.

    DataModelNotFoundError if there is no comments session in the WME data model.

  • Parameters

    • args: { mapUpdateRequestId: number }
      • mapUpdateRequestId: number

        An id of the map update request to find.

    Returns null | MapUpdateRequest

    map update request with id, or null if not found in the WME data model

  • Parameters

    • args: { mapUpdateRequestId: number }

    Returns Promise<null | UpdateRequestDetails>

    map update request details. If details are not present in the WME data model, they will be fetched. Returns null if not found in the WME data model.

    WMEError if fetching details fails.

  • Updates the problem resolution state of a map update request.

    Parameters

    Returns void

    DataModelNotFoundError if the map update request is not found.