Hierarchy

  • ListItemsService

Constructors

Properties

httpRequest: BaseHttpRequest

Methods

  • Create a list item

    Throws

    ApiError

    Parameters

    • options: {
          channelId: string;
          requestBody: {
              message: string | Record<string, any>;
              note?: {
                  content: string | Record<string, any>;
              };
          };
      }
      • channelId: string
      • requestBody: {
            message: string | Record<string, any>;
            note?: {
                content: string | Record<string, any>;
            };
        }
        • message: string | Record<string, any>

          The message of the list item

        • Optional note?: {
              content: string | Record<string, any>;
          }
          • content: string | Record<string, any>

            The note of the list item

    Returns CancelablePromise<{
        listItem: ListItemPayload;
    }>

    any Success

  • Update a list item

    Throws

    ApiError

    Parameters

    • options: {
          channelId: string;
          listItemId: string;
          requestBody: {
              message?: string;
              note?: null | {
                  content: string;
              };
          };
      }
      • channelId: string
      • listItemId: string
      • requestBody: {
            message?: string;
            note?: null | {
                content: string;
            };
        }
        • Optional message?: string

          The message of the list item

        • Optional note?: null | {
              content: string;
          }

    Returns CancelablePromise<{
        listItem: ListItemPayload;
    }>

    any Success

Generated using TypeDoc