UNPKG

@notionhq/client

Version:

A simple and easy to use client for the Notion API

42 lines 948 B
"use strict"; // cspell:disable-file // Note: This is a generated file. DO NOT EDIT! Object.defineProperty(exports, "__esModule", { value: true }); exports.oauthIntrospect = exports.oauthRevoke = exports.oauthToken = void 0; /** * Exchange an authorization code for an access and refresh token */ exports.oauthToken = { method: "post", pathParams: [], queryParams: [], bodyParams: [ "grant_type", "code", "redirect_uri", "external_account", "refresh_token", ], path: () => `oauth/token`, }; /** * Revoke a token */ exports.oauthRevoke = { method: "post", pathParams: [], queryParams: [], bodyParams: ["token"], path: () => `oauth/revoke`, }; /** * Introspect a token */ exports.oauthIntrospect = { method: "post", pathParams: [], queryParams: [], bodyParams: ["token"], path: () => `oauth/introspect`, }; //# sourceMappingURL=oauth.js.map