1 | import ts from 'typescript';
|
2 | export declare const FUNCTION_ACTION = "action";
|
3 | declare type TOutput = {
|
4 | requestBody: any;
|
5 | response: any;
|
6 | functionAuthType?: string;
|
7 | };
|
8 |
|
9 |
|
10 |
|
11 |
|
12 |
|
13 |
|
14 |
|
15 | export declare function functionTypesToSchemaConverter(functionPath: string, options?: ts.CompilerOptions): TOutput;
|
16 | /**
|
17 | * Generate full openapi spec from functions
|
18 | * @param functionsDir absolute path to functions directory
|
19 | * @param functions list of func names
|
20 | * @param integrationUuid integration unique identifier
|
21 | * @param integrationName name of the integration
|
22 | */
|
23 | export default function generator({ functionsDir, functions, integrationUuid, integrationName }: {
|
24 | functionsDir: string;
|
25 | functions: string[];
|
26 | integrationUuid: string;
|
27 | integrationName: string;
|
28 | }): string;
|
29 | export {};
|
30 |
|
\ | No newline at end of file |