@explo-tech/fido-api 0.8.5 → 0.9.0-jordan-bigquery-debug.1
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/core/ApiError.ts +0 -1
- package/core/ApiRequestOptions.ts +0 -1
- package/core/ApiResult.ts +0 -1
- package/core/CancelablePromise.ts +0 -1
- package/core/OpenAPI.ts +5 -6
- package/core/request.ts +15 -28
- package/index.ts +10 -1
- package/models/AggregateProperty.ts +0 -1
- package/models/Aggregation.ts +0 -1
- package/models/AggregationOption.ts +0 -1
- package/models/And.ts +0 -1
- package/models/BaseComputation.ts +0 -1
- package/models/BigQuery.ts +13 -0
- package/models/BigQueryAuthentication.ts +8 -0
- package/models/BooleanPropertyValue.ts +0 -1
- package/models/CalendarInterval.ts +0 -1
- package/models/CalendarIntervalGrouping.ts +0 -1
- package/models/ClientError.ts +0 -1
- package/models/Computation.ts +0 -1
- package/models/ComputedView.ts +3 -4
- package/models/DataPage.ts +0 -1
- package/models/DataRecord.ts +0 -1
- package/models/DataRequestParameters.ts +0 -1
- package/models/DataResponseMetadata.ts +0 -1
- package/models/DataSchema.ts +0 -1
- package/models/DataSource.ts +0 -1
- package/models/DataSourceConfiguration.ts +0 -2
- package/models/DataSourceError.ts +14 -0
- package/models/DataSourceRequest.ts +0 -1
- package/models/DataSourceResponse.ts +0 -1
- package/models/DatePart.ts +0 -1
- package/models/DatePartGrouping.ts +0 -1
- package/models/DatePropertyValue.ts +0 -1
- package/models/DateTimePropertyValue.ts +0 -1
- package/models/DecimalIntervalGrouping.ts +0 -1
- package/models/DecimalPropertyValue.ts +0 -1
- package/models/DoublePropertyValue.ts +0 -1
- package/models/Equal.ts +0 -1
- package/models/ExportFormat.ts +9 -0
- package/models/ExportTargetConfiguration.ts +11 -0
- package/models/Filter.ts +0 -1
- package/models/GreaterThan.ts +0 -1
- package/models/GreaterThanOrEqual.ts +0 -1
- package/models/Grouping.ts +0 -1
- package/models/In.ts +0 -1
- package/models/IntegerIntervalGrouping.ts +0 -1
- package/models/IntegerPropertyValue.ts +0 -1
- package/models/LateBoundEqual.ts +0 -1
- package/models/LateBoundGreaterThan.ts +0 -1
- package/models/LateBoundGreaterThanOrEqual.ts +0 -1
- package/models/LateBoundIn.ts +0 -1
- package/models/LateBoundLessThan.ts +0 -1
- package/models/LateBoundLessThanOrEqual.ts +0 -1
- package/models/LateBoundStringContains.ts +0 -1
- package/models/LessThan.ts +0 -1
- package/models/LessThanOrEqual.ts +0 -1
- package/models/ListNamespacesResponse.ts +0 -1
- package/models/ListViewsRequest.ts +0 -1
- package/models/ListViewsResponse.ts +0 -1
- package/models/MSS.ts +0 -2
- package/models/MSSAuthentication.ts +0 -1
- package/models/MySql.ts +0 -2
- package/models/MySqlAuthentication.ts +0 -1
- package/models/Namespace.ts +0 -1
- package/models/NamespaceRequest.ts +0 -1
- package/models/NamespaceResponse.ts +0 -1
- package/models/NamespaceResponseMetadata.ts +0 -1
- package/models/Not.ts +0 -1
- package/models/Null.ts +0 -1
- package/models/Or.ts +0 -1
- package/models/PagingConfiguration.ts +0 -1
- package/models/PasswordAuthentication.ts +0 -1
- package/models/Pivot.ts +0 -1
- package/models/PivotColumn.ts +0 -1
- package/models/PivotValue.ts +0 -1
- package/models/Postgres.ts +0 -2
- package/models/PostgresAuthentication.ts +0 -1
- package/models/Property.ts +0 -1
- package/models/PropertySchema.ts +0 -1
- package/models/PropertyType.ts +0 -1
- package/models/PropertyValue.ts +0 -1
- package/models/PublicTunnel.ts +0 -1
- package/models/QueryExecutionError.ts +13 -0
- package/models/QueryExecutionResponse.ts +0 -1
- package/models/QueryExportResponse.ts +8 -0
- package/models/QueryPreviewRequest.ts +0 -1
- package/models/QueryTimeoutError.ts +13 -0
- package/models/RequestTelemetry.ts +0 -1
- package/models/SSHAuthentication.ts +0 -1
- package/models/SSHTunnel.ts +0 -1
- package/models/Sort.ts +0 -1
- package/models/SortDirection.ts +0 -1
- package/models/SourceProperty.ts +0 -1
- package/models/StringContains.ts +0 -1
- package/models/StringPropertyValue.ts +0 -1
- package/models/TablePreviewRequest.ts +0 -1
- package/models/TableView.ts +4 -4
- package/models/Tenant.ts +3 -1
- package/models/TenantKey.ts +0 -1
- package/models/TenantPrivateKeyAuthentication.ts +0 -1
- package/models/TenantRequest.ts +4 -2
- package/models/TenantResponse.ts +0 -1
- package/models/TenantS3Configuration.ts +11 -0
- package/models/TestConnectionRequest.ts +0 -1
- package/models/TestConnectionResponse.ts +0 -1
- package/models/Tunnel.ts +0 -1
- package/models/UUID.ts +0 -1
- package/models/ValueGrouping.ts +0 -1
- package/models/VendorPrivateKeyAuthentication.ts +0 -1
- package/models/View.ts +6 -5
- package/models/ViewExportRequest.ts +13 -0
- package/models/ViewRequest.ts +8 -2
- package/models/ViewResponse.ts +2 -15
- package/models/ViewRunRequest.ts +0 -1
- package/package.json +1 -1
- package/services/DataSourceResourceService.ts +2 -3
- package/services/HealthResourceService.ts +0 -1
- package/services/ListViewsResourceService.ts +2 -3
- package/services/NamespaceResourceService.ts +2 -3
- package/services/QueryResourceService.ts +47 -4
- package/services/TenantResourceService.ts +23 -2
- package/services/TestConnectionResourceService.ts +2 -3
- package/services/ViewResourceService.ts +2 -3
package/models/MySql.ts
CHANGED
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/* generated using openapi-typescript-codegen -- do no edit */
|
|
2
1
|
/* istanbul ignore file */
|
|
3
2
|
/* tslint:disable */
|
|
4
3
|
/* eslint-disable */
|
|
@@ -7,7 +6,6 @@ import type { MySqlAuthentication } from './MySqlAuthentication';
|
|
|
7
6
|
import type { Tunnel } from './Tunnel';
|
|
8
7
|
|
|
9
8
|
export type MySql = {
|
|
10
|
-
minimumLiveConnectionCount: number;
|
|
11
9
|
tunnel: Tunnel;
|
|
12
10
|
'@type': 'mysql';
|
|
13
11
|
authentication: MySqlAuthentication;
|
package/models/Namespace.ts
CHANGED
package/models/Not.ts
CHANGED
package/models/Null.ts
CHANGED
package/models/Or.ts
CHANGED
package/models/Pivot.ts
CHANGED
package/models/PivotColumn.ts
CHANGED
package/models/PivotValue.ts
CHANGED
package/models/Postgres.ts
CHANGED
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/* generated using openapi-typescript-codegen -- do no edit */
|
|
2
1
|
/* istanbul ignore file */
|
|
3
2
|
/* tslint:disable */
|
|
4
3
|
/* eslint-disable */
|
|
@@ -7,7 +6,6 @@ import type { PostgresAuthentication } from './PostgresAuthentication';
|
|
|
7
6
|
import type { Tunnel } from './Tunnel';
|
|
8
7
|
|
|
9
8
|
export type Postgres = {
|
|
10
|
-
minimumLiveConnectionCount: number;
|
|
11
9
|
tunnel: Tunnel;
|
|
12
10
|
'@type': 'postgres';
|
|
13
11
|
authentication: PostgresAuthentication;
|
package/models/Property.ts
CHANGED
package/models/PropertySchema.ts
CHANGED
package/models/PropertyType.ts
CHANGED
package/models/PropertyValue.ts
CHANGED
package/models/PublicTunnel.ts
CHANGED
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/* istanbul ignore file */
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
|
|
5
|
+
import type { RequestTelemetry } from './RequestTelemetry';
|
|
6
|
+
|
|
7
|
+
export type QueryExecutionError = {
|
|
8
|
+
renderedQuery: string | null;
|
|
9
|
+
requestTelemetry: RequestTelemetry | null;
|
|
10
|
+
message: string | null;
|
|
11
|
+
'@type': 'execution-error';
|
|
12
|
+
};
|
|
13
|
+
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/* istanbul ignore file */
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
|
|
5
|
+
import type { RequestTelemetry } from './RequestTelemetry';
|
|
6
|
+
|
|
7
|
+
export type QueryTimeoutError = {
|
|
8
|
+
renderedQuery: string | null;
|
|
9
|
+
requestTelemetry: RequestTelemetry | null;
|
|
10
|
+
message: string | null;
|
|
11
|
+
'@type': 'timeout-error';
|
|
12
|
+
};
|
|
13
|
+
|
package/models/SSHTunnel.ts
CHANGED
package/models/Sort.ts
CHANGED
package/models/SortDirection.ts
CHANGED
package/models/SourceProperty.ts
CHANGED
package/models/StringContains.ts
CHANGED
package/models/TableView.ts
CHANGED
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/* generated using openapi-typescript-codegen -- do no edit */
|
|
2
1
|
/* istanbul ignore file */
|
|
3
2
|
/* tslint:disable */
|
|
4
3
|
/* eslint-disable */
|
|
@@ -9,9 +8,10 @@ export type TableView = {
|
|
|
9
8
|
name: string;
|
|
10
9
|
description: string | null;
|
|
11
10
|
columnDefinitions: Array<PropertySchema>;
|
|
12
|
-
readonly id?: string;
|
|
13
|
-
readonly namespaceId?: string;
|
|
14
|
-
'@type':
|
|
11
|
+
readonly id?: string | null;
|
|
12
|
+
readonly namespaceId?: string | null;
|
|
13
|
+
'@type': 'table-view';
|
|
15
14
|
tableName: string;
|
|
15
|
+
schemaName?: string | null;
|
|
16
16
|
};
|
|
17
17
|
|
package/models/Tenant.ts
CHANGED
|
@@ -1,12 +1,14 @@
|
|
|
1
|
-
/* generated using openapi-typescript-codegen -- do no edit */
|
|
2
1
|
/* istanbul ignore file */
|
|
3
2
|
/* tslint:disable */
|
|
4
3
|
/* eslint-disable */
|
|
5
4
|
|
|
6
5
|
import type { TenantKey } from './TenantKey';
|
|
6
|
+
import type { TenantS3Configuration } from './TenantS3Configuration';
|
|
7
7
|
|
|
8
8
|
export type Tenant = {
|
|
9
9
|
id: string;
|
|
10
10
|
keys?: Array<TenantKey>;
|
|
11
|
+
configurationOverrides?: Record<string, string>;
|
|
12
|
+
s3Configuration: TenantS3Configuration | null;
|
|
11
13
|
};
|
|
12
14
|
|
package/models/TenantKey.ts
CHANGED
package/models/TenantRequest.ts
CHANGED
|
@@ -1,9 +1,11 @@
|
|
|
1
|
-
/* generated using openapi-typescript-codegen -- do no edit */
|
|
2
1
|
/* istanbul ignore file */
|
|
3
2
|
/* tslint:disable */
|
|
4
3
|
/* eslint-disable */
|
|
5
4
|
|
|
5
|
+
import type { TenantS3Configuration } from './TenantS3Configuration';
|
|
6
|
+
|
|
6
7
|
export type TenantRequest = {
|
|
7
|
-
|
|
8
|
+
configurationOverrides?: Record<string, string>;
|
|
9
|
+
s3Configuration: TenantS3Configuration | null;
|
|
8
10
|
};
|
|
9
11
|
|
package/models/TenantResponse.ts
CHANGED
package/models/Tunnel.ts
CHANGED
package/models/UUID.ts
CHANGED
package/models/ValueGrouping.ts
CHANGED
package/models/View.ts
CHANGED
|
@@ -1,15 +1,16 @@
|
|
|
1
|
-
/* generated using openapi-typescript-codegen -- do no edit */
|
|
2
1
|
/* istanbul ignore file */
|
|
3
2
|
/* tslint:disable */
|
|
4
3
|
/* eslint-disable */
|
|
5
4
|
|
|
5
|
+
import type { ComputedView } from './ComputedView';
|
|
6
6
|
import type { PropertySchema } from './PropertySchema';
|
|
7
|
+
import type { TableView } from './TableView';
|
|
7
8
|
|
|
8
|
-
export type View = {
|
|
9
|
+
export type View = (ComputedView | TableView | {
|
|
9
10
|
name: string;
|
|
10
11
|
description: string | null;
|
|
11
12
|
columnDefinitions: Array<PropertySchema>;
|
|
12
|
-
readonly id?: string;
|
|
13
|
-
readonly namespaceId?: string;
|
|
14
|
-
};
|
|
13
|
+
readonly id?: string | null;
|
|
14
|
+
readonly namespaceId?: string | null;
|
|
15
|
+
});
|
|
15
16
|
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/* istanbul ignore file */
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
|
|
5
|
+
import type { BaseComputation } from './BaseComputation';
|
|
6
|
+
import type { ExportTargetConfiguration } from './ExportTargetConfiguration';
|
|
7
|
+
|
|
8
|
+
export type ViewExportRequest = {
|
|
9
|
+
queryContext: Record<string, any>;
|
|
10
|
+
computation: BaseComputation | null;
|
|
11
|
+
exportConfiguration: ExportTargetConfiguration;
|
|
12
|
+
};
|
|
13
|
+
|
package/models/ViewRequest.ts
CHANGED
|
@@ -1,12 +1,18 @@
|
|
|
1
|
-
/* generated using openapi-typescript-codegen -- do no edit */
|
|
2
1
|
/* istanbul ignore file */
|
|
3
2
|
/* tslint:disable */
|
|
4
3
|
/* eslint-disable */
|
|
5
4
|
|
|
6
5
|
import type { ComputedView } from './ComputedView';
|
|
6
|
+
import type { PropertySchema } from './PropertySchema';
|
|
7
7
|
import type { TableView } from './TableView';
|
|
8
8
|
|
|
9
9
|
export type ViewRequest = {
|
|
10
|
-
view: (TableView |
|
|
10
|
+
view: (ComputedView | TableView | {
|
|
11
|
+
name: string;
|
|
12
|
+
description: string | null;
|
|
13
|
+
columnDefinitions: Array<PropertySchema>;
|
|
14
|
+
readonly id?: string | null;
|
|
15
|
+
readonly namespaceId?: string | null;
|
|
16
|
+
});
|
|
11
17
|
};
|
|
12
18
|
|
package/models/ViewResponse.ts
CHANGED
|
@@ -1,23 +1,10 @@
|
|
|
1
|
-
/* generated using openapi-typescript-codegen -- do no edit */
|
|
2
1
|
/* istanbul ignore file */
|
|
3
2
|
/* tslint:disable */
|
|
4
3
|
/* eslint-disable */
|
|
5
4
|
|
|
6
|
-
import type {
|
|
7
|
-
import type { PropertySchema } from './PropertySchema';
|
|
8
|
-
import type { TableView } from './TableView';
|
|
5
|
+
import type { View } from './View';
|
|
9
6
|
|
|
10
7
|
export type ViewResponse = {
|
|
11
|
-
view:
|
|
12
|
-
readonly id: string;
|
|
13
|
-
readonly namespaceId: string;
|
|
14
|
-
readonly id: string;
|
|
15
|
-
readonly namespaceId: string;
|
|
16
|
-
name: string;
|
|
17
|
-
description: string | null;
|
|
18
|
-
columnDefinitions: Array<PropertySchema>;
|
|
19
|
-
readonly id: string;
|
|
20
|
-
readonly namespaceId: string;
|
|
21
|
-
});
|
|
8
|
+
view: View;
|
|
22
9
|
};
|
|
23
10
|
|
package/models/ViewRunRequest.ts
CHANGED
package/package.json
CHANGED
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/* generated using openapi-typescript-codegen -- do no edit */
|
|
2
1
|
/* istanbul ignore file */
|
|
3
2
|
/* tslint:disable */
|
|
4
3
|
/* eslint-disable */
|
|
@@ -31,7 +30,7 @@ export class DataSourceResourceService {
|
|
|
31
30
|
'namespaceId': namespaceId,
|
|
32
31
|
},
|
|
33
32
|
body: requestBody,
|
|
34
|
-
mediaType: '
|
|
33
|
+
mediaType: 'application/json',
|
|
35
34
|
});
|
|
36
35
|
}
|
|
37
36
|
|
|
@@ -77,7 +76,7 @@ export class DataSourceResourceService {
|
|
|
77
76
|
'namespaceId': namespaceId,
|
|
78
77
|
},
|
|
79
78
|
body: requestBody,
|
|
80
|
-
mediaType: '
|
|
79
|
+
mediaType: 'application/json',
|
|
81
80
|
});
|
|
82
81
|
}
|
|
83
82
|
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/* generated using openapi-typescript-codegen -- do no edit */
|
|
2
1
|
/* istanbul ignore file */
|
|
3
2
|
/* tslint:disable */
|
|
4
3
|
/* eslint-disable */
|
|
@@ -26,7 +25,7 @@ export class ListViewsResourceService {
|
|
|
26
25
|
method: 'POST',
|
|
27
26
|
url: '/v1/views/clone',
|
|
28
27
|
body: requestBody,
|
|
29
|
-
mediaType: '
|
|
28
|
+
mediaType: 'application/json',
|
|
30
29
|
});
|
|
31
30
|
}
|
|
32
31
|
|
|
@@ -45,7 +44,7 @@ export class ListViewsResourceService {
|
|
|
45
44
|
method: 'POST',
|
|
46
45
|
url: '/v1/views/get',
|
|
47
46
|
body: requestBody,
|
|
48
|
-
mediaType: '
|
|
47
|
+
mediaType: 'application/json',
|
|
49
48
|
});
|
|
50
49
|
}
|
|
51
50
|
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/* generated using openapi-typescript-codegen -- do no edit */
|
|
2
1
|
/* istanbul ignore file */
|
|
3
2
|
/* tslint:disable */
|
|
4
3
|
/* eslint-disable */
|
|
@@ -25,7 +24,7 @@ export class NamespaceResourceService {
|
|
|
25
24
|
method: 'POST',
|
|
26
25
|
url: '/v1/namespaces',
|
|
27
26
|
body: requestBody,
|
|
28
|
-
mediaType: '
|
|
27
|
+
mediaType: 'application/json',
|
|
29
28
|
});
|
|
30
29
|
}
|
|
31
30
|
|
|
@@ -96,7 +95,7 @@ export class NamespaceResourceService {
|
|
|
96
95
|
'id': id,
|
|
97
96
|
},
|
|
98
97
|
body: requestBody,
|
|
99
|
-
mediaType: '
|
|
98
|
+
mediaType: 'application/json',
|
|
100
99
|
});
|
|
101
100
|
}
|
|
102
101
|
|
|
@@ -1,11 +1,12 @@
|
|
|
1
|
-
/* generated using openapi-typescript-codegen -- do no edit */
|
|
2
1
|
/* istanbul ignore file */
|
|
3
2
|
/* tslint:disable */
|
|
4
3
|
/* eslint-disable */
|
|
5
4
|
import type { QueryExecutionResponse } from '../models/QueryExecutionResponse';
|
|
5
|
+
import type { QueryExportResponse } from '../models/QueryExportResponse';
|
|
6
6
|
import type { QueryPreviewRequest } from '../models/QueryPreviewRequest';
|
|
7
7
|
import type { TablePreviewRequest } from '../models/TablePreviewRequest';
|
|
8
8
|
import type { UUID } from '../models/UUID';
|
|
9
|
+
import type { ViewExportRequest } from '../models/ViewExportRequest';
|
|
9
10
|
import type { ViewRunRequest } from '../models/ViewRunRequest';
|
|
10
11
|
|
|
11
12
|
import type { CancelablePromise } from '../core/CancelablePromise';
|
|
@@ -35,7 +36,11 @@ export class QueryResourceService {
|
|
|
35
36
|
'namespaceId': namespaceId,
|
|
36
37
|
},
|
|
37
38
|
body: requestBody,
|
|
38
|
-
mediaType: '
|
|
39
|
+
mediaType: 'application/json',
|
|
40
|
+
errors: {
|
|
41
|
+
400: `An error related to the user request`,
|
|
42
|
+
503: `An error related to the execution of the request`,
|
|
43
|
+
},
|
|
39
44
|
});
|
|
40
45
|
}
|
|
41
46
|
|
|
@@ -60,7 +65,41 @@ export class QueryResourceService {
|
|
|
60
65
|
'namespaceId': namespaceId,
|
|
61
66
|
},
|
|
62
67
|
body: requestBody,
|
|
63
|
-
mediaType: '
|
|
68
|
+
mediaType: 'application/json',
|
|
69
|
+
errors: {
|
|
70
|
+
400: `An error related to the user request`,
|
|
71
|
+
},
|
|
72
|
+
});
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
/**
|
|
76
|
+
* Runs the requested view against the provided data source
|
|
77
|
+
* @param dataSourceId
|
|
78
|
+
* @param namespaceId
|
|
79
|
+
* @param viewId
|
|
80
|
+
* @param requestBody View to export against the provided data source
|
|
81
|
+
* @returns QueryExportResponse A DataPage of the provided query
|
|
82
|
+
* @throws ApiError
|
|
83
|
+
*/
|
|
84
|
+
public static exportView(
|
|
85
|
+
dataSourceId: UUID,
|
|
86
|
+
namespaceId: UUID,
|
|
87
|
+
viewId: UUID,
|
|
88
|
+
requestBody: ViewExportRequest,
|
|
89
|
+
): CancelablePromise<QueryExportResponse> {
|
|
90
|
+
return __request(OpenAPI, {
|
|
91
|
+
method: 'POST',
|
|
92
|
+
url: '/v1/namespaces/{namespaceId}/data-sources/{dataSourceId}/views/{viewId}/export',
|
|
93
|
+
path: {
|
|
94
|
+
'dataSourceId': dataSourceId,
|
|
95
|
+
'namespaceId': namespaceId,
|
|
96
|
+
'viewId': viewId,
|
|
97
|
+
},
|
|
98
|
+
body: requestBody,
|
|
99
|
+
mediaType: 'application/json',
|
|
100
|
+
errors: {
|
|
101
|
+
400: `An error related to the user request`,
|
|
102
|
+
},
|
|
64
103
|
});
|
|
65
104
|
}
|
|
66
105
|
|
|
@@ -88,7 +127,11 @@ export class QueryResourceService {
|
|
|
88
127
|
'viewId': viewId,
|
|
89
128
|
},
|
|
90
129
|
body: requestBody,
|
|
91
|
-
mediaType: '
|
|
130
|
+
mediaType: 'application/json',
|
|
131
|
+
errors: {
|
|
132
|
+
400: `An error related to the user request`,
|
|
133
|
+
503: `An error related to the execution of the request`,
|
|
134
|
+
},
|
|
92
135
|
});
|
|
93
136
|
}
|
|
94
137
|
|