Class AccountManagerApi

java.lang.Object
travel.wink.sdk.affiliate.api.AccountManagerApi

@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2025-01-02T16:41:01.157053550+07:00[Asia/Bangkok]") public class AccountManagerApi extends Object
  • Constructor Details

    • AccountManagerApi

      public AccountManagerApi()
    • AccountManagerApi

      @Autowired public AccountManagerApi(ApiClient apiClient)
  • Method Details

    • getApiClient

      public ApiClient getApiClient()
    • setApiClient

      public void setApiClient(ApiClient apiClient)
    • acceptManagerInvite

      public reactor.core.publisher.Mono<ManagerInviteAcceptedSupplier> acceptManagerInvite(String companyIdentifier, String winkVersion, String accept) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Accept Invite Accepts the invite to manager a property or account.

      500 - Internal Server Error

      403 - Forbidden

      401 - Unauthorized

      400 - Bad Request

      200 - OK

      Parameters:
      companyIdentifier - Company identifier for which to accept invite to
      winkVersion - The winkVersion parameter
      accept - The accept parameter
      Returns:
      ManagerInviteAcceptedSupplier
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API
    • acceptManagerInviteWithHttpInfo

      public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<ManagerInviteAcceptedSupplier>> acceptManagerInviteWithHttpInfo(String companyIdentifier, String winkVersion, String accept) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Accept Invite Accepts the invite to manager a property or account.

      500 - Internal Server Error

      403 - Forbidden

      401 - Unauthorized

      400 - Bad Request

      200 - OK

      Parameters:
      companyIdentifier - Company identifier for which to accept invite to
      winkVersion - The winkVersion parameter
      accept - The accept parameter
      Returns:
      ResponseEntity<ManagerInviteAcceptedSupplier>
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API
    • acceptManagerInviteWithResponseSpec

      public org.springframework.web.reactive.function.client.WebClient.ResponseSpec acceptManagerInviteWithResponseSpec(String companyIdentifier, String winkVersion, String accept) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Accept Invite Accepts the invite to manager a property or account.

      500 - Internal Server Error

      403 - Forbidden

      401 - Unauthorized

      400 - Bad Request

      200 - OK

      Parameters:
      companyIdentifier - Company identifier for which to accept invite to
      winkVersion - The winkVersion parameter
      accept - The accept parameter
      Returns:
      ResponseSpec
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API
    • inviteManager

      public reactor.core.publisher.Mono<CompanyViewAffiliate> inviteManager(String companyIdentifier, InviteManagerRequestAffiliate inviteManagerRequestAffiliate, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Invite Manager Invite user to be a manager for this company.

      500 - Internal Server Error

      403 - Forbidden

      401 - Unauthorized

      400 - Bad Request

      200 - OK

      Parameters:
      companyIdentifier - Invite user to manage company with given identifier
      inviteManagerRequestAffiliate - The inviteManagerRequestAffiliate parameter
      winkVersion - The winkVersion parameter
      Returns:
      CompanyViewAffiliate
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API
    • inviteManagerWithHttpInfo

      public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<CompanyViewAffiliate>> inviteManagerWithHttpInfo(String companyIdentifier, InviteManagerRequestAffiliate inviteManagerRequestAffiliate, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Invite Manager Invite user to be a manager for this company.

      500 - Internal Server Error

      403 - Forbidden

      401 - Unauthorized

      400 - Bad Request

      200 - OK

      Parameters:
      companyIdentifier - Invite user to manage company with given identifier
      inviteManagerRequestAffiliate - The inviteManagerRequestAffiliate parameter
      winkVersion - The winkVersion parameter
      Returns:
      ResponseEntity<CompanyViewAffiliate>
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API
    • inviteManagerWithResponseSpec

      public org.springframework.web.reactive.function.client.WebClient.ResponseSpec inviteManagerWithResponseSpec(String companyIdentifier, InviteManagerRequestAffiliate inviteManagerRequestAffiliate, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Invite Manager Invite user to be a manager for this company.

      500 - Internal Server Error

      403 - Forbidden

      401 - Unauthorized

      400 - Bad Request

      200 - OK

      Parameters:
      companyIdentifier - Invite user to manage company with given identifier
      inviteManagerRequestAffiliate - The inviteManagerRequestAffiliate parameter
      winkVersion - The winkVersion parameter
      Returns:
      ResponseSpec
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API
    • rejectInvite

      public reactor.core.publisher.Mono<CompanyViewSupplier> rejectInvite(String companyIdentifier, String winkVersion, String accept) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Reject Invite Remove manager by specified identifier

      500 - Internal Server Error

      403 - Forbidden

      401 - Unauthorized

      400 - Bad Request

      200 - OK

      Parameters:
      companyIdentifier - Remove manager from this property identifier
      winkVersion - The winkVersion parameter
      accept - The accept parameter
      Returns:
      CompanyViewSupplier
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API
    • rejectInviteWithHttpInfo

      public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<CompanyViewSupplier>> rejectInviteWithHttpInfo(String companyIdentifier, String winkVersion, String accept) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Reject Invite Remove manager by specified identifier

      500 - Internal Server Error

      403 - Forbidden

      401 - Unauthorized

      400 - Bad Request

      200 - OK

      Parameters:
      companyIdentifier - Remove manager from this property identifier
      winkVersion - The winkVersion parameter
      accept - The accept parameter
      Returns:
      ResponseEntity<CompanyViewSupplier>
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API
    • rejectInviteWithResponseSpec

      public org.springframework.web.reactive.function.client.WebClient.ResponseSpec rejectInviteWithResponseSpec(String companyIdentifier, String winkVersion, String accept) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Reject Invite Remove manager by specified identifier

      500 - Internal Server Error

      403 - Forbidden

      401 - Unauthorized

      400 - Bad Request

      200 - OK

      Parameters:
      companyIdentifier - Remove manager from this property identifier
      winkVersion - The winkVersion parameter
      accept - The accept parameter
      Returns:
      ResponseSpec
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API
    • removeCompanyUser

      public reactor.core.publisher.Mono<CompanyViewAffiliate> removeCompanyUser(String companyIdentifier, String email, String winkVersion, String accept) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Remove Manager Disassociate user from this company.

      500 - Internal Server Error

      403 - Forbidden

      401 - Unauthorized

      400 - Bad Request

      200 - OK

      Parameters:
      companyIdentifier - Remove manager from company with given identifier
      email - The email parameter
      winkVersion - The winkVersion parameter
      accept - The accept parameter
      Returns:
      CompanyViewAffiliate
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API
    • removeCompanyUserWithHttpInfo

      public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<CompanyViewAffiliate>> removeCompanyUserWithHttpInfo(String companyIdentifier, String email, String winkVersion, String accept) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Remove Manager Disassociate user from this company.

      500 - Internal Server Error

      403 - Forbidden

      401 - Unauthorized

      400 - Bad Request

      200 - OK

      Parameters:
      companyIdentifier - Remove manager from company with given identifier
      email - The email parameter
      winkVersion - The winkVersion parameter
      accept - The accept parameter
      Returns:
      ResponseEntity<CompanyViewAffiliate>
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API
    • removeCompanyUserWithResponseSpec

      public org.springframework.web.reactive.function.client.WebClient.ResponseSpec removeCompanyUserWithResponseSpec(String companyIdentifier, String email, String winkVersion, String accept) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Remove Manager Disassociate user from this company.

      500 - Internal Server Error

      403 - Forbidden

      401 - Unauthorized

      400 - Bad Request

      200 - OK

      Parameters:
      companyIdentifier - Remove manager from company with given identifier
      email - The email parameter
      winkVersion - The winkVersion parameter
      accept - The accept parameter
      Returns:
      ResponseSpec
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API
    • showManagerInviteList

      public reactor.core.publisher.Flux<ManagerInviteAffiliate> showManagerInviteList(String winkVersion, String accept) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Show Invites Retrieve list of invites for user

      500 - Internal Server Error

      403 - Forbidden

      401 - Unauthorized

      400 - Bad Request

      200 - OK

      Parameters:
      winkVersion - The winkVersion parameter
      accept - The accept parameter
      Returns:
      List<ManagerInviteAffiliate>
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API
    • showManagerInviteListWithHttpInfo

      public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<List<ManagerInviteAffiliate>>> showManagerInviteListWithHttpInfo(String winkVersion, String accept) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Show Invites Retrieve list of invites for user

      500 - Internal Server Error

      403 - Forbidden

      401 - Unauthorized

      400 - Bad Request

      200 - OK

      Parameters:
      winkVersion - The winkVersion parameter
      accept - The accept parameter
      Returns:
      ResponseEntity<List<ManagerInviteAffiliate>>
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API
    • showManagerInviteListWithResponseSpec

      public org.springframework.web.reactive.function.client.WebClient.ResponseSpec showManagerInviteListWithResponseSpec(String winkVersion, String accept) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Show Invites Retrieve list of invites for user

      500 - Internal Server Error

      403 - Forbidden

      401 - Unauthorized

      400 - Bad Request

      200 - OK

      Parameters:
      winkVersion - The winkVersion parameter
      accept - The accept parameter
      Returns:
      ResponseSpec
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API