async createAnonymousAlias(createAnonymousAliasOptions) {
      let postBody = createAnonymousAliasOptions;
      // verify the required parameter 'createAnonymousAliasOptions' is set
      if (createAnonymousAliasOptions === undefined || createAnonymousAliasOptions === null) {
        throw new Error("Missing the required parameter 'createAnonymousAliasOptions' when calling createAnonymousAlias");
      }

      let pathParams = {
      };
      let queryParams = {
      };
      let headerParams = {
      };
      let formParams = {
      };

      let authNames = ['API_KEY'];
      let contentTypes = ['application/json'];
      let accepts = ['application/json'];
      let returnType = Alias;

      return this.callApi(
        '/aliases/anonymous', 'POST',
        pathParams, queryParams, headerParams, formParams, postBody,
        authNames, contentTypes, accepts, returnType
      );
    }
/**
     * Create an anonymous email alias
     * @param {CreateAnonymousAliasOptions} createAnonymousAliasOptions createAnonymousAliasOptions
     * @return {Promise<Alias>}
     */
Create an anonymous email alias
@param {CreateAnonymousAliasOptions} createAnonymousAliasOptions createAnonymousAliasOptions
@return {Promise}
Create an anonymous email alias @param { CreateAnonymousAliasOptions } createAnonymousAliasOptions createAnonymousAliasOptions @return { Promise }
async createAnonymousAlias(createAnonymousAliasOptions) {
      let postBody = createAnonymousAliasOptions;
      if (createAnonymousAliasOptions === undefined || createAnonymousAliasOptions === null) {
        throw new Error("Missing the required parameter 'createAnonymousAliasOptions' when calling createAnonymousAlias");
      }
      let pathParams = {
      };
      let queryParams = {
      };
      let headerParams = {
      };
      let formParams = {
      };
      let authNames = ['API_KEY'];
      let contentTypes = ['application/json'];
      let accepts = ['application/json'];
      let returnType = Alias;
      return this.callApi(
        '/aliases/anonymous', 'POST',
        pathParams, queryParams, headerParams, formParams, postBody,
        authNames, contentTypes, accepts, returnType
      );
    }
async createAnonymousAlias ( createAnonymousAliasOptions ) { let postBody = createAnonymousAliasOptions ; if ( createAnonymousAliasOptions === undefined || createAnonymousAliasOptions === null ) { throw new Error ( "Missing the required parameter 'createAnonymousAliasOptions' when calling createAnonymousAlias" ) ; } let pathParams = { } ; let queryParams = { } ; let headerParams = { } ; let formParams = { } ; let authNames = [ 'API_KEY' ] ; let contentTypes = [ 'application/json' ] ; let accepts = [ 'application/json' ] ; let returnType = Alias ; return this . callApi ( '/aliases/anonymous' , 'POST' , pathParams , queryParams , headerParams , formParams , postBody , authNames , contentTypes , accepts , returnType ) ; }
Create an anonymous email alias
 @param {CreateAnonymousAliasOptions} createAnonymousAliasOptions createAnonymousAliasOptions
 @return {Promise<Alias>}
Create an anonymous email alias @param { CreateAnonymousAliasOptions } createAnonymousAliasOptions createAnonymousAliasOptions @return { Promise<Alias > }
// verify the required parameter 'createAnonymousAliasOptions' is set