@explo-tech/fido-api 0.0.50 → 0.8.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 (121) hide show
  1. package/core/ApiError.ts +0 -1
  2. package/core/ApiRequestOptions.ts +0 -1
  3. package/core/ApiResult.ts +0 -1
  4. package/core/CancelablePromise.ts +0 -1
  5. package/core/OpenAPI.ts +5 -6
  6. package/core/request.ts +15 -28
  7. package/index.ts +8 -1
  8. package/models/AggregateProperty.ts +0 -1
  9. package/models/Aggregation.ts +0 -1
  10. package/models/AggregationOption.ts +0 -1
  11. package/models/And.ts +0 -1
  12. package/models/BaseComputation.ts +0 -1
  13. package/models/BooleanPropertyValue.ts +0 -1
  14. package/models/CalendarInterval.ts +0 -1
  15. package/models/CalendarIntervalGrouping.ts +0 -1
  16. package/models/ClientError.ts +0 -1
  17. package/models/Computation.ts +0 -1
  18. package/models/ComputedView.ts +3 -4
  19. package/models/DataPage.ts +0 -1
  20. package/models/DataRecord.ts +0 -1
  21. package/models/DataRequestParameters.ts +0 -1
  22. package/models/DataResponseMetadata.ts +0 -1
  23. package/models/DataSchema.ts +0 -1
  24. package/models/DataSource.ts +0 -1
  25. package/models/DataSourceConfiguration.ts +0 -2
  26. package/models/DataSourceError.ts +14 -0
  27. package/models/DataSourceRequest.ts +0 -1
  28. package/models/DataSourceResponse.ts +0 -1
  29. package/models/DatePart.ts +0 -1
  30. package/models/DatePartGrouping.ts +0 -1
  31. package/models/DatePropertyValue.ts +0 -1
  32. package/models/DateTimePropertyValue.ts +0 -1
  33. package/models/DecimalIntervalGrouping.ts +0 -1
  34. package/models/DecimalPropertyValue.ts +0 -1
  35. package/models/DoublePropertyValue.ts +0 -1
  36. package/models/Equal.ts +0 -1
  37. package/models/ExportFormat.ts +9 -0
  38. package/models/ExportTargetConfiguration.ts +11 -0
  39. package/models/Filter.ts +0 -1
  40. package/models/GreaterThan.ts +0 -1
  41. package/models/GreaterThanOrEqual.ts +0 -1
  42. package/models/Grouping.ts +0 -1
  43. package/models/In.ts +0 -1
  44. package/models/IntegerIntervalGrouping.ts +0 -1
  45. package/models/IntegerPropertyValue.ts +0 -1
  46. package/models/LateBoundEqual.ts +0 -1
  47. package/models/LateBoundGreaterThan.ts +0 -1
  48. package/models/LateBoundGreaterThanOrEqual.ts +0 -1
  49. package/models/LateBoundIn.ts +0 -1
  50. package/models/LateBoundLessThan.ts +0 -1
  51. package/models/LateBoundLessThanOrEqual.ts +0 -1
  52. package/models/LateBoundStringContains.ts +0 -1
  53. package/models/LessThan.ts +0 -1
  54. package/models/LessThanOrEqual.ts +0 -1
  55. package/models/ListNamespacesResponse.ts +0 -1
  56. package/models/ListViewsRequest.ts +0 -1
  57. package/models/ListViewsResponse.ts +0 -1
  58. package/models/MSS.ts +0 -2
  59. package/models/MSSAuthentication.ts +0 -1
  60. package/models/MySql.ts +0 -2
  61. package/models/MySqlAuthentication.ts +0 -1
  62. package/models/Namespace.ts +0 -1
  63. package/models/NamespaceRequest.ts +0 -1
  64. package/models/NamespaceResponse.ts +0 -1
  65. package/models/NamespaceResponseMetadata.ts +0 -1
  66. package/models/Not.ts +0 -1
  67. package/models/Null.ts +0 -1
  68. package/models/Or.ts +0 -1
  69. package/models/PagingConfiguration.ts +0 -1
  70. package/models/PasswordAuthentication.ts +0 -1
  71. package/models/Pivot.ts +0 -1
  72. package/models/PivotColumn.ts +0 -1
  73. package/models/PivotValue.ts +0 -1
  74. package/models/Postgres.ts +0 -2
  75. package/models/PostgresAuthentication.ts +0 -1
  76. package/models/Property.ts +0 -1
  77. package/models/PropertySchema.ts +0 -1
  78. package/models/PropertyType.ts +0 -1
  79. package/models/PropertyValue.ts +0 -1
  80. package/models/PublicTunnel.ts +0 -1
  81. package/models/QueryExecutionError.ts +13 -0
  82. package/models/QueryExecutionResponse.ts +0 -1
  83. package/models/QueryExportResponse.ts +8 -0
  84. package/models/QueryPreviewRequest.ts +0 -1
  85. package/models/QueryTimeoutError.ts +13 -0
  86. package/models/RequestTelemetry.ts +0 -1
  87. package/models/SSHAuthentication.ts +0 -1
  88. package/models/SSHTunnel.ts +0 -1
  89. package/models/Sort.ts +0 -1
  90. package/models/SortDirection.ts +0 -1
  91. package/models/SourceProperty.ts +0 -1
  92. package/models/StringContains.ts +0 -1
  93. package/models/StringPropertyValue.ts +0 -1
  94. package/models/TablePreviewRequest.ts +0 -1
  95. package/models/TableView.ts +4 -4
  96. package/models/Tenant.ts +3 -1
  97. package/models/TenantKey.ts +0 -1
  98. package/models/TenantPrivateKeyAuthentication.ts +0 -1
  99. package/models/TenantRequest.ts +4 -2
  100. package/models/TenantResponse.ts +0 -1
  101. package/models/TenantS3Configuration.ts +11 -0
  102. package/models/TestConnectionRequest.ts +0 -1
  103. package/models/TestConnectionResponse.ts +0 -1
  104. package/models/Tunnel.ts +0 -1
  105. package/models/UUID.ts +0 -1
  106. package/models/ValueGrouping.ts +0 -1
  107. package/models/VendorPrivateKeyAuthentication.ts +0 -1
  108. package/models/View.ts +6 -5
  109. package/models/ViewExportRequest.ts +13 -0
  110. package/models/ViewRequest.ts +8 -2
  111. package/models/ViewResponse.ts +2 -11
  112. package/models/ViewRunRequest.ts +0 -1
  113. package/package.json +2 -2
  114. package/services/DataSourceResourceService.ts +0 -1
  115. package/services/HealthResourceService.ts +0 -1
  116. package/services/ListViewsResourceService.ts +0 -1
  117. package/services/NamespaceResourceService.ts +0 -1
  118. package/services/QueryResourceService.ts +44 -1
  119. package/services/TenantResourceService.ts +22 -1
  120. package/services/TestConnectionResourceService.ts +0 -1
  121. package/services/ViewResourceService.ts +0 -1
@@ -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 */
@@ -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 */
package/models/Not.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 */
package/models/Null.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 */
package/models/Or.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 */
@@ -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 */
@@ -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 */
package/models/Pivot.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 */
@@ -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 */
@@ -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 */
@@ -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;
@@ -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 */
@@ -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 */
@@ -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 */
@@ -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 */
@@ -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 */
@@ -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 */
@@ -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
+
@@ -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 */
@@ -0,0 +1,8 @@
1
+ /* istanbul ignore file */
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+
5
+ export type QueryExportResponse = {
6
+ url: string;
7
+ };
8
+
@@ -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 */
@@ -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
+
@@ -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 */
@@ -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 */
@@ -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 */
package/models/Sort.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 */
@@ -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 */
@@ -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 */
@@ -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 */
@@ -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 */
@@ -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 */
@@ -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': string;
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
 
@@ -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 */
@@ -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 */
@@ -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
- tenantOptions?: Record<string, any>;
8
+ configurationOverrides?: Record<string, string>;
9
+ s3Configuration: TenantS3Configuration | null;
8
10
  };
9
11
 
@@ -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 */
@@ -0,0 +1,11 @@
1
+ /* istanbul ignore file */
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+
5
+ export type TenantS3Configuration = {
6
+ prefix: string;
7
+ bucket: string;
8
+ region: string;
9
+ roleArn: string;
10
+ };
11
+
@@ -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 */
@@ -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 */
package/models/Tunnel.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 */
package/models/UUID.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 */
@@ -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 */
@@ -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 */
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
+
@@ -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 | ComputedView);
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
 
@@ -1,19 +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 { ComputedView } from './ComputedView';
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: (TableView | ComputedView | {
12
- name: string;
13
- description: string | null;
14
- columnDefinitions: Array<PropertySchema>;
15
- readonly id: string;
16
- readonly namespaceId: string;
17
- });
8
+ view: View;
18
9
  };
19
10
 
@@ -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 */
package/package.json CHANGED
@@ -1,13 +1,13 @@
1
1
  {
2
2
  "name": "@explo-tech/fido-api",
3
- "version": "0.0.50",
4
3
  "description": "Fido api",
5
4
  "homepage": "https://github.com/trust-kaz/fido",
6
- "license": "MIT",
5
+ "version": "0.8.4",
7
6
  "repository": {
8
7
  "type": "git",
9
8
  "url": "https://github.com/trust-kaz/fido"
10
9
  },
10
+ "devDependencies":{"openapi-typescript-codegen":"^0.24.0"},
11
11
  "publishConfig": {
12
12
  "registry": "https://registry.npmjs.org"
13
13
  }
@@ -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 */
@@ -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 */
@@ -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 */
@@ -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 */
@@ -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';
@@ -36,6 +37,10 @@ export class QueryResourceService {
36
37
  },
37
38
  body: requestBody,
38
39
  mediaType: '*/*',
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
 
@@ -61,6 +66,40 @@ export class QueryResourceService {
61
66
  },
62
67
  body: requestBody,
63
68
  mediaType: '*/*',
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: '*/*',
100
+ errors: {
101
+ 400: `An error related to the user request`,
102
+ },
64
103
  });
65
104
  }
66
105
 
@@ -89,6 +128,10 @@ export class QueryResourceService {
89
128
  },
90
129
  body: requestBody,
91
130
  mediaType: '*/*',
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
 
@@ -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 */
@@ -47,6 +46,28 @@ export class TenantResourceService {
47
46
  });
48
47
  }
49
48
 
49
+ /**
50
+ * Updates the provided tenant
51
+ * @param id
52
+ * @param requestBody Tenant request to update with
53
+ * @returns TenantResponse The updated tenant
54
+ * @throws ApiError
55
+ */
56
+ public static updateTenant(
57
+ id: UUID,
58
+ requestBody: TenantRequest,
59
+ ): CancelablePromise<TenantResponse> {
60
+ return __request(OpenAPI, {
61
+ method: 'PUT',
62
+ url: '/v1/tenants/{id}',
63
+ path: {
64
+ 'id': id,
65
+ },
66
+ body: requestBody,
67
+ mediaType: '*/*',
68
+ });
69
+ }
70
+
50
71
  /**
51
72
  * Deletes a tenant
52
73
  * @param id
@@ -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 */
@@ -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 */