Skip to content

Property 'authentications' is protected and only accessible within class 'TransactionalEmailsApi' and its subclasses #66

Open
@flaviobvds

Description

@flaviobvds

I'm trying to run the following code on typescript (found on the official documentation):

import * as SibApiV3Sdk from '@sendinblue/client'
const apiInstance = new SibApiV3Sdk.TransactionalEmailsApi();

const apiKey = apiInstance.authentications['apiKey'];
apiKey.apiKey = process.env.SENDINBLUE_API_KEY!;

But I'm getting the error:
Property 'authentications' is protected and only accessible within class 'TransactionalEmailsApi' and its subclasses.

What am I doing wrong? Is this a bug?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions