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