Class AsyncRawAdminsClient
- java.lang.Object
-
- com.intercom.api.resources.admins.AsyncRawAdminsClient
-
public class AsyncRawAdminsClient extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description protected ClientOptionsclientOptions
-
Constructor Summary
Constructors Constructor Description AsyncRawAdminsClient(ClientOptions clientOptions)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.concurrent.CompletableFuture<IntercomHttpResponse<java.util.Optional<Admin>>>away(ConfigureAwayAdminRequest request)You can set an Admin as away for the Inbox.java.util.concurrent.CompletableFuture<IntercomHttpResponse<java.util.Optional<Admin>>>away(ConfigureAwayAdminRequest request, RequestOptions requestOptions)You can set an Admin as away for the Inbox.java.util.concurrent.CompletableFuture<IntercomHttpResponse<java.util.Optional<Admin>>>find(FindAdminRequest request)You can retrieve the details of a single admin.java.util.concurrent.CompletableFuture<IntercomHttpResponse<java.util.Optional<Admin>>>find(FindAdminRequest request, RequestOptions requestOptions)You can retrieve the details of a single admin.java.util.concurrent.CompletableFuture<IntercomHttpResponse<java.util.Optional<AdminWithApp>>>identify()You can view the currently authorised admin along with the embedded app object (a "workspace" in legacy terminology).java.util.concurrent.CompletableFuture<IntercomHttpResponse<java.util.Optional<AdminWithApp>>>identify(RequestOptions requestOptions)You can view the currently authorised admin along with the embedded app object (a "workspace" in legacy terminology).java.util.concurrent.CompletableFuture<IntercomHttpResponse<AdminList>>list()You can fetch a list of admins for a given workspace.java.util.concurrent.CompletableFuture<IntercomHttpResponse<AdminList>>list(RequestOptions requestOptions)You can fetch a list of admins for a given workspace.java.util.concurrent.CompletableFuture<IntercomHttpResponse<ActivityLogList>>listAllActivityLogs(ListAllActivityLogsRequest request)You can get a log of activities by all admins in an app.java.util.concurrent.CompletableFuture<IntercomHttpResponse<ActivityLogList>>listAllActivityLogs(ListAllActivityLogsRequest request, RequestOptions requestOptions)You can get a log of activities by all admins in an app.
-
-
-
Field Detail
-
clientOptions
protected final ClientOptions clientOptions
-
-
Constructor Detail
-
AsyncRawAdminsClient
public AsyncRawAdminsClient(ClientOptions clientOptions)
-
-
Method Detail
-
identify
public java.util.concurrent.CompletableFuture<IntercomHttpResponse<java.util.Optional<AdminWithApp>>> identify()
You can view the currently authorised admin along with the embedded app object (a "workspace" in legacy terminology).🚧 Single Sign On
If you are building a custom "Log in with Intercom" flow for your site, and you call the
/meendpoint to identify the logged-in user, you should not accept any sign-ins from users with unverified email addresses as it poses a potential impersonation security risk.
-
identify
public java.util.concurrent.CompletableFuture<IntercomHttpResponse<java.util.Optional<AdminWithApp>>> identify(RequestOptions requestOptions)
You can view the currently authorised admin along with the embedded app object (a "workspace" in legacy terminology).🚧 Single Sign On
If you are building a custom "Log in with Intercom" flow for your site, and you call the
/meendpoint to identify the logged-in user, you should not accept any sign-ins from users with unverified email addresses as it poses a potential impersonation security risk.
-
away
public java.util.concurrent.CompletableFuture<IntercomHttpResponse<java.util.Optional<Admin>>> away(ConfigureAwayAdminRequest request)
You can set an Admin as away for the Inbox.
-
away
public java.util.concurrent.CompletableFuture<IntercomHttpResponse<java.util.Optional<Admin>>> away(ConfigureAwayAdminRequest request, RequestOptions requestOptions)
You can set an Admin as away for the Inbox.
-
listAllActivityLogs
public java.util.concurrent.CompletableFuture<IntercomHttpResponse<ActivityLogList>> listAllActivityLogs(ListAllActivityLogsRequest request)
You can get a log of activities by all admins in an app.
-
listAllActivityLogs
public java.util.concurrent.CompletableFuture<IntercomHttpResponse<ActivityLogList>> listAllActivityLogs(ListAllActivityLogsRequest request, RequestOptions requestOptions)
You can get a log of activities by all admins in an app.
-
list
public java.util.concurrent.CompletableFuture<IntercomHttpResponse<AdminList>> list()
You can fetch a list of admins for a given workspace.
-
list
public java.util.concurrent.CompletableFuture<IntercomHttpResponse<AdminList>> list(RequestOptions requestOptions)
You can fetch a list of admins for a given workspace.
-
find
public java.util.concurrent.CompletableFuture<IntercomHttpResponse<java.util.Optional<Admin>>> find(FindAdminRequest request)
You can retrieve the details of a single admin.
-
find
public java.util.concurrent.CompletableFuture<IntercomHttpResponse<java.util.Optional<Admin>>> find(FindAdminRequest request, RequestOptions requestOptions)
You can retrieve the details of a single admin.
-
-