@metorial-services/shuttle-client 1.0.10 → 1.0.12
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/dist/index.d.ts +230 -0
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -1396,6 +1396,124 @@ declare let rootController: {
|
|
|
1396
1396
|
updatedAt: Date;
|
|
1397
1397
|
};
|
|
1398
1398
|
}>;
|
|
1399
|
+
getMany: Handler<UndefinedIsOptional<{
|
|
1400
|
+
tenantId: string | undefined;
|
|
1401
|
+
serverIds: string[];
|
|
1402
|
+
}>, {
|
|
1403
|
+
object: string;
|
|
1404
|
+
id: string;
|
|
1405
|
+
type: ServerType;
|
|
1406
|
+
name: string;
|
|
1407
|
+
description: string | null;
|
|
1408
|
+
metadata: {};
|
|
1409
|
+
currentVersionId: string | null;
|
|
1410
|
+
draft: {
|
|
1411
|
+
repositoryTag: {
|
|
1412
|
+
object: string;
|
|
1413
|
+
id: string;
|
|
1414
|
+
type: ContainerRepositoryTagType;
|
|
1415
|
+
name: string;
|
|
1416
|
+
repository: {
|
|
1417
|
+
object: string;
|
|
1418
|
+
id: string;
|
|
1419
|
+
type: "docker";
|
|
1420
|
+
name: string;
|
|
1421
|
+
registry: {
|
|
1422
|
+
object: string;
|
|
1423
|
+
id: string;
|
|
1424
|
+
type: "docker";
|
|
1425
|
+
name: string;
|
|
1426
|
+
url: string;
|
|
1427
|
+
tenantId: string | undefined;
|
|
1428
|
+
createdAt: Date;
|
|
1429
|
+
};
|
|
1430
|
+
tenantId: string | undefined;
|
|
1431
|
+
createdAt: Date;
|
|
1432
|
+
};
|
|
1433
|
+
currentVersion: {
|
|
1434
|
+
object: string;
|
|
1435
|
+
id: string;
|
|
1436
|
+
digest: string;
|
|
1437
|
+
repository: {
|
|
1438
|
+
object: string;
|
|
1439
|
+
id: string;
|
|
1440
|
+
type: "docker";
|
|
1441
|
+
name: string;
|
|
1442
|
+
registry: {
|
|
1443
|
+
object: string;
|
|
1444
|
+
id: string;
|
|
1445
|
+
type: "docker";
|
|
1446
|
+
name: string;
|
|
1447
|
+
url: string;
|
|
1448
|
+
tenantId: string | undefined;
|
|
1449
|
+
createdAt: Date;
|
|
1450
|
+
};
|
|
1451
|
+
tenantId: string | undefined;
|
|
1452
|
+
createdAt: Date;
|
|
1453
|
+
};
|
|
1454
|
+
tenantId: string | undefined;
|
|
1455
|
+
createdAt: Date;
|
|
1456
|
+
} | null;
|
|
1457
|
+
tenantId: string | undefined;
|
|
1458
|
+
createdAt: Date;
|
|
1459
|
+
} | null;
|
|
1460
|
+
configSchema: PrismaJson.ServerConfigSchema;
|
|
1461
|
+
configTransformer: string;
|
|
1462
|
+
remoteUrl: string | null;
|
|
1463
|
+
remoteProtocol: ServerRemoteProtocol | null;
|
|
1464
|
+
createdAt: Date;
|
|
1465
|
+
};
|
|
1466
|
+
oauthConfig: {
|
|
1467
|
+
type: "remote";
|
|
1468
|
+
name: string | null;
|
|
1469
|
+
config: any;
|
|
1470
|
+
scopes: string[];
|
|
1471
|
+
authConfigSchema: null;
|
|
1472
|
+
provider: {
|
|
1473
|
+
name: string;
|
|
1474
|
+
url: string;
|
|
1475
|
+
};
|
|
1476
|
+
discovery: {
|
|
1477
|
+
status: RemoteOAuthConfigDiscoveryStatus;
|
|
1478
|
+
error: {
|
|
1479
|
+
code: string;
|
|
1480
|
+
message: string;
|
|
1481
|
+
} | null;
|
|
1482
|
+
createdAt: Date;
|
|
1483
|
+
lastDiscoveredAt: Date | null;
|
|
1484
|
+
};
|
|
1485
|
+
} | {
|
|
1486
|
+
type: "delegated";
|
|
1487
|
+
name: string | null;
|
|
1488
|
+
config: null;
|
|
1489
|
+
scopes: never[];
|
|
1490
|
+
authConfigSchema: PrismaJson.FunctionServerAuthConfigSchema;
|
|
1491
|
+
provider: null;
|
|
1492
|
+
discovery: {
|
|
1493
|
+
status: "succeeded";
|
|
1494
|
+
error: {
|
|
1495
|
+
code: string;
|
|
1496
|
+
message: string;
|
|
1497
|
+
} | null;
|
|
1498
|
+
createdAt: Date;
|
|
1499
|
+
lastDiscoveredAt: null;
|
|
1500
|
+
};
|
|
1501
|
+
} | null;
|
|
1502
|
+
tenantId: string | undefined;
|
|
1503
|
+
createdAt: Date;
|
|
1504
|
+
updatedAt: Date;
|
|
1505
|
+
}[], {
|
|
1506
|
+
tenant: undefined;
|
|
1507
|
+
} | {
|
|
1508
|
+
tenant: {
|
|
1509
|
+
name: string;
|
|
1510
|
+
oid: bigint;
|
|
1511
|
+
id: string;
|
|
1512
|
+
createdAt: Date;
|
|
1513
|
+
identifier: string;
|
|
1514
|
+
functionBayTenantId: string | null;
|
|
1515
|
+
};
|
|
1516
|
+
}>;
|
|
1399
1517
|
update: Handler<UndefinedIsOptional<{
|
|
1400
1518
|
tenantId: string;
|
|
1401
1519
|
serverId: string;
|
|
@@ -2051,6 +2169,118 @@ declare let rootController: {
|
|
|
2051
2169
|
deploymentOid: bigint;
|
|
2052
2170
|
};
|
|
2053
2171
|
}>;
|
|
2172
|
+
getMany: Handler<UndefinedIsOptional<{
|
|
2173
|
+
tenantId: string | undefined;
|
|
2174
|
+
serverVersionIds: string[];
|
|
2175
|
+
}>, {
|
|
2176
|
+
object: string;
|
|
2177
|
+
id: string;
|
|
2178
|
+
type: ServerType;
|
|
2179
|
+
isCurrent: boolean;
|
|
2180
|
+
repositoryTag: {
|
|
2181
|
+
object: string;
|
|
2182
|
+
id: string;
|
|
2183
|
+
type: ContainerRepositoryTagType;
|
|
2184
|
+
name: string;
|
|
2185
|
+
repository: {
|
|
2186
|
+
object: string;
|
|
2187
|
+
id: string;
|
|
2188
|
+
type: "docker";
|
|
2189
|
+
name: string;
|
|
2190
|
+
registry: {
|
|
2191
|
+
object: string;
|
|
2192
|
+
id: string;
|
|
2193
|
+
type: "docker";
|
|
2194
|
+
name: string;
|
|
2195
|
+
url: string;
|
|
2196
|
+
tenantId: string | undefined;
|
|
2197
|
+
createdAt: Date;
|
|
2198
|
+
};
|
|
2199
|
+
tenantId: string | undefined;
|
|
2200
|
+
createdAt: Date;
|
|
2201
|
+
};
|
|
2202
|
+
currentVersion: {
|
|
2203
|
+
object: string;
|
|
2204
|
+
id: string;
|
|
2205
|
+
digest: string;
|
|
2206
|
+
repository: {
|
|
2207
|
+
object: string;
|
|
2208
|
+
id: string;
|
|
2209
|
+
type: "docker";
|
|
2210
|
+
name: string;
|
|
2211
|
+
registry: {
|
|
2212
|
+
object: string;
|
|
2213
|
+
id: string;
|
|
2214
|
+
type: "docker";
|
|
2215
|
+
name: string;
|
|
2216
|
+
url: string;
|
|
2217
|
+
tenantId: string | undefined;
|
|
2218
|
+
createdAt: Date;
|
|
2219
|
+
};
|
|
2220
|
+
tenantId: string | undefined;
|
|
2221
|
+
createdAt: Date;
|
|
2222
|
+
};
|
|
2223
|
+
tenantId: string | undefined;
|
|
2224
|
+
createdAt: Date;
|
|
2225
|
+
} | null;
|
|
2226
|
+
tenantId: string | undefined;
|
|
2227
|
+
createdAt: Date;
|
|
2228
|
+
} | null;
|
|
2229
|
+
repositoryVersion: {
|
|
2230
|
+
object: string;
|
|
2231
|
+
id: string;
|
|
2232
|
+
digest: string;
|
|
2233
|
+
repository: {
|
|
2234
|
+
object: string;
|
|
2235
|
+
id: string;
|
|
2236
|
+
type: "docker";
|
|
2237
|
+
name: string;
|
|
2238
|
+
registry: {
|
|
2239
|
+
object: string;
|
|
2240
|
+
id: string;
|
|
2241
|
+
type: "docker";
|
|
2242
|
+
name: string;
|
|
2243
|
+
url: string;
|
|
2244
|
+
tenantId: string | undefined;
|
|
2245
|
+
createdAt: Date;
|
|
2246
|
+
};
|
|
2247
|
+
tenantId: string | undefined;
|
|
2248
|
+
createdAt: Date;
|
|
2249
|
+
};
|
|
2250
|
+
tenantId: string | undefined;
|
|
2251
|
+
createdAt: Date;
|
|
2252
|
+
} | null;
|
|
2253
|
+
configSchema: PrismaJson.ServerConfigSchema;
|
|
2254
|
+
configTransformer: string;
|
|
2255
|
+
remoteUrl: string | null;
|
|
2256
|
+
remoteProtocol: ServerRemoteProtocol | null;
|
|
2257
|
+
remote: {
|
|
2258
|
+
url: string;
|
|
2259
|
+
protocol: ServerRemoteProtocol;
|
|
2260
|
+
autoSwitch: {
|
|
2261
|
+
status: string;
|
|
2262
|
+
from: ServerRemoteProtocol;
|
|
2263
|
+
to: ServerRemoteProtocol;
|
|
2264
|
+
} | null;
|
|
2265
|
+
remoteServerNeedsManualAuthentication: boolean;
|
|
2266
|
+
} | null;
|
|
2267
|
+
serverId: string;
|
|
2268
|
+
tenantId: string | undefined;
|
|
2269
|
+
deploymentId: string;
|
|
2270
|
+
createdAt: Date;
|
|
2271
|
+
updatedAt: Date;
|
|
2272
|
+
}[], {
|
|
2273
|
+
tenant: undefined;
|
|
2274
|
+
} | {
|
|
2275
|
+
tenant: {
|
|
2276
|
+
name: string;
|
|
2277
|
+
oid: bigint;
|
|
2278
|
+
id: string;
|
|
2279
|
+
createdAt: Date;
|
|
2280
|
+
identifier: string;
|
|
2281
|
+
functionBayTenantId: string | null;
|
|
2282
|
+
};
|
|
2283
|
+
}>;
|
|
2054
2284
|
};
|
|
2055
2285
|
serverDiscovery: {
|
|
2056
2286
|
create: Handler<UndefinedIsOptional<{
|