UNPKG

@progtechbr/n8n-nodes-rdsme

Version:

Send events through API to RD Station Marketing para Ecommerce

53 lines 1.91 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.RdsmEcommerceOAuth2Api = void 0; const GenericConstants_1 = require("../nodes/RdsmEcommerce/Utils/GenericConstants"); class RdsmEcommerceOAuth2Api { constructor() { this.name = 'rdsmEcommerceOAuth2Api'; this.extends = ['oAuth2Api']; this.displayName = 'RD Station Marketing para Ecommerce OAuth2 API'; this.description = 'Authentication OAuth2 to RD Station Marketing'; this.documentationUrl = 'https://developers.rdstation.com/reference/introducao-rdsm'; this.properties = [ { displayName: 'Grant Type', name: 'grantType', type: 'hidden', default: 'authorizationCode', }, { displayName: 'Authorization URL', name: 'authUrl', type: 'hidden', default: `${GenericConstants_1.BASE_API_URL}/auth/dialog` }, { displayName: 'Access Token URL', name: 'accessTokenUrl', type: 'hidden', default: `${GenericConstants_1.BASE_API_URL}/auth/token` }, { displayName: 'Scope', name: 'scope', type: 'hidden', default: '', }, { displayName: 'Auth URI Query Parameters', name: 'authQueryParameters', type: 'hidden', default: '', }, { displayName: 'Authentication', name: 'authentication', type: 'hidden', default: 'body', }, ]; } } exports.RdsmEcommerceOAuth2Api = RdsmEcommerceOAuth2Api; //# sourceMappingURL=RdsmEcommerceOAuth2Api.credentials.js.map