n8n-nodes-base
Version:
Base nodes of n8n
52 lines • 1.55 kB
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.TypeformOAuth2Api = void 0;
const scopes = ['webhooks:write', 'webhooks:read', 'forms:read'];
class TypeformOAuth2Api {
name = 'typeformOAuth2Api';
extends = ['oAuth2Api'];
displayName = 'Typeform OAuth2 API';
documentationUrl = 'typeform';
properties = [
{
displayName: 'Grant Type',
name: 'grantType',
type: 'hidden',
default: 'authorizationCode',
},
{
displayName: 'Authorization URL',
name: 'authUrl',
type: 'hidden',
default: 'https://api.typeform.com/oauth/authorize',
required: true,
},
{
displayName: 'Access Token URL',
name: 'accessTokenUrl',
type: 'hidden',
default: 'https://api.typeform.com/oauth/token',
required: true,
},
{
displayName: 'Scope',
name: 'scope',
type: 'hidden',
default: scopes.join(' '),
},
{
displayName: 'Auth URI Query Parameters',
name: 'authQueryParameters',
type: 'hidden',
default: '',
},
{
displayName: 'Authentication',
name: 'authentication',
type: 'hidden',
default: 'header',
},
];
}
exports.TypeformOAuth2Api = TypeformOAuth2Api;
//# sourceMappingURL=TypeformOAuth2Api.credentials.js.map