Class AccountManagerApi

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

@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2025-01-24T16:06:55.282619945+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(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:
      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(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:
      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(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:
      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 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:
      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 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:
      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 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:
      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
    • removeManagerAgency

      public reactor.core.publisher.Mono<CompanyViewAffiliate> removeManagerAgency(String winkVersion, String accept) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Remove Managing Agency Unset managing agency.

      500 - Internal Server Error

      403 - Forbidden

      401 - Unauthorized

      400 - Bad Request

      200 - OK

      Parameters:
      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
    • removeManagerAgencyWithHttpInfo

      public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<CompanyViewAffiliate>> removeManagerAgencyWithHttpInfo(String winkVersion, String accept) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Remove Managing Agency Unset managing agency.

      500 - Internal Server Error

      403 - Forbidden

      401 - Unauthorized

      400 - Bad Request

      200 - OK

      Parameters:
      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
    • removeManagerAgencyWithResponseSpec

      public org.springframework.web.reactive.function.client.WebClient.ResponseSpec removeManagerAgencyWithResponseSpec(String winkVersion, String accept) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Remove Managing Agency Unset managing agency.

      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
    • 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
    • updateManagerAgency

      public reactor.core.publisher.Mono<CompanyViewAffiliate> updateManagerAgency(UpsertManagedByAgencyRequestAffiliate upsertManagedByAgencyRequestAffiliate, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Set Managing Agency Indicates that the entity is managed by an another entity on the platform. This does not give privileges to manage the account but entitles the agency to a commission.

      500 - Internal Server Error

      403 - Forbidden

      401 - Unauthorized

      400 - Bad Request

      200 - OK

      Parameters:
      upsertManagedByAgencyRequestAffiliate - The upsertManagedByAgencyRequestAffiliate 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
    • updateManagerAgencyWithHttpInfo

      public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<CompanyViewAffiliate>> updateManagerAgencyWithHttpInfo(UpsertManagedByAgencyRequestAffiliate upsertManagedByAgencyRequestAffiliate, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Set Managing Agency Indicates that the entity is managed by an another entity on the platform. This does not give privileges to manage the account but entitles the agency to a commission.

      500 - Internal Server Error

      403 - Forbidden

      401 - Unauthorized

      400 - Bad Request

      200 - OK

      Parameters:
      upsertManagedByAgencyRequestAffiliate - The upsertManagedByAgencyRequestAffiliate 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
    • updateManagerAgencyWithResponseSpec

      public org.springframework.web.reactive.function.client.WebClient.ResponseSpec updateManagerAgencyWithResponseSpec(UpsertManagedByAgencyRequestAffiliate upsertManagedByAgencyRequestAffiliate, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Set Managing Agency Indicates that the entity is managed by an another entity on the platform. This does not give privileges to manage the account but entitles the agency to a commission.

      500 - Internal Server Error

      403 - Forbidden

      401 - Unauthorized

      400 - Bad Request

      200 - OK

      Parameters:
      upsertManagedByAgencyRequestAffiliate - The upsertManagedByAgencyRequestAffiliate 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