@metorial-services/slates-hub-client 1.0.1 → 1.0.3
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/clients/hub/src/index.d.ts +522 -120
- package/dist/clients/hub/src/index.d.ts.map +1 -1
- package/dist/index.d.ts +522 -120
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -1013,6 +1013,46 @@ export declare let createSlatesHubInternalClient: (o: ClientOpts) => InferClient
|
|
|
1013
1013
|
lastSyncedAt: Date | null;
|
|
1014
1014
|
};
|
|
1015
1015
|
}>;
|
|
1016
|
+
listAll: Handler<UndefinedIsOptional<{
|
|
1017
|
+
tenantId: string;
|
|
1018
|
+
}>, {
|
|
1019
|
+
object: string;
|
|
1020
|
+
id: string;
|
|
1021
|
+
status: RegistryStatus;
|
|
1022
|
+
isPredefined: boolean;
|
|
1023
|
+
identifier: string;
|
|
1024
|
+
name: string;
|
|
1025
|
+
url: string;
|
|
1026
|
+
tenant: {
|
|
1027
|
+
object: string;
|
|
1028
|
+
id: string;
|
|
1029
|
+
identifier: string;
|
|
1030
|
+
name: string;
|
|
1031
|
+
createdAt: Date;
|
|
1032
|
+
} | null;
|
|
1033
|
+
createdAt: Date;
|
|
1034
|
+
lastSyncedAt: Date | null;
|
|
1035
|
+
}[], {}>;
|
|
1036
|
+
getMany: Handler<UndefinedIsOptional<{
|
|
1037
|
+
registryIds: string[];
|
|
1038
|
+
}>, {
|
|
1039
|
+
object: string;
|
|
1040
|
+
id: string;
|
|
1041
|
+
status: RegistryStatus;
|
|
1042
|
+
isPredefined: boolean;
|
|
1043
|
+
identifier: string;
|
|
1044
|
+
name: string;
|
|
1045
|
+
url: string;
|
|
1046
|
+
tenant: {
|
|
1047
|
+
object: string;
|
|
1048
|
+
id: string;
|
|
1049
|
+
identifier: string;
|
|
1050
|
+
name: string;
|
|
1051
|
+
createdAt: Date;
|
|
1052
|
+
} | null;
|
|
1053
|
+
createdAt: Date;
|
|
1054
|
+
lastSyncedAt: Date | null;
|
|
1055
|
+
}[], {}>;
|
|
1016
1056
|
};
|
|
1017
1057
|
changeNotification: {
|
|
1018
1058
|
list: Handler<Partial<Pick<{}, never>> & {} & {
|
|
@@ -1059,11 +1099,7 @@ export declare let createSlatesHubInternalClient: (o: ClientOpts) => InferClient
|
|
|
1059
1099
|
}>;
|
|
1060
1100
|
};
|
|
1061
1101
|
slate: {
|
|
1062
|
-
list: Handler<Partial<Pick<{
|
|
1063
|
-
tenantId: string;
|
|
1064
|
-
}, never>> & {
|
|
1065
|
-
tenantId: string;
|
|
1066
|
-
} & {
|
|
1102
|
+
list: Handler<Partial<Pick<{}, never>> & {} & {
|
|
1067
1103
|
limit?: number;
|
|
1068
1104
|
after?: string;
|
|
1069
1105
|
before?: string;
|
|
@@ -1116,17 +1152,8 @@ export declare let createSlatesHubInternalClient: (o: ClientOpts) => InferClient
|
|
|
1116
1152
|
has_more_after: boolean;
|
|
1117
1153
|
has_more_before: boolean;
|
|
1118
1154
|
};
|
|
1119
|
-
}, {
|
|
1120
|
-
tenant: {} & {
|
|
1121
|
-
name: string;
|
|
1122
|
-
oid: bigint;
|
|
1123
|
-
id: string;
|
|
1124
|
-
createdAt: Date;
|
|
1125
|
-
identifier: string;
|
|
1126
|
-
};
|
|
1127
|
-
}>;
|
|
1155
|
+
}, {}>;
|
|
1128
1156
|
get: Handler<UndefinedIsOptional<{
|
|
1129
|
-
tenantId: string;
|
|
1130
1157
|
slateId: string;
|
|
1131
1158
|
}>, {
|
|
1132
1159
|
object: string;
|
|
@@ -1169,13 +1196,6 @@ export declare let createSlatesHubInternalClient: (o: ClientOpts) => InferClient
|
|
|
1169
1196
|
createdAt: Date;
|
|
1170
1197
|
updatedAt: Date;
|
|
1171
1198
|
}, {
|
|
1172
|
-
tenant: {} & {
|
|
1173
|
-
name: string;
|
|
1174
|
-
oid: bigint;
|
|
1175
|
-
id: string;
|
|
1176
|
-
createdAt: Date;
|
|
1177
|
-
identifier: string;
|
|
1178
|
-
};
|
|
1179
1199
|
slate: {
|
|
1180
1200
|
registry: {
|
|
1181
1201
|
name: string;
|
|
@@ -1246,7 +1266,6 @@ export declare let createSlatesHubInternalClient: (o: ClientOpts) => InferClient
|
|
|
1246
1266
|
};
|
|
1247
1267
|
}>;
|
|
1248
1268
|
getRegistryRecord: Handler<UndefinedIsOptional<{
|
|
1249
|
-
tenantId: string;
|
|
1250
1269
|
slateId: string;
|
|
1251
1270
|
}>, {
|
|
1252
1271
|
object: string;
|
|
@@ -1310,13 +1329,6 @@ export declare let createSlatesHubInternalClient: (o: ClientOpts) => InferClient
|
|
|
1310
1329
|
createdAt: string;
|
|
1311
1330
|
updatedAt: string;
|
|
1312
1331
|
}, {
|
|
1313
|
-
tenant: {} & {
|
|
1314
|
-
name: string;
|
|
1315
|
-
oid: bigint;
|
|
1316
|
-
id: string;
|
|
1317
|
-
createdAt: Date;
|
|
1318
|
-
identifier: string;
|
|
1319
|
-
};
|
|
1320
1332
|
slate: {
|
|
1321
1333
|
registry: {
|
|
1322
1334
|
name: string;
|
|
@@ -1386,14 +1398,55 @@ export declare let createSlatesHubInternalClient: (o: ClientOpts) => InferClient
|
|
|
1386
1398
|
slateIdOnRegistry: string;
|
|
1387
1399
|
};
|
|
1388
1400
|
}>;
|
|
1401
|
+
getMany: Handler<UndefinedIsOptional<{
|
|
1402
|
+
slateIds: string[];
|
|
1403
|
+
}>, {
|
|
1404
|
+
object: string;
|
|
1405
|
+
id: string;
|
|
1406
|
+
identifier: string;
|
|
1407
|
+
name: string;
|
|
1408
|
+
description: string | null;
|
|
1409
|
+
registryId: string;
|
|
1410
|
+
currentVersion: {
|
|
1411
|
+
object: string;
|
|
1412
|
+
id: string;
|
|
1413
|
+
status: SlateVersionStatus;
|
|
1414
|
+
version: string;
|
|
1415
|
+
isCurrent: boolean;
|
|
1416
|
+
slateId: string;
|
|
1417
|
+
manifest: PrismaJson.SlateJson;
|
|
1418
|
+
specification: {
|
|
1419
|
+
object: string;
|
|
1420
|
+
id: string;
|
|
1421
|
+
versionId: string;
|
|
1422
|
+
specificationId: string;
|
|
1423
|
+
identifier: string;
|
|
1424
|
+
createdAt: Date;
|
|
1425
|
+
} | null;
|
|
1426
|
+
createdAt: Date;
|
|
1427
|
+
} | null;
|
|
1428
|
+
scope: {
|
|
1429
|
+
object: string;
|
|
1430
|
+
registryId: string;
|
|
1431
|
+
id: string;
|
|
1432
|
+
identifier: string;
|
|
1433
|
+
};
|
|
1434
|
+
slate: {
|
|
1435
|
+
object: string;
|
|
1436
|
+
registryId: string;
|
|
1437
|
+
id: string;
|
|
1438
|
+
identifier: string;
|
|
1439
|
+
fullIdentifier: string;
|
|
1440
|
+
};
|
|
1441
|
+
createdAt: Date;
|
|
1442
|
+
updatedAt: Date;
|
|
1443
|
+
}[], {}>;
|
|
1389
1444
|
};
|
|
1390
1445
|
slateVersion: {
|
|
1391
1446
|
list: Handler<Partial<Pick<{
|
|
1392
|
-
tenantId: string;
|
|
1393
1447
|
slateId: string;
|
|
1394
1448
|
}, never>> & {
|
|
1395
1449
|
slateId: string;
|
|
1396
|
-
tenantId: string;
|
|
1397
1450
|
} & {
|
|
1398
1451
|
limit?: number;
|
|
1399
1452
|
after?: string;
|
|
@@ -1425,13 +1478,6 @@ export declare let createSlatesHubInternalClient: (o: ClientOpts) => InferClient
|
|
|
1425
1478
|
has_more_before: boolean;
|
|
1426
1479
|
};
|
|
1427
1480
|
}, {
|
|
1428
|
-
tenant: {} & {
|
|
1429
|
-
name: string;
|
|
1430
|
-
oid: bigint;
|
|
1431
|
-
id: string;
|
|
1432
|
-
createdAt: Date;
|
|
1433
|
-
identifier: string;
|
|
1434
|
-
};
|
|
1435
1481
|
slate: {
|
|
1436
1482
|
registry: {
|
|
1437
1483
|
name: string;
|
|
@@ -1502,7 +1548,6 @@ export declare let createSlatesHubInternalClient: (o: ClientOpts) => InferClient
|
|
|
1502
1548
|
};
|
|
1503
1549
|
}>;
|
|
1504
1550
|
get: Handler<UndefinedIsOptional<{
|
|
1505
|
-
tenantId: string;
|
|
1506
1551
|
slateId: string;
|
|
1507
1552
|
slateVersionId: string;
|
|
1508
1553
|
}>, {
|
|
@@ -1523,13 +1568,6 @@ export declare let createSlatesHubInternalClient: (o: ClientOpts) => InferClient
|
|
|
1523
1568
|
} | null;
|
|
1524
1569
|
createdAt: Date;
|
|
1525
1570
|
}, {
|
|
1526
|
-
tenant: {} & {
|
|
1527
|
-
name: string;
|
|
1528
|
-
oid: bigint;
|
|
1529
|
-
id: string;
|
|
1530
|
-
createdAt: Date;
|
|
1531
|
-
identifier: string;
|
|
1532
|
-
};
|
|
1533
1571
|
slate: {
|
|
1534
1572
|
registry: {
|
|
1535
1573
|
name: string;
|
|
@@ -1668,7 +1706,6 @@ export declare let createSlatesHubInternalClient: (o: ClientOpts) => InferClient
|
|
|
1668
1706
|
};
|
|
1669
1707
|
}>;
|
|
1670
1708
|
getRegistryRecord: Handler<UndefinedIsOptional<{
|
|
1671
|
-
tenantId: string;
|
|
1672
1709
|
slateId: string;
|
|
1673
1710
|
slateVersionId: string;
|
|
1674
1711
|
}>, {
|
|
@@ -1719,13 +1756,6 @@ export declare let createSlatesHubInternalClient: (o: ClientOpts) => InferClient
|
|
|
1719
1756
|
};
|
|
1720
1757
|
createdAt: string;
|
|
1721
1758
|
}, {
|
|
1722
|
-
tenant: {} & {
|
|
1723
|
-
name: string;
|
|
1724
|
-
oid: bigint;
|
|
1725
|
-
id: string;
|
|
1726
|
-
createdAt: Date;
|
|
1727
|
-
identifier: string;
|
|
1728
|
-
};
|
|
1729
1759
|
slate: {
|
|
1730
1760
|
registry: {
|
|
1731
1761
|
name: string;
|
|
@@ -1863,6 +1893,26 @@ export declare let createSlatesHubInternalClient: (o: ClientOpts) => InferClient
|
|
|
1863
1893
|
lastDiscoveredAt: Date | null;
|
|
1864
1894
|
};
|
|
1865
1895
|
}>;
|
|
1896
|
+
getMany: Handler<UndefinedIsOptional<{
|
|
1897
|
+
slateVersionIds: string[];
|
|
1898
|
+
}>, {
|
|
1899
|
+
object: string;
|
|
1900
|
+
id: string;
|
|
1901
|
+
status: SlateVersionStatus;
|
|
1902
|
+
version: string;
|
|
1903
|
+
isCurrent: boolean;
|
|
1904
|
+
slateId: string;
|
|
1905
|
+
manifest: PrismaJson.SlateJson;
|
|
1906
|
+
specification: {
|
|
1907
|
+
object: string;
|
|
1908
|
+
id: string;
|
|
1909
|
+
versionId: string;
|
|
1910
|
+
specificationId: string;
|
|
1911
|
+
identifier: string;
|
|
1912
|
+
createdAt: Date;
|
|
1913
|
+
} | null;
|
|
1914
|
+
createdAt: Date;
|
|
1915
|
+
}[], {}>;
|
|
1866
1916
|
};
|
|
1867
1917
|
slateInvocation: {
|
|
1868
1918
|
DANGEROUSLY_get: Handler<UndefinedIsOptional<{
|
|
@@ -1936,12 +1986,10 @@ export declare let createSlatesHubInternalClient: (o: ClientOpts) => InferClient
|
|
|
1936
1986
|
};
|
|
1937
1987
|
slateDeployment: {
|
|
1938
1988
|
list: Handler<Partial<Pick<{
|
|
1939
|
-
tenantId: string;
|
|
1940
1989
|
slateId: string;
|
|
1941
1990
|
versionIds: string[] | undefined;
|
|
1942
1991
|
}, "versionIds">> & {
|
|
1943
1992
|
slateId: string;
|
|
1944
|
-
tenantId: string;
|
|
1945
1993
|
} & {
|
|
1946
1994
|
limit?: number;
|
|
1947
1995
|
after?: string;
|
|
@@ -1983,13 +2031,6 @@ export declare let createSlatesHubInternalClient: (o: ClientOpts) => InferClient
|
|
|
1983
2031
|
has_more_before: boolean;
|
|
1984
2032
|
};
|
|
1985
2033
|
}, {
|
|
1986
|
-
tenant: {} & {
|
|
1987
|
-
name: string;
|
|
1988
|
-
oid: bigint;
|
|
1989
|
-
id: string;
|
|
1990
|
-
createdAt: Date;
|
|
1991
|
-
identifier: string;
|
|
1992
|
-
};
|
|
1993
2034
|
slate: {
|
|
1994
2035
|
registry: {
|
|
1995
2036
|
name: string;
|
|
@@ -2060,7 +2101,6 @@ export declare let createSlatesHubInternalClient: (o: ClientOpts) => InferClient
|
|
|
2060
2101
|
};
|
|
2061
2102
|
}>;
|
|
2062
2103
|
get: Handler<UndefinedIsOptional<{
|
|
2063
|
-
tenantId: string;
|
|
2064
2104
|
slateId: string;
|
|
2065
2105
|
slateDeploymentId: string;
|
|
2066
2106
|
}>, {
|
|
@@ -2091,13 +2131,6 @@ export declare let createSlatesHubInternalClient: (o: ClientOpts) => InferClient
|
|
|
2091
2131
|
};
|
|
2092
2132
|
createdAt: Date;
|
|
2093
2133
|
}, {
|
|
2094
|
-
tenant: {} & {
|
|
2095
|
-
name: string;
|
|
2096
|
-
oid: bigint;
|
|
2097
|
-
id: string;
|
|
2098
|
-
createdAt: Date;
|
|
2099
|
-
identifier: string;
|
|
2100
|
-
};
|
|
2101
2134
|
slate: {
|
|
2102
2135
|
registry: {
|
|
2103
2136
|
name: string;
|
|
@@ -2249,7 +2282,6 @@ export declare let createSlatesHubInternalClient: (o: ClientOpts) => InferClient
|
|
|
2249
2282
|
};
|
|
2250
2283
|
}>;
|
|
2251
2284
|
getBuildOutput: Handler<UndefinedIsOptional<{
|
|
2252
|
-
tenantId: string;
|
|
2253
2285
|
slateId: string;
|
|
2254
2286
|
slateDeploymentId: string;
|
|
2255
2287
|
}>, {
|
|
@@ -2266,13 +2298,6 @@ export declare let createSlatesHubInternalClient: (o: ClientOpts) => InferClient
|
|
|
2266
2298
|
startedAt: Date | null;
|
|
2267
2299
|
endedAt: Date | null;
|
|
2268
2300
|
}[], {
|
|
2269
|
-
tenant: {} & {
|
|
2270
|
-
name: string;
|
|
2271
|
-
oid: bigint;
|
|
2272
|
-
id: string;
|
|
2273
|
-
createdAt: Date;
|
|
2274
|
-
identifier: string;
|
|
2275
|
-
};
|
|
2276
2301
|
slate: {
|
|
2277
2302
|
registry: {
|
|
2278
2303
|
name: string;
|
|
@@ -2426,12 +2451,10 @@ export declare let createSlatesHubInternalClient: (o: ClientOpts) => InferClient
|
|
|
2426
2451
|
};
|
|
2427
2452
|
slateSpecification: {
|
|
2428
2453
|
list: Handler<Partial<Pick<{
|
|
2429
|
-
tenantId: string;
|
|
2430
2454
|
slateId: string;
|
|
2431
2455
|
versionIds: string[] | undefined;
|
|
2432
2456
|
}, "versionIds">> & {
|
|
2433
2457
|
slateId: string;
|
|
2434
|
-
tenantId: string;
|
|
2435
2458
|
} & {
|
|
2436
2459
|
limit?: number;
|
|
2437
2460
|
after?: string;
|
|
@@ -2517,13 +2540,6 @@ export declare let createSlatesHubInternalClient: (o: ClientOpts) => InferClient
|
|
|
2517
2540
|
has_more_before: boolean;
|
|
2518
2541
|
};
|
|
2519
2542
|
}, {
|
|
2520
|
-
tenant: {} & {
|
|
2521
|
-
name: string;
|
|
2522
|
-
oid: bigint;
|
|
2523
|
-
id: string;
|
|
2524
|
-
createdAt: Date;
|
|
2525
|
-
identifier: string;
|
|
2526
|
-
};
|
|
2527
2543
|
slate: {
|
|
2528
2544
|
registry: {
|
|
2529
2545
|
name: string;
|
|
@@ -2594,7 +2610,6 @@ export declare let createSlatesHubInternalClient: (o: ClientOpts) => InferClient
|
|
|
2594
2610
|
};
|
|
2595
2611
|
}>;
|
|
2596
2612
|
get: Handler<UndefinedIsOptional<{
|
|
2597
|
-
tenantId: string;
|
|
2598
2613
|
slateId: string;
|
|
2599
2614
|
slateSpecificationId: string;
|
|
2600
2615
|
}>, {
|
|
@@ -2669,13 +2684,6 @@ export declare let createSlatesHubInternalClient: (o: ClientOpts) => InferClient
|
|
|
2669
2684
|
}[];
|
|
2670
2685
|
createdAt: Date;
|
|
2671
2686
|
}, {
|
|
2672
|
-
tenant: {} & {
|
|
2673
|
-
name: string;
|
|
2674
|
-
oid: bigint;
|
|
2675
|
-
id: string;
|
|
2676
|
-
createdAt: Date;
|
|
2677
|
-
identifier: string;
|
|
2678
|
-
};
|
|
2679
2687
|
slate: {
|
|
2680
2688
|
registry: {
|
|
2681
2689
|
name: string;
|
|
@@ -2819,33 +2827,177 @@ export declare let createSlatesHubInternalClient: (o: ClientOpts) => InferClient
|
|
|
2819
2827
|
mostRecentVersionOid: bigint;
|
|
2820
2828
|
};
|
|
2821
2829
|
}>;
|
|
2822
|
-
|
|
2823
|
-
|
|
2824
|
-
|
|
2825
|
-
|
|
2826
|
-
|
|
2827
|
-
|
|
2828
|
-
|
|
2829
|
-
|
|
2830
|
-
|
|
2831
|
-
|
|
2832
|
-
|
|
2833
|
-
|
|
2834
|
-
|
|
2835
|
-
|
|
2836
|
-
|
|
2837
|
-
|
|
2830
|
+
getMany: Handler<UndefinedIsOptional<{
|
|
2831
|
+
slateId: string;
|
|
2832
|
+
slateSpecificationIds: string[];
|
|
2833
|
+
}>, {
|
|
2834
|
+
object: string;
|
|
2835
|
+
id: string;
|
|
2836
|
+
slateId: string;
|
|
2837
|
+
identifier: string;
|
|
2838
|
+
name: string;
|
|
2839
|
+
key: string;
|
|
2840
|
+
providerInfo: {
|
|
2841
|
+
type: "provider";
|
|
2842
|
+
id: string;
|
|
2843
|
+
name: string;
|
|
2844
|
+
description?: string | undefined;
|
|
2845
|
+
metadata?: Record<string, any> | undefined;
|
|
2846
|
+
};
|
|
2847
|
+
configSchema: any;
|
|
2848
|
+
authMethods: {
|
|
2838
2849
|
object: string;
|
|
2839
2850
|
id: string;
|
|
2840
2851
|
slateId: string;
|
|
2841
|
-
|
|
2842
|
-
|
|
2843
|
-
|
|
2844
|
-
|
|
2845
|
-
|
|
2846
|
-
|
|
2852
|
+
identifier: string;
|
|
2853
|
+
name: string;
|
|
2854
|
+
key: string;
|
|
2855
|
+
type: SlateAuthMethodType;
|
|
2856
|
+
capabilities: {
|
|
2857
|
+
getDefaultInput?: {
|
|
2858
|
+
enabled: boolean;
|
|
2859
|
+
} | undefined;
|
|
2860
|
+
handleChangedInput?: {
|
|
2861
|
+
enabled: boolean;
|
|
2862
|
+
} | undefined;
|
|
2863
|
+
handleTokenRefresh?: {
|
|
2864
|
+
enabled: boolean;
|
|
2865
|
+
} | undefined;
|
|
2866
|
+
getProfile?: {
|
|
2867
|
+
enabled: boolean;
|
|
2868
|
+
} | undefined;
|
|
2869
|
+
};
|
|
2870
|
+
inputSchema: Record<string, any>;
|
|
2871
|
+
outputSchema: Record<string, any>;
|
|
2872
|
+
scopes: {
|
|
2873
|
+
id: string;
|
|
2874
|
+
title: string;
|
|
2875
|
+
description?: string | undefined;
|
|
2876
|
+
}[] | undefined;
|
|
2847
2877
|
createdAt: Date;
|
|
2848
|
-
|
|
2878
|
+
}[];
|
|
2879
|
+
actions: {
|
|
2880
|
+
object: string;
|
|
2881
|
+
id: string;
|
|
2882
|
+
slateId: string;
|
|
2883
|
+
identifier: string;
|
|
2884
|
+
name: string;
|
|
2885
|
+
key: string;
|
|
2886
|
+
type: SlateActionType;
|
|
2887
|
+
capabilities: Record<string, never>;
|
|
2888
|
+
inputSchema: Record<string, any>;
|
|
2889
|
+
outputSchema: Record<string, any>;
|
|
2890
|
+
constraints: string[] | undefined;
|
|
2891
|
+
description: string | undefined;
|
|
2892
|
+
instructions: string[] | undefined;
|
|
2893
|
+
metadata: Record<string, any> | undefined;
|
|
2894
|
+
tags: {
|
|
2895
|
+
destructive?: boolean | undefined;
|
|
2896
|
+
readOnly?: boolean | undefined;
|
|
2897
|
+
} | {
|
|
2898
|
+
destructive?: boolean | undefined;
|
|
2899
|
+
readOnly?: boolean | undefined;
|
|
2900
|
+
} | undefined;
|
|
2901
|
+
createdAt: Date;
|
|
2902
|
+
}[];
|
|
2903
|
+
createdAt: Date;
|
|
2904
|
+
}[], {
|
|
2905
|
+
slate: {
|
|
2906
|
+
registry: {
|
|
2907
|
+
name: string;
|
|
2908
|
+
oid: bigint;
|
|
2909
|
+
id: string;
|
|
2910
|
+
createdAt: Date;
|
|
2911
|
+
identifier: string;
|
|
2912
|
+
status: RegistryStatus;
|
|
2913
|
+
isPredefined: boolean;
|
|
2914
|
+
url: string;
|
|
2915
|
+
encryptedReaderToken: string | null;
|
|
2916
|
+
changeNotificationCursor: string | null;
|
|
2917
|
+
tenantOid: bigint | null;
|
|
2918
|
+
lastSyncedAt: Date | null;
|
|
2919
|
+
};
|
|
2920
|
+
currentVersion: ({
|
|
2921
|
+
specification: {
|
|
2922
|
+
name: string;
|
|
2923
|
+
oid: bigint;
|
|
2924
|
+
id: string;
|
|
2925
|
+
slateOid: bigint;
|
|
2926
|
+
createdAt: Date;
|
|
2927
|
+
identifier: string;
|
|
2928
|
+
hash: string;
|
|
2929
|
+
key: string;
|
|
2930
|
+
protocolVersion: string;
|
|
2931
|
+
providerInfo: PrismaJson.SlateProviderInfo;
|
|
2932
|
+
configSchema: PrismaJson.SlateConfigSchema;
|
|
2933
|
+
authMethods: PrismaJson.SlateAuthMethods;
|
|
2934
|
+
actions: PrismaJson.SlateActions;
|
|
2935
|
+
mostRecentVersionOid: bigint;
|
|
2936
|
+
} | null;
|
|
2937
|
+
} & {
|
|
2938
|
+
oid: bigint;
|
|
2939
|
+
id: string;
|
|
2940
|
+
slateOid: bigint;
|
|
2941
|
+
createdAt: Date;
|
|
2942
|
+
status: SlateVersionStatus;
|
|
2943
|
+
isCurrent: boolean;
|
|
2944
|
+
willBeCurrent: boolean;
|
|
2945
|
+
version: string;
|
|
2946
|
+
versionIdOnRegistry: string;
|
|
2947
|
+
versionIdentifierOnRegistry: string;
|
|
2948
|
+
manifest: PrismaJson.SlateJson;
|
|
2949
|
+
providerDeploymentInfo: PrismaJson.SlateDeploymentProviderDeploymentInfo;
|
|
2950
|
+
registryOid: bigint;
|
|
2951
|
+
activeDeploymentOid: bigint | null;
|
|
2952
|
+
specificationOid: bigint | null;
|
|
2953
|
+
updatedAt: Date;
|
|
2954
|
+
lastDiscoveredAt: Date | null;
|
|
2955
|
+
}) | null;
|
|
2956
|
+
} & {
|
|
2957
|
+
name: string;
|
|
2958
|
+
oid: bigint;
|
|
2959
|
+
id: string;
|
|
2960
|
+
createdAt: Date;
|
|
2961
|
+
identifier: string;
|
|
2962
|
+
status: SlateStatus;
|
|
2963
|
+
registryOid: bigint;
|
|
2964
|
+
updatedAt: Date;
|
|
2965
|
+
description: string | null;
|
|
2966
|
+
currentVersionOid: bigint | null;
|
|
2967
|
+
slateScopeIdentifierOnRegistry: string;
|
|
2968
|
+
slateScopeIdOnRegistry: string;
|
|
2969
|
+
slateFullIdentifierOnRegistry: string;
|
|
2970
|
+
slateIdentifierOnRegistry: string;
|
|
2971
|
+
slateIdOnRegistry: string;
|
|
2972
|
+
};
|
|
2973
|
+
}>;
|
|
2974
|
+
};
|
|
2975
|
+
slateInstance: {
|
|
2976
|
+
list: Handler<Partial<Pick<{
|
|
2977
|
+
tenantId: string;
|
|
2978
|
+
slateIds: string[] | undefined;
|
|
2979
|
+
}, "slateIds">> & {
|
|
2980
|
+
tenantId: string;
|
|
2981
|
+
} & {
|
|
2982
|
+
limit?: number;
|
|
2983
|
+
after?: string;
|
|
2984
|
+
before?: string;
|
|
2985
|
+
cursor?: string;
|
|
2986
|
+
order?: "asc" | "desc";
|
|
2987
|
+
}, {
|
|
2988
|
+
__typename: string;
|
|
2989
|
+
items: {
|
|
2990
|
+
object: string;
|
|
2991
|
+
id: string;
|
|
2992
|
+
slateId: string;
|
|
2993
|
+
lockedSlateVersionId: string | null;
|
|
2994
|
+
config: PrismaJson.AnyRecord;
|
|
2995
|
+
error: {
|
|
2996
|
+
code: string;
|
|
2997
|
+
message: string;
|
|
2998
|
+
} | null;
|
|
2999
|
+
createdAt: Date;
|
|
3000
|
+
updatedAt: Date;
|
|
2849
3001
|
}[];
|
|
2850
3002
|
pagination: {
|
|
2851
3003
|
has_more_after: boolean;
|
|
@@ -2990,6 +3142,30 @@ export declare let createSlatesHubInternalClient: (o: ClientOpts) => InferClient
|
|
|
2990
3142
|
defaultAuthConfigOid: bigint | null;
|
|
2991
3143
|
};
|
|
2992
3144
|
}>;
|
|
3145
|
+
getMany: Handler<UndefinedIsOptional<{
|
|
3146
|
+
tenantId: string;
|
|
3147
|
+
slateInstanceIds: string[];
|
|
3148
|
+
}>, {
|
|
3149
|
+
object: string;
|
|
3150
|
+
id: string;
|
|
3151
|
+
slateId: string;
|
|
3152
|
+
lockedSlateVersionId: string | null;
|
|
3153
|
+
config: PrismaJson.AnyRecord;
|
|
3154
|
+
error: {
|
|
3155
|
+
code: string;
|
|
3156
|
+
message: string;
|
|
3157
|
+
} | null;
|
|
3158
|
+
createdAt: Date;
|
|
3159
|
+
updatedAt: Date;
|
|
3160
|
+
}[], {
|
|
3161
|
+
tenant: {} & {
|
|
3162
|
+
name: string;
|
|
3163
|
+
oid: bigint;
|
|
3164
|
+
id: string;
|
|
3165
|
+
createdAt: Date;
|
|
3166
|
+
identifier: string;
|
|
3167
|
+
};
|
|
3168
|
+
}>;
|
|
2993
3169
|
};
|
|
2994
3170
|
slateOAuthCredentials: {
|
|
2995
3171
|
list: Handler<Partial<Pick<{
|
|
@@ -3111,6 +3287,26 @@ export declare let createSlatesHubInternalClient: (o: ClientOpts) => InferClient
|
|
|
3111
3287
|
secretOid: bigint;
|
|
3112
3288
|
};
|
|
3113
3289
|
}>;
|
|
3290
|
+
getMany: Handler<UndefinedIsOptional<{
|
|
3291
|
+
tenantId: string;
|
|
3292
|
+
slateOAuthCredentialsIds: string[];
|
|
3293
|
+
}>, {
|
|
3294
|
+
object: string;
|
|
3295
|
+
id: string;
|
|
3296
|
+
slateId: string;
|
|
3297
|
+
clientId: string;
|
|
3298
|
+
scopes: string[];
|
|
3299
|
+
createdAt: Date;
|
|
3300
|
+
updatedAt: Date;
|
|
3301
|
+
}[], {
|
|
3302
|
+
tenant: {} & {
|
|
3303
|
+
name: string;
|
|
3304
|
+
oid: bigint;
|
|
3305
|
+
id: string;
|
|
3306
|
+
createdAt: Date;
|
|
3307
|
+
identifier: string;
|
|
3308
|
+
};
|
|
3309
|
+
}>;
|
|
3114
3310
|
};
|
|
3115
3311
|
slateOAuthSetup: {
|
|
3116
3312
|
list: Handler<Partial<Pick<{
|
|
@@ -3633,6 +3829,99 @@ export declare let createSlatesHubInternalClient: (o: ClientOpts) => InferClient
|
|
|
3633
3829
|
slateAuthConfigOid: bigint | null;
|
|
3634
3830
|
};
|
|
3635
3831
|
}>;
|
|
3832
|
+
getMany: Handler<UndefinedIsOptional<{
|
|
3833
|
+
tenantId: string;
|
|
3834
|
+
slateOAuthSetupIds: string[];
|
|
3835
|
+
}>, {
|
|
3836
|
+
object: string;
|
|
3837
|
+
id: string;
|
|
3838
|
+
slateId: string;
|
|
3839
|
+
status: SlateInstanceOAuthSetupStatus;
|
|
3840
|
+
redirectUrl: string;
|
|
3841
|
+
url: string | null;
|
|
3842
|
+
error: {
|
|
3843
|
+
code: string;
|
|
3844
|
+
message: string;
|
|
3845
|
+
} | null;
|
|
3846
|
+
credentials: {
|
|
3847
|
+
object: string;
|
|
3848
|
+
id: string;
|
|
3849
|
+
slateId: string;
|
|
3850
|
+
clientId: string;
|
|
3851
|
+
scopes: string[];
|
|
3852
|
+
createdAt: Date;
|
|
3853
|
+
updatedAt: Date;
|
|
3854
|
+
};
|
|
3855
|
+
authConfig: {
|
|
3856
|
+
object: string;
|
|
3857
|
+
id: string;
|
|
3858
|
+
slateId: string;
|
|
3859
|
+
status: "active" | "failed" | "processing";
|
|
3860
|
+
error: {
|
|
3861
|
+
code: string;
|
|
3862
|
+
message: string;
|
|
3863
|
+
} | null;
|
|
3864
|
+
profile: {
|
|
3865
|
+
id: string | null;
|
|
3866
|
+
email: string | null;
|
|
3867
|
+
name: string | null;
|
|
3868
|
+
data: PrismaJson.AuthProfile;
|
|
3869
|
+
} | null;
|
|
3870
|
+
authMethod: {
|
|
3871
|
+
object: string;
|
|
3872
|
+
id: string;
|
|
3873
|
+
slateId: string;
|
|
3874
|
+
identifier: string;
|
|
3875
|
+
name: string;
|
|
3876
|
+
key: string;
|
|
3877
|
+
type: SlateAuthMethodType;
|
|
3878
|
+
capabilities: {
|
|
3879
|
+
getDefaultInput?: {
|
|
3880
|
+
enabled: boolean;
|
|
3881
|
+
} | undefined;
|
|
3882
|
+
handleChangedInput?: {
|
|
3883
|
+
enabled: boolean;
|
|
3884
|
+
} | undefined;
|
|
3885
|
+
handleTokenRefresh?: {
|
|
3886
|
+
enabled: boolean;
|
|
3887
|
+
} | undefined;
|
|
3888
|
+
getProfile?: {
|
|
3889
|
+
enabled: boolean;
|
|
3890
|
+
} | undefined;
|
|
3891
|
+
};
|
|
3892
|
+
inputSchema: Record<string, any>;
|
|
3893
|
+
outputSchema: Record<string, any>;
|
|
3894
|
+
scopes: {
|
|
3895
|
+
id: string;
|
|
3896
|
+
title: string;
|
|
3897
|
+
description?: string | undefined;
|
|
3898
|
+
}[] | undefined;
|
|
3899
|
+
createdAt: Date;
|
|
3900
|
+
};
|
|
3901
|
+
oauthCredentials: {
|
|
3902
|
+
object: string;
|
|
3903
|
+
id: string;
|
|
3904
|
+
slateId: string;
|
|
3905
|
+
clientId: string;
|
|
3906
|
+
scopes: string[];
|
|
3907
|
+
createdAt: Date;
|
|
3908
|
+
updatedAt: Date;
|
|
3909
|
+
} | null;
|
|
3910
|
+
tokenExpiresAt: Date | null;
|
|
3911
|
+
createdAt: Date;
|
|
3912
|
+
updatedAt: Date;
|
|
3913
|
+
} | null;
|
|
3914
|
+
createdAt: Date;
|
|
3915
|
+
updatedAt: Date;
|
|
3916
|
+
}[], {
|
|
3917
|
+
tenant: {} & {
|
|
3918
|
+
name: string;
|
|
3919
|
+
oid: bigint;
|
|
3920
|
+
id: string;
|
|
3921
|
+
createdAt: Date;
|
|
3922
|
+
identifier: string;
|
|
3923
|
+
};
|
|
3924
|
+
}>;
|
|
3636
3925
|
};
|
|
3637
3926
|
slateAuthConfig: {
|
|
3638
3927
|
list: Handler<Partial<Pick<{
|
|
@@ -3947,6 +4236,76 @@ export declare let createSlatesHubInternalClient: (o: ClientOpts) => InferClient
|
|
|
3947
4236
|
oauthCredentialsOid: bigint | null;
|
|
3948
4237
|
};
|
|
3949
4238
|
}>;
|
|
4239
|
+
getMany: Handler<UndefinedIsOptional<{
|
|
4240
|
+
tenantId: string;
|
|
4241
|
+
slateAuthConfigIds: string[];
|
|
4242
|
+
}>, {
|
|
4243
|
+
object: string;
|
|
4244
|
+
id: string;
|
|
4245
|
+
slateId: string;
|
|
4246
|
+
status: "active" | "failed" | "processing";
|
|
4247
|
+
error: {
|
|
4248
|
+
code: string;
|
|
4249
|
+
message: string;
|
|
4250
|
+
} | null;
|
|
4251
|
+
profile: {
|
|
4252
|
+
id: string | null;
|
|
4253
|
+
email: string | null;
|
|
4254
|
+
name: string | null;
|
|
4255
|
+
data: PrismaJson.AuthProfile;
|
|
4256
|
+
} | null;
|
|
4257
|
+
authMethod: {
|
|
4258
|
+
object: string;
|
|
4259
|
+
id: string;
|
|
4260
|
+
slateId: string;
|
|
4261
|
+
identifier: string;
|
|
4262
|
+
name: string;
|
|
4263
|
+
key: string;
|
|
4264
|
+
type: SlateAuthMethodType;
|
|
4265
|
+
capabilities: {
|
|
4266
|
+
getDefaultInput?: {
|
|
4267
|
+
enabled: boolean;
|
|
4268
|
+
} | undefined;
|
|
4269
|
+
handleChangedInput?: {
|
|
4270
|
+
enabled: boolean;
|
|
4271
|
+
} | undefined;
|
|
4272
|
+
handleTokenRefresh?: {
|
|
4273
|
+
enabled: boolean;
|
|
4274
|
+
} | undefined;
|
|
4275
|
+
getProfile?: {
|
|
4276
|
+
enabled: boolean;
|
|
4277
|
+
} | undefined;
|
|
4278
|
+
};
|
|
4279
|
+
inputSchema: Record<string, any>;
|
|
4280
|
+
outputSchema: Record<string, any>;
|
|
4281
|
+
scopes: {
|
|
4282
|
+
id: string;
|
|
4283
|
+
title: string;
|
|
4284
|
+
description?: string | undefined;
|
|
4285
|
+
}[] | undefined;
|
|
4286
|
+
createdAt: Date;
|
|
4287
|
+
};
|
|
4288
|
+
oauthCredentials: {
|
|
4289
|
+
object: string;
|
|
4290
|
+
id: string;
|
|
4291
|
+
slateId: string;
|
|
4292
|
+
clientId: string;
|
|
4293
|
+
scopes: string[];
|
|
4294
|
+
createdAt: Date;
|
|
4295
|
+
updatedAt: Date;
|
|
4296
|
+
} | null;
|
|
4297
|
+
tokenExpiresAt: Date | null;
|
|
4298
|
+
createdAt: Date;
|
|
4299
|
+
updatedAt: Date;
|
|
4300
|
+
}[], {
|
|
4301
|
+
tenant: {} & {
|
|
4302
|
+
name: string;
|
|
4303
|
+
oid: bigint;
|
|
4304
|
+
id: string;
|
|
4305
|
+
createdAt: Date;
|
|
4306
|
+
identifier: string;
|
|
4307
|
+
};
|
|
4308
|
+
}>;
|
|
3950
4309
|
};
|
|
3951
4310
|
slateSession: {
|
|
3952
4311
|
list: Handler<Partial<Pick<{
|
|
@@ -4071,6 +4430,25 @@ export declare let createSlatesHubInternalClient: (o: ClientOpts) => InferClient
|
|
|
4071
4430
|
lastActiveAt: Date | null;
|
|
4072
4431
|
};
|
|
4073
4432
|
}>;
|
|
4433
|
+
getMany: Handler<UndefinedIsOptional<{
|
|
4434
|
+
tenantId: string;
|
|
4435
|
+
slateSessionIds: string[];
|
|
4436
|
+
}>, {
|
|
4437
|
+
object: string;
|
|
4438
|
+
id: string;
|
|
4439
|
+
slateId: string;
|
|
4440
|
+
slateInstanceId: string;
|
|
4441
|
+
createdAt: Date;
|
|
4442
|
+
lastActiveAt: Date | null;
|
|
4443
|
+
}[], {
|
|
4444
|
+
tenant: {} & {
|
|
4445
|
+
name: string;
|
|
4446
|
+
oid: bigint;
|
|
4447
|
+
id: string;
|
|
4448
|
+
createdAt: Date;
|
|
4449
|
+
identifier: string;
|
|
4450
|
+
};
|
|
4451
|
+
}>;
|
|
4074
4452
|
};
|
|
4075
4453
|
slateSessionToolCall: {
|
|
4076
4454
|
list: Handler<Partial<Pick<{
|
|
@@ -4353,6 +4731,30 @@ export declare let createSlatesHubInternalClient: (o: ClientOpts) => InferClient
|
|
|
4353
4731
|
sessionOid: bigint;
|
|
4354
4732
|
};
|
|
4355
4733
|
}>;
|
|
4734
|
+
getMany: Handler<UndefinedIsOptional<{
|
|
4735
|
+
tenantId: string;
|
|
4736
|
+
slateSessionToolCallIds: string[];
|
|
4737
|
+
}>, {
|
|
4738
|
+
object: string;
|
|
4739
|
+
id: string;
|
|
4740
|
+
sessionId: string;
|
|
4741
|
+
slateVersionId: string;
|
|
4742
|
+
action: {
|
|
4743
|
+
object: string;
|
|
4744
|
+
id: string;
|
|
4745
|
+
key: string;
|
|
4746
|
+
name: string;
|
|
4747
|
+
};
|
|
4748
|
+
createdAt: Date;
|
|
4749
|
+
}[], {
|
|
4750
|
+
tenant: {} & {
|
|
4751
|
+
name: string;
|
|
4752
|
+
oid: bigint;
|
|
4753
|
+
id: string;
|
|
4754
|
+
createdAt: Date;
|
|
4755
|
+
identifier: string;
|
|
4756
|
+
};
|
|
4757
|
+
}>;
|
|
4356
4758
|
};
|
|
4357
4759
|
}>;
|
|
4358
4760
|
|