@explo-tech/fido-api 0.0.3 → 0.0.4

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.
Files changed (80) hide show
  1. package/core/ApiError.ts +24 -0
  2. package/core/ApiRequestOptions.ts +16 -0
  3. package/core/ApiResult.ts +10 -0
  4. package/core/CancelablePromise.ts +130 -0
  5. package/core/OpenAPI.ts +31 -0
  6. package/core/request.ts +307 -0
  7. package/index.ts +47 -0
  8. package/models/BooleanPropertyValue.ts +9 -0
  9. package/models/ClientError.ts +9 -0
  10. package/models/ComputedViewRunRequest.ts +13 -0
  11. package/models/DataPage.ts +10 -0
  12. package/models/DataRequestParameters.ts +11 -0
  13. package/models/DataResponseMetadata.ts +12 -0
  14. package/models/DataSchema.ts +10 -0
  15. package/models/DataSource.ts +15 -0
  16. package/models/DataSourceConfiguration.ts +10 -0
  17. package/models/DataSourceRequest.ts +10 -0
  18. package/models/DataSourceResponse.ts +10 -0
  19. package/models/DataSourceTablePreviewRequest.ts +11 -0
  20. package/models/DatePropertyValue.ts +11 -0
  21. package/models/DateTimePropertyValue.ts +11 -0
  22. package/models/DecimalPropertyValue.ts +9 -0
  23. package/models/DoublePropertyValue.ts +9 -0
  24. package/models/Duration.ts +5 -0
  25. package/models/Instant.ts +5 -0
  26. package/models/IntegerPropertyValue.ts +9 -0
  27. package/models/LocalDate.ts +5 -0
  28. package/models/Namespace.ts +11 -0
  29. package/models/NamespaceRequest.ts +10 -0
  30. package/models/NamespaceResponse.ts +12 -0
  31. package/models/NamespaceResponseMetadata.ts +10 -0
  32. package/models/PagingConfiguration.ts +9 -0
  33. package/models/PropertySchema.ts +13 -0
  34. package/models/PropertyType.ts +14 -0
  35. package/models/PropertyValue.ts +16 -0
  36. package/models/QueryExecutionResponse.ts +15 -0
  37. package/models/Record.ts +10 -0
  38. package/models/RequestTelemetry.ts +12 -0
  39. package/models/StringPropertyValue.ts +9 -0
  40. package/models/Tunnel.ts +5 -0
  41. package/models/UUID.ts +5 -0
  42. package/package.json +1 -1
  43. package/services/DatasourceResourceService.ts +106 -0
  44. package/services/HealthResourceService.ts +45 -0
  45. package/services/NamespaceResourceService.ts +99 -0
  46. package/services/QueryResourceService.ts +65 -0
  47. package/.openapi-generator/FILES +0 -32
  48. package/.openapi-generator/VERSION +0 -1
  49. package/.openapi-generator-ignore +0 -23
  50. package/api/apis.ts +0 -20
  51. package/api/datasourceResourceApi.ts +0 -412
  52. package/api/healthResourceApi.ts +0 -239
  53. package/api/namespaceResourceApi.ts +0 -389
  54. package/api/queryResourceApi.ts +0 -261
  55. package/api.ts +0 -3
  56. package/git_push.sh +0 -57
  57. package/model/clientError.ts +0 -37
  58. package/model/computedViewRunRequest.ts +0 -50
  59. package/model/dataPage.ts +0 -32
  60. package/model/dataRequestParameters.ts +0 -38
  61. package/model/dataResponseMetadata.ts +0 -44
  62. package/model/dataSchema.ts +0 -32
  63. package/model/dataSource.ts +0 -56
  64. package/model/dataSourceConfiguration.ts +0 -31
  65. package/model/dataSourceRequest.ts +0 -32
  66. package/model/dataSourceResponse.ts +0 -32
  67. package/model/dataSourceTablePreviewRequest.ts +0 -38
  68. package/model/models.ts +0 -288
  69. package/model/namespace.ts +0 -37
  70. package/model/namespaceRequest.ts +0 -32
  71. package/model/namespaceResponse.ts +0 -39
  72. package/model/namespaceResponseMeta.ts +0 -32
  73. package/model/namespaceResponseMetadata.ts +0 -32
  74. package/model/pagingConfiguration.ts +0 -37
  75. package/model/propertySchema.ts +0 -52
  76. package/model/propertyType.ts +0 -24
  77. package/model/queryExecutionResponse.ts +0 -52
  78. package/model/queryExecutionResponseRequestTelemetry.ts +0 -43
  79. package/model/record.ts +0 -31
  80. package/model/requestTelemetry.ts +0 -43
package/model/models.ts DELETED
@@ -1,288 +0,0 @@
1
- import localVarRequest from 'request';
2
-
3
- export * from './clientError';
4
- export * from './computedViewRunRequest';
5
- export * from './dataPage';
6
- export * from './dataRequestParameters';
7
- export * from './dataResponseMetadata';
8
- export * from './dataSchema';
9
- export * from './dataSource';
10
- export * from './dataSourceConfiguration';
11
- export * from './dataSourceRequest';
12
- export * from './dataSourceResponse';
13
- export * from './dataSourceTablePreviewRequest';
14
- export * from './namespace';
15
- export * from './namespaceRequest';
16
- export * from './namespaceResponse';
17
- export * from './namespaceResponseMeta';
18
- export * from './namespaceResponseMetadata';
19
- export * from './pagingConfiguration';
20
- export * from './propertySchema';
21
- export * from './propertyType';
22
- export * from './queryExecutionResponse';
23
- export * from './queryExecutionResponseRequestTelemetry';
24
- export * from './record';
25
- export * from './requestTelemetry';
26
-
27
- import * as fs from 'fs';
28
-
29
- export interface RequestDetailedFile {
30
- value: Buffer;
31
- options?: {
32
- filename?: string;
33
- contentType?: string;
34
- }
35
- }
36
-
37
- export type RequestFile = string | Buffer | fs.ReadStream | RequestDetailedFile;
38
-
39
-
40
- import { ClientError } from './clientError';
41
- import { ComputedViewRunRequest } from './computedViewRunRequest';
42
- import { DataPage } from './dataPage';
43
- import { DataRequestParameters } from './dataRequestParameters';
44
- import { DataResponseMetadata } from './dataResponseMetadata';
45
- import { DataSchema } from './dataSchema';
46
- import { DataSource } from './dataSource';
47
- import { DataSourceConfiguration } from './dataSourceConfiguration';
48
- import { DataSourceRequest } from './dataSourceRequest';
49
- import { DataSourceResponse } from './dataSourceResponse';
50
- import { DataSourceTablePreviewRequest } from './dataSourceTablePreviewRequest';
51
- import { Namespace } from './namespace';
52
- import { NamespaceRequest } from './namespaceRequest';
53
- import { NamespaceResponse } from './namespaceResponse';
54
- import { NamespaceResponseMeta } from './namespaceResponseMeta';
55
- import { NamespaceResponseMetadata } from './namespaceResponseMetadata';
56
- import { PagingConfiguration } from './pagingConfiguration';
57
- import { PropertySchema } from './propertySchema';
58
- import { PropertyType } from './propertyType';
59
- import { QueryExecutionResponse } from './queryExecutionResponse';
60
- import { QueryExecutionResponseRequestTelemetry } from './queryExecutionResponseRequestTelemetry';
61
- import { Record } from './record';
62
- import { RequestTelemetry } from './requestTelemetry';
63
-
64
- /* tslint:disable:no-unused-variable */
65
- let primitives = [
66
- "string",
67
- "boolean",
68
- "double",
69
- "integer",
70
- "long",
71
- "float",
72
- "number",
73
- "any"
74
- ];
75
-
76
- let enumsMap: {[index: string]: any} = {
77
- "PropertyType": PropertyType,
78
- }
79
-
80
- let typeMap: {[index: string]: any} = {
81
- "ClientError": ClientError,
82
- "ComputedViewRunRequest": ComputedViewRunRequest,
83
- "DataPage": DataPage,
84
- "DataRequestParameters": DataRequestParameters,
85
- "DataResponseMetadata": DataResponseMetadata,
86
- "DataSchema": DataSchema,
87
- "DataSource": DataSource,
88
- "DataSourceConfiguration": DataSourceConfiguration,
89
- "DataSourceRequest": DataSourceRequest,
90
- "DataSourceResponse": DataSourceResponse,
91
- "DataSourceTablePreviewRequest": DataSourceTablePreviewRequest,
92
- "Namespace": Namespace,
93
- "NamespaceRequest": NamespaceRequest,
94
- "NamespaceResponse": NamespaceResponse,
95
- "NamespaceResponseMeta": NamespaceResponseMeta,
96
- "NamespaceResponseMetadata": NamespaceResponseMetadata,
97
- "PagingConfiguration": PagingConfiguration,
98
- "PropertySchema": PropertySchema,
99
- "QueryExecutionResponse": QueryExecutionResponse,
100
- "QueryExecutionResponseRequestTelemetry": QueryExecutionResponseRequestTelemetry,
101
- "Record": Record,
102
- "RequestTelemetry": RequestTelemetry,
103
- }
104
-
105
- export class ObjectSerializer {
106
- public static findCorrectType(data: any, expectedType: string) {
107
- if (data == undefined) {
108
- return expectedType;
109
- } else if (primitives.indexOf(expectedType.toLowerCase()) !== -1) {
110
- return expectedType;
111
- } else if (expectedType === "Date") {
112
- return expectedType;
113
- } else {
114
- if (enumsMap[expectedType]) {
115
- return expectedType;
116
- }
117
-
118
- if (!typeMap[expectedType]) {
119
- return expectedType; // w/e we don't know the type
120
- }
121
-
122
- // Check the discriminator
123
- let discriminatorProperty = typeMap[expectedType].discriminator;
124
- if (discriminatorProperty == null) {
125
- return expectedType; // the type does not have a discriminator. use it.
126
- } else {
127
- if (data[discriminatorProperty]) {
128
- var discriminatorType = data[discriminatorProperty];
129
- if(typeMap[discriminatorType]){
130
- return discriminatorType; // use the type given in the discriminator
131
- } else {
132
- return expectedType; // discriminator did not map to a type
133
- }
134
- } else {
135
- return expectedType; // discriminator was not present (or an empty string)
136
- }
137
- }
138
- }
139
- }
140
-
141
- public static serialize(data: any, type: string) {
142
- if (data == undefined) {
143
- return data;
144
- } else if (primitives.indexOf(type.toLowerCase()) !== -1) {
145
- return data;
146
- } else if (type.lastIndexOf("Array<", 0) === 0) { // string.startsWith pre es6
147
- let subType: string = type.replace("Array<", ""); // Array<Type> => Type>
148
- subType = subType.substring(0, subType.length - 1); // Type> => Type
149
- let transformedData: any[] = [];
150
- for (let index = 0; index < data.length; index++) {
151
- let datum = data[index];
152
- transformedData.push(ObjectSerializer.serialize(datum, subType));
153
- }
154
- return transformedData;
155
- } else if (type === "Date") {
156
- return data.toISOString();
157
- } else {
158
- if (enumsMap[type]) {
159
- return data;
160
- }
161
- if (!typeMap[type]) { // in case we dont know the type
162
- return data;
163
- }
164
-
165
- // Get the actual type of this object
166
- type = this.findCorrectType(data, type);
167
-
168
- // get the map for the correct type.
169
- let attributeTypes = typeMap[type].getAttributeTypeMap();
170
- let instance: {[index: string]: any} = {};
171
- for (let index = 0; index < attributeTypes.length; index++) {
172
- let attributeType = attributeTypes[index];
173
- instance[attributeType.baseName] = ObjectSerializer.serialize(data[attributeType.name], attributeType.type);
174
- }
175
- return instance;
176
- }
177
- }
178
-
179
- public static deserialize(data: any, type: string) {
180
- // polymorphism may change the actual type.
181
- type = ObjectSerializer.findCorrectType(data, type);
182
- if (data == undefined) {
183
- return data;
184
- } else if (primitives.indexOf(type.toLowerCase()) !== -1) {
185
- return data;
186
- } else if (type.lastIndexOf("Array<", 0) === 0) { // string.startsWith pre es6
187
- let subType: string = type.replace("Array<", ""); // Array<Type> => Type>
188
- subType = subType.substring(0, subType.length - 1); // Type> => Type
189
- let transformedData: any[] = [];
190
- for (let index = 0; index < data.length; index++) {
191
- let datum = data[index];
192
- transformedData.push(ObjectSerializer.deserialize(datum, subType));
193
- }
194
- return transformedData;
195
- } else if (type === "Date") {
196
- return new Date(data);
197
- } else {
198
- if (enumsMap[type]) {// is Enum
199
- return data;
200
- }
201
-
202
- if (!typeMap[type]) { // dont know the type
203
- return data;
204
- }
205
- let instance = new typeMap[type]();
206
- let attributeTypes = typeMap[type].getAttributeTypeMap();
207
- for (let index = 0; index < attributeTypes.length; index++) {
208
- let attributeType = attributeTypes[index];
209
- instance[attributeType.name] = ObjectSerializer.deserialize(data[attributeType.baseName], attributeType.type);
210
- }
211
- return instance;
212
- }
213
- }
214
- }
215
-
216
- export interface Authentication {
217
- /**
218
- * Apply authentication settings to header and query params.
219
- */
220
- applyToRequest(requestOptions: localVarRequest.Options): Promise<void> | void;
221
- }
222
-
223
- export class HttpBasicAuth implements Authentication {
224
- public username: string = '';
225
- public password: string = '';
226
-
227
- applyToRequest(requestOptions: localVarRequest.Options): void {
228
- requestOptions.auth = {
229
- username: this.username, password: this.password
230
- }
231
- }
232
- }
233
-
234
- export class HttpBearerAuth implements Authentication {
235
- public accessToken: string | (() => string) = '';
236
-
237
- applyToRequest(requestOptions: localVarRequest.Options): void {
238
- if (requestOptions && requestOptions.headers) {
239
- const accessToken = typeof this.accessToken === 'function'
240
- ? this.accessToken()
241
- : this.accessToken;
242
- requestOptions.headers["Authorization"] = "Bearer " + accessToken;
243
- }
244
- }
245
- }
246
-
247
- export class ApiKeyAuth implements Authentication {
248
- public apiKey: string = '';
249
-
250
- constructor(private location: string, private paramName: string) {
251
- }
252
-
253
- applyToRequest(requestOptions: localVarRequest.Options): void {
254
- if (this.location == "query") {
255
- (<any>requestOptions.qs)[this.paramName] = this.apiKey;
256
- } else if (this.location == "header" && requestOptions && requestOptions.headers) {
257
- requestOptions.headers[this.paramName] = this.apiKey;
258
- } else if (this.location == 'cookie' && requestOptions && requestOptions.headers) {
259
- if (requestOptions.headers['Cookie']) {
260
- requestOptions.headers['Cookie'] += '; ' + this.paramName + '=' + encodeURIComponent(this.apiKey);
261
- }
262
- else {
263
- requestOptions.headers['Cookie'] = this.paramName + '=' + encodeURIComponent(this.apiKey);
264
- }
265
- }
266
- }
267
- }
268
-
269
- export class OAuth implements Authentication {
270
- public accessToken: string = '';
271
-
272
- applyToRequest(requestOptions: localVarRequest.Options): void {
273
- if (requestOptions && requestOptions.headers) {
274
- requestOptions.headers["Authorization"] = "Bearer " + this.accessToken;
275
- }
276
- }
277
- }
278
-
279
- export class VoidAuth implements Authentication {
280
- public username: string = '';
281
- public password: string = '';
282
-
283
- applyToRequest(_: localVarRequest.Options): void {
284
- // Do nothing
285
- }
286
- }
287
-
288
- export type Interceptor = (requestOptions: localVarRequest.Options) => (Promise<void> | void);
@@ -1,37 +0,0 @@
1
- /**
2
- * fido API
3
- * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
- *
5
- * The version of the OpenAPI document: unspecified
6
- *
7
- *
8
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
- * https://openapi-generator.tech
10
- * Do not edit the class manually.
11
- */
12
-
13
- import { RequestFile } from './models';
14
-
15
- export class Namespace {
16
- 'name': string;
17
- 'id'?: string | null;
18
-
19
- static discriminator: string | undefined = undefined;
20
-
21
- static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
22
- {
23
- "name": "name",
24
- "baseName": "name",
25
- "type": "string"
26
- },
27
- {
28
- "name": "id",
29
- "baseName": "id",
30
- "type": "string"
31
- } ];
32
-
33
- static getAttributeTypeMap() {
34
- return Namespace.attributeTypeMap;
35
- }
36
- }
37
-
@@ -1,32 +0,0 @@
1
- /**
2
- * fido API
3
- * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
- *
5
- * The version of the OpenAPI document: unspecified
6
- *
7
- *
8
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
- * https://openapi-generator.tech
10
- * Do not edit the class manually.
11
- */
12
-
13
- import { RequestFile } from './models';
14
- import { Namespace } from './namespace';
15
-
16
- export class NamespaceRequest {
17
- 'namespace': Namespace;
18
-
19
- static discriminator: string | undefined = undefined;
20
-
21
- static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
22
- {
23
- "name": "namespace",
24
- "baseName": "namespace",
25
- "type": "Namespace"
26
- } ];
27
-
28
- static getAttributeTypeMap() {
29
- return NamespaceRequest.attributeTypeMap;
30
- }
31
- }
32
-
@@ -1,39 +0,0 @@
1
- /**
2
- * fido API
3
- * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
- *
5
- * The version of the OpenAPI document: unspecified
6
- *
7
- *
8
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
- * https://openapi-generator.tech
10
- * Do not edit the class manually.
11
- */
12
-
13
- import { RequestFile } from './models';
14
- import { Namespace } from './namespace';
15
- import { NamespaceResponseMeta } from './namespaceResponseMeta';
16
-
17
- export class NamespaceResponse {
18
- 'namespace': Namespace;
19
- 'meta': NamespaceResponseMeta | null;
20
-
21
- static discriminator: string | undefined = undefined;
22
-
23
- static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
24
- {
25
- "name": "namespace",
26
- "baseName": "namespace",
27
- "type": "Namespace"
28
- },
29
- {
30
- "name": "meta",
31
- "baseName": "meta",
32
- "type": "NamespaceResponseMeta"
33
- } ];
34
-
35
- static getAttributeTypeMap() {
36
- return NamespaceResponse.attributeTypeMap;
37
- }
38
- }
39
-
@@ -1,32 +0,0 @@
1
- /**
2
- * fido API
3
- * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
- *
5
- * The version of the OpenAPI document: unspecified
6
- *
7
- *
8
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
- * https://openapi-generator.tech
10
- * Do not edit the class manually.
11
- */
12
-
13
- import { RequestFile } from './models';
14
- import { DataSource } from './dataSource';
15
-
16
- export class NamespaceResponseMeta {
17
- 'dataSources': Array<DataSource>;
18
-
19
- static discriminator: string | undefined = undefined;
20
-
21
- static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
22
- {
23
- "name": "dataSources",
24
- "baseName": "dataSources",
25
- "type": "Array<DataSource>"
26
- } ];
27
-
28
- static getAttributeTypeMap() {
29
- return NamespaceResponseMeta.attributeTypeMap;
30
- }
31
- }
32
-
@@ -1,32 +0,0 @@
1
- /**
2
- * fido API
3
- * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
- *
5
- * The version of the OpenAPI document: unspecified
6
- *
7
- *
8
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
- * https://openapi-generator.tech
10
- * Do not edit the class manually.
11
- */
12
-
13
- import { RequestFile } from './models';
14
- import { DataSource } from './dataSource';
15
-
16
- export class NamespaceResponseMetadata {
17
- 'dataSources': Array<DataSource>;
18
-
19
- static discriminator: string | undefined = undefined;
20
-
21
- static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
22
- {
23
- "name": "dataSources",
24
- "baseName": "dataSources",
25
- "type": "Array<DataSource>"
26
- } ];
27
-
28
- static getAttributeTypeMap() {
29
- return NamespaceResponseMetadata.attributeTypeMap;
30
- }
31
- }
32
-
@@ -1,37 +0,0 @@
1
- /**
2
- * fido API
3
- * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
- *
5
- * The version of the OpenAPI document: unspecified
6
- *
7
- *
8
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
- * https://openapi-generator.tech
10
- * Do not edit the class manually.
11
- */
12
-
13
- import { RequestFile } from './models';
14
-
15
- export class PagingConfiguration {
16
- 'perPage'?: number;
17
- 'page'?: number;
18
-
19
- static discriminator: string | undefined = undefined;
20
-
21
- static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
22
- {
23
- "name": "perPage",
24
- "baseName": "perPage",
25
- "type": "number"
26
- },
27
- {
28
- "name": "page",
29
- "baseName": "page",
30
- "type": "number"
31
- } ];
32
-
33
- static getAttributeTypeMap() {
34
- return PagingConfiguration.attributeTypeMap;
35
- }
36
- }
37
-
@@ -1,52 +0,0 @@
1
- /**
2
- * fido API
3
- * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
- *
5
- * The version of the OpenAPI document: unspecified
6
- *
7
- *
8
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
- * https://openapi-generator.tech
10
- * Do not edit the class manually.
11
- */
12
-
13
- import { RequestFile } from './models';
14
- import { PropertyType } from './propertyType';
15
-
16
- export class PropertySchema {
17
- 'array'?: boolean;
18
- 'id': string;
19
- 'name'?: string | null;
20
- 'type': PropertyType;
21
-
22
- static discriminator: string | undefined = undefined;
23
-
24
- static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
25
- {
26
- "name": "array",
27
- "baseName": "array",
28
- "type": "boolean"
29
- },
30
- {
31
- "name": "id",
32
- "baseName": "id",
33
- "type": "string"
34
- },
35
- {
36
- "name": "name",
37
- "baseName": "name",
38
- "type": "string"
39
- },
40
- {
41
- "name": "type",
42
- "baseName": "type",
43
- "type": "PropertyType"
44
- } ];
45
-
46
- static getAttributeTypeMap() {
47
- return PropertySchema.attributeTypeMap;
48
- }
49
- }
50
-
51
- export namespace PropertySchema {
52
- }
@@ -1,24 +0,0 @@
1
- /**
2
- * fido API
3
- * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
- *
5
- * The version of the OpenAPI document: unspecified
6
- *
7
- *
8
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
- * https://openapi-generator.tech
10
- * Do not edit the class manually.
11
- */
12
-
13
- import { RequestFile } from './models';
14
-
15
- export enum PropertyType {
16
- Boolean = <any> 'BOOLEAN',
17
- Date = <any> 'DATE',
18
- Datetime = <any> 'DATETIME',
19
- Decimal = <any> 'DECIMAL',
20
- Double = <any> 'DOUBLE',
21
- Integer = <any> 'INTEGER',
22
- String = <any> 'STRING',
23
- Unsupported = <any> 'UNSUPPORTED'
24
- }
@@ -1,52 +0,0 @@
1
- /**
2
- * fido API
3
- * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
- *
5
- * The version of the OpenAPI document: unspecified
6
- *
7
- *
8
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
- * https://openapi-generator.tech
10
- * Do not edit the class manually.
11
- */
12
-
13
- import { RequestFile } from './models';
14
- import { DataPage } from './dataPage';
15
- import { DataResponseMetadata } from './dataResponseMetadata';
16
- import { QueryExecutionResponseRequestTelemetry } from './queryExecutionResponseRequestTelemetry';
17
-
18
- export class QueryExecutionResponse {
19
- 'data': DataPage;
20
- 'meta': DataResponseMetadata;
21
- 'tableIdentifier': string;
22
- 'requestTelemetry'?: QueryExecutionResponseRequestTelemetry | null;
23
-
24
- static discriminator: string | undefined = undefined;
25
-
26
- static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
27
- {
28
- "name": "data",
29
- "baseName": "data",
30
- "type": "DataPage"
31
- },
32
- {
33
- "name": "meta",
34
- "baseName": "meta",
35
- "type": "DataResponseMetadata"
36
- },
37
- {
38
- "name": "tableIdentifier",
39
- "baseName": "tableIdentifier",
40
- "type": "string"
41
- },
42
- {
43
- "name": "requestTelemetry",
44
- "baseName": "requestTelemetry",
45
- "type": "QueryExecutionResponseRequestTelemetry"
46
- } ];
47
-
48
- static getAttributeTypeMap() {
49
- return QueryExecutionResponse.attributeTypeMap;
50
- }
51
- }
52
-
@@ -1,43 +0,0 @@
1
- /**
2
- * fido API
3
- * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
- *
5
- * The version of the OpenAPI document: unspecified
6
- *
7
- *
8
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
- * https://openapi-generator.tech
10
- * Do not edit the class manually.
11
- */
12
-
13
- import { RequestFile } from './models';
14
-
15
- export class QueryExecutionResponseRequestTelemetry {
16
- 'requestTime'?: string | null;
17
- 'queryTime'?: string | null;
18
- 'processingTime'?: string | null;
19
-
20
- static discriminator: string | undefined = undefined;
21
-
22
- static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
23
- {
24
- "name": "requestTime",
25
- "baseName": "requestTime",
26
- "type": "string"
27
- },
28
- {
29
- "name": "queryTime",
30
- "baseName": "queryTime",
31
- "type": "string"
32
- },
33
- {
34
- "name": "processingTime",
35
- "baseName": "processingTime",
36
- "type": "string"
37
- } ];
38
-
39
- static getAttributeTypeMap() {
40
- return QueryExecutionResponseRequestTelemetry.attributeTypeMap;
41
- }
42
- }
43
-