Package com.intercom.api.resources.calls
Class AsyncRawCallsClient
- java.lang.Object
-
- com.intercom.api.resources.calls.AsyncRawCallsClient
-
public class AsyncRawCallsClient extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description protected ClientOptionsclientOptions
-
Constructor Summary
Constructors Constructor Description AsyncRawCallsClient(ClientOptions clientOptions)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.concurrent.CompletableFuture<IntercomHttpResponse<CallList>>listCalls()Retrieve a paginated list of calls.java.util.concurrent.CompletableFuture<IntercomHttpResponse<CallList>>listCalls(ListCallsRequest request)Retrieve a paginated list of calls.java.util.concurrent.CompletableFuture<IntercomHttpResponse<CallList>>listCalls(ListCallsRequest request, RequestOptions requestOptions)Retrieve a paginated list of calls.java.util.concurrent.CompletableFuture<IntercomHttpResponse<ListCallsWithTranscriptsResponse>>listCallsWithTranscripts(ListCallsWithTranscriptsRequest request)Retrieve calls by a list of conversation ids and include transcripts when available.java.util.concurrent.CompletableFuture<IntercomHttpResponse<ListCallsWithTranscriptsResponse>>listCallsWithTranscripts(ListCallsWithTranscriptsRequest request, RequestOptions requestOptions)Retrieve calls by a list of conversation ids and include transcripts when available.java.util.concurrent.CompletableFuture<IntercomHttpResponse<Call>>showCall(ShowCallRequest request)Retrieve a single call by id.java.util.concurrent.CompletableFuture<IntercomHttpResponse<Call>>showCall(ShowCallRequest request, RequestOptions requestOptions)Retrieve a single call by id.java.util.concurrent.CompletableFuture<IntercomHttpResponse<java.lang.Void>>showCallRecording(ShowCallRecordingRequest request)Redirects to a signed URL for the call's recording if it exists.java.util.concurrent.CompletableFuture<IntercomHttpResponse<java.lang.Void>>showCallRecording(ShowCallRecordingRequest request, RequestOptions requestOptions)Redirects to a signed URL for the call's recording if it exists.java.util.concurrent.CompletableFuture<IntercomHttpResponse<java.lang.String>>showCallTranscript(ShowCallTranscriptRequest request)Returns the transcript for the specified call as a downloadable text file.java.util.concurrent.CompletableFuture<IntercomHttpResponse<java.lang.String>>showCallTranscript(ShowCallTranscriptRequest request, RequestOptions requestOptions)Returns the transcript for the specified call as a downloadable text file.
-
-
-
Field Detail
-
clientOptions
protected final ClientOptions clientOptions
-
-
Constructor Detail
-
AsyncRawCallsClient
public AsyncRawCallsClient(ClientOptions clientOptions)
-
-
Method Detail
-
listCalls
public java.util.concurrent.CompletableFuture<IntercomHttpResponse<CallList>> listCalls()
Retrieve a paginated list of calls.
-
listCalls
public java.util.concurrent.CompletableFuture<IntercomHttpResponse<CallList>> listCalls(ListCallsRequest request)
Retrieve a paginated list of calls.
-
listCalls
public java.util.concurrent.CompletableFuture<IntercomHttpResponse<CallList>> listCalls(ListCallsRequest request, RequestOptions requestOptions)
Retrieve a paginated list of calls.
-
showCall
public java.util.concurrent.CompletableFuture<IntercomHttpResponse<Call>> showCall(ShowCallRequest request)
Retrieve a single call by id.
-
showCall
public java.util.concurrent.CompletableFuture<IntercomHttpResponse<Call>> showCall(ShowCallRequest request, RequestOptions requestOptions)
Retrieve a single call by id.
-
showCallRecording
public java.util.concurrent.CompletableFuture<IntercomHttpResponse<java.lang.Void>> showCallRecording(ShowCallRecordingRequest request)
Redirects to a signed URL for the call's recording if it exists.
-
showCallRecording
public java.util.concurrent.CompletableFuture<IntercomHttpResponse<java.lang.Void>> showCallRecording(ShowCallRecordingRequest request, RequestOptions requestOptions)
Redirects to a signed URL for the call's recording if it exists.
-
showCallTranscript
public java.util.concurrent.CompletableFuture<IntercomHttpResponse<java.lang.String>> showCallTranscript(ShowCallTranscriptRequest request)
Returns the transcript for the specified call as a downloadable text file.
-
showCallTranscript
public java.util.concurrent.CompletableFuture<IntercomHttpResponse<java.lang.String>> showCallTranscript(ShowCallTranscriptRequest request, RequestOptions requestOptions)
Returns the transcript for the specified call as a downloadable text file.
-
listCallsWithTranscripts
public java.util.concurrent.CompletableFuture<IntercomHttpResponse<ListCallsWithTranscriptsResponse>> listCallsWithTranscripts(ListCallsWithTranscriptsRequest request)
Retrieve calls by a list of conversation ids and include transcripts when available. A maximum of 20conversation_idscan be provided. If none are provided or more than 20 are provided, a 400 error is returned.
-
listCallsWithTranscripts
public java.util.concurrent.CompletableFuture<IntercomHttpResponse<ListCallsWithTranscriptsResponse>> listCallsWithTranscripts(ListCallsWithTranscriptsRequest request, RequestOptions requestOptions)
Retrieve calls by a list of conversation ids and include transcripts when available. A maximum of 20conversation_idscan be provided. If none are provided or more than 20 are provided, a 400 error is returned.
-
-