<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Aura – </title>
    <link>/docs/experiences-builder/api-clients/</link>
    <description>Recent content on Aura</description>
    <generator>Hugo -- gohugo.io</generator>
    <language>en</language>
    
	  <atom:link href="/docs/experiences-builder/api-clients/index.xml" rel="self" type="application/rss+xml" />
    
    
      
        
      
    
    
    <item>
      <title>Docs: </title>
      <link>/docs/experiences-builder/api-clients/internal-api-clients/</link>
      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
      
      <guid>/docs/experiences-builder/api-clients/internal-api-clients/</guid>
      <description>
        
        
        &lt;h1 id=&#34;internal-api-clients&#34;&gt;Internal API clients&lt;/h1&gt;


&lt;div class=&#34;pageinfo pageinfo-primary&#34;&gt;
&lt;p&gt;Description of internal API clients implemented and used by &lt;em&gt;&lt;strong&gt;aura-bot&lt;/strong&gt;&lt;/em&gt;&lt;/p&gt;

&lt;/div&gt;

&lt;h2 id=&#34;introduction&#34;&gt;Introduction&lt;/h2&gt;
&lt;p&gt;Internal API clients in Aura are associated with Aura servers. They are automatically generated and published with changes in the API definition of its server during the CI execution, the developer does nothing to update it.&lt;/p&gt;
&lt;p&gt;The self-generated clients are clients automatically generated and published with changes in the API definition of its server during the CI execution, the developer does nothing to update it.&lt;/p&gt;
&lt;p&gt;Almost all servers developed by the aura-bot team belong to this set, but not all. For instance, aura-bridge client, as its complete swagger is built out of the different partial swaggers of aura-bridge core and all its plugins, is generated and stored in aura-clients repository instead of in aura-bridge repository, as would happen with the self-generated clients.&lt;/p&gt;
&lt;h2 id=&#34;aura-cognitive-client&#34;&gt;Aura cognitive client&lt;/h2&gt;
&lt;p&gt;This client provides a set of classes to interact with the Telefónica Cognitive Service. It implements version 3.4.0.&lt;/p&gt;
&lt;p&gt;These classes are:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;code&gt;DomainClassifierApi&lt;/code&gt;: interaction with Telefónica&amp;rsquo;s Domain Classifier Cognitive Service. This service is no longer used by &lt;em&gt;&lt;strong&gt;aura-bot&lt;/strong&gt;&lt;/em&gt;, because the updated version is the one available in &lt;code&gt;aura-nlp-client&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;&lt;code&gt;InsightsResolutionApi&lt;/code&gt;: interaction with Telefónica&amp;rsquo;s Insights Resolution Classifier Cognitive Service passing the base path where the service is hosted and the user OAuth access token to use when interacting with the remote service.&lt;/li&gt;
&lt;li&gt;&lt;code&gt;SuggestionsApi&lt;/code&gt;: interaction with Telefónica&amp;rsquo;s Suggestions Cognitive Service passing the base path where the service is hosted and the user OAuth access token to use when interacting with the remote service.&lt;/li&gt;
&lt;li&gt;&lt;code&gt;NotificationsFilterApi&lt;/code&gt;: interaction with the Telefónica&amp;rsquo;s NotificationFilter Cognitive Service.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;i class=&#34;fa-regular fa-file-lines fa-xl&#34; style=&#34;color: #0d5de7;&#34;&gt;&lt;/i&gt; Find more information in the Github repository:
&lt;a href=&#34;https://github.com/Telefonica/aura-common-utilities/tree/master/packages/aura-clients/src/aura-cognitive-client/&#34;&gt;https://github.com/Telefonica/aura-common-utilities/tree/master/packages/aura-clients/src/aura-cognitive-client/&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&amp;#x1f4c4; Access this API client in the Github repository: &lt;a href=&#34;https://github.com/Telefonica/aura-clients/tree/master/packages/aura-cognitive-client&#34;&gt;aura-cognitive-client&lt;/a&gt;&lt;/p&gt;
&lt;h2 id=&#34;movistar-cognitive-client&#34;&gt;Movistar+ cognitive client&lt;/h2&gt;
&lt;p&gt;This client provides a set of classes to interact with the Movistar+ cognitive Service.&lt;/p&gt;
&lt;p&gt;These classes are:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;code&gt;MovistarPlusCognitiveClient&lt;/code&gt;: Interaction with Movistar+ Resolution Cognitive Service passing the base path where the service is hosted and the user OAuth access token to use when interacting with the remote service.&lt;/li&gt;
&lt;li&gt;&lt;code&gt;MovistarPlusCognitiveStatusClient&lt;/code&gt;: Interaction with Movistar+ Resolution Status Cognitive Service passing the base path where the service is hosted and the user OAuth access token to use when interacting with the remote service.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;i class=&#34;fa-regular fa-file-lines fa-xl&#34; style=&#34;color: #0d5de7;&#34;&gt;&lt;/i&gt; Find more information in the Github repository:
&lt;a href=&#34;https://github.com/Telefonica/aura-common-utilities/tree/master/packages/aura-clients/src/movistar-plus-cognitive-client/&#34;&gt;https://github.com/Telefonica/aura-common-utilities/tree/master/packages/aura-clients/src/movistar-plus-cognitive-client/&lt;/a&gt;&lt;/p&gt;
&lt;h2 id=&#34;aura-nlp-client&#34;&gt;Aura NLP client&lt;/h2&gt;
&lt;p&gt;This client implements the internal NLP API that provides access to the &lt;em&gt;&lt;strong&gt;aura-bot&lt;/strong&gt;&lt;/em&gt; &lt;a href=&#34;../../../docs/components/aura-bot-platform/aura-bot-components/recognizers/nlp-recognizer/&#34;&gt;&lt;em&gt;&lt;strong&gt;nlp-recognizer-middleware&lt;/strong&gt;&lt;/em&gt;&lt;/a&gt;. It implements the client for the 3.0.0. version of the API.&lt;/p&gt;
&lt;p&gt;It provides access to &lt;code&gt;DomainClassifierApi&lt;/code&gt;: interaction with Telefónica&amp;rsquo;s Domain Classifier Cognitive Service.&lt;/p&gt;
&lt;p&gt;&lt;i class=&#34;fa-regular fa-file-lines fa-xl&#34; style=&#34;color: #0d5de7;&#34;&gt;&lt;/i&gt; Find more information in the Github repository:
&lt;a href=&#34;https://github.com/Telefonica/aura-common-utilities/tree/master/packages/aura-clients/src/aura-nlp-client/&#34;&gt;https://github.com/Telefonica/aura-common-utilities/tree/master/packages/aura-clients/src/aura-nlp-client/&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&amp;#x1f4c4; Access the &lt;a href=&#34;../../../docs/components/aura-nlp/api-definition/&#34;&gt;&lt;em&gt;&lt;strong&gt;aura-nlp&lt;/strong&gt;&lt;/em&gt; API definition&lt;/a&gt;&lt;/p&gt;
&lt;h2 id=&#34;aura-authentication-client-autogenerated&#34;&gt;Aura authentication client (autogenerated)&lt;/h2&gt;
&lt;p&gt;This client implements the internal authentication API that provides access to the Aura user&amp;rsquo;s service. It implements the client for the 2.2.0. version of the API and provides access to &lt;code&gt;UsersApi&lt;/code&gt;.&lt;/p&gt;
&lt;p&gt;&lt;i class=&#34;fa-regular fa-file-lines fa-xl&#34; style=&#34;color: #0d5de7;&#34;&gt;&lt;/i&gt; Find more information in the Github repository:
&lt;a href=&#34;https://github.com/Telefonica/aura-common-utilities/tree/master/packages/aura-clients/src/authentication-api-client/&#34;&gt;https://github.com/Telefonica/aura-common-utilities/tree/master/packages/aura-clients/src/authentication-api-client/&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&amp;#x1f4c4; Access the &lt;a href=&#34;../../../docs/components/aura-authentication-api/api-definition/aura-authentication-api/&#34;&gt;&lt;em&gt;&lt;strong&gt;aura-authentication-api&lt;/strong&gt;&lt;/em&gt; API definition&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;i class=&#34;fa-regular fa-file-lines fa-xl&#34; style=&#34;color: #0d5de7;&#34;&gt;&lt;/i&gt; Find more information in the Github repository:&lt;/p&gt;
&lt;h2 id=&#34;aura-file-manager-client&#34;&gt;Aura File Manager client&lt;/h2&gt;
&lt;p&gt;This client implements the internal API that provides access to the &lt;a href=&#34;../../../docs/components/file-manager/&#34;&gt;&lt;em&gt;&lt;strong&gt;aura-file-manager&lt;/strong&gt;&lt;/em&gt;&lt;/a&gt; component. It implements the client for the 2.2.0. version of the API and provides access to the File Manager API, microservice responsible of handling attached files storage and validations at channel level.&lt;/p&gt;
&lt;p&gt;&lt;i class=&#34;fa-regular fa-file-lines fa-xl&#34; style=&#34;color: #0d5de7;&#34;&gt;&lt;/i&gt; Find more information in the Github repository:
&lt;a href=&#34;https://github.com/Telefonica/aura-common-utilities/tree/master/packages/aura-clients/src/aura-file-manager-client/&#34;&gt;https://github.com/Telefonica/aura-common-utilities/tree/master/packages/aura-clients/src/aura-file-manager-client/&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&amp;#x1f4c4; Access the &lt;a href=&#34;../../../docs/components/file-manager/api-definition/&#34;&gt;&lt;em&gt;&lt;strong&gt;aura-file-manager&lt;/strong&gt;&lt;/em&gt; API definition&lt;/a&gt;&lt;/p&gt;
&lt;h2 id=&#34;aura-configuration-client&#34;&gt;Aura Configuration Client&lt;/h2&gt;
&lt;p&gt;This client implements the API that provides access to the &lt;a href=&#34;../../../docs/components/aura-configuration-api/&#34;&gt;&lt;em&gt;&lt;strong&gt;aura-configuration-api&lt;/strong&gt;&lt;/em&gt;&lt;/a&gt; component. It implements the client for the 2.3.0. version of the API.&lt;/p&gt;
&lt;p&gt;&lt;i class=&#34;fa-regular fa-file-lines fa-xl&#34; style=&#34;color: #0d5de7;&#34;&gt;&lt;/i&gt; Find more information in the Github repository:
&lt;a href=&#34;https://github.com/Telefonica/aura-common-utilities/tree/master/packages/aura-clients/src/aura-configuration-api-client/&#34;&gt;https://github.com/Telefonica/aura-common-utilities/tree/master/packages/aura-clients/src/aura-configuration-api-client/&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&amp;#x1f4c4; Access the &lt;a href=&#34;../../../docs/components/aura-configuration-api/api-definition/&#34;&gt;&lt;em&gt;&lt;strong&gt;aura-configuration-api&lt;/strong&gt;&lt;/em&gt; API definition&lt;/a&gt;&lt;/p&gt;
&lt;h2 id=&#34;aura-bridge-client&#34;&gt;Aura Bridge client&lt;/h2&gt;
&lt;p&gt;The &lt;em&gt;&lt;strong&gt;aura-bridge&lt;/strong&gt;&lt;/em&gt; client contains a set of endpoints that support &lt;em&gt;&lt;strong&gt;aura-bridge&lt;/strong&gt;&lt;/em&gt;, that is, Aura component in charge of adapting the communication protocol between &lt;em&gt;&lt;strong&gt;aura-groot&lt;/strong&gt;&lt;/em&gt; and certain external channels, such as Whatsapp, that cannot implement the Direct Line protocol.&lt;/p&gt;
&lt;p&gt;&lt;i class=&#34;fa-regular fa-file-lines fa-xl&#34; style=&#34;color: #0d5de7;&#34;&gt;&lt;/i&gt; Find more information in the Github repository:
&lt;a href=&#34;https://github.com/Telefonica/aura-common-utilities/tree/master/packages/aura-clients/src/aura-bridge-client/&#34;&gt;https://github.com/Telefonica/aura-common-utilities/tree/master/packages/aura-clients/src/aura-bridge-client/&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&amp;#x1f4c4; Access the &lt;a href=&#34;../../../docs/components/aura-bridge/api-definition/&#34;&gt;&lt;em&gt;&lt;strong&gt;aura-bridge&lt;/strong&gt;&lt;/em&gt; API definition&lt;/a&gt;&lt;/p&gt;
&lt;h2 id=&#34;aura-complex-logic-client&#34;&gt;Aura Complex Logic client&lt;/h2&gt;
&lt;p&gt;This client implements the API that provides access to the &lt;em&gt;&lt;strong&gt;aura-complex-logic&lt;/strong&gt;&lt;/em&gt; component in Aura.&lt;/p&gt;
&lt;p&gt;&lt;i class=&#34;fa-regular fa-file-lines fa-xl&#34; style=&#34;color: #0d5de7;&#34;&gt;&lt;/i&gt; Find more information in the Github repository:
&lt;a href=&#34;https://github.com/Telefonica/aura-common-utilities/tree/master/packages/aura-clients/src/complex-logic-client/&#34;&gt;https://github.com/Telefonica/aura-common-utilities/tree/master/packages/aura-clients/src/complex-logic-client/&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&amp;#x1f4c4; Access the &lt;a href=&#34;../../../docs/components/complex-logic-framework/api-definition/&#34;&gt;&lt;em&gt;&lt;strong&gt;aura-complex-logic&lt;/strong&gt;&lt;/em&gt; API definition&lt;/a&gt;&lt;/p&gt;
&lt;h2 id=&#34;aura-gateway-api-client&#34;&gt;Aura Gateway API client&lt;/h2&gt;
&lt;p&gt;This client implements the API that provides access to the &lt;em&gt;&lt;strong&gt;aura-gateway-api&lt;/strong&gt;&lt;/em&gt; service in Aura.&lt;/p&gt;
&lt;p&gt;&lt;i class=&#34;fa-regular fa-file-lines fa-xl&#34; style=&#34;color: #0d5de7;&#34;&gt;&lt;/i&gt; Find more information in the Github repository:
&lt;a href=&#34;https://github.com/Telefonica/aura-common-utilities/tree/master/packages/aura-clients/src/aura-gateway-api-client/&#34;&gt;https://github.com/Telefonica/aura-common-utilities/tree/master/packages/aura-clients/src/aura-gateway-api-client/&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&amp;#x1f4c4; Access the &lt;a href=&#34;../../../docs/atria/technical-components/aura-gateway-api/api-definition/&#34;&gt;&lt;em&gt;&lt;strong&gt;aura-gateway-api&lt;/strong&gt;&lt;/em&gt; API definition&lt;/a&gt;&lt;/p&gt;
&lt;h2 id=&#34;agents-manager-api-client&#34;&gt;Agents Manager API client&lt;/h2&gt;
&lt;p&gt;This client implements the API that provides access to the &lt;em&gt;&lt;strong&gt;agents-manager&lt;/strong&gt;&lt;/em&gt; service in Aura.&lt;/p&gt;
&lt;p&gt;&lt;i class=&#34;fa-regular fa-file-lines fa-xl&#34; style=&#34;color: #0d5de7;&#34;&gt;&lt;/i&gt; Find more information in the Github repository:
&lt;a href=&#34;https://github.com/Telefonica/aura-common-utilities/tree/master/packages/aura-clients/src/aura-agents-manager-client/&#34;&gt;https://github.com/Telefonica/aura-common-utilities/tree/master/packages/aura-clients/src/aura-agents-manager-client/&lt;/a&gt;&lt;/p&gt;

      </description>
    </item>
    
    <item>
      <title>Docs: </title>
      <link>/docs/experiences-builder/api-clients/external-api-clients/</link>
      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
      
      <guid>/docs/experiences-builder/api-clients/external-api-clients/</guid>
      <description>
        
        
        &lt;h1 id=&#34;external-api-clients&#34;&gt;External API clients&lt;/h1&gt;


&lt;div class=&#34;pageinfo pageinfo-primary&#34;&gt;
&lt;p&gt;Description of external API clients used by Aura&lt;/p&gt;

&lt;/div&gt;

&lt;h2 id=&#34;introduction&#34;&gt;Introduction&lt;/h2&gt;
&lt;p&gt;External API clients are associated with services external to Aura.&lt;/p&gt;
&lt;p&gt;They are located inside the Github repository &lt;a href=&#34;https://github.com/Telefonica/aura-clients&#34;&gt;&lt;em&gt;@telefonica/aura-clients&lt;/em&gt;&lt;/a&gt;, which is a Github private repository shared with Telefonica&amp;rsquo;s LCDO.&lt;/p&gt;
&lt;h2 id=&#34;kernel-api-clients&#34;&gt;Kernel API clients&lt;/h2&gt;
&lt;p&gt;Aura contains different Kernel API clients for interacting with &lt;strong&gt;Telefónica Kernel&lt;/strong&gt; products, which are described in the following sections.&lt;/p&gt;
&lt;p&gt;You can access to the corresponding swaggers, per environment and country, &lt;a href=&#34;https://developers.baikalplatform.com/apis/&#34;&gt;here&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;&lt;i class=&#34;fa-regular fa-file-lines fa-xl&#34; style=&#34;color: #0d5de7;&#34;&gt;&lt;/i&gt; Find more information in the Github repository for the &lt;em&gt;&lt;strong&gt;kernel-directsql-api-client&lt;/strong&gt;&lt;/em&gt;:
&lt;a href=&#34;https://github.com/Telefonica/aura-common-utilities/tree/master/packages/aura-clients/src/kernel-directsql-api-client/&#34;&gt;https://github.com/Telefonica/aura-common-utilities/tree/master/packages/aura-clients/src/kernel-directsql-api-client/&lt;/a&gt;&lt;/p&gt;
&lt;h3 id=&#34;access-sessions-client&#34;&gt;Access Sessions client&lt;/h3&gt;
&lt;p&gt;Implementation of the &lt;a href=&#34;https://developers.baikalplatform.com/apis/access-sessions/&#34;&gt;Kernel Access Sessions API&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;It provides a &lt;code&gt;SingleAccessSessionApi&lt;/code&gt; class with all the models and methods implemented to handle Access Sessions API.&lt;/p&gt;
&lt;p&gt;&lt;i class=&#34;fa-regular fa-file-lines fa-xl&#34; style=&#34;color: #0d5de7;&#34;&gt;&lt;/i&gt; Find more information in the Github repository:
&lt;a href=&#34;https://github.com/Telefonica/aura-common-utilities/tree/master/packages/aura-clients/src/aura-bot-access-sessions-client/&#34;&gt;https://github.com/Telefonica/aura-common-utilities/tree/master/packages/aura-clients/src/aura-bot-access-sessions-client/&lt;/a&gt;&lt;/p&gt;
&lt;h3 id=&#34;aura-bot-events-client&#34;&gt;Aura Bot Events client&lt;/h3&gt;
&lt;p&gt;Implementation of the &lt;a href=&#34;https://developers.baikalplatform.com/apis/aura-bot-events/&#34;&gt;Kernel Aura Bot Events API&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;It provides an API class to handle &lt;code&gt;AuraBotEvent&lt;/code&gt;, with all the models and methods implemented to be able to handle this API.&lt;/p&gt;
&lt;p&gt;&lt;i class=&#34;fa-regular fa-file-lines fa-xl&#34; style=&#34;color: #0d5de7;&#34;&gt;&lt;/i&gt; Find more information in the Github repository:
&lt;a href=&#34;https://github.com/Telefonica/aura-common-utilities/tree/master/packages/aura-clients/src/aura-bot-events-client/&#34;&gt;https://github.com/Telefonica/aura-common-utilities/tree/master/packages/aura-clients/src/aura-bot-events-client/&lt;/a&gt;&lt;/p&gt;
&lt;h3 id=&#34;invoicing-client&#34;&gt;Invoicing client&lt;/h3&gt;
&lt;p&gt;Implementation of the &lt;a href=&#34;https://developers.baikalplatform.com/apis/invoicing/&#34;&gt;Kernel Invoicing API v2&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;It provides a central class called &lt;code&gt;InvoicingClient&lt;/code&gt; that makes it the very simple to interact with &lt;strong&gt;Telefónica Kernel Invoicing Service&lt;/strong&gt;, passing the base path where the service is hosted and the user OAuth access token to use when interacting with the remote service.&lt;/p&gt;
&lt;p&gt;&lt;i class=&#34;fa-regular fa-file-lines fa-xl&#34; style=&#34;color: #0d5de7;&#34;&gt;&lt;/i&gt; Find more information in the Github repository:
&lt;a href=&#34;https://github.com/Telefonica/aura-common-utilities/tree/master/packages/aura-clients/src/invoicing-client/&#34;&gt;https://github.com/Telefonica/aura-common-utilities/tree/master/packages/aura-clients/src/invoicing-client/&lt;/a&gt;&lt;/p&gt;
&lt;h3 id=&#34;mobile-balance-client&#34;&gt;Mobile Balance client&lt;/h3&gt;
&lt;p&gt;Implementation of &lt;a href=&#34;https://developers.baikalplatform.com/apis/mobile-balance/&#34;&gt;Kernel Mobile Balance API&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;It provides a couple of classes called &lt;code&gt;BalanceClient&lt;/code&gt; and &lt;code&gt;TopUpClient&lt;/code&gt; that makes it very simple to interact with &lt;strong&gt;Telefónica Kernel Mobile Balance Service&lt;/strong&gt;, passing the base path where the service is hosted and the user OAuth access token to use when interacting with the remote service.&lt;/p&gt;
&lt;p&gt;&lt;i class=&#34;fa-regular fa-file-lines fa-xl&#34; style=&#34;color: #0d5de7;&#34;&gt;&lt;/i&gt; Find more information in the Github repository:
&lt;a href=&#34;https://github.com/Telefonica/aura-common-utilities/tree/master/packages/aura-clients/src/mobile-balance-client&#34;&gt;https://github.com/Telefonica/aura-common-utilities/tree/master/packages/aura-clients/src/mobile-balance-client&lt;/a&gt;&lt;/p&gt;
&lt;h3 id=&#34;mobile-quota-client&#34;&gt;Mobile Quota client&lt;/h3&gt;
&lt;p&gt;Implementation of &lt;a href=&#34;https://developers.baikalplatform.com/apis/mobile-quota/&#34;&gt;Kernel Mobile Quota API&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;It provides a central class called &lt;code&gt;MobileQuotaClient&lt;/code&gt; that makes it the very simple to interact with &lt;strong&gt;Telefónica Kernel Mobile Quota Service&lt;/strong&gt;, passing the base path where the service is hosted and the user OAuth access token to use when interacting with the remote service.&lt;/p&gt;
&lt;p&gt;&lt;i class=&#34;fa-regular fa-file-lines fa-xl&#34; style=&#34;color: #0d5de7;&#34;&gt;&lt;/i&gt; Find more information in the Github repository:
&lt;a href=&#34;https://github.com/Telefonica/aura-common-utilities/tree/master/packages/aura-clients/src/mobile-quota-client&#34;&gt;https://github.com/Telefonica/aura-common-utilities/tree/master/packages/aura-clients/src/mobile-quota-client&lt;/a&gt;&lt;/p&gt;
&lt;h3 id=&#34;smart-wifi-client&#34;&gt;Smart Wifi client&lt;/h3&gt;
&lt;p&gt;Implementation of &lt;a href=&#34;https://developers.baikalplatform.com/apis/smart-wifi/&#34;&gt;Kernel Smart Wifi API&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;It provides a central class called &lt;code&gt;SmartWifiClient&lt;/code&gt; which makes it very simple to interact with &lt;strong&gt;Telefónica Kernel Smart Wifi Service&lt;/strong&gt; passing the base path where the service is hosted and the user OAuth access token to use when interacting with the remote service.&lt;/p&gt;
&lt;p&gt;&lt;i class=&#34;fa-regular fa-file-lines fa-xl&#34; style=&#34;color: #0d5de7;&#34;&gt;&lt;/i&gt; Find more information in the Github repository:
&lt;a href=&#34;https://github.com/Telefonica/aura-common-utilities/tree/master/packages/aura-clients/src/smart-wifi-client/&#34;&gt;https://github.com/Telefonica/aura-common-utilities/tree/master/packages/aura-clients/src/smart-wifi-client/&lt;/a&gt;&lt;/p&gt;
&lt;h3 id=&#34;subscribed-products-client&#34;&gt;Subscribed Products client&lt;/h3&gt;
&lt;p&gt;Implementation of &lt;a href=&#34;https://developers.baikalplatform.com/apis/subscribed-products/&#34;&gt;Kernel Subscribed Products API&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;It provides a central class called &lt;code&gt;SubscribedProductsClient&lt;/code&gt; which makes it very simple to interact with &lt;strong&gt;Telefónica Kernel Subscribed Products Service&lt;/strong&gt; passing the base path where the service is hosted and the user OAuth access token to use when interacting with the remote service.&lt;/p&gt;
&lt;p&gt;&lt;i class=&#34;fa-regular fa-file-lines fa-xl&#34; style=&#34;color: #0d5de7;&#34;&gt;&lt;/i&gt; Find more information in the Github repository:
&lt;a href=&#34;https://github.com/Telefonica/aura-common-utilities/tree/master/packages/aura-clients/src/subscribed-products-client/&#34;&gt;https://github.com/Telefonica/aura-common-utilities/tree/master/packages/aura-clients/src/subscribed-products-client/&lt;/a&gt;&lt;/p&gt;
&lt;h3 id=&#34;user-profile-client&#34;&gt;User Profile client&lt;/h3&gt;
&lt;p&gt;Implementation of the &lt;a href=&#34;https://developers.baikalplatform.com/apis/userprofile/&#34;&gt;Kernel User Profile API&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;It provides a &lt;code&gt;UserApi&lt;/code&gt; class with all models and methods needed to handle user profile requests.&lt;/p&gt;
&lt;p&gt;&lt;i class=&#34;fa-regular fa-file-lines fa-xl&#34; style=&#34;color: #0d5de7;&#34;&gt;&lt;/i&gt; Find more information in the Github repository:
&lt;a href=&#34;https://github.com/Telefonica/aura-common-utilities/tree/master/packages/aura-clients/src/user-profile-client/&#34;&gt;https://github.com/Telefonica/aura-common-utilities/tree/master/packages/aura-clients/src/user-profile-client/&lt;/a&gt;&lt;/p&gt;
&lt;h3 id=&#34;whatsapp-api-client&#34;&gt;WhatsApp API client&lt;/h3&gt;
&lt;p&gt;Implementation of the &lt;a href=&#34;https://developers.baikalplatform.com/apis/whatsapp/&#34;&gt;Kernel WhatsApp API&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;It provides a WhatsApp API class with all models and methods needed to handle WhatsApp requests.&lt;/p&gt;
&lt;p&gt;&lt;i class=&#34;fa-regular fa-file-lines fa-xl&#34; style=&#34;color: #0d5de7;&#34;&gt;&lt;/i&gt; Find more information in the Github repository:
&lt;a href=&#34;https://github.com/Telefonica/aura-common-utilities/tree/master/packages/aura-clients/src/whatsapp-api-client/&#34;&gt;https://github.com/Telefonica/aura-common-utilities/tree/master/packages/aura-clients/src/whatsapp-api-client/&lt;/a&gt;&lt;/p&gt;
&lt;h2 id=&#34;genesys-api-client&#34;&gt;Genesys API client&lt;/h2&gt;
&lt;p&gt;The common call center solution in Telefonica OBs is a platform called &lt;a href=&#34;https://docs.genesys.com/&#34;&gt;&lt;strong&gt;Genesys&lt;/strong&gt;&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;The current client is an implementation of the &lt;a href=&#34;https://docs.genesys.com/Documentation/GMS/8.5.2/API/ChatAPIv2&#34;&gt;Genesys API version 8.5.2&lt;/a&gt;, that is compatible with the call center platform of all the OBs. It is required in order to provide the internal handover to agent solution in Aura.&lt;/p&gt;
&lt;p&gt;As Genesys API is not defined with OpenAPI, we have gathered all the methods and objects needed to handle Genesys requests and provide the API definition by our own.&lt;/p&gt;
&lt;p&gt;&lt;i class=&#34;fa-regular fa-file-lines fa-xl&#34; style=&#34;color: #0d5de7;&#34;&gt;&lt;/i&gt; Find more information in the Github repository:
&lt;a href=&#34;https://github.com/Telefonica/aura-common-utilities/tree/master/packages/aura-clients/src/genesys-api-client/&#34;&gt;https://github.com/Telefonica/aura-common-utilities/tree/master/packages/aura-clients/src/genesys-api-client/&lt;/a&gt;&lt;/p&gt;
&lt;h2 id=&#34;aura-ai-service-api-client&#34;&gt;Aura AI Service API client&lt;/h2&gt;
&lt;p&gt;Implementation of the &lt;a href=&#34;https://developers.baikalplatform.com/apis/aura-aiservices/&#34;&gt;&lt;strong&gt;aura-ai-services&lt;/strong&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;It provides  &lt;code&gt;FeedbackApi&lt;/code&gt;, &lt;code&gt;GenerativeApi&lt;/code&gt;, &lt;code&gt;NlpaasApi&lt;/code&gt; classes with all the models and methods implemented to handle requests to &lt;strong&gt;aura-ai-services&lt;/strong&gt;.&lt;/p&gt;
&lt;p&gt;&lt;i class=&#34;fa-regular fa-file-lines fa-xl&#34; style=&#34;color: #0d5de7;&#34;&gt;&lt;/i&gt; Find more information in the Github repository:
&lt;a href=&#34;https://github.com/Telefonica/aura-common-utilities/tree/master/packages/aura-clients/src/aura-aiservices/&#34;&gt;https://github.com/Telefonica/aura-common-utilities/tree/master/packages/aura-clients/src/aura-aiservices/&lt;/a&gt;&lt;/p&gt;
&lt;h2 id=&#34;agents-api-client&#34;&gt;Agents API client&lt;/h2&gt;
&lt;p&gt;Implementation of the &lt;a href=&#34;https://github.com/Telefonica/aura-common-utilities/tree/master/packages/aura-clients/src/aura-agent-client/&#34;&gt;&lt;strong&gt;agents-api&lt;/strong&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;It provides &lt;code&gt;DefaultApi&lt;/code&gt; class with all the models and methods implemented to handle requests to &lt;strong&gt;agents-api&lt;/strong&gt;.&lt;/p&gt;
&lt;p&gt;&lt;i class=&#34;fa-regular fa-file-lines fa-xl&#34; style=&#34;color: #0d5de7;&#34;&gt;&lt;/i&gt; Find more information in the Github repository:
&lt;a href=&#34;https://github.com/Telefonica/aura-common-utilities/tree/master/packages/aura-clients/src/aura-aiservices/&#34;&gt;https://github.com/Telefonica/aura-common-utilities/tree/master/packages/aura-clients/src/aura-aiservices/&lt;/a&gt;&lt;/p&gt;

      </description>
    </item>
    
    <item>
      <title>Docs: </title>
      <link>/docs/experiences-builder/api-clients/create-api-client/</link>
      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
      
      <guid>/docs/experiences-builder/api-clients/create-api-client/</guid>
      <description>
        
        
        &lt;h1 id=&#34;createupdate-an-api-client&#34;&gt;Create/update an API client&lt;/h1&gt;


&lt;div class=&#34;pageinfo pageinfo-primary&#34;&gt;
&lt;p&gt;Guidelines for the generation or the update of an API client in Aura&lt;/p&gt;

&lt;/div&gt;

&lt;h2 id=&#34;introduction&#34;&gt;Introduction&lt;/h2&gt;
&lt;p&gt;There are two main ways to create or update a new API client, both based on a swagger OpenAPI schema:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Create a new client based on a swagger&lt;/li&gt;
&lt;li&gt;Update an already available client by re-creating it based on the next version of the published swagger&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;API clients are generated automatically from the swagger file delivered by the API constructor, usually Telefónica &lt;strong&gt;Kernel&lt;/strong&gt;. Aura uses a custom code generator based on the OpenAPI initiative in order to generate TypeScript clients, which is compatible with JavaScript. Two different types of clients live together in the current Aura release:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Clients generated directly from the swagger with the original code generator described on the &lt;a href=&#34;https://swagger.io/docs/open-source-tools/swagger-codegen/&#34;&gt;swagger documentation&lt;/a&gt;.&lt;/li&gt;
&lt;li&gt;Clients generated directly from the swagger based on the custom code generator. &amp;#x2139;&amp;#xfe0f; Recommended way.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;A copy of the swagger generator tools is available in the repository in the folder called &lt;a href=&#34;https://github.com/Telefonica/aura-code-generator/tree/master/packages/aura-client-generator/tools&#34;&gt;&lt;em&gt;tools&lt;/em&gt;&lt;/a&gt;, to be used directly from the scripts of the client. In the current version, we are using &lt;code&gt;aura-code-generator/packages/aura-client-generator/tools/openapi/openapi-generator-cli-6.2.1.jar&lt;/code&gt; as the custom code generator.&lt;/p&gt;
&lt;h2 id=&#34;procedures-for-generating-or-updating-clients&#34;&gt;Procedures for generating or updating clients&lt;/h2&gt;
&lt;p&gt;There are three different processes, depending on the type of client and purpose:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href=&#34;#create-a-new-external-client&#34;&gt;Create a new external client&lt;/a&gt; for a brand-new API&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;#create-a-new-internal-client&#34;&gt;Create a new internal client&lt;/a&gt; for a brand-new API&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;#update-a-client&#34;&gt;Update a client&lt;/a&gt; to a breaking change version&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Moreover, if implementing a minor change version, check how the original client was created and follow the same procedure. Otherwise, there can be uncontrolled breaking changes.&lt;/p&gt;
&lt;p&gt;Previous to the creation of a client, it is required to install the library: &lt;code&gt;@telefonica/aura-develop-utilities&lt;/code&gt;&lt;/p&gt;
&lt;h3 id=&#34;create-a-new-external-client&#34;&gt;Create a new external client&lt;/h3&gt;
&lt;p&gt;We have integrated &lt;a href=&#34;http://www.hygen.io/&#34;&gt;&lt;strong&gt;Hygen&lt;/strong&gt;&lt;/a&gt; as a way to boost the process of creating new API clients.&lt;/p&gt;
&lt;p&gt;To create a new API client template, please follow the next steps:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;In your project install the client generator:
&lt;code&gt;$ @telefonica/aura-client-generator&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;Create a new branch with a descriptive name:
&lt;code&gt;$ git branch -b feat/new-api-client&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;Execute the following commands to create or update API:
&lt;ul&gt;
&lt;li&gt;&lt;code&gt;$ aura-client-generator&lt;/code&gt;, &lt;code&gt;$ aucg&lt;/code&gt; or &lt;code&gt;$ aura-cg&lt;/code&gt;: Generate new API with base files, model files and API files.&lt;/li&gt;
&lt;li&gt;&lt;code&gt;$ aucg-update&lt;/code&gt;: Generate only API files.&lt;/li&gt;
&lt;li&gt;&lt;code&gt;$ aucg-model&lt;/code&gt;: Generate only model files.&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;Send answers for aucg.
&lt;ul&gt;
&lt;li&gt;&lt;em&gt;Hygen&lt;/em&gt;: Answer the questions requested by the Hygen for the generation of the new client. Hygen will ask you for the name of the new API, the location of the swagger, the location where you want to generate the client (by default, it is generated in the &lt;em&gt;root&lt;/em&gt; directory with the name of client), the version, the enumeration, the projectType and the tag to be set.&lt;/li&gt;
&lt;li&gt;&lt;em&gt;Flags options&lt;/em&gt;: Add flags options with the answers.
&lt;ul&gt;
&lt;li&gt;&lt;code&gt;$ -V, --version&lt;/code&gt;: output the version number&lt;/li&gt;
&lt;li&gt;&lt;code&gt;$ --clientName&lt;/code&gt;: Which is the name of the new API (ex.: Admin, User Authentication, etc.)?&lt;/li&gt;
&lt;li&gt;&lt;code&gt;$ --swaggerFile&lt;/code&gt;: Path of the swagger&lt;/li&gt;
&lt;li&gt;&lt;code&gt;$ --clientDirectory&lt;/code&gt;: In which directory do you want to generate the client (default: &amp;ldquo;client&amp;rdquo;)&lt;/li&gt;
&lt;li&gt;&lt;code&gt;$ --versionNumber&lt;/code&gt;: Client version&lt;/li&gt;
&lt;li&gt;&lt;code&gt;$ --tagName&lt;/code&gt;: Tag used in the publishConfig configuration (default: &amp;ldquo;&amp;rdquo;)&lt;/li&gt;
&lt;li&gt;&lt;code&gt;$ --enumeration&lt;/code&gt;: Enumeration format (choices: &amp;ldquo;Unchange&amp;rdquo;, &amp;ldquo;Unify&amp;rdquo;, &amp;ldquo;Particularize&amp;rdquo;, default: &amp;ldquo;Unchange&amp;rdquo;)&lt;/li&gt;
&lt;li&gt;&lt;code&gt;$ --projectType&lt;/code&gt;: Destination project type (choices: &amp;ldquo;client&amp;rdquo;, &amp;ldquo;server&amp;rdquo;, default: &amp;ldquo;client&amp;rdquo;)&lt;/li&gt;
&lt;li&gt;&lt;code&gt;$ -h, --help&lt;/code&gt;: display help for command&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;h5 id=&#34;enumeration-question&#34;&gt;Enumeration question&lt;/h5&gt;
&lt;p&gt;It is a list of options from which you can choose the specific way the models are generated.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Unchange&lt;/strong&gt;: No modification is applied to names, enums or interfaces themselves. (If the swagger has several schemas with the same name, they will step on each other).&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Unify&lt;/strong&gt;: This option unifies in a single enum or interface the schemas that may have the same name. (Recommended option).&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Particularize&lt;/strong&gt;: This option separates all enums that have the same name by assigning the name of the enum + the name of the schema it belongs to.&lt;/li&gt;
&lt;/ul&gt;
&lt;h5 id=&#34;projecttype-question&#34;&gt;projectType question&lt;/h5&gt;
&lt;p&gt;It is a list from which you can choose the type of client: external client (client) or internal client (server). This question is asked since the &lt;em&gt;&lt;strong&gt;aura-code-generator&lt;/strong&gt;&lt;/em&gt; is used to generate these two types of clients and certain elements change in the generation of each type.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;client&lt;/strong&gt;: make reference to the external client.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;server&lt;/strong&gt;: make reference to the internal client.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Note that when Hygen asks for the location for the new client, the format of this folder name must be a dash-separated name similar to &lt;code&gt;name-of-your-api&lt;/code&gt; or &lt;code&gt;./package/name-of-your-api&lt;/code&gt; only in external clients.&lt;/p&gt;
&lt;p&gt;In the background, the &lt;em&gt;aura-client-generator&lt;/em&gt; command carries out the following steps:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Create a new package for the new API client at the indicated address directory.&lt;/li&gt;
&lt;li&gt;Create  the &lt;code&gt;.gitignore&lt;/code&gt;, &lt;code&gt;.npmignore&lt;/code&gt;, &lt;code&gt;.npmrc&lt;/code&gt;, &lt;code&gt;package.json&lt;/code&gt;, &lt;code&gt;README.md&lt;/code&gt; and &lt;code&gt;tsconfig.json&lt;/code&gt; files in the new API client package directory.&lt;/li&gt;
&lt;li&gt;Create  a new &lt;em&gt;src/&lt;/em&gt; folder in the new API client package directory.&lt;/li&gt;
&lt;li&gt;Create  the &lt;code&gt;index.ts&lt;/code&gt;, &lt;code&gt;models.ts&lt;/code&gt; files and a folder called &lt;code&gt;api&lt;/code&gt; inside this API folder.&lt;/li&gt;
&lt;li&gt;The provided Swagger API specification file is copied to the swagger directory of the new API client package directory.&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;At this stage, developers are ready to start working on the new API client from the newly created API client template:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Write a description of the new client and a minimal usage example in the README file.&lt;/li&gt;
&lt;li&gt;Commit your changes and push them to Github.&lt;/li&gt;
&lt;li&gt;Make a Pull Request to merge your changes in master/main branch.&lt;/li&gt;
&lt;li&gt;After approved, merge the PR into master/main branch.&lt;/li&gt;
&lt;li&gt;Then, the new version of the client is published in the private npm registry and available to be used.&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;Once the creation of the new client is finished, follow the guidelines to contribute your changes according to &lt;a href=&#34;#contributing-code-to-the-repository&#34;&gt;Contributing code to the repository&lt;/a&gt; section.&lt;/p&gt;
&lt;h3 id=&#34;create-a-new-internal-client&#34;&gt;Create a new internal client&lt;/h3&gt;
&lt;p&gt;In order to create an internal client, execute the following command:&lt;br&gt;
&lt;code&gt;$ npm run create-client&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;This will execute the process that will generate a new client, internal clients do not execute hygen as in external clients since all the information they need is passed to them through the flags that are explained below.&lt;/p&gt;
&lt;p&gt;The complete command executed is the following:&lt;br&gt;
&lt;code&gt;$ npx aucg --clientName \&amp;quot;server name\&amp;quot; --swaggerFile \&amp;quot;swagger path\&amp;quot; --projectType \&amp;quot;server\&amp;quot;&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;Where:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;code&gt;npx aucg&lt;/code&gt;: command that executes the aucg&lt;/li&gt;
&lt;li&gt;&lt;code&gt;--swaggerFile&lt;/code&gt;: Location of the server swagger.&lt;/li&gt;
&lt;li&gt;&lt;code&gt;--projectType&lt;/code&gt;: Type of project, among the ones defined in &lt;a href=&#34;#enumeration-projecttype&#34;&gt;enumeration projectType&lt;/a&gt;. In this case, it is &lt;code&gt;server&lt;/code&gt; because it is an internal client. (Remember that this same generator is also used for external clients selecting the projectType &lt;code&gt;client&lt;/code&gt;).&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Steps to upload changes:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Write a description of the new client and a minimal usage example in the README file.&lt;/li&gt;
&lt;li&gt;Commit your changes and push them to Github.&lt;/li&gt;
&lt;li&gt;Make a Pull Request to merge your changes in master/main branch.&lt;/li&gt;
&lt;li&gt;After approved, merge the PR into master/main branch.&lt;/li&gt;
&lt;li&gt;Then, the new version of the client is published in the private npm registry and available to be used.&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;Once the creation of the new client is finished, follow the guidelines to contribute your changes according to &lt;a href=&#34;#contributing-code-to-the-repository&#34;&gt;Contributing code to the repository&lt;/a&gt; section.&lt;/p&gt;
&lt;h3 id=&#34;update-a-client&#34;&gt;Update a client&lt;/h3&gt;
&lt;p&gt;&amp;#x2139;&amp;#xfe0f;  &lt;strong&gt;This procedure is valid both for external and internal clients&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;Due to the superagent HTTP library migration of all clients, a new procedure to update those clients has been implemented.&lt;/p&gt;
&lt;p&gt;In addition, this new implementation depends on templates, which can be found &lt;a href=&#34;https://github.com/Telefonica/aura-client-generator&#34;&gt;here&lt;/a&gt;. If there are changes in the template that need to be reflected in a client, before continuing with this procedure, you should create a PR with those changes in templates and merge them into master/main branch.&lt;/p&gt;
&lt;p&gt;The procedure to update a client with an updated template is as follows:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Create a new branch for the new code:&lt;br&gt;
&lt;code&gt;git checkout -b feat-or-fix-or-chore-depending-on-the-update/the-name-of-your-branch&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;If needed, add a tag or, if it has already been added, increase the numeric version in the &lt;code&gt;package.json&lt;/code&gt; version:&lt;br&gt;
&lt;code&gt;&amp;quot;version&amp;quot;: &amp;quot;2.1.0-superagent.x&amp;quot;,&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;Execute the following command to update the client APIs:&lt;br&gt;
&lt;code&gt;npm run swagger-generate-client&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;Execute the following command to update the client models:&lt;br&gt;
&lt;code&gt;npm run swagger-generate-model&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;Commit your changes and push them to Github.&lt;/li&gt;
&lt;li&gt;Make a Pull Request to merge your changes in master.&lt;/li&gt;
&lt;li&gt;After approved, merge the PR into master.&lt;/li&gt;
&lt;li&gt;Then, the new version of the client is published in the private npm registry and available to be used.&lt;/li&gt;
&lt;/ol&gt;
&lt;h2 id=&#34;authentication-methods&#34;&gt;Authentication methods&lt;/h2&gt;
&lt;p&gt;All clients are generated using a common template for OpenAPI generator, so they have similar structure: all of them have a generic constructor to set a &lt;code&gt;basePath&lt;/code&gt; endpoint: &lt;code&gt;constructor(basePath?: string);&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;If no &lt;code&gt;basePath&lt;/code&gt; is defined, which is not recommended, the default &lt;code&gt;basePath&lt;/code&gt; defined on swagger file is used.&lt;/p&gt;
&lt;p&gt;The current client generator supports several authentication methods based on swagger security definitions. The available authentication methods are described in the following sections.&lt;/p&gt;
&lt;h3 id=&#34;basic-authentication&#34;&gt;Basic authentication&lt;/h3&gt;
&lt;p&gt;This authentication method is based on user and password.&lt;/p&gt;
&lt;p&gt;Credentials can be set by different forms:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Using constructor. Credentials can be set on constructor using this method:
&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4;&#34;&gt;&lt;code class=&#34;language-typescript&#34; data-lang=&#34;typescript&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#204a87;font-weight:bold&#34;&gt;constructor&lt;/span&gt;&lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;(&lt;/span&gt;&lt;span style=&#34;color:#000&#34;&gt;basePathOrUsername&lt;/span&gt;: &lt;span style=&#34;color:#204a87;font-weight:bold&#34;&gt;string&lt;/span&gt;&lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;,&lt;/span&gt; &lt;span style=&#34;color:#000&#34;&gt;password?&lt;/span&gt;: &lt;span style=&#34;color:#204a87;font-weight:bold&#34;&gt;string&lt;/span&gt;&lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;,&lt;/span&gt; &lt;span style=&#34;color:#000&#34;&gt;basePath?&lt;/span&gt;: &lt;span style=&#34;color:#204a87;font-weight:bold&#34;&gt;string&lt;/span&gt;&lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;)&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;Using setters. Credentials can be set using username and password setters:
&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4;&#34;&gt;&lt;code class=&#34;language-typescript&#34; data-lang=&#34;typescript&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#000&#34;&gt;clientInstance&lt;/span&gt;&lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;.&lt;/span&gt;&lt;span style=&#34;color:#000&#34;&gt;username&lt;/span&gt; &lt;span style=&#34;color:#ce5c00;font-weight:bold&#34;&gt;=&lt;/span&gt; &lt;span style=&#34;color:#4e9a06&#34;&gt;&amp;#39;myuser&amp;#39;&lt;/span&gt;&lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;;&lt;/span&gt; &lt;span style=&#34;color:#000&#34;&gt;clientInstance&lt;/span&gt;&lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;.&lt;/span&gt;&lt;span style=&#34;color:#000&#34;&gt;password&lt;/span&gt; &lt;span style=&#34;color:#ce5c00;font-weight:bold&#34;&gt;=&lt;/span&gt; &lt;span style=&#34;color:#4e9a06&#34;&gt;&amp;#39;mypassword&amp;#39;&lt;/span&gt;&lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;;&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;h3 id=&#34;bearer-authentication&#34;&gt;Bearer authentication&lt;/h3&gt;
&lt;p&gt;This authentication method is based on a bearer token standard. It injects an Authorization header on HTTP request.&lt;/p&gt;
&lt;p&gt;It can be set using the setter:&lt;br&gt;
&lt;code&gt;accessToken&lt;/code&gt;:  &lt;code&gt;clientInstance.accessToken = &#39;token&#39;&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;The token can contain a bearer prefix or not. If no bearer prefix is included, the setter method adds it automatically.&lt;/p&gt;
&lt;h3 id=&#34;oauth-authentication&#34;&gt;Oauth authentication&lt;/h3&gt;
&lt;p&gt;This authentication method is based on oauth authentication standard. It is similar to bearer authentication method, so an authorization header is injected on HTTP request.&lt;/p&gt;
&lt;p&gt;It can be set using the setter: &lt;br&gt;
&lt;code&gt;accessToken&lt;/code&gt;: &lt;code&gt;clientInstance.accessToken = &#39;token&#39;&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;The token can contain a Bearer prefix or not. If no Bearer prefix is included, the setter method adds it automatically.&lt;/p&gt;
&lt;h3 id=&#34;apikey-authentication&#34;&gt;Apikey authentication&lt;/h3&gt;
&lt;p&gt;This authentication method is based on APIKey authentication standard. It injects a generic header with key and value.&lt;/p&gt;
&lt;p&gt;It can be set by using &lt;code&gt;setApiKey&lt;/code&gt; method with the key and value parameters:  &lt;br&gt;
&lt;code&gt;clientInstance.setApiKey(key: string, value:string);&lt;/code&gt;&lt;/p&gt;
&lt;h3 id=&#34;none&#34;&gt;None&lt;/h3&gt;
&lt;p&gt;If no security schema is defined in the API definition file or the security methods do not follow any OpenAPI standards, a generic &lt;code&gt;accessToken&lt;/code&gt; setter is provided. This setter works as bearer and it injects an authorization header on HTTP request.&lt;/p&gt;
&lt;p&gt;It can be set using the setter:&lt;br&gt;
&lt;code&gt;accessToken&lt;/code&gt;: &lt;code&gt;clientInstance.accessToken = &#39;token&#39;&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;The token can contain a bearer prefix or not. If no bearer prefix is included, the setter method adds it automatically.&lt;/p&gt;
&lt;h2 id=&#34;contributing-code-to-the-repository&#34;&gt;Contributing code to the repository&lt;/h2&gt;
&lt;p&gt;To contribute your code to the repository, follow the next steps:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Once the code is satisfactory, stash changes into your branch.&lt;/li&gt;
&lt;li&gt;Push your branch to the remote repository (this step runs the unit tests of all the packages and does not let the process continue until of all them have passed):
&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4;&#34;&gt;&lt;code class=&#34;language-typescript&#34; data-lang=&#34;typescript&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#000&#34;&gt;git&lt;/span&gt; &lt;span style=&#34;color:#000&#34;&gt;push&lt;/span&gt; &lt;span style=&#34;color:#000&#34;&gt;origin&lt;/span&gt; &lt;span style=&#34;color:#000&#34;&gt;feat&lt;/span&gt;&lt;span style=&#34;color:#ce5c00;font-weight:bold&#34;&gt;-&lt;/span&gt;&lt;span style=&#34;color:#000&#34;&gt;or&lt;/span&gt;&lt;span style=&#34;color:#ce5c00;font-weight:bold&#34;&gt;-&lt;/span&gt;&lt;span style=&#34;color:#000&#34;&gt;fix&lt;/span&gt;&lt;span style=&#34;color:#ce5c00;font-weight:bold&#34;&gt;-&lt;/span&gt;&lt;span style=&#34;color:#000&#34;&gt;or&lt;/span&gt;&lt;span style=&#34;color:#ce5c00;font-weight:bold&#34;&gt;-&lt;/span&gt;&lt;span style=&#34;color:#000&#34;&gt;chore&lt;/span&gt;&lt;span style=&#34;color:#ce5c00;font-weight:bold&#34;&gt;-&lt;/span&gt;&lt;span style=&#34;color:#000&#34;&gt;depending&lt;/span&gt;&lt;span style=&#34;color:#ce5c00;font-weight:bold&#34;&gt;-&lt;/span&gt;&lt;span style=&#34;color:#000&#34;&gt;on&lt;/span&gt;&lt;span style=&#34;color:#ce5c00;font-weight:bold&#34;&gt;-&lt;/span&gt;&lt;span style=&#34;color:#000&#34;&gt;the&lt;/span&gt;&lt;span style=&#34;color:#ce5c00;font-weight:bold&#34;&gt;-&lt;/span&gt;&lt;span style=&#34;color:#000&#34;&gt;update&lt;/span&gt;&lt;span style=&#34;color:#ce5c00;font-weight:bold&#34;&gt;/&lt;/span&gt;&lt;span style=&#34;color:#000&#34;&gt;name&lt;/span&gt;&lt;span style=&#34;color:#ce5c00;font-weight:bold&#34;&gt;-&lt;/span&gt;&lt;span style=&#34;color:#204a87;font-weight:bold&#34;&gt;of&lt;/span&gt;&lt;span style=&#34;color:#ce5c00;font-weight:bold&#34;&gt;-&lt;/span&gt;&lt;span style=&#34;color:#000&#34;&gt;your&lt;/span&gt;&lt;span style=&#34;color:#ce5c00;font-weight:bold&#34;&gt;-&lt;/span&gt;&lt;span style=&#34;color:#000&#34;&gt;branch&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;From Github, send a new Pull Request from the branch with your code to master.&lt;/li&gt;
&lt;li&gt;Ask for revision from any of the main contributors of the project.&lt;/li&gt;
&lt;li&gt;Once the code has been reviewed and accepted, merge your code into master.&lt;/li&gt;
&lt;/ol&gt;

      </description>
    </item>
    
  </channel>
</rss>
