kustomer-client
    Preparing search index...

    Function getConversationTimesByConversationId

    • Get conversation times by conversation Retrieves conversation_times by the unique ID of the related conversation.

      Any one of the following roles is required for this endpoint:

      Legacy Role Equivalent Permission Set Role
      org.user.conversation.read org.permission.conversation.read

      Type Parameters

      • ThrowOnError extends boolean = true

      Returns RequestResult<
          {
              data: {
                  attributes: {
                      assignedTeams: unknown[];
                      assignedUsers: string[];
                      channels: string[];
                      createdAt: string;
                      createdByTeams: string[];
                      handleAt: string;
                      handleTime: number;
                      messageAt?: string;
                      messageTime?: number;
                  };
                  id: string;
                  links: { self: string };
                  relationships: {
                      conversation: {
                          data: { id: string; type: string };
                          links: { self: string };
                      };
                      createdBy: {
                          data: { id: string; type: string };
                          links: { self: string };
                      };
                      customer: {
                          data: { id: string; type: string };
                          links: { self: string };
                      };
                      org: { data: { id: string; type: string }; links: { self: string } };
                  };
                  type: string;
              }[];
              links: {
                  first: string;
                  next: null
                  | string;
                  prev: null | string;
                  self: string;
              };
              meta: { page: number; pageSize: number };
          },
          unknown,
          ThrowOnError,
      >