@explo-tech/fido-api 2.12.10 → 3.0.0-jordan-testing
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 +2802 -178
- package/package.json +9 -3
- package/core/ApiError.ts +0 -24
- package/core/ApiRequestOptions.ts +0 -16
- package/core/ApiResult.ts +0 -10
- package/core/CancelablePromise.ts +0 -130
- package/core/OpenAPI.ts +0 -31
- package/core/request.ts +0 -307
- package/models/AggregateProperty.ts +0 -15
- package/models/Aggregation.ts +0 -13
- package/models/AggregationOption.ts +0 -8
- package/models/And.ts +0 -11
- package/models/And1.ts +0 -11
- package/models/BigQuery.ts +0 -13
- package/models/BigQueryAuthentication.ts +0 -9
- package/models/BooleanPropertyValue.ts +0 -9
- package/models/Branch.ts +0 -9
- package/models/BranchResponse.ts +0 -12
- package/models/BranchResponseMetadata.ts +0 -8
- package/models/CacheTelemetry.ts +0 -10
- package/models/CalendarInterval.ts +0 -12
- package/models/CalendarIntervalGrouping.ts +0 -14
- package/models/Clickhouse.ts +0 -18
- package/models/ClickhouseConnectionType.ts +0 -8
- package/models/ClientError.ts +0 -9
- package/models/ColumnFormat.ts +0 -10
- package/models/Commit.ts +0 -11
- package/models/CommitResponse.ts +0 -10
- package/models/Computation.ts +0 -19
- package/models/ComputedView.ts +0 -20
- package/models/CreateCommitRequest.ts +0 -13
- package/models/CreateCommitResponse.ts +0 -11
- package/models/CreateViewChange.ts +0 -12
- package/models/CreateViewDiff.ts +0 -11
- package/models/DataPage.ts +0 -10
- package/models/DataRecord.ts +0 -10
- package/models/DataRequestParameters.ts +0 -11
- package/models/DataResponseMetadata.ts +0 -12
- package/models/DataSchema.ts +0 -10
- package/models/DataSource.ts +0 -14
- package/models/DataSourceConfiguration.ts +0 -17
- package/models/DataSourceError.ts +0 -14
- package/models/DataSourceRequest.ts +0 -10
- package/models/DataSourceResponse.ts +0 -13
- package/models/DatePart.ts +0 -10
- package/models/DatePartGrouping.ts +0 -14
- package/models/DatePropertyValue.ts +0 -9
- package/models/DateTimeColumnFormat.ts +0 -14
- package/models/DateTimeFormat.ts +0 -9
- package/models/DateTimePropertyValue.ts +0 -9
- package/models/DecimalColumnFormat.ts +0 -15
- package/models/DecimalIntervalGrouping.ts +0 -11
- package/models/DecimalPropertyValue.ts +0 -9
- package/models/DeleteViewChange.ts +0 -9
- package/models/DeleteViewDiff.ts +0 -11
- package/models/DiffBranchResponse.ts +0 -10
- package/models/DoublePropertyValue.ts +0 -9
- package/models/DurationColumnFormat.ts +0 -9
- package/models/EmailConfiguration.ts +0 -10
- package/models/Equal.ts +0 -12
- package/models/Equal1.ts +0 -13
- package/models/EvictionPolicy.ts +0 -9
- package/models/ExportColumnOptions.ts +0 -12
- package/models/ExportFormat.ts +0 -9
- package/models/ExportTargetConfiguration.ts +0 -13
- package/models/Filter.ts +0 -25
- package/models/FormulaProperty.ts +0 -10
- package/models/GreaterThan.ts +0 -12
- package/models/GreaterThan1.ts +0 -13
- package/models/GreaterThanOrEqual.ts +0 -12
- package/models/GreaterThanOrEqual1.ts +0 -13
- package/models/Grouping.ts +0 -15
- package/models/Having.ts +0 -25
- package/models/In.ts +0 -12
- package/models/In1.ts +0 -13
- package/models/IntegerIntervalGrouping.ts +0 -11
- package/models/IntegerPropertyValue.ts +0 -9
- package/models/JdbcAuthentication.ts +0 -8
- package/models/LateBoundEqual.ts +0 -10
- package/models/LateBoundEqual1.ts +0 -12
- package/models/LateBoundGreaterThan.ts +0 -10
- package/models/LateBoundGreaterThan1.ts +0 -12
- package/models/LateBoundGreaterThanOrEqual.ts +0 -10
- package/models/LateBoundGreaterThanOrEqual1.ts +0 -12
- package/models/LateBoundIn.ts +0 -10
- package/models/LateBoundIn1.ts +0 -12
- package/models/LateBoundLessThan.ts +0 -10
- package/models/LateBoundLessThan1.ts +0 -12
- package/models/LateBoundLessThanOrEqual.ts +0 -10
- package/models/LateBoundLessThanOrEqual1.ts +0 -12
- package/models/LateBoundStringContains.ts +0 -11
- package/models/LateBoundStringContains1.ts +0 -13
- package/models/LessThan.ts +0 -12
- package/models/LessThan1.ts +0 -13
- package/models/LessThanOrEqual.ts +0 -12
- package/models/LessThanOrEqual1.ts +0 -13
- package/models/ListBranchResponse.ts +0 -10
- package/models/ListNamespacesResponse.ts +0 -10
- package/models/ListVersionedViewsRequest.ts +0 -8
- package/models/ListViewsRequest.ts +0 -8
- package/models/ListViewsResponse.ts +0 -10
- package/models/MSS.ts +0 -16
- package/models/MergeBranchRequest.ts +0 -9
- package/models/MySql.ts +0 -16
- package/models/Namespace.ts +0 -10
- package/models/NamespaceRequest.ts +0 -10
- package/models/NamespaceResponse.ts +0 -14
- package/models/NamespaceResponseMetadata.ts +0 -12
- package/models/Not.ts +0 -11
- package/models/Not1.ts +0 -11
- package/models/Null.ts +0 -9
- package/models/Null1.ts +0 -11
- package/models/Or.ts +0 -11
- package/models/Or1.ts +0 -11
- package/models/PagingConfiguration.ts +0 -9
- package/models/PasswordAuthentication.ts +0 -10
- package/models/Postgres.ts +0 -16
- package/models/Property.ts +0 -12
- package/models/PropertySchema.ts +0 -13
- package/models/PropertyType.ts +0 -15
- package/models/PropertyValue.ts +0 -14
- package/models/PublicTunnel.ts +0 -8
- package/models/QueryExecutionError.ts +0 -13
- package/models/QueryExecutionResponse.ts +0 -14
- package/models/QueryExportEmailResponse.ts +0 -8
- package/models/QueryExportLinkResponse.ts +0 -9
- package/models/QueryExportResponse.ts +0 -9
- package/models/QueryPreviewRequest.ts +0 -14
- package/models/QueryTimeoutError.ts +0 -13
- package/models/Redshift.ts +0 -16
- package/models/RequestExecutionParameters.ts +0 -8
- package/models/RequestTelemetry.ts +0 -13
- package/models/SSHAuthentication.ts +0 -11
- package/models/SSHTunnel.ts +0 -15
- package/models/ScheduledEviction.ts +0 -9
- package/models/Snowflake.ts +0 -17
- package/models/SnowflakeAuthentication.ts +0 -8
- package/models/SnowflakePasswordAuthentication.ts +0 -9
- package/models/Sort.ts +0 -11
- package/models/SortDirection.ts +0 -8
- package/models/SourceProperty.ts +0 -10
- package/models/StringContains.ts +0 -13
- package/models/StringContains1.ts +0 -14
- package/models/StringPropertyValue.ts +0 -9
- package/models/TablePreviewRequest.ts +0 -11
- package/models/TableView.ts +0 -18
- package/models/Tenant.ts +0 -14
- package/models/TenantKey.ts +0 -10
- package/models/TenantPrivateKeyAuthentication.ts +0 -10
- package/models/TenantRequest.ts +0 -11
- package/models/TenantResponse.ts +0 -10
- package/models/TenantS3Configuration.ts +0 -11
- package/models/TestConnectionRequest.ts +0 -10
- package/models/TestConnectionResponse.ts +0 -8
- package/models/TtlEviction.ts +0 -9
- package/models/Tunnel.ts +0 -9
- package/models/UUID.ts +0 -5
- package/models/UnitOfMeasurement.ts +0 -7
- package/models/UpdateViewChange.ts +0 -11
- package/models/UpdateViewDiff.ts +0 -12
- package/models/ValueGrouping.ts +0 -10
- package/models/VendorPrivateKeyAuthentication.ts +0 -9
- package/models/View.ts +0 -17
- package/models/ViewChange.ts +0 -10
- package/models/ViewDiff.ts +0 -10
- package/models/ViewExportRequest.ts +0 -18
- package/models/ViewRequest.ts +0 -19
- package/models/ViewResponse.ts +0 -10
- package/models/ViewRunRequest.ts +0 -15
- package/services/BranchResourceService.ts +0 -112
- package/services/CommitResourceService.ts +0 -48
- package/services/DataSourceResourceService.ts +0 -146
- package/services/HealthResourceService.ts +0 -45
- package/services/ListViewsResourceService.ts +0 -73
- package/services/NamespaceResourceService.ts +0 -120
- package/services/QueryResourceService.ts +0 -207
- package/services/TenantResourceService.ts +0 -89
- package/services/TestConnectionResourceService.ts +0 -56
- package/services/ViewResourceService.ts +0 -130
package/models/ViewResponse.ts
DELETED
package/models/ViewRunRequest.ts
DELETED
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
/* istanbul ignore file */
|
|
2
|
-
/* tslint:disable */
|
|
3
|
-
/* eslint-disable */
|
|
4
|
-
|
|
5
|
-
import type { Computation } from './Computation';
|
|
6
|
-
import type { DataRequestParameters } from './DataRequestParameters';
|
|
7
|
-
import type { RequestExecutionParameters } from './RequestExecutionParameters';
|
|
8
|
-
|
|
9
|
-
export type ViewRunRequest = {
|
|
10
|
-
dataRequestParameters: DataRequestParameters;
|
|
11
|
-
requestExecutionParameters: RequestExecutionParameters | null;
|
|
12
|
-
queryContext: Record<string, any>;
|
|
13
|
-
computation: Computation | null;
|
|
14
|
-
};
|
|
15
|
-
|
|
@@ -1,112 +0,0 @@
|
|
|
1
|
-
/* istanbul ignore file */
|
|
2
|
-
/* tslint:disable */
|
|
3
|
-
/* eslint-disable */
|
|
4
|
-
import type { BranchResponse } from '../models/BranchResponse';
|
|
5
|
-
import type { DiffBranchResponse } from '../models/DiffBranchResponse';
|
|
6
|
-
import type { ListBranchResponse } from '../models/ListBranchResponse';
|
|
7
|
-
import type { MergeBranchRequest } from '../models/MergeBranchRequest';
|
|
8
|
-
import type { UUID } from '../models/UUID';
|
|
9
|
-
import type { ViewRequest } from '../models/ViewRequest';
|
|
10
|
-
|
|
11
|
-
import type { CancelablePromise } from '../core/CancelablePromise';
|
|
12
|
-
import { OpenAPI } from '../core/OpenAPI';
|
|
13
|
-
import { request as __request } from '../core/request';
|
|
14
|
-
|
|
15
|
-
export class BranchResourceService {
|
|
16
|
-
|
|
17
|
-
/**
|
|
18
|
-
* Lists all branches
|
|
19
|
-
* @returns ListBranchResponse The branches
|
|
20
|
-
* @throws ApiError
|
|
21
|
-
*/
|
|
22
|
-
public static listBranches(): CancelablePromise<ListBranchResponse> {
|
|
23
|
-
return __request(OpenAPI, {
|
|
24
|
-
method: 'GET',
|
|
25
|
-
url: '/v1/branches',
|
|
26
|
-
});
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
/**
|
|
30
|
-
* Creates a new branch
|
|
31
|
-
* @param requestBody Branch to create
|
|
32
|
-
* @returns BranchResponse The created branch
|
|
33
|
-
* @throws ApiError
|
|
34
|
-
*/
|
|
35
|
-
public static createBranch(
|
|
36
|
-
requestBody: ViewRequest,
|
|
37
|
-
): CancelablePromise<BranchResponse> {
|
|
38
|
-
return __request(OpenAPI, {
|
|
39
|
-
method: 'POST',
|
|
40
|
-
url: '/v1/branches',
|
|
41
|
-
body: requestBody,
|
|
42
|
-
mediaType: 'application/json',
|
|
43
|
-
});
|
|
44
|
-
}
|
|
45
|
-
|
|
46
|
-
/**
|
|
47
|
-
* Returns the diff between the provided source branch and the provided target branch
|
|
48
|
-
* @param from
|
|
49
|
-
* @param to
|
|
50
|
-
* @returns DiffBranchResponse The diff between the two branches
|
|
51
|
-
* @throws ApiError
|
|
52
|
-
*/
|
|
53
|
-
public static diffBranch(
|
|
54
|
-
from?: UUID,
|
|
55
|
-
to?: UUID,
|
|
56
|
-
): CancelablePromise<DiffBranchResponse> {
|
|
57
|
-
return __request(OpenAPI, {
|
|
58
|
-
method: 'GET',
|
|
59
|
-
url: '/v1/branches/diff',
|
|
60
|
-
query: {
|
|
61
|
-
'from': from,
|
|
62
|
-
'to': to,
|
|
63
|
-
},
|
|
64
|
-
});
|
|
65
|
-
}
|
|
66
|
-
|
|
67
|
-
/**
|
|
68
|
-
* Gets the branch with the requested id
|
|
69
|
-
* @param id
|
|
70
|
-
* @param includeMeta
|
|
71
|
-
* @returns BranchResponse The requested branch
|
|
72
|
-
* @throws ApiError
|
|
73
|
-
*/
|
|
74
|
-
public static getBranch(
|
|
75
|
-
id: UUID,
|
|
76
|
-
includeMeta: boolean = false,
|
|
77
|
-
): CancelablePromise<BranchResponse> {
|
|
78
|
-
return __request(OpenAPI, {
|
|
79
|
-
method: 'GET',
|
|
80
|
-
url: '/v1/branches/{id}',
|
|
81
|
-
path: {
|
|
82
|
-
'id': id,
|
|
83
|
-
},
|
|
84
|
-
query: {
|
|
85
|
-
'includeMeta': includeMeta,
|
|
86
|
-
},
|
|
87
|
-
});
|
|
88
|
-
}
|
|
89
|
-
|
|
90
|
-
/**
|
|
91
|
-
* Merge the provided source branch into the provided target branch
|
|
92
|
-
* @param sourceBranchId
|
|
93
|
-
* @param requestBody Options for merge
|
|
94
|
-
* @returns BranchResponse The target branch with the new head
|
|
95
|
-
* @throws ApiError
|
|
96
|
-
*/
|
|
97
|
-
public static mergeBranch(
|
|
98
|
-
sourceBranchId: string,
|
|
99
|
-
requestBody: MergeBranchRequest,
|
|
100
|
-
): CancelablePromise<BranchResponse> {
|
|
101
|
-
return __request(OpenAPI, {
|
|
102
|
-
method: 'POST',
|
|
103
|
-
url: '/v1/branches/{sourceBranchId}/merge',
|
|
104
|
-
path: {
|
|
105
|
-
'sourceBranchId': sourceBranchId,
|
|
106
|
-
},
|
|
107
|
-
body: requestBody,
|
|
108
|
-
mediaType: 'application/json',
|
|
109
|
-
});
|
|
110
|
-
}
|
|
111
|
-
|
|
112
|
-
}
|
|
@@ -1,48 +0,0 @@
|
|
|
1
|
-
/* istanbul ignore file */
|
|
2
|
-
/* tslint:disable */
|
|
3
|
-
/* eslint-disable */
|
|
4
|
-
import type { CreateCommitRequest } from '../models/CreateCommitRequest';
|
|
5
|
-
import type { CreateCommitResponse } from '../models/CreateCommitResponse';
|
|
6
|
-
import type { ListViewsResponse } from '../models/ListViewsResponse';
|
|
7
|
-
|
|
8
|
-
import type { CancelablePromise } from '../core/CancelablePromise';
|
|
9
|
-
import { OpenAPI } from '../core/OpenAPI';
|
|
10
|
-
import { request as __request } from '../core/request';
|
|
11
|
-
|
|
12
|
-
export class CommitResourceService {
|
|
13
|
-
|
|
14
|
-
/**
|
|
15
|
-
* Creates a new commit on the provided branch
|
|
16
|
-
* @param branchId
|
|
17
|
-
* @param requestBody Branch to create
|
|
18
|
-
* @returns CreateCommitResponse The created commit
|
|
19
|
-
* @throws ApiError
|
|
20
|
-
*/
|
|
21
|
-
public static createCommit(
|
|
22
|
-
branchId: string,
|
|
23
|
-
requestBody: CreateCommitRequest,
|
|
24
|
-
): CancelablePromise<CreateCommitResponse> {
|
|
25
|
-
return __request(OpenAPI, {
|
|
26
|
-
method: 'POST',
|
|
27
|
-
url: '/v1/branches/{branchId}/commits',
|
|
28
|
-
path: {
|
|
29
|
-
'branchId': branchId,
|
|
30
|
-
},
|
|
31
|
-
body: requestBody,
|
|
32
|
-
mediaType: 'application/json',
|
|
33
|
-
});
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
/**
|
|
37
|
-
* Lists the views affected by the specified commit
|
|
38
|
-
* @returns ListViewsResponse The views affected by the commit
|
|
39
|
-
* @throws ApiError
|
|
40
|
-
*/
|
|
41
|
-
public static listCommitViews(): CancelablePromise<ListViewsResponse> {
|
|
42
|
-
return __request(OpenAPI, {
|
|
43
|
-
method: 'GET',
|
|
44
|
-
url: '/v1/branches/{branchId}/commits/views',
|
|
45
|
-
});
|
|
46
|
-
}
|
|
47
|
-
|
|
48
|
-
}
|
|
@@ -1,146 +0,0 @@
|
|
|
1
|
-
/* istanbul ignore file */
|
|
2
|
-
/* tslint:disable */
|
|
3
|
-
/* eslint-disable */
|
|
4
|
-
import type { DataSourceRequest } from '../models/DataSourceRequest';
|
|
5
|
-
import type { DataSourceResponse } from '../models/DataSourceResponse';
|
|
6
|
-
import type { ListViewsResponse } from '../models/ListViewsResponse';
|
|
7
|
-
import type { UUID } from '../models/UUID';
|
|
8
|
-
|
|
9
|
-
import type { CancelablePromise } from '../core/CancelablePromise';
|
|
10
|
-
import { OpenAPI } from '../core/OpenAPI';
|
|
11
|
-
import { request as __request } from '../core/request';
|
|
12
|
-
|
|
13
|
-
export class DataSourceResourceService {
|
|
14
|
-
|
|
15
|
-
/**
|
|
16
|
-
* Creates a data source
|
|
17
|
-
* @param namespaceId
|
|
18
|
-
* @param requestBody Data Source object to create
|
|
19
|
-
* @returns DataSourceResponse The requested data source
|
|
20
|
-
* @throws ApiError
|
|
21
|
-
*/
|
|
22
|
-
public static createDataSource(
|
|
23
|
-
namespaceId: UUID,
|
|
24
|
-
requestBody: DataSourceRequest,
|
|
25
|
-
): CancelablePromise<DataSourceResponse> {
|
|
26
|
-
return __request(OpenAPI, {
|
|
27
|
-
method: 'POST',
|
|
28
|
-
url: '/v1/namespaces/{namespaceId}/data-sources',
|
|
29
|
-
path: {
|
|
30
|
-
'namespaceId': namespaceId,
|
|
31
|
-
},
|
|
32
|
-
body: requestBody,
|
|
33
|
-
mediaType: 'application/json',
|
|
34
|
-
});
|
|
35
|
-
}
|
|
36
|
-
|
|
37
|
-
/**
|
|
38
|
-
* Gets a data source
|
|
39
|
-
* @param id
|
|
40
|
-
* @param namespaceId
|
|
41
|
-
* @returns DataSourceResponse The requested data source
|
|
42
|
-
* @throws ApiError
|
|
43
|
-
*/
|
|
44
|
-
public static getDataSource(
|
|
45
|
-
id: UUID,
|
|
46
|
-
namespaceId: UUID,
|
|
47
|
-
): CancelablePromise<DataSourceResponse> {
|
|
48
|
-
return __request(OpenAPI, {
|
|
49
|
-
method: 'GET',
|
|
50
|
-
url: '/v1/namespaces/{namespaceId}/data-sources/{id}',
|
|
51
|
-
path: {
|
|
52
|
-
'id': id,
|
|
53
|
-
'namespaceId': namespaceId,
|
|
54
|
-
},
|
|
55
|
-
});
|
|
56
|
-
}
|
|
57
|
-
|
|
58
|
-
/**
|
|
59
|
-
* Updates a data source's metadata
|
|
60
|
-
* @param id
|
|
61
|
-
* @param namespaceId
|
|
62
|
-
* @param requestBody Data Source object to update
|
|
63
|
-
* @returns DataSourceResponse The updated data source
|
|
64
|
-
* @throws ApiError
|
|
65
|
-
*/
|
|
66
|
-
public static updateDataSource(
|
|
67
|
-
id: UUID,
|
|
68
|
-
namespaceId: UUID,
|
|
69
|
-
requestBody: DataSourceRequest,
|
|
70
|
-
): CancelablePromise<DataSourceResponse> {
|
|
71
|
-
return __request(OpenAPI, {
|
|
72
|
-
method: 'PUT',
|
|
73
|
-
url: '/v1/namespaces/{namespaceId}/data-sources/{id}',
|
|
74
|
-
path: {
|
|
75
|
-
'id': id,
|
|
76
|
-
'namespaceId': namespaceId,
|
|
77
|
-
},
|
|
78
|
-
body: requestBody,
|
|
79
|
-
mediaType: 'application/json',
|
|
80
|
-
});
|
|
81
|
-
}
|
|
82
|
-
|
|
83
|
-
/**
|
|
84
|
-
* Deletes a data source
|
|
85
|
-
* @param id
|
|
86
|
-
* @param namespaceId
|
|
87
|
-
* @returns any 200 if the data source was deleted properly
|
|
88
|
-
* @throws ApiError
|
|
89
|
-
*/
|
|
90
|
-
public static deleteDataSource(
|
|
91
|
-
id: UUID,
|
|
92
|
-
namespaceId: UUID,
|
|
93
|
-
): CancelablePromise<Record<string, any>> {
|
|
94
|
-
return __request(OpenAPI, {
|
|
95
|
-
method: 'DELETE',
|
|
96
|
-
url: '/v1/namespaces/{namespaceId}/data-sources/{id}',
|
|
97
|
-
path: {
|
|
98
|
-
'id': id,
|
|
99
|
-
'namespaceId': namespaceId,
|
|
100
|
-
},
|
|
101
|
-
});
|
|
102
|
-
}
|
|
103
|
-
|
|
104
|
-
/**
|
|
105
|
-
* Gets tables
|
|
106
|
-
* @param id
|
|
107
|
-
* @param namespaceId
|
|
108
|
-
* @returns ListViewsResponse The tables views associated with the data source
|
|
109
|
-
* @throws ApiError
|
|
110
|
-
*/
|
|
111
|
-
public static getTables(
|
|
112
|
-
id: UUID,
|
|
113
|
-
namespaceId: UUID,
|
|
114
|
-
): CancelablePromise<ListViewsResponse> {
|
|
115
|
-
return __request(OpenAPI, {
|
|
116
|
-
method: 'GET',
|
|
117
|
-
url: '/v1/namespaces/{namespaceId}/data-sources/{id}/tables',
|
|
118
|
-
path: {
|
|
119
|
-
'id': id,
|
|
120
|
-
'namespaceId': namespaceId,
|
|
121
|
-
},
|
|
122
|
-
});
|
|
123
|
-
}
|
|
124
|
-
|
|
125
|
-
/**
|
|
126
|
-
* Syncs the tables for a given namespace and data source
|
|
127
|
-
* @param id
|
|
128
|
-
* @param namespaceId
|
|
129
|
-
* @returns ListViewsResponse Syncs the tables for a given namespace and data source
|
|
130
|
-
* @throws ApiError
|
|
131
|
-
*/
|
|
132
|
-
public static syncTables(
|
|
133
|
-
id: UUID,
|
|
134
|
-
namespaceId: UUID,
|
|
135
|
-
): CancelablePromise<ListViewsResponse> {
|
|
136
|
-
return __request(OpenAPI, {
|
|
137
|
-
method: 'POST',
|
|
138
|
-
url: '/v1/namespaces/{namespaceId}/data-sources/{id}/views/sync',
|
|
139
|
-
path: {
|
|
140
|
-
'id': id,
|
|
141
|
-
'namespaceId': namespaceId,
|
|
142
|
-
},
|
|
143
|
-
});
|
|
144
|
-
}
|
|
145
|
-
|
|
146
|
-
}
|
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
/* istanbul ignore file */
|
|
2
|
-
/* tslint:disable */
|
|
3
|
-
/* eslint-disable */
|
|
4
|
-
import type { UUID } from '../models/UUID';
|
|
5
|
-
|
|
6
|
-
import type { CancelablePromise } from '../core/CancelablePromise';
|
|
7
|
-
import { OpenAPI } from '../core/OpenAPI';
|
|
8
|
-
import { request as __request } from '../core/request';
|
|
9
|
-
|
|
10
|
-
export class HealthResourceService {
|
|
11
|
-
|
|
12
|
-
/**
|
|
13
|
-
* Returns the entire state of the FIDO application
|
|
14
|
-
* @returns any A response with the current status of the FIDO
|
|
15
|
-
* @throws ApiError
|
|
16
|
-
*/
|
|
17
|
-
public static getFidoHealth(): CancelablePromise<Record<string, any>> {
|
|
18
|
-
return __request(OpenAPI, {
|
|
19
|
-
method: 'GET',
|
|
20
|
-
url: '/v1/health',
|
|
21
|
-
});
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
/**
|
|
25
|
-
* Verifies that the DataSourceConnection verticle is alive
|
|
26
|
-
* @param dataSourceId
|
|
27
|
-
* @param namespaceId
|
|
28
|
-
* @returns any A response with the current status of the verticle
|
|
29
|
-
* @throws ApiError
|
|
30
|
-
*/
|
|
31
|
-
public static getDataSourceConnectionHealth(
|
|
32
|
-
dataSourceId: UUID,
|
|
33
|
-
namespaceId: UUID,
|
|
34
|
-
): CancelablePromise<Record<string, any>> {
|
|
35
|
-
return __request(OpenAPI, {
|
|
36
|
-
method: 'GET',
|
|
37
|
-
url: '/v1/health/data-source-connection/{namespaceId}/{dataSourceId}',
|
|
38
|
-
path: {
|
|
39
|
-
'dataSourceId': dataSourceId,
|
|
40
|
-
'namespaceId': namespaceId,
|
|
41
|
-
},
|
|
42
|
-
});
|
|
43
|
-
}
|
|
44
|
-
|
|
45
|
-
}
|
|
@@ -1,73 +0,0 @@
|
|
|
1
|
-
/* istanbul ignore file */
|
|
2
|
-
/* tslint:disable */
|
|
3
|
-
/* eslint-disable */
|
|
4
|
-
import type { ListVersionedViewsRequest } from '../models/ListVersionedViewsRequest';
|
|
5
|
-
import type { ListViewsRequest } from '../models/ListViewsRequest';
|
|
6
|
-
import type { ViewResponse } from '../models/ViewResponse';
|
|
7
|
-
|
|
8
|
-
import type { CancelablePromise } from '../core/CancelablePromise';
|
|
9
|
-
import { OpenAPI } from '../core/OpenAPI';
|
|
10
|
-
import { request as __request } from '../core/request';
|
|
11
|
-
|
|
12
|
-
export class ListViewsResourceService {
|
|
13
|
-
|
|
14
|
-
/**
|
|
15
|
-
* Gets the requested set of views
|
|
16
|
-
* @param requestBody View ids to get
|
|
17
|
-
* @returns any The requested views
|
|
18
|
-
* @throws ApiError
|
|
19
|
-
*/
|
|
20
|
-
public static batchGetViews(
|
|
21
|
-
requestBody: ListVersionedViewsRequest,
|
|
22
|
-
): CancelablePromise<{
|
|
23
|
-
views: Array<ViewResponse>;
|
|
24
|
-
}> {
|
|
25
|
-
return __request(OpenAPI, {
|
|
26
|
-
method: 'POST',
|
|
27
|
-
url: '/v1/views/batch-get',
|
|
28
|
-
body: requestBody,
|
|
29
|
-
mediaType: 'application/json',
|
|
30
|
-
});
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
/**
|
|
34
|
-
* @deprecated
|
|
35
|
-
* Clones the request set of views
|
|
36
|
-
* @param requestBody View ids to clone
|
|
37
|
-
* @returns any The cloned views
|
|
38
|
-
* @throws ApiError
|
|
39
|
-
*/
|
|
40
|
-
public static cloneViews(
|
|
41
|
-
requestBody: ListViewsRequest,
|
|
42
|
-
): CancelablePromise<{
|
|
43
|
-
views: Array<ViewResponse>;
|
|
44
|
-
}> {
|
|
45
|
-
return __request(OpenAPI, {
|
|
46
|
-
method: 'POST',
|
|
47
|
-
url: '/v1/views/clone',
|
|
48
|
-
body: requestBody,
|
|
49
|
-
mediaType: 'application/json',
|
|
50
|
-
});
|
|
51
|
-
}
|
|
52
|
-
|
|
53
|
-
/**
|
|
54
|
-
* @deprecated
|
|
55
|
-
* Gets the requested set of views
|
|
56
|
-
* @param requestBody View ids to get
|
|
57
|
-
* @returns any The requested views
|
|
58
|
-
* @throws ApiError
|
|
59
|
-
*/
|
|
60
|
-
public static getViews(
|
|
61
|
-
requestBody: ListViewsRequest,
|
|
62
|
-
): CancelablePromise<{
|
|
63
|
-
views: Array<ViewResponse>;
|
|
64
|
-
}> {
|
|
65
|
-
return __request(OpenAPI, {
|
|
66
|
-
method: 'POST',
|
|
67
|
-
url: '/v1/views/get',
|
|
68
|
-
body: requestBody,
|
|
69
|
-
mediaType: 'application/json',
|
|
70
|
-
});
|
|
71
|
-
}
|
|
72
|
-
|
|
73
|
-
}
|
|
@@ -1,120 +0,0 @@
|
|
|
1
|
-
/* istanbul ignore file */
|
|
2
|
-
/* tslint:disable */
|
|
3
|
-
/* eslint-disable */
|
|
4
|
-
import type { NamespaceRequest } from '../models/NamespaceRequest';
|
|
5
|
-
import type { NamespaceResponse } from '../models/NamespaceResponse';
|
|
6
|
-
import type { UUID } from '../models/UUID';
|
|
7
|
-
|
|
8
|
-
import type { CancelablePromise } from '../core/CancelablePromise';
|
|
9
|
-
import { OpenAPI } from '../core/OpenAPI';
|
|
10
|
-
import { request as __request } from '../core/request';
|
|
11
|
-
|
|
12
|
-
export class NamespaceResourceService {
|
|
13
|
-
|
|
14
|
-
/**
|
|
15
|
-
* Creates a namespace and optionally a data source associated with it
|
|
16
|
-
* @param requestBody Namespace object to create
|
|
17
|
-
* @returns NamespaceResponse The requested namespace, along with its associated data source if applicable
|
|
18
|
-
* @throws ApiError
|
|
19
|
-
*/
|
|
20
|
-
public static createNamespace(
|
|
21
|
-
requestBody: NamespaceRequest,
|
|
22
|
-
): CancelablePromise<NamespaceResponse> {
|
|
23
|
-
return __request(OpenAPI, {
|
|
24
|
-
method: 'POST',
|
|
25
|
-
url: '/v1/namespaces',
|
|
26
|
-
body: requestBody,
|
|
27
|
-
mediaType: 'application/json',
|
|
28
|
-
});
|
|
29
|
-
}
|
|
30
|
-
|
|
31
|
-
/**
|
|
32
|
-
* Fetches all namespaces and, optionally, their associated data sources and or table views
|
|
33
|
-
* @param includeDataSources
|
|
34
|
-
* @param includeViews
|
|
35
|
-
* @returns any All namespaces, along with associated data sources and or table views
|
|
36
|
-
* @throws ApiError
|
|
37
|
-
*/
|
|
38
|
-
public static getNamespaces(
|
|
39
|
-
includeDataSources: boolean = false,
|
|
40
|
-
includeViews: boolean = false,
|
|
41
|
-
): CancelablePromise<{
|
|
42
|
-
namespaces: Array<NamespaceResponse>;
|
|
43
|
-
}> {
|
|
44
|
-
return __request(OpenAPI, {
|
|
45
|
-
method: 'GET',
|
|
46
|
-
url: '/v1/namespaces/list',
|
|
47
|
-
query: {
|
|
48
|
-
'includeDataSources': includeDataSources,
|
|
49
|
-
'includeViews': includeViews,
|
|
50
|
-
},
|
|
51
|
-
});
|
|
52
|
-
}
|
|
53
|
-
|
|
54
|
-
/**
|
|
55
|
-
* Gets a namespace and its associated data sources and or views
|
|
56
|
-
* @param id
|
|
57
|
-
* @param includeDataSources
|
|
58
|
-
* @param includeViews
|
|
59
|
-
* @returns NamespaceResponse The requested namespace, along with its associated data sources and or views
|
|
60
|
-
* @throws ApiError
|
|
61
|
-
*/
|
|
62
|
-
public static getNamespace(
|
|
63
|
-
id: UUID,
|
|
64
|
-
includeDataSources: boolean = false,
|
|
65
|
-
includeViews: boolean = false,
|
|
66
|
-
): CancelablePromise<NamespaceResponse> {
|
|
67
|
-
return __request(OpenAPI, {
|
|
68
|
-
method: 'GET',
|
|
69
|
-
url: '/v1/namespaces/{id}',
|
|
70
|
-
path: {
|
|
71
|
-
'id': id,
|
|
72
|
-
},
|
|
73
|
-
query: {
|
|
74
|
-
'includeDataSources': includeDataSources,
|
|
75
|
-
'includeViews': includeViews,
|
|
76
|
-
},
|
|
77
|
-
});
|
|
78
|
-
}
|
|
79
|
-
|
|
80
|
-
/**
|
|
81
|
-
* Updates a namespace's metadata
|
|
82
|
-
* @param id
|
|
83
|
-
* @param requestBody Namespace object to update
|
|
84
|
-
* @returns NamespaceResponse The updated namespace, along with its associated data sources
|
|
85
|
-
* @throws ApiError
|
|
86
|
-
*/
|
|
87
|
-
public static updateNamespace(
|
|
88
|
-
id: UUID,
|
|
89
|
-
requestBody: NamespaceRequest,
|
|
90
|
-
): CancelablePromise<NamespaceResponse> {
|
|
91
|
-
return __request(OpenAPI, {
|
|
92
|
-
method: 'PUT',
|
|
93
|
-
url: '/v1/namespaces/{id}',
|
|
94
|
-
path: {
|
|
95
|
-
'id': id,
|
|
96
|
-
},
|
|
97
|
-
body: requestBody,
|
|
98
|
-
mediaType: 'application/json',
|
|
99
|
-
});
|
|
100
|
-
}
|
|
101
|
-
|
|
102
|
-
/**
|
|
103
|
-
* Deletes a namespace, cascading to its associated resources
|
|
104
|
-
* @param id
|
|
105
|
-
* @returns any 200 if the namespace was deleted properly
|
|
106
|
-
* @throws ApiError
|
|
107
|
-
*/
|
|
108
|
-
public static deleteNamespace(
|
|
109
|
-
id: UUID,
|
|
110
|
-
): CancelablePromise<Record<string, any>> {
|
|
111
|
-
return __request(OpenAPI, {
|
|
112
|
-
method: 'DELETE',
|
|
113
|
-
url: '/v1/namespaces/{id}',
|
|
114
|
-
path: {
|
|
115
|
-
'id': id,
|
|
116
|
-
},
|
|
117
|
-
});
|
|
118
|
-
}
|
|
119
|
-
|
|
120
|
-
}
|