@explo-tech/fido-api 3.0.0-jordan-testing.4 → 3.0.0-jordan-testing.6
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.
- package/index.ts +211 -194
- package/package.json +1 -1
package/index.ts
CHANGED
|
@@ -416,6 +416,9 @@ const NamespaceResponseMetadata = z
|
|
|
416
416
|
const NamespaceResponse = z
|
|
417
417
|
.object({ namespace: Namespace, meta: NamespaceResponseMetadata.nullable() })
|
|
418
418
|
.passthrough();
|
|
419
|
+
const ListNamespacesResponse = z
|
|
420
|
+
.object({ namespaces: z.array(NamespaceResponse) })
|
|
421
|
+
.passthrough();
|
|
419
422
|
const DataSourceRequest = z.object({ dataSource: DataSource }).passthrough();
|
|
420
423
|
const DataSourceResponse = z.object({ dataSource: DataSource }).passthrough();
|
|
421
424
|
const PagingConfiguration = z
|
|
@@ -1114,6 +1117,7 @@ export const schemas = {
|
|
|
1114
1117
|
DataSource,
|
|
1115
1118
|
NamespaceResponseMetadata,
|
|
1116
1119
|
NamespaceResponse,
|
|
1120
|
+
ListNamespacesResponse,
|
|
1117
1121
|
DataSourceRequest,
|
|
1118
1122
|
DataSourceResponse,
|
|
1119
1123
|
PagingConfiguration,
|
|
@@ -1219,175 +1223,190 @@ export const schemas = {
|
|
|
1219
1223
|
ListVersionedViewsRequest,
|
|
1220
1224
|
};
|
|
1221
1225
|
|
|
1222
|
-
export
|
|
1223
|
-
|
|
1224
|
-
|
|
1225
|
-
|
|
1226
|
-
|
|
1227
|
-
|
|
1228
|
-
|
|
1229
|
-
|
|
1230
|
-
|
|
1231
|
-
|
|
1232
|
-
|
|
1233
|
-
|
|
1234
|
-
|
|
1235
|
-
|
|
1236
|
-
|
|
1237
|
-
|
|
1238
|
-
|
|
1239
|
-
|
|
1240
|
-
|
|
1241
|
-
|
|
1242
|
-
|
|
1243
|
-
|
|
1244
|
-
|
|
1245
|
-
|
|
1246
|
-
|
|
1247
|
-
|
|
1248
|
-
|
|
1249
|
-
|
|
1250
|
-
|
|
1251
|
-
|
|
1252
|
-
|
|
1253
|
-
|
|
1254
|
-
|
|
1255
|
-
|
|
1256
|
-
|
|
1257
|
-
|
|
1258
|
-
|
|
1259
|
-
|
|
1260
|
-
|
|
1261
|
-
|
|
1262
|
-
|
|
1263
|
-
|
|
1264
|
-
|
|
1265
|
-
|
|
1266
|
-
|
|
1267
|
-
|
|
1268
|
-
|
|
1269
|
-
|
|
1270
|
-
|
|
1271
|
-
|
|
1272
|
-
|
|
1273
|
-
|
|
1274
|
-
|
|
1275
|
-
|
|
1276
|
-
|
|
1277
|
-
|
|
1278
|
-
|
|
1279
|
-
|
|
1280
|
-
|
|
1281
|
-
|
|
1282
|
-
|
|
1283
|
-
|
|
1284
|
-
|
|
1285
|
-
|
|
1286
|
-
|
|
1287
|
-
|
|
1288
|
-
|
|
1289
|
-
|
|
1290
|
-
|
|
1291
|
-
|
|
1292
|
-
|
|
1293
|
-
|
|
1294
|
-
|
|
1295
|
-
|
|
1296
|
-
|
|
1297
|
-
|
|
1298
|
-
|
|
1299
|
-
|
|
1300
|
-
|
|
1301
|
-
|
|
1302
|
-
|
|
1303
|
-
|
|
1304
|
-
|
|
1305
|
-
|
|
1306
|
-
|
|
1307
|
-
|
|
1308
|
-
|
|
1309
|
-
|
|
1310
|
-
|
|
1311
|
-
|
|
1312
|
-
|
|
1313
|
-
|
|
1314
|
-
|
|
1315
|
-
|
|
1316
|
-
|
|
1317
|
-
|
|
1318
|
-
|
|
1319
|
-
|
|
1320
|
-
|
|
1321
|
-
|
|
1322
|
-
|
|
1323
|
-
|
|
1324
|
-
|
|
1325
|
-
|
|
1326
|
-
|
|
1327
|
-
|
|
1328
|
-
|
|
1329
|
-
|
|
1330
|
-
|
|
1331
|
-
|
|
1332
|
-
|
|
1333
|
-
|
|
1334
|
-
|
|
1335
|
-
|
|
1336
|
-
|
|
1337
|
-
|
|
1338
|
-
|
|
1339
|
-
|
|
1340
|
-
|
|
1341
|
-
|
|
1342
|
-
|
|
1343
|
-
|
|
1344
|
-
|
|
1345
|
-
|
|
1346
|
-
|
|
1347
|
-
|
|
1348
|
-
|
|
1349
|
-
|
|
1350
|
-
|
|
1351
|
-
|
|
1352
|
-
|
|
1353
|
-
|
|
1354
|
-
|
|
1355
|
-
|
|
1356
|
-
|
|
1357
|
-
|
|
1358
|
-
|
|
1359
|
-
|
|
1360
|
-
|
|
1361
|
-
|
|
1362
|
-
|
|
1363
|
-
|
|
1364
|
-
|
|
1365
|
-
|
|
1366
|
-
|
|
1367
|
-
|
|
1368
|
-
|
|
1369
|
-
|
|
1370
|
-
|
|
1371
|
-
|
|
1372
|
-
|
|
1373
|
-
|
|
1374
|
-
|
|
1375
|
-
|
|
1376
|
-
|
|
1377
|
-
|
|
1378
|
-
|
|
1379
|
-
|
|
1380
|
-
|
|
1381
|
-
|
|
1382
|
-
|
|
1383
|
-
|
|
1384
|
-
|
|
1385
|
-
|
|
1386
|
-
|
|
1387
|
-
|
|
1388
|
-
|
|
1226
|
+
export type Branch = z.infer<typeof Branch>;
|
|
1227
|
+
export type ListBranchResponse = z.infer<typeof ListBranchResponse>;
|
|
1228
|
+
export type ClientError = z.infer<typeof ClientError>;
|
|
1229
|
+
export type BranchRequest = z.infer<typeof BranchRequest>;
|
|
1230
|
+
export type PropertyType = z.infer<typeof PropertyType>;
|
|
1231
|
+
export type PropertySchema = z.infer<typeof PropertySchema>;
|
|
1232
|
+
export type Parameter = z.infer<typeof Parameter>;
|
|
1233
|
+
export type ScheduledEviction = z.infer<typeof ScheduledEviction>;
|
|
1234
|
+
export type TtlEviction = z.infer<typeof TtlEviction>;
|
|
1235
|
+
export type EvictionPolicy = z.infer<typeof EvictionPolicy>;
|
|
1236
|
+
export type ComputedView = z.infer<typeof ComputedView>;
|
|
1237
|
+
export type TableView = z.infer<typeof TableView>;
|
|
1238
|
+
export type Folder = z.infer<typeof Folder>;
|
|
1239
|
+
export type Resource = z.infer<typeof Resource>;
|
|
1240
|
+
export type CreateResourceDiff = z.infer<typeof CreateResourceDiff>;
|
|
1241
|
+
export type DeleteResourceDiff = z.infer<typeof DeleteResourceDiff>;
|
|
1242
|
+
export type UpdateResourceDiff = z.infer<typeof UpdateResourceDiff>;
|
|
1243
|
+
export type ResourceDiff = z.infer<typeof ResourceDiff>;
|
|
1244
|
+
export type BranchResponseMetadata = z.infer<typeof BranchResponseMetadata>;
|
|
1245
|
+
export type BranchResponse = z.infer<typeof BranchResponse>;
|
|
1246
|
+
export type DiffBranchResponse = z.infer<typeof DiffBranchResponse>;
|
|
1247
|
+
export type UUID = z.infer<typeof UUID>;
|
|
1248
|
+
export type CreateResourceChange = z.infer<typeof CreateResourceChange>;
|
|
1249
|
+
export type UpdateResourceChange = z.infer<typeof UpdateResourceChange>;
|
|
1250
|
+
export type DeleteResourceChange = z.infer<typeof DeleteResourceChange>;
|
|
1251
|
+
export type ResourceChange = z.infer<typeof ResourceChange>;
|
|
1252
|
+
export type CreateCommitRequest = z.infer<typeof CreateCommitRequest>;
|
|
1253
|
+
export type CreateCommitResponse = z.infer<typeof CreateCommitResponse>;
|
|
1254
|
+
export type ListBranchContentResponse = z.infer<
|
|
1255
|
+
typeof ListBranchContentResponse
|
|
1256
|
+
>;
|
|
1257
|
+
export type MergeBranchRequest = z.infer<typeof MergeBranchRequest>;
|
|
1258
|
+
export type PasswordAuthentication = z.infer<typeof PasswordAuthentication>;
|
|
1259
|
+
export type JdbcAuthentication = z.infer<typeof JdbcAuthentication>;
|
|
1260
|
+
export type PublicTunnel = z.infer<typeof PublicTunnel>;
|
|
1261
|
+
export type VendorPrivateKeyAuthentication = z.infer<
|
|
1262
|
+
typeof VendorPrivateKeyAuthentication
|
|
1263
|
+
>;
|
|
1264
|
+
export type TenantPrivateKeyAuthentication = z.infer<
|
|
1265
|
+
typeof TenantPrivateKeyAuthentication
|
|
1266
|
+
>;
|
|
1267
|
+
export type SSHAuthentication = z.infer<typeof SSHAuthentication>;
|
|
1268
|
+
export type SSHTunnel = z.infer<typeof SSHTunnel>;
|
|
1269
|
+
export type Tunnel = z.infer<typeof Tunnel>;
|
|
1270
|
+
export type Postgres = z.infer<typeof Postgres>;
|
|
1271
|
+
export type MySql = z.infer<typeof MySql>;
|
|
1272
|
+
export type MSS = z.infer<typeof MSS>;
|
|
1273
|
+
export type BigQueryAuthentication = z.infer<typeof BigQueryAuthentication>;
|
|
1274
|
+
export type BigQuery = z.infer<typeof BigQuery>;
|
|
1275
|
+
export type Redshift = z.infer<typeof Redshift>;
|
|
1276
|
+
export type SnowflakePasswordAuthentication = z.infer<
|
|
1277
|
+
typeof SnowflakePasswordAuthentication
|
|
1278
|
+
>;
|
|
1279
|
+
export type SnowflakeAuthentication = z.infer<typeof SnowflakeAuthentication>;
|
|
1280
|
+
export type Snowflake = z.infer<typeof Snowflake>;
|
|
1281
|
+
export type ClickhouseConnectionType = z.infer<typeof ClickhouseConnectionType>;
|
|
1282
|
+
export type Clickhouse = z.infer<typeof Clickhouse>;
|
|
1283
|
+
export type DataSourceConfiguration = z.infer<typeof DataSourceConfiguration>;
|
|
1284
|
+
export type TestConnectionRequest = z.infer<typeof TestConnectionRequest>;
|
|
1285
|
+
export type Namespace = z.infer<typeof Namespace>;
|
|
1286
|
+
export type NamespaceRequest = z.infer<typeof NamespaceRequest>;
|
|
1287
|
+
export type DataSource = z.infer<typeof DataSource>;
|
|
1288
|
+
export type NamespaceResponseMetadata = z.infer<
|
|
1289
|
+
typeof NamespaceResponseMetadata
|
|
1290
|
+
>;
|
|
1291
|
+
export type NamespaceResponse = z.infer<typeof NamespaceResponse>;
|
|
1292
|
+
export type ListNamespacesResponse = z.infer<typeof ListNamespacesResponse>;
|
|
1293
|
+
export type DataSourceRequest = z.infer<typeof DataSourceRequest>;
|
|
1294
|
+
export type DataSourceResponse = z.infer<typeof DataSourceResponse>;
|
|
1295
|
+
export type PagingConfiguration = z.infer<typeof PagingConfiguration>;
|
|
1296
|
+
export type DataRequestParameters = z.infer<typeof DataRequestParameters>;
|
|
1297
|
+
export type And = z.infer<typeof And>;
|
|
1298
|
+
export type Or = z.infer<typeof Or>;
|
|
1299
|
+
export type Not = z.infer<typeof Not>;
|
|
1300
|
+
export type BooleanPropertyValue = z.infer<typeof BooleanPropertyValue>;
|
|
1301
|
+
export type DatePropertyValue = z.infer<typeof DatePropertyValue>;
|
|
1302
|
+
export type DateTimePropertyValue = z.infer<typeof DateTimePropertyValue>;
|
|
1303
|
+
export type DecimalPropertyValue = z.infer<typeof DecimalPropertyValue>;
|
|
1304
|
+
export type DoublePropertyValue = z.infer<typeof DoublePropertyValue>;
|
|
1305
|
+
export type IntegerPropertyValue = z.infer<typeof IntegerPropertyValue>;
|
|
1306
|
+
export type StringPropertyValue = z.infer<typeof StringPropertyValue>;
|
|
1307
|
+
export type PropertyValue = z.infer<typeof PropertyValue>;
|
|
1308
|
+
export type Equal = z.infer<typeof Equal>;
|
|
1309
|
+
export type LateBoundEqual = z.infer<typeof LateBoundEqual>;
|
|
1310
|
+
export type In = z.infer<typeof In>;
|
|
1311
|
+
export type LateBoundIn = z.infer<typeof LateBoundIn>;
|
|
1312
|
+
export type LessThan = z.infer<typeof LessThan>;
|
|
1313
|
+
export type LessThanOrEqual = z.infer<typeof LessThanOrEqual>;
|
|
1314
|
+
export type GreaterThan = z.infer<typeof GreaterThan>;
|
|
1315
|
+
export type GreaterThanOrEqual = z.infer<typeof GreaterThanOrEqual>;
|
|
1316
|
+
export type LateBoundLessThan = z.infer<typeof LateBoundLessThan>;
|
|
1317
|
+
export type LateBoundLessThanOrEqual = z.infer<typeof LateBoundLessThanOrEqual>;
|
|
1318
|
+
export type LateBoundGreaterThan = z.infer<typeof LateBoundGreaterThan>;
|
|
1319
|
+
export type LateBoundGreaterThanOrEqual = z.infer<
|
|
1320
|
+
typeof LateBoundGreaterThanOrEqual
|
|
1321
|
+
>;
|
|
1322
|
+
export type Null = z.infer<typeof Null>;
|
|
1323
|
+
export type StringContains = z.infer<typeof StringContains>;
|
|
1324
|
+
export type LateBoundStringContains = z.infer<typeof LateBoundStringContains>;
|
|
1325
|
+
export type Filter = z.infer<typeof Filter>;
|
|
1326
|
+
export type Aggregation = z.infer<typeof Aggregation>;
|
|
1327
|
+
export type AggregationOption = z.infer<typeof AggregationOption>;
|
|
1328
|
+
export type AggregateProperty = z.infer<typeof AggregateProperty>;
|
|
1329
|
+
export type SourceProperty = z.infer<typeof SourceProperty>;
|
|
1330
|
+
export type FormulaProperty = z.infer<typeof FormulaProperty>;
|
|
1331
|
+
export type Property = z.infer<typeof Property>;
|
|
1332
|
+
export type CalendarInterval = z.infer<typeof CalendarInterval>;
|
|
1333
|
+
export type CalendarIntervalGrouping = z.infer<typeof CalendarIntervalGrouping>;
|
|
1334
|
+
export type DatePart = z.infer<typeof DatePart>;
|
|
1335
|
+
export type DatePartGrouping = z.infer<typeof DatePartGrouping>;
|
|
1336
|
+
export type DecimalIntervalGrouping = z.infer<typeof DecimalIntervalGrouping>;
|
|
1337
|
+
export type IntegerIntervalGrouping = z.infer<typeof IntegerIntervalGrouping>;
|
|
1338
|
+
export type ValueGrouping = z.infer<typeof ValueGrouping>;
|
|
1339
|
+
export type Grouping = z.infer<typeof Grouping>;
|
|
1340
|
+
export type SortDirection = z.infer<typeof SortDirection>;
|
|
1341
|
+
export type Sort = z.infer<typeof Sort>;
|
|
1342
|
+
export type And1 = z.infer<typeof And1>;
|
|
1343
|
+
export type Or1 = z.infer<typeof Or1>;
|
|
1344
|
+
export type Not1 = z.infer<typeof Not1>;
|
|
1345
|
+
export type Equal1 = z.infer<typeof Equal1>;
|
|
1346
|
+
export type LateBoundEqual1 = z.infer<typeof LateBoundEqual1>;
|
|
1347
|
+
export type In1 = z.infer<typeof In1>;
|
|
1348
|
+
export type LateBoundIn1 = z.infer<typeof LateBoundIn1>;
|
|
1349
|
+
export type LessThan1 = z.infer<typeof LessThan1>;
|
|
1350
|
+
export type LessThanOrEqual1 = z.infer<typeof LessThanOrEqual1>;
|
|
1351
|
+
export type GreaterThan1 = z.infer<typeof GreaterThan1>;
|
|
1352
|
+
export type GreaterThanOrEqual1 = z.infer<typeof GreaterThanOrEqual1>;
|
|
1353
|
+
export type LateBoundLessThan1 = z.infer<typeof LateBoundLessThan1>;
|
|
1354
|
+
export type LateBoundLessThanOrEqual1 = z.infer<
|
|
1355
|
+
typeof LateBoundLessThanOrEqual1
|
|
1356
|
+
>;
|
|
1357
|
+
export type LateBoundGreaterThan1 = z.infer<typeof LateBoundGreaterThan1>;
|
|
1358
|
+
export type LateBoundGreaterThanOrEqual1 = z.infer<
|
|
1359
|
+
typeof LateBoundGreaterThanOrEqual1
|
|
1360
|
+
>;
|
|
1361
|
+
export type Null1 = z.infer<typeof Null1>;
|
|
1362
|
+
export type StringContains1 = z.infer<typeof StringContains1>;
|
|
1363
|
+
export type LateBoundStringContains1 = z.infer<typeof LateBoundStringContains1>;
|
|
1364
|
+
export type Having = z.infer<typeof Having>;
|
|
1365
|
+
export type Computation = z.infer<typeof Computation>;
|
|
1366
|
+
export type QueryPreviewRequest = z.infer<typeof QueryPreviewRequest>;
|
|
1367
|
+
export type DataRecord = z.infer<typeof DataRecord>;
|
|
1368
|
+
export type DataPage = z.infer<typeof DataPage>;
|
|
1369
|
+
export type DataSchema = z.infer<typeof DataSchema>;
|
|
1370
|
+
export type DataResponseMetadata = z.infer<typeof DataResponseMetadata>;
|
|
1371
|
+
export type CacheTelemetry = z.infer<typeof CacheTelemetry>;
|
|
1372
|
+
export type RequestTelemetry = z.infer<typeof RequestTelemetry>;
|
|
1373
|
+
export type QueryExecutionResponse = z.infer<typeof QueryExecutionResponse>;
|
|
1374
|
+
export type QueryExecutionError = z.infer<typeof QueryExecutionError>;
|
|
1375
|
+
export type TablePreviewRequest = z.infer<typeof TablePreviewRequest>;
|
|
1376
|
+
export type ExportFormat = z.infer<typeof ExportFormat>;
|
|
1377
|
+
export type DateTimeFormat = z.infer<typeof DateTimeFormat>;
|
|
1378
|
+
export type DateTimeColumnFormat = z.infer<typeof DateTimeColumnFormat>;
|
|
1379
|
+
export type UnitOfMeasurement = z.infer<typeof UnitOfMeasurement>;
|
|
1380
|
+
export type DecimalColumnFormat = z.infer<typeof DecimalColumnFormat>;
|
|
1381
|
+
export type DurationColumnFormat = z.infer<typeof DurationColumnFormat>;
|
|
1382
|
+
export type ColumnFormat = z.infer<typeof ColumnFormat>;
|
|
1383
|
+
export type ExportColumnOptions = z.infer<typeof ExportColumnOptions>;
|
|
1384
|
+
export type ExportTargetConfiguration = z.infer<
|
|
1385
|
+
typeof ExportTargetConfiguration
|
|
1386
|
+
>;
|
|
1387
|
+
export type EmailConfiguration = z.infer<typeof EmailConfiguration>;
|
|
1388
|
+
export type ViewExportRequest = z.infer<typeof ViewExportRequest>;
|
|
1389
|
+
export type QueryExportEmailResponse = z.infer<typeof QueryExportEmailResponse>;
|
|
1390
|
+
export type QueryExportLinkResponse = z.infer<typeof QueryExportLinkResponse>;
|
|
1391
|
+
export type QueryExportResponse = z.infer<typeof QueryExportResponse>;
|
|
1392
|
+
export type RequestExecutionParameters = z.infer<
|
|
1393
|
+
typeof RequestExecutionParameters
|
|
1394
|
+
>;
|
|
1395
|
+
export type ViewRunRequest = z.infer<typeof ViewRunRequest>;
|
|
1396
|
+
export type View = z.infer<typeof View>;
|
|
1397
|
+
export type ViewResponse = z.infer<typeof ViewResponse>;
|
|
1398
|
+
export type ListViewsResponse = z.infer<typeof ListViewsResponse>;
|
|
1399
|
+
export type TenantS3Configuration = z.infer<typeof TenantS3Configuration>;
|
|
1400
|
+
export type TenantRequest = z.infer<typeof TenantRequest>;
|
|
1401
|
+
export type TenantKey = z.infer<typeof TenantKey>;
|
|
1402
|
+
export type Tenant = z.infer<typeof Tenant>;
|
|
1403
|
+
export type TenantResponse = z.infer<typeof TenantResponse>;
|
|
1404
|
+
export type VersionedViewRequest = z.infer<typeof VersionedViewRequest>;
|
|
1405
|
+
export type ListVersionedViewsRequest = z.infer<
|
|
1406
|
+
typeof ListVersionedViewsRequest
|
|
1407
|
+
>;
|
|
1389
1408
|
|
|
1390
|
-
const
|
|
1409
|
+
const BranchResourceEndpoints = makeApi([
|
|
1391
1410
|
{
|
|
1392
1411
|
method: "get",
|
|
1393
1412
|
path: "/v1/branches",
|
|
@@ -1532,9 +1551,9 @@ const Branch_ResourceEndpoints = makeApi([
|
|
|
1532
1551
|
},
|
|
1533
1552
|
]);
|
|
1534
1553
|
|
|
1535
|
-
export const
|
|
1554
|
+
export const BranchResourceService = new Zodios(BranchResourceEndpoints);
|
|
1536
1555
|
|
|
1537
|
-
const
|
|
1556
|
+
const CommitResourceEndpoints = makeApi([
|
|
1538
1557
|
{
|
|
1539
1558
|
method: "post",
|
|
1540
1559
|
path: "/v1/branches/:branchId/commits",
|
|
@@ -1569,9 +1588,9 @@ const Commit_ResourceEndpoints = makeApi([
|
|
|
1569
1588
|
},
|
|
1570
1589
|
]);
|
|
1571
1590
|
|
|
1572
|
-
export const
|
|
1591
|
+
export const CommitResourceService = new Zodios(CommitResourceEndpoints);
|
|
1573
1592
|
|
|
1574
|
-
const
|
|
1593
|
+
const BranchContentResourceEndpoints = makeApi([
|
|
1575
1594
|
{
|
|
1576
1595
|
method: "get",
|
|
1577
1596
|
path: "/v1/branches/:id/contents:path",
|
|
@@ -1618,11 +1637,11 @@ const Branch_Content_ResourceEndpoints = makeApi([
|
|
|
1618
1637
|
},
|
|
1619
1638
|
]);
|
|
1620
1639
|
|
|
1621
|
-
export const
|
|
1622
|
-
|
|
1640
|
+
export const BranchContentResourceService = new Zodios(
|
|
1641
|
+
BranchContentResourceEndpoints
|
|
1623
1642
|
);
|
|
1624
1643
|
|
|
1625
|
-
const
|
|
1644
|
+
const TestConnectionResourceEndpoints = makeApi([
|
|
1626
1645
|
{
|
|
1627
1646
|
method: "post",
|
|
1628
1647
|
path: "/v1/data-sources/retest-connection/:id",
|
|
@@ -1683,8 +1702,8 @@ const Test_Connection_ResourceEndpoints = makeApi([
|
|
|
1683
1702
|
},
|
|
1684
1703
|
]);
|
|
1685
1704
|
|
|
1686
|
-
export const
|
|
1687
|
-
|
|
1705
|
+
export const TestConnectionResourceService = new Zodios(
|
|
1706
|
+
TestConnectionResourceEndpoints
|
|
1688
1707
|
);
|
|
1689
1708
|
|
|
1690
1709
|
const Health_ResourceEndpoints = makeApi([
|
|
@@ -1726,9 +1745,9 @@ const Health_ResourceEndpoints = makeApi([
|
|
|
1726
1745
|
},
|
|
1727
1746
|
]);
|
|
1728
1747
|
|
|
1729
|
-
export const
|
|
1748
|
+
export const Health_ResourceService = new Zodios(Health_ResourceEndpoints);
|
|
1730
1749
|
|
|
1731
|
-
const
|
|
1750
|
+
const NamespaceResourceEndpoints = makeApi([
|
|
1732
1751
|
{
|
|
1733
1752
|
method: "post",
|
|
1734
1753
|
path: "/v1/namespaces",
|
|
@@ -1768,9 +1787,7 @@ const Namespace_ResourceEndpoints = makeApi([
|
|
|
1768
1787
|
schema: z.boolean().optional().default(false),
|
|
1769
1788
|
},
|
|
1770
1789
|
],
|
|
1771
|
-
response:
|
|
1772
|
-
.object({ namespaces: z.array(NamespaceResponse) })
|
|
1773
|
-
.passthrough(),
|
|
1790
|
+
response: ListNamespacesResponse,
|
|
1774
1791
|
errors: [
|
|
1775
1792
|
{
|
|
1776
1793
|
status: NaN,
|
|
@@ -1875,9 +1892,9 @@ const Namespace_ResourceEndpoints = makeApi([
|
|
|
1875
1892
|
},
|
|
1876
1893
|
]);
|
|
1877
1894
|
|
|
1878
|
-
export const
|
|
1895
|
+
export const NamespaceResourceService = new Zodios(NamespaceResourceEndpoints);
|
|
1879
1896
|
|
|
1880
|
-
const
|
|
1897
|
+
const DataSourceResourceEndpoints = makeApi([
|
|
1881
1898
|
{
|
|
1882
1899
|
method: "post",
|
|
1883
1900
|
path: "/v1/namespaces/:namespaceId/data-sources",
|
|
@@ -2098,11 +2115,11 @@ const Data_Source_ResourceEndpoints = makeApi([
|
|
|
2098
2115
|
},
|
|
2099
2116
|
]);
|
|
2100
2117
|
|
|
2101
|
-
export const
|
|
2102
|
-
|
|
2118
|
+
export const DataSourceResourceService = new Zodios(
|
|
2119
|
+
DataSourceResourceEndpoints
|
|
2103
2120
|
);
|
|
2104
2121
|
|
|
2105
|
-
const
|
|
2122
|
+
const QueryResourceEndpoints = makeApi([
|
|
2106
2123
|
{
|
|
2107
2124
|
method: "post",
|
|
2108
2125
|
path: "/v1/namespaces/:namespaceId/data-sources/:dataSourceId/preview",
|
|
@@ -2427,9 +2444,9 @@ const Query_ResourceEndpoints = makeApi([
|
|
|
2427
2444
|
},
|
|
2428
2445
|
]);
|
|
2429
2446
|
|
|
2430
|
-
export const
|
|
2447
|
+
export const QueryResourceService = new Zodios(QueryResourceEndpoints);
|
|
2431
2448
|
|
|
2432
|
-
const
|
|
2449
|
+
const ViewResourceEndpoints = makeApi([
|
|
2433
2450
|
{
|
|
2434
2451
|
method: "get",
|
|
2435
2452
|
path: "/v1/namespaces/:namespaceId/views/:id",
|
|
@@ -2514,9 +2531,9 @@ const View_ResourceEndpoints = makeApi([
|
|
|
2514
2531
|
},
|
|
2515
2532
|
]);
|
|
2516
2533
|
|
|
2517
|
-
export const
|
|
2534
|
+
export const ViewResourceService = new Zodios(ViewResourceEndpoints);
|
|
2518
2535
|
|
|
2519
|
-
const
|
|
2536
|
+
const TenantResourceEndpoints = makeApi([
|
|
2520
2537
|
{
|
|
2521
2538
|
method: "post",
|
|
2522
2539
|
path: "/v1/tenants",
|
|
@@ -2625,9 +2642,9 @@ const Tenant_ResourceEndpoints = makeApi([
|
|
|
2625
2642
|
},
|
|
2626
2643
|
]);
|
|
2627
2644
|
|
|
2628
|
-
export const
|
|
2645
|
+
export const TenantResourceService = new Zodios(TenantResourceEndpoints);
|
|
2629
2646
|
|
|
2630
|
-
const
|
|
2647
|
+
const ListViewsResourceEndpoints = makeApi([
|
|
2631
2648
|
{
|
|
2632
2649
|
method: "post",
|
|
2633
2650
|
path: "/v1/views/batch-get",
|
|
@@ -2652,7 +2669,7 @@ const List_Views_ResourceEndpoints = makeApi([
|
|
|
2652
2669
|
},
|
|
2653
2670
|
]);
|
|
2654
2671
|
|
|
2655
|
-
export const
|
|
2672
|
+
export const ListViewsResourceService = new Zodios(ListViewsResourceEndpoints);
|
|
2656
2673
|
|
|
2657
2674
|
export function createApiClient(baseUrl: string, options?: ZodiosOptions) {
|
|
2658
2675
|
return new Zodios(baseUrl, endpoints, options);
|
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": "3.0.0-jordan-testing.
|
|
5
|
+
"version": "3.0.0-jordan-testing.6",
|
|
6
6
|
"repository": {
|
|
7
7
|
"type": "git",
|
|
8
8
|
"url": "https://github.com/trust-kaz/fido"
|