@explo-tech/fido-api 0.0.5 → 0.0.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.ts +9 -1
- package/models/DataPage.ts +2 -2
- package/models/{Record.ts → DataRecord.ts} +1 -1
- package/models/DataSource.ts +2 -2
- package/models/DataSourceConfiguration.ts +3 -2
- package/models/Namespace.ts +1 -1
- package/models/Postgres.ts +15 -0
- package/models/PostgresAuthentication.ts +8 -0
- package/models/PostgresPasswordAuthentication.ts +9 -0
- package/models/PublicTunnel.ts +5 -0
- package/models/RequestTelemetry.ts +3 -3
- package/models/SSHAuthentication.ts +11 -0
- package/models/SSHTunnel.ts +14 -0
- package/models/TenantPrivateKeyAuthentication.ts +9 -0
- package/models/Tunnel.ts +5 -1
- package/models/VendorPrivateKeyAuthentication.ts +8 -0
- package/package.json +1 -1
- package/services/QueryResourceService.ts +1 -1
package/index.ts
CHANGED
|
@@ -10,6 +10,7 @@ export type { BooleanPropertyValue } from './models/BooleanPropertyValue';
|
|
|
10
10
|
export type { ClientError } from './models/ClientError';
|
|
11
11
|
export type { ComputedViewRunRequest } from './models/ComputedViewRunRequest';
|
|
12
12
|
export type { DataPage } from './models/DataPage';
|
|
13
|
+
export type { DataRecord } from './models/DataRecord';
|
|
13
14
|
export type { DataRequestParameters } from './models/DataRequestParameters';
|
|
14
15
|
export type { DataResponseMetadata } from './models/DataResponseMetadata';
|
|
15
16
|
export type { DataSchema } from './models/DataSchema';
|
|
@@ -31,15 +32,22 @@ export type { NamespaceRequest } from './models/NamespaceRequest';
|
|
|
31
32
|
export type { NamespaceResponse } from './models/NamespaceResponse';
|
|
32
33
|
export type { NamespaceResponseMetadata } from './models/NamespaceResponseMetadata';
|
|
33
34
|
export type { PagingConfiguration } from './models/PagingConfiguration';
|
|
35
|
+
export type { Postgres } from './models/Postgres';
|
|
36
|
+
export type { PostgresAuthentication } from './models/PostgresAuthentication';
|
|
37
|
+
export type { PostgresPasswordAuthentication } from './models/PostgresPasswordAuthentication';
|
|
34
38
|
export type { PropertySchema } from './models/PropertySchema';
|
|
35
39
|
export { PropertyType } from './models/PropertyType';
|
|
36
40
|
export type { PropertyValue } from './models/PropertyValue';
|
|
41
|
+
export type { PublicTunnel } from './models/PublicTunnel';
|
|
37
42
|
export type { QueryExecutionResponse } from './models/QueryExecutionResponse';
|
|
38
|
-
export type { Record } from './models/Record';
|
|
39
43
|
export type { RequestTelemetry } from './models/RequestTelemetry';
|
|
44
|
+
export type { SSHAuthentication } from './models/SSHAuthentication';
|
|
45
|
+
export type { SSHTunnel } from './models/SSHTunnel';
|
|
40
46
|
export type { StringPropertyValue } from './models/StringPropertyValue';
|
|
47
|
+
export type { TenantPrivateKeyAuthentication } from './models/TenantPrivateKeyAuthentication';
|
|
41
48
|
export type { Tunnel } from './models/Tunnel';
|
|
42
49
|
export type { UUID } from './models/UUID';
|
|
50
|
+
export type { VendorPrivateKeyAuthentication } from './models/VendorPrivateKeyAuthentication';
|
|
43
51
|
|
|
44
52
|
export { DatasourceResourceService } from './services/DatasourceResourceService';
|
|
45
53
|
export { HealthResourceService } from './services/HealthResourceService';
|
package/models/DataPage.ts
CHANGED
package/models/DataSource.ts
CHANGED
|
@@ -2,9 +2,10 @@
|
|
|
2
2
|
/* tslint:disable */
|
|
3
3
|
/* eslint-disable */
|
|
4
4
|
|
|
5
|
+
import type { Postgres } from './Postgres';
|
|
5
6
|
import type { Tunnel } from './Tunnel';
|
|
6
7
|
|
|
7
|
-
export type DataSourceConfiguration = {
|
|
8
|
+
export type DataSourceConfiguration = (Postgres | {
|
|
8
9
|
tunnel: Tunnel;
|
|
9
|
-
};
|
|
10
|
+
});
|
|
10
11
|
|
package/models/Namespace.ts
CHANGED
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/* istanbul ignore file */
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
|
|
5
|
+
import type { PostgresAuthentication } from './PostgresAuthentication';
|
|
6
|
+
import type { Tunnel } from './Tunnel';
|
|
7
|
+
|
|
8
|
+
export type Postgres = {
|
|
9
|
+
tunnel: Tunnel;
|
|
10
|
+
authentication: PostgresAuthentication;
|
|
11
|
+
database: string;
|
|
12
|
+
host: string;
|
|
13
|
+
port?: number;
|
|
14
|
+
};
|
|
15
|
+
|
|
@@ -5,8 +5,8 @@
|
|
|
5
5
|
import type { Duration } from './Duration';
|
|
6
6
|
|
|
7
7
|
export type RequestTelemetry = {
|
|
8
|
-
requestTime
|
|
9
|
-
queryTime
|
|
10
|
-
processingTime
|
|
8
|
+
requestTime: Duration | null;
|
|
9
|
+
queryTime: Duration | null;
|
|
10
|
+
processingTime: Duration | null;
|
|
11
11
|
};
|
|
12
12
|
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/* istanbul ignore file */
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
|
|
5
|
+
import type { TenantPrivateKeyAuthentication } from './TenantPrivateKeyAuthentication';
|
|
6
|
+
import type { VendorPrivateKeyAuthentication } from './VendorPrivateKeyAuthentication';
|
|
7
|
+
|
|
8
|
+
export type SSHAuthentication = (VendorPrivateKeyAuthentication | TenantPrivateKeyAuthentication | {
|
|
9
|
+
username: string;
|
|
10
|
+
});
|
|
11
|
+
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/* istanbul ignore file */
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
|
|
5
|
+
import type { SSHAuthentication } from './SSHAuthentication';
|
|
6
|
+
import type { Tunnel } from './Tunnel';
|
|
7
|
+
|
|
8
|
+
export type SSHTunnel = {
|
|
9
|
+
tunnel: Tunnel;
|
|
10
|
+
host: string;
|
|
11
|
+
port?: number;
|
|
12
|
+
authentication: SSHAuthentication;
|
|
13
|
+
};
|
|
14
|
+
|
package/models/Tunnel.ts
CHANGED
package/package.json
CHANGED
|
@@ -42,7 +42,7 @@ export class QueryResourceService {
|
|
|
42
42
|
* @param dataSourceId
|
|
43
43
|
* @param namespaceId
|
|
44
44
|
* @param requestBody
|
|
45
|
-
* @returns QueryExecutionResponse A DataPage of the
|
|
45
|
+
* @returns QueryExecutionResponse A DataPage of the provided query
|
|
46
46
|
* @throws ApiError
|
|
47
47
|
*/
|
|
48
48
|
public static runComputedView(
|