Skip to content

Releases: unipile/unipile-node-sdk

v1.8.0

19 Sep 13:17
Compare
Choose a tag to compare

Add AccountResource method for :

  • LinkedIn : initiate or monitor a sync process
    await client.account.resyncLinkedinAccount({
      account_id: 't5XY4yQzR9WVrlNFyzPMhw',
    });

v1.7.0

18 Sep 15:35
Compare
Choose a tag to compare

Extra parameters

If you want to pass some extra parameters for a request beyond what the SDK input defines, all methods allow an extra_params options.

await client.messaging.getMessageAttachment(
  {
    attachment_id: '5882031366722404334',
    message_id: '3aRdnf34UiympaebB4-NRA',
  },
  {
    extra_params: { my_param_name: 'my param value' },
  },
);

Depending on the underlying HTTP request mode used, extra_params will be added to the request query string or json or formData body.

This may be useful if you know about and want to use a parameter that is either omitted or not yet defined in the sdk.

v1.6.1

12 Sep 12:18
Compare
Choose a tag to compare
  • Update README with Email and LinkedIn examples.

v1.6.0

09 Sep 15:26
Compare
Choose a tag to compare
  • Re-enable optional request payload validation.
  • Add validateRequestPayloadLevel option for Client and request : 'warn' | 'error'. Default is 'warn'.
  • Update Input types to match API.
  • Update Response types to match API.

resource method return types

23 Aug 13:07
Compare
Choose a tag to compare
  • Add return types for all resource method responses.
  • Temporarily deactivate optional request payload validation.

v1.4.3

07 Aug 13:45
Compare
Choose a tag to compare
  • Fix unread parameter on route messaging.getAllChats()

v1.4.2

31 Jul 14:42
Compare
Choose a tag to compare
1.4.2

v1.4.1

31 Jul 14:36
Compare
Choose a tag to compare
1.4.1

v1.4.0

31 Jul 14:29
Compare
Choose a tag to compare
  • Add support for provider_id parameter to Email methods: getOne(), update(), delete(), getOneFolder() and getEmailAttachment().
  • Add unread parameter to Email.update() method.
  • Fix unused account_id parameter in Email.getAllFolders() method.

v1.3.7

01 Jul 13:26
Compare
Choose a tag to compare
  • Set MessagingResource.startNewChat() 'options' parameter as optional