1 | import { AuthenticationType, Destination, DestinationNameAndJwt } from './destination-service-types';
|
2 |
|
3 |
|
4 |
|
5 |
|
6 |
|
7 | export declare function sanitizeDestination(destination: Record<string, any>): Destination;
|
8 |
|
9 |
|
10 |
|
11 |
|
12 |
|
13 |
|
14 | export declare function parseDestination(destinationJson: DestinationJson | DestinationConfiguration): Destination;
|
15 |
|
16 |
|
17 |
|
18 | export declare function toDestinationNameUrl(destination: Destination | DestinationNameAndJwt): string;
|
19 |
|
20 |
|
21 |
|
22 | export interface DestinationJson {
|
23 | [key: string]: any;
|
24 | destinationConfiguration: DestinationConfiguration;
|
25 | authTokens?: Record<string, string>[];
|
26 | certificates?: Record<string, string>[];
|
27 | }
|
28 |
|
29 |
|
30 |
|
31 | export interface DestinationConfiguration {
|
32 | [key: string]: any;
|
33 | URL: string;
|
34 | Name?: string;
|
35 | ProxyType?: string;
|
36 | 'sap-client'?: string;
|
37 | User?: string;
|
38 | Password?: string;
|
39 | Authentication?: AuthenticationType;
|
40 | TrustAll?: string;
|
41 | tokenServiceURL?: string;
|
42 | tokenServiceURLType?: 'Common' | 'Dedicated;';
|
43 | tokenServiceUsername?: string;
|
44 | tokenServicePass?: string;
|
45 | clientId?: string;
|
46 | clientSecret?: string;
|
47 | SystemUser?: string;
|
48 | Type?: 'HTTP' | 'LDAP' | 'MAIL' | 'RFC';
|
49 | }
|
50 |
|
51 |
|
52 |
|
53 | export declare function isDestinationConfiguration(destination: any): destination is DestinationConfiguration;
|
54 |
|
55 |
|
56 |
|
57 | export declare function isDestinationJson(destination: any): destination is DestinationJson;
|
58 | export declare function noDestinationErrorMessage(destination: Destination | DestinationNameAndJwt): string;
|
59 |
|
\ | No newline at end of file |