coveo/platform-client

Search interface doesn't match the documentation

beeme1mr opened this issue ยท 1 comments

The interface for RestTokenParams and RestUserId doesn't match the docs.

The main issue is that nearly all the properties are marked as required but actually aren't. You should be able to generate a token with the following payload:

{
  "userIds": [
    {
      "name": "email@example.com",
      "type": "User",
      "provider": "Email Security Provider"
    }
  ]
}

๐ŸŽ‰ This issue has been resolved in version 9.14.1 ๐ŸŽ‰

The release is available on:

Your semantic-release bot ๐Ÿ“ฆ๐Ÿš€