@explo-tech/fido-api 0.8.5 → 0.9.0-jordan-bigquery-debug.1

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 (123) 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 +10 -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/BigQuery.ts +13 -0
  14. package/models/BigQueryAuthentication.ts +8 -0
  15. package/models/BooleanPropertyValue.ts +0 -1
  16. package/models/CalendarInterval.ts +0 -1
  17. package/models/CalendarIntervalGrouping.ts +0 -1
  18. package/models/ClientError.ts +0 -1
  19. package/models/Computation.ts +0 -1
  20. package/models/ComputedView.ts +3 -4
  21. package/models/DataPage.ts +0 -1
  22. package/models/DataRecord.ts +0 -1
  23. package/models/DataRequestParameters.ts +0 -1
  24. package/models/DataResponseMetadata.ts +0 -1
  25. package/models/DataSchema.ts +0 -1
  26. package/models/DataSource.ts +0 -1
  27. package/models/DataSourceConfiguration.ts +0 -2
  28. package/models/DataSourceError.ts +14 -0
  29. package/models/DataSourceRequest.ts +0 -1
  30. package/models/DataSourceResponse.ts +0 -1
  31. package/models/DatePart.ts +0 -1
  32. package/models/DatePartGrouping.ts +0 -1
  33. package/models/DatePropertyValue.ts +0 -1
  34. package/models/DateTimePropertyValue.ts +0 -1
  35. package/models/DecimalIntervalGrouping.ts +0 -1
  36. package/models/DecimalPropertyValue.ts +0 -1
  37. package/models/DoublePropertyValue.ts +0 -1
  38. package/models/Equal.ts +0 -1
  39. package/models/ExportFormat.ts +9 -0
  40. package/models/ExportTargetConfiguration.ts +11 -0
  41. package/models/Filter.ts +0 -1
  42. package/models/GreaterThan.ts +0 -1
  43. package/models/GreaterThanOrEqual.ts +0 -1
  44. package/models/Grouping.ts +0 -1
  45. package/models/In.ts +0 -1
  46. package/models/IntegerIntervalGrouping.ts +0 -1
  47. package/models/IntegerPropertyValue.ts +0 -1
  48. package/models/LateBoundEqual.ts +0 -1
  49. package/models/LateBoundGreaterThan.ts +0 -1
  50. package/models/LateBoundGreaterThanOrEqual.ts +0 -1
  51. package/models/LateBoundIn.ts +0 -1
  52. package/models/LateBoundLessThan.ts +0 -1
  53. package/models/LateBoundLessThanOrEqual.ts +0 -1
  54. package/models/LateBoundStringContains.ts +0 -1
  55. package/models/LessThan.ts +0 -1
  56. package/models/LessThanOrEqual.ts +0 -1
  57. package/models/ListNamespacesResponse.ts +0 -1
  58. package/models/ListViewsRequest.ts +0 -1
  59. package/models/ListViewsResponse.ts +0 -1
  60. package/models/MSS.ts +0 -2
  61. package/models/MSSAuthentication.ts +0 -1
  62. package/models/MySql.ts +0 -2
  63. package/models/MySqlAuthentication.ts +0 -1
  64. package/models/Namespace.ts +0 -1
  65. package/models/NamespaceRequest.ts +0 -1
  66. package/models/NamespaceResponse.ts +0 -1
  67. package/models/NamespaceResponseMetadata.ts +0 -1
  68. package/models/Not.ts +0 -1
  69. package/models/Null.ts +0 -1
  70. package/models/Or.ts +0 -1
  71. package/models/PagingConfiguration.ts +0 -1
  72. package/models/PasswordAuthentication.ts +0 -1
  73. package/models/Pivot.ts +0 -1
  74. package/models/PivotColumn.ts +0 -1
  75. package/models/PivotValue.ts +0 -1
  76. package/models/Postgres.ts +0 -2
  77. package/models/PostgresAuthentication.ts +0 -1
  78. package/models/Property.ts +0 -1
  79. package/models/PropertySchema.ts +0 -1
  80. package/models/PropertyType.ts +0 -1
  81. package/models/PropertyValue.ts +0 -1
  82. package/models/PublicTunnel.ts +0 -1
  83. package/models/QueryExecutionError.ts +13 -0
  84. package/models/QueryExecutionResponse.ts +0 -1
  85. package/models/QueryExportResponse.ts +8 -0
  86. package/models/QueryPreviewRequest.ts +0 -1
  87. package/models/QueryTimeoutError.ts +13 -0
  88. package/models/RequestTelemetry.ts +0 -1
  89. package/models/SSHAuthentication.ts +0 -1
  90. package/models/SSHTunnel.ts +0 -1
  91. package/models/Sort.ts +0 -1
  92. package/models/SortDirection.ts +0 -1
  93. package/models/SourceProperty.ts +0 -1
  94. package/models/StringContains.ts +0 -1
  95. package/models/StringPropertyValue.ts +0 -1
  96. package/models/TablePreviewRequest.ts +0 -1
  97. package/models/TableView.ts +4 -4
  98. package/models/Tenant.ts +3 -1
  99. package/models/TenantKey.ts +0 -1
  100. package/models/TenantPrivateKeyAuthentication.ts +0 -1
  101. package/models/TenantRequest.ts +4 -2
  102. package/models/TenantResponse.ts +0 -1
  103. package/models/TenantS3Configuration.ts +11 -0
  104. package/models/TestConnectionRequest.ts +0 -1
  105. package/models/TestConnectionResponse.ts +0 -1
  106. package/models/Tunnel.ts +0 -1
  107. package/models/UUID.ts +0 -1
  108. package/models/ValueGrouping.ts +0 -1
  109. package/models/VendorPrivateKeyAuthentication.ts +0 -1
  110. package/models/View.ts +6 -5
  111. package/models/ViewExportRequest.ts +13 -0
  112. package/models/ViewRequest.ts +8 -2
  113. package/models/ViewResponse.ts +2 -15
  114. package/models/ViewRunRequest.ts +0 -1
  115. package/package.json +1 -1
  116. package/services/DataSourceResourceService.ts +2 -3
  117. package/services/HealthResourceService.ts +0 -1
  118. package/services/ListViewsResourceService.ts +2 -3
  119. package/services/NamespaceResourceService.ts +2 -3
  120. package/services/QueryResourceService.ts +47 -4
  121. package/services/TenantResourceService.ts +23 -2
  122. package/services/TestConnectionResourceService.ts +2 -3
  123. package/services/ViewResourceService.ts +2 -3
package/models/MySql.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 */
@@ -7,7 +6,6 @@ import type { MySqlAuthentication } from './MySqlAuthentication';
7
6
  import type { Tunnel } from './Tunnel';
8
7
 
9
8
  export type MySql = {
10
- minimumLiveConnectionCount: number;
11
9
  tunnel: Tunnel;
12
10
  '@type': 'mysql';
13
11
  authentication: MySqlAuthentication;
@@ -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 */
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,23 +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
- readonly id: string;
13
- readonly namespaceId: string;
14
- readonly id: string;
15
- readonly namespaceId: string;
16
- name: string;
17
- description: string | null;
18
- columnDefinitions: Array<PropertySchema>;
19
- readonly id: string;
20
- readonly namespaceId: string;
21
- });
8
+ view: View;
22
9
  };
23
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
@@ -2,7 +2,7 @@
2
2
  "name": "@explo-tech/fido-api",
3
3
  "description": "Fido api",
4
4
  "homepage": "https://github.com/trust-kaz/fido",
5
- "version": "0.8.5",
5
+ "version": "0.9.0-jordan-bigquery-debug.1",
6
6
  "repository": {
7
7
  "type": "git",
8
8
  "url": "https://github.com/trust-kaz/fido"
@@ -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 */
@@ -31,7 +30,7 @@ export class DataSourceResourceService {
31
30
  'namespaceId': namespaceId,
32
31
  },
33
32
  body: requestBody,
34
- mediaType: '*/*',
33
+ mediaType: 'application/json',
35
34
  });
36
35
  }
37
36
 
@@ -77,7 +76,7 @@ export class DataSourceResourceService {
77
76
  'namespaceId': namespaceId,
78
77
  },
79
78
  body: requestBody,
80
- mediaType: '*/*',
79
+ mediaType: 'application/json',
81
80
  });
82
81
  }
83
82
 
@@ -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 */
@@ -26,7 +25,7 @@ export class ListViewsResourceService {
26
25
  method: 'POST',
27
26
  url: '/v1/views/clone',
28
27
  body: requestBody,
29
- mediaType: '*/*',
28
+ mediaType: 'application/json',
30
29
  });
31
30
  }
32
31
 
@@ -45,7 +44,7 @@ export class ListViewsResourceService {
45
44
  method: 'POST',
46
45
  url: '/v1/views/get',
47
46
  body: requestBody,
48
- mediaType: '*/*',
47
+ mediaType: 'application/json',
49
48
  });
50
49
  }
51
50
 
@@ -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 */
@@ -25,7 +24,7 @@ export class NamespaceResourceService {
25
24
  method: 'POST',
26
25
  url: '/v1/namespaces',
27
26
  body: requestBody,
28
- mediaType: '*/*',
27
+ mediaType: 'application/json',
29
28
  });
30
29
  }
31
30
 
@@ -96,7 +95,7 @@ export class NamespaceResourceService {
96
95
  'id': id,
97
96
  },
98
97
  body: requestBody,
99
- mediaType: '*/*',
98
+ mediaType: 'application/json',
100
99
  });
101
100
  }
102
101
 
@@ -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';
@@ -35,7 +36,11 @@ export class QueryResourceService {
35
36
  'namespaceId': namespaceId,
36
37
  },
37
38
  body: requestBody,
38
- mediaType: '*/*',
39
+ mediaType: 'application/json',
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
 
@@ -60,7 +65,41 @@ export class QueryResourceService {
60
65
  'namespaceId': namespaceId,
61
66
  },
62
67
  body: requestBody,
63
- mediaType: '*/*',
68
+ mediaType: 'application/json',
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: 'application/json',
100
+ errors: {
101
+ 400: `An error related to the user request`,
102
+ },
64
103
  });
65
104
  }
66
105
 
@@ -88,7 +127,11 @@ export class QueryResourceService {
88
127
  'viewId': viewId,
89
128
  },
90
129
  body: requestBody,
91
- mediaType: '*/*',
130
+ mediaType: 'application/json',
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