@explo-tech/fido-api 0.0.29 → 0.0.31

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.
@@ -10,6 +10,6 @@ export type AggregateProperty = {
10
10
  propertyId: string | null;
11
11
  targetPropertyId: string | null;
12
12
  aggregation?: Aggregation;
13
- aggregationOption: AggregationOption | null;
13
+ aggregationOptions?: Array<AggregationOption>;
14
14
  };
15
15
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@explo-tech/fido-api",
3
- "version": "0.0.29",
3
+ "version": "0.0.31",
4
4
  "description": "Fido api",
5
5
  "homepage": "https://github.com/trust-kaz/fido",
6
6
  "license": "MIT",
@@ -3,6 +3,7 @@
3
3
  /* eslint-disable */
4
4
  import type { DataSourceRequest } from '../models/DataSourceRequest';
5
5
  import type { DataSourceResponse } from '../models/DataSourceResponse';
6
+ import type { ListViewsResponse } from '../models/ListViewsResponse';
6
7
  import type { UUID } from '../models/UUID';
7
8
 
8
9
  import type { CancelablePromise } from '../core/CancelablePromise';
@@ -103,4 +104,46 @@ export class DataSourceResourceService {
103
104
  });
104
105
  }
105
106
 
107
+ /**
108
+ * Gets tables
109
+ * @param id
110
+ * @param namespaceId
111
+ * @returns ListViewsResponse The tables views associated with the data source
112
+ * @throws ApiError
113
+ */
114
+ public static getTables(
115
+ id: UUID,
116
+ namespaceId: UUID,
117
+ ): CancelablePromise<ListViewsResponse> {
118
+ return __request(OpenAPI, {
119
+ method: 'GET',
120
+ url: '/v1/namespaces/{namespaceId}/data-sources/{id}/tables',
121
+ path: {
122
+ 'id': id,
123
+ 'namespaceId': namespaceId,
124
+ },
125
+ });
126
+ }
127
+
128
+ /**
129
+ * Syncs the tables for a given namespace and data source
130
+ * @param id
131
+ * @param namespaceId
132
+ * @returns ListViewsResponse Syncs the tables for a given namespace and data source
133
+ * @throws ApiError
134
+ */
135
+ public static syncTables(
136
+ id: UUID,
137
+ namespaceId: UUID,
138
+ ): CancelablePromise<ListViewsResponse> {
139
+ return __request(OpenAPI, {
140
+ method: 'POST',
141
+ url: '/v1/namespaces/{namespaceId}/data-sources/{id}/views/sync',
142
+ path: {
143
+ 'id': id,
144
+ 'namespaceId': namespaceId,
145
+ },
146
+ });
147
+ }
148
+
106
149
  }
package/.tool-versions DELETED
@@ -1 +0,0 @@
1
- nodejs 16.17.1