1 | export interface AuthorizationHeader {
|
2 | name?: string;
|
3 | value?: string;
|
4 | }
|
5 |
|
6 |
|
7 |
|
8 | export interface DataSourceBindingBase {
|
9 | |
10 |
|
11 |
|
12 | callbackContextTemplate?: string;
|
13 | |
14 |
|
15 |
|
16 | callbackRequiredTemplate?: string;
|
17 | |
18 |
|
19 |
|
20 | dataSourceName?: string;
|
21 | |
22 |
|
23 |
|
24 | endpointId?: string;
|
25 | |
26 |
|
27 |
|
28 | endpointUrl?: string;
|
29 | |
30 |
|
31 |
|
32 | headers?: AuthorizationHeader[];
|
33 | |
34 |
|
35 |
|
36 | initialContextTemplate?: string;
|
37 | |
38 |
|
39 |
|
40 | parameters?: {
|
41 | [key: string]: string;
|
42 | };
|
43 | |
44 |
|
45 |
|
46 | requestContent?: string;
|
47 | |
48 |
|
49 |
|
50 | requestVerb?: string;
|
51 | |
52 |
|
53 |
|
54 | resultSelector?: string;
|
55 | |
56 |
|
57 |
|
58 | resultTemplate?: string;
|
59 | |
60 |
|
61 |
|
62 | target?: string;
|
63 | }
|
64 | export interface ProcessParameters {
|
65 | dataSourceBindings?: DataSourceBindingBase[];
|
66 | inputs?: TaskInputDefinitionBase[];
|
67 | sourceDefinitions?: TaskSourceDefinitionBase[];
|
68 | }
|
69 | export interface TaskInputDefinitionBase {
|
70 | aliases?: string[];
|
71 | defaultValue?: string;
|
72 | groupName?: string;
|
73 | helpMarkDown?: string;
|
74 | label?: string;
|
75 | name?: string;
|
76 | options?: {
|
77 | [key: string]: string;
|
78 | };
|
79 | properties?: {
|
80 | [key: string]: string;
|
81 | };
|
82 | required?: boolean;
|
83 | type?: string;
|
84 | validation?: TaskInputValidation;
|
85 | visibleRule?: string;
|
86 | }
|
87 | export interface TaskInputValidation {
|
88 | |
89 |
|
90 |
|
91 | expression?: string;
|
92 | |
93 |
|
94 |
|
95 | message?: string;
|
96 | }
|
97 | export interface TaskSourceDefinitionBase {
|
98 | authKey?: string;
|
99 | endpoint?: string;
|
100 | keySelector?: string;
|
101 | selector?: string;
|
102 | target?: string;
|
103 | }
|