@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
|
@@ -167,6 +167,46 @@ export declare let createSlatesHubInternalClient: (o: ClientOpts) => import("@lo
|
|
|
167
167
|
lastSyncedAt: Date | null;
|
|
168
168
|
};
|
|
169
169
|
}>;
|
|
170
|
+
listAll: import("@lowerdeck/rpc-server").Handler<import("@lowerdeck/validation/dist/validators").UndefinedIsOptional<{
|
|
171
|
+
tenantId: string;
|
|
172
|
+
}>, {
|
|
173
|
+
object: string;
|
|
174
|
+
id: string;
|
|
175
|
+
status: import("../../../apps/hub/prisma/generated/enums").RegistryStatus;
|
|
176
|
+
isPredefined: boolean;
|
|
177
|
+
identifier: string;
|
|
178
|
+
name: string;
|
|
179
|
+
url: string;
|
|
180
|
+
tenant: {
|
|
181
|
+
object: string;
|
|
182
|
+
id: string;
|
|
183
|
+
identifier: string;
|
|
184
|
+
name: string;
|
|
185
|
+
createdAt: Date;
|
|
186
|
+
} | null;
|
|
187
|
+
createdAt: Date;
|
|
188
|
+
lastSyncedAt: Date | null;
|
|
189
|
+
}[], {}>;
|
|
190
|
+
getMany: import("@lowerdeck/rpc-server").Handler<import("@lowerdeck/validation/dist/validators").UndefinedIsOptional<{
|
|
191
|
+
registryIds: string[];
|
|
192
|
+
}>, {
|
|
193
|
+
object: string;
|
|
194
|
+
id: string;
|
|
195
|
+
status: import("../../../apps/hub/prisma/generated/enums").RegistryStatus;
|
|
196
|
+
isPredefined: boolean;
|
|
197
|
+
identifier: string;
|
|
198
|
+
name: string;
|
|
199
|
+
url: string;
|
|
200
|
+
tenant: {
|
|
201
|
+
object: string;
|
|
202
|
+
id: string;
|
|
203
|
+
identifier: string;
|
|
204
|
+
name: string;
|
|
205
|
+
createdAt: Date;
|
|
206
|
+
} | null;
|
|
207
|
+
createdAt: Date;
|
|
208
|
+
lastSyncedAt: Date | null;
|
|
209
|
+
}[], {}>;
|
|
170
210
|
};
|
|
171
211
|
changeNotification: {
|
|
172
212
|
list: import("@lowerdeck/rpc-server").Handler<Partial<Pick<{}, never>> & {} & {
|
|
@@ -213,11 +253,7 @@ export declare let createSlatesHubInternalClient: (o: ClientOpts) => import("@lo
|
|
|
213
253
|
}>;
|
|
214
254
|
};
|
|
215
255
|
slate: {
|
|
216
|
-
list: import("@lowerdeck/rpc-server").Handler<Partial<Pick<{
|
|
217
|
-
tenantId: string;
|
|
218
|
-
}, never>> & {
|
|
219
|
-
tenantId: string;
|
|
220
|
-
} & {
|
|
256
|
+
list: import("@lowerdeck/rpc-server").Handler<Partial<Pick<{}, never>> & {} & {
|
|
221
257
|
limit?: number;
|
|
222
258
|
after?: string;
|
|
223
259
|
before?: string;
|
|
@@ -270,17 +306,8 @@ export declare let createSlatesHubInternalClient: (o: ClientOpts) => import("@lo
|
|
|
270
306
|
has_more_after: boolean;
|
|
271
307
|
has_more_before: boolean;
|
|
272
308
|
};
|
|
273
|
-
}, {
|
|
274
|
-
tenant: {} & {
|
|
275
|
-
name: string;
|
|
276
|
-
identifier: string;
|
|
277
|
-
oid: bigint;
|
|
278
|
-
id: string;
|
|
279
|
-
createdAt: Date;
|
|
280
|
-
};
|
|
281
|
-
}>;
|
|
309
|
+
}, {}>;
|
|
282
310
|
get: import("@lowerdeck/rpc-server").Handler<import("@lowerdeck/validation/dist/validators").UndefinedIsOptional<{
|
|
283
|
-
tenantId: string;
|
|
284
311
|
slateId: string;
|
|
285
312
|
}>, {
|
|
286
313
|
object: string;
|
|
@@ -323,13 +350,6 @@ export declare let createSlatesHubInternalClient: (o: ClientOpts) => import("@lo
|
|
|
323
350
|
createdAt: Date;
|
|
324
351
|
updatedAt: Date;
|
|
325
352
|
}, {
|
|
326
|
-
tenant: {} & {
|
|
327
|
-
name: string;
|
|
328
|
-
identifier: string;
|
|
329
|
-
oid: bigint;
|
|
330
|
-
id: string;
|
|
331
|
-
createdAt: Date;
|
|
332
|
-
};
|
|
333
353
|
slate: {
|
|
334
354
|
registry: {
|
|
335
355
|
name: string;
|
|
@@ -400,7 +420,6 @@ export declare let createSlatesHubInternalClient: (o: ClientOpts) => import("@lo
|
|
|
400
420
|
};
|
|
401
421
|
}>;
|
|
402
422
|
getRegistryRecord: import("@lowerdeck/rpc-server").Handler<import("@lowerdeck/validation/dist/validators").UndefinedIsOptional<{
|
|
403
|
-
tenantId: string;
|
|
404
423
|
slateId: string;
|
|
405
424
|
}>, {
|
|
406
425
|
object: string;
|
|
@@ -464,13 +483,6 @@ export declare let createSlatesHubInternalClient: (o: ClientOpts) => import("@lo
|
|
|
464
483
|
createdAt: string;
|
|
465
484
|
updatedAt: string;
|
|
466
485
|
}, {
|
|
467
|
-
tenant: {} & {
|
|
468
|
-
name: string;
|
|
469
|
-
identifier: string;
|
|
470
|
-
oid: bigint;
|
|
471
|
-
id: string;
|
|
472
|
-
createdAt: Date;
|
|
473
|
-
};
|
|
474
486
|
slate: {
|
|
475
487
|
registry: {
|
|
476
488
|
name: string;
|
|
@@ -540,13 +552,54 @@ export declare let createSlatesHubInternalClient: (o: ClientOpts) => import("@lo
|
|
|
540
552
|
updatedAt: Date;
|
|
541
553
|
};
|
|
542
554
|
}>;
|
|
555
|
+
getMany: import("@lowerdeck/rpc-server").Handler<import("@lowerdeck/validation/dist/validators").UndefinedIsOptional<{
|
|
556
|
+
slateIds: string[];
|
|
557
|
+
}>, {
|
|
558
|
+
object: string;
|
|
559
|
+
id: string;
|
|
560
|
+
identifier: string;
|
|
561
|
+
name: string;
|
|
562
|
+
description: string | null;
|
|
563
|
+
registryId: string;
|
|
564
|
+
currentVersion: {
|
|
565
|
+
object: string;
|
|
566
|
+
id: string;
|
|
567
|
+
status: import("../../../apps/hub/prisma/generated/enums").SlateVersionStatus;
|
|
568
|
+
version: string;
|
|
569
|
+
isCurrent: boolean;
|
|
570
|
+
slateId: string;
|
|
571
|
+
manifest: PrismaJson.SlateJson;
|
|
572
|
+
specification: {
|
|
573
|
+
object: string;
|
|
574
|
+
id: string;
|
|
575
|
+
versionId: string;
|
|
576
|
+
specificationId: string;
|
|
577
|
+
identifier: string;
|
|
578
|
+
createdAt: Date;
|
|
579
|
+
} | null;
|
|
580
|
+
createdAt: Date;
|
|
581
|
+
} | null;
|
|
582
|
+
scope: {
|
|
583
|
+
object: string;
|
|
584
|
+
registryId: string;
|
|
585
|
+
id: string;
|
|
586
|
+
identifier: string;
|
|
587
|
+
};
|
|
588
|
+
slate: {
|
|
589
|
+
object: string;
|
|
590
|
+
registryId: string;
|
|
591
|
+
id: string;
|
|
592
|
+
identifier: string;
|
|
593
|
+
fullIdentifier: string;
|
|
594
|
+
};
|
|
595
|
+
createdAt: Date;
|
|
596
|
+
updatedAt: Date;
|
|
597
|
+
}[], {}>;
|
|
543
598
|
};
|
|
544
599
|
slateVersion: {
|
|
545
600
|
list: import("@lowerdeck/rpc-server").Handler<Partial<Pick<{
|
|
546
|
-
tenantId: string;
|
|
547
601
|
slateId: string;
|
|
548
602
|
}, never>> & {
|
|
549
|
-
tenantId: string;
|
|
550
603
|
slateId: string;
|
|
551
604
|
} & {
|
|
552
605
|
limit?: number;
|
|
@@ -579,13 +632,6 @@ export declare let createSlatesHubInternalClient: (o: ClientOpts) => import("@lo
|
|
|
579
632
|
has_more_before: boolean;
|
|
580
633
|
};
|
|
581
634
|
}, {
|
|
582
|
-
tenant: {} & {
|
|
583
|
-
name: string;
|
|
584
|
-
identifier: string;
|
|
585
|
-
oid: bigint;
|
|
586
|
-
id: string;
|
|
587
|
-
createdAt: Date;
|
|
588
|
-
};
|
|
589
635
|
slate: {
|
|
590
636
|
registry: {
|
|
591
637
|
name: string;
|
|
@@ -656,7 +702,6 @@ export declare let createSlatesHubInternalClient: (o: ClientOpts) => import("@lo
|
|
|
656
702
|
};
|
|
657
703
|
}>;
|
|
658
704
|
get: import("@lowerdeck/rpc-server").Handler<import("@lowerdeck/validation/dist/validators").UndefinedIsOptional<{
|
|
659
|
-
tenantId: string;
|
|
660
705
|
slateId: string;
|
|
661
706
|
slateVersionId: string;
|
|
662
707
|
}>, {
|
|
@@ -677,13 +722,6 @@ export declare let createSlatesHubInternalClient: (o: ClientOpts) => import("@lo
|
|
|
677
722
|
} | null;
|
|
678
723
|
createdAt: Date;
|
|
679
724
|
}, {
|
|
680
|
-
tenant: {} & {
|
|
681
|
-
name: string;
|
|
682
|
-
identifier: string;
|
|
683
|
-
oid: bigint;
|
|
684
|
-
id: string;
|
|
685
|
-
createdAt: Date;
|
|
686
|
-
};
|
|
687
725
|
slate: {
|
|
688
726
|
registry: {
|
|
689
727
|
name: string;
|
|
@@ -822,7 +860,6 @@ export declare let createSlatesHubInternalClient: (o: ClientOpts) => import("@lo
|
|
|
822
860
|
};
|
|
823
861
|
}>;
|
|
824
862
|
getRegistryRecord: import("@lowerdeck/rpc-server").Handler<import("@lowerdeck/validation/dist/validators").UndefinedIsOptional<{
|
|
825
|
-
tenantId: string;
|
|
826
863
|
slateId: string;
|
|
827
864
|
slateVersionId: string;
|
|
828
865
|
}>, {
|
|
@@ -873,13 +910,6 @@ export declare let createSlatesHubInternalClient: (o: ClientOpts) => import("@lo
|
|
|
873
910
|
};
|
|
874
911
|
createdAt: string;
|
|
875
912
|
}, {
|
|
876
|
-
tenant: {} & {
|
|
877
|
-
name: string;
|
|
878
|
-
identifier: string;
|
|
879
|
-
oid: bigint;
|
|
880
|
-
id: string;
|
|
881
|
-
createdAt: Date;
|
|
882
|
-
};
|
|
883
913
|
slate: {
|
|
884
914
|
registry: {
|
|
885
915
|
name: string;
|
|
@@ -1017,6 +1047,26 @@ export declare let createSlatesHubInternalClient: (o: ClientOpts) => import("@lo
|
|
|
1017
1047
|
lastDiscoveredAt: Date | null;
|
|
1018
1048
|
};
|
|
1019
1049
|
}>;
|
|
1050
|
+
getMany: import("@lowerdeck/rpc-server").Handler<import("@lowerdeck/validation/dist/validators").UndefinedIsOptional<{
|
|
1051
|
+
slateVersionIds: string[];
|
|
1052
|
+
}>, {
|
|
1053
|
+
object: string;
|
|
1054
|
+
id: string;
|
|
1055
|
+
status: import("../../../apps/hub/prisma/generated/enums").SlateVersionStatus;
|
|
1056
|
+
version: string;
|
|
1057
|
+
isCurrent: boolean;
|
|
1058
|
+
slateId: string;
|
|
1059
|
+
manifest: PrismaJson.SlateJson;
|
|
1060
|
+
specification: {
|
|
1061
|
+
object: string;
|
|
1062
|
+
id: string;
|
|
1063
|
+
versionId: string;
|
|
1064
|
+
specificationId: string;
|
|
1065
|
+
identifier: string;
|
|
1066
|
+
createdAt: Date;
|
|
1067
|
+
} | null;
|
|
1068
|
+
createdAt: Date;
|
|
1069
|
+
}[], {}>;
|
|
1020
1070
|
};
|
|
1021
1071
|
slateInvocation: {
|
|
1022
1072
|
DANGEROUSLY_get: import("@lowerdeck/rpc-server").Handler<import("@lowerdeck/validation/dist/validators").UndefinedIsOptional<{
|
|
@@ -1090,11 +1140,9 @@ export declare let createSlatesHubInternalClient: (o: ClientOpts) => import("@lo
|
|
|
1090
1140
|
};
|
|
1091
1141
|
slateDeployment: {
|
|
1092
1142
|
list: import("@lowerdeck/rpc-server").Handler<Partial<Pick<{
|
|
1093
|
-
tenantId: string;
|
|
1094
1143
|
slateId: string;
|
|
1095
1144
|
versionIds: string[] | undefined;
|
|
1096
1145
|
}, "versionIds">> & {
|
|
1097
|
-
tenantId: string;
|
|
1098
1146
|
slateId: string;
|
|
1099
1147
|
} & {
|
|
1100
1148
|
limit?: number;
|
|
@@ -1137,13 +1185,6 @@ export declare let createSlatesHubInternalClient: (o: ClientOpts) => import("@lo
|
|
|
1137
1185
|
has_more_before: boolean;
|
|
1138
1186
|
};
|
|
1139
1187
|
}, {
|
|
1140
|
-
tenant: {} & {
|
|
1141
|
-
name: string;
|
|
1142
|
-
identifier: string;
|
|
1143
|
-
oid: bigint;
|
|
1144
|
-
id: string;
|
|
1145
|
-
createdAt: Date;
|
|
1146
|
-
};
|
|
1147
1188
|
slate: {
|
|
1148
1189
|
registry: {
|
|
1149
1190
|
name: string;
|
|
@@ -1214,7 +1255,6 @@ export declare let createSlatesHubInternalClient: (o: ClientOpts) => import("@lo
|
|
|
1214
1255
|
};
|
|
1215
1256
|
}>;
|
|
1216
1257
|
get: import("@lowerdeck/rpc-server").Handler<import("@lowerdeck/validation/dist/validators").UndefinedIsOptional<{
|
|
1217
|
-
tenantId: string;
|
|
1218
1258
|
slateId: string;
|
|
1219
1259
|
slateDeploymentId: string;
|
|
1220
1260
|
}>, {
|
|
@@ -1245,13 +1285,6 @@ export declare let createSlatesHubInternalClient: (o: ClientOpts) => import("@lo
|
|
|
1245
1285
|
};
|
|
1246
1286
|
createdAt: Date;
|
|
1247
1287
|
}, {
|
|
1248
|
-
tenant: {} & {
|
|
1249
|
-
name: string;
|
|
1250
|
-
identifier: string;
|
|
1251
|
-
oid: bigint;
|
|
1252
|
-
id: string;
|
|
1253
|
-
createdAt: Date;
|
|
1254
|
-
};
|
|
1255
1288
|
slate: {
|
|
1256
1289
|
registry: {
|
|
1257
1290
|
name: string;
|
|
@@ -1403,7 +1436,6 @@ export declare let createSlatesHubInternalClient: (o: ClientOpts) => import("@lo
|
|
|
1403
1436
|
};
|
|
1404
1437
|
}>;
|
|
1405
1438
|
getBuildOutput: import("@lowerdeck/rpc-server").Handler<import("@lowerdeck/validation/dist/validators").UndefinedIsOptional<{
|
|
1406
|
-
tenantId: string;
|
|
1407
1439
|
slateId: string;
|
|
1408
1440
|
slateDeploymentId: string;
|
|
1409
1441
|
}>, {
|
|
@@ -1420,13 +1452,6 @@ export declare let createSlatesHubInternalClient: (o: ClientOpts) => import("@lo
|
|
|
1420
1452
|
startedAt: Date | null;
|
|
1421
1453
|
endedAt: Date | null;
|
|
1422
1454
|
}[], {
|
|
1423
|
-
tenant: {} & {
|
|
1424
|
-
name: string;
|
|
1425
|
-
identifier: string;
|
|
1426
|
-
oid: bigint;
|
|
1427
|
-
id: string;
|
|
1428
|
-
createdAt: Date;
|
|
1429
|
-
};
|
|
1430
1455
|
slate: {
|
|
1431
1456
|
registry: {
|
|
1432
1457
|
name: string;
|
|
@@ -1580,11 +1605,9 @@ export declare let createSlatesHubInternalClient: (o: ClientOpts) => import("@lo
|
|
|
1580
1605
|
};
|
|
1581
1606
|
slateSpecification: {
|
|
1582
1607
|
list: import("@lowerdeck/rpc-server").Handler<Partial<Pick<{
|
|
1583
|
-
tenantId: string;
|
|
1584
1608
|
slateId: string;
|
|
1585
1609
|
versionIds: string[] | undefined;
|
|
1586
1610
|
}, "versionIds">> & {
|
|
1587
|
-
tenantId: string;
|
|
1588
1611
|
slateId: string;
|
|
1589
1612
|
} & {
|
|
1590
1613
|
limit?: number;
|
|
@@ -1671,13 +1694,6 @@ export declare let createSlatesHubInternalClient: (o: ClientOpts) => import("@lo
|
|
|
1671
1694
|
has_more_before: boolean;
|
|
1672
1695
|
};
|
|
1673
1696
|
}, {
|
|
1674
|
-
tenant: {} & {
|
|
1675
|
-
name: string;
|
|
1676
|
-
identifier: string;
|
|
1677
|
-
oid: bigint;
|
|
1678
|
-
id: string;
|
|
1679
|
-
createdAt: Date;
|
|
1680
|
-
};
|
|
1681
1697
|
slate: {
|
|
1682
1698
|
registry: {
|
|
1683
1699
|
name: string;
|
|
@@ -1748,7 +1764,6 @@ export declare let createSlatesHubInternalClient: (o: ClientOpts) => import("@lo
|
|
|
1748
1764
|
};
|
|
1749
1765
|
}>;
|
|
1750
1766
|
get: import("@lowerdeck/rpc-server").Handler<import("@lowerdeck/validation/dist/validators").UndefinedIsOptional<{
|
|
1751
|
-
tenantId: string;
|
|
1752
1767
|
slateId: string;
|
|
1753
1768
|
slateSpecificationId: string;
|
|
1754
1769
|
}>, {
|
|
@@ -1823,13 +1838,6 @@ export declare let createSlatesHubInternalClient: (o: ClientOpts) => import("@lo
|
|
|
1823
1838
|
}[];
|
|
1824
1839
|
createdAt: Date;
|
|
1825
1840
|
}, {
|
|
1826
|
-
tenant: {} & {
|
|
1827
|
-
name: string;
|
|
1828
|
-
identifier: string;
|
|
1829
|
-
oid: bigint;
|
|
1830
|
-
id: string;
|
|
1831
|
-
createdAt: Date;
|
|
1832
|
-
};
|
|
1833
1841
|
slate: {
|
|
1834
1842
|
registry: {
|
|
1835
1843
|
name: string;
|
|
@@ -1973,33 +1981,177 @@ export declare let createSlatesHubInternalClient: (o: ClientOpts) => import("@lo
|
|
|
1973
1981
|
mostRecentVersionOid: bigint;
|
|
1974
1982
|
};
|
|
1975
1983
|
}>;
|
|
1976
|
-
|
|
1977
|
-
|
|
1978
|
-
|
|
1979
|
-
|
|
1980
|
-
|
|
1981
|
-
|
|
1982
|
-
|
|
1983
|
-
|
|
1984
|
-
|
|
1985
|
-
|
|
1986
|
-
|
|
1987
|
-
|
|
1988
|
-
|
|
1989
|
-
|
|
1990
|
-
|
|
1991
|
-
|
|
1984
|
+
getMany: import("@lowerdeck/rpc-server").Handler<import("@lowerdeck/validation/dist/validators").UndefinedIsOptional<{
|
|
1985
|
+
slateId: string;
|
|
1986
|
+
slateSpecificationIds: string[];
|
|
1987
|
+
}>, {
|
|
1988
|
+
object: string;
|
|
1989
|
+
id: string;
|
|
1990
|
+
slateId: string;
|
|
1991
|
+
identifier: string;
|
|
1992
|
+
name: string;
|
|
1993
|
+
key: string;
|
|
1994
|
+
providerInfo: {
|
|
1995
|
+
type: "provider";
|
|
1996
|
+
id: string;
|
|
1997
|
+
name: string;
|
|
1998
|
+
description?: string | undefined;
|
|
1999
|
+
metadata?: Record<string, any> | undefined;
|
|
2000
|
+
};
|
|
2001
|
+
configSchema: any;
|
|
2002
|
+
authMethods: {
|
|
1992
2003
|
object: string;
|
|
1993
2004
|
id: string;
|
|
1994
2005
|
slateId: string;
|
|
1995
|
-
|
|
1996
|
-
|
|
1997
|
-
|
|
1998
|
-
|
|
1999
|
-
|
|
2000
|
-
|
|
2006
|
+
identifier: string;
|
|
2007
|
+
name: string;
|
|
2008
|
+
key: string;
|
|
2009
|
+
type: import("../../../apps/hub/prisma/generated/enums").SlateAuthMethodType;
|
|
2010
|
+
capabilities: {
|
|
2011
|
+
getDefaultInput?: {
|
|
2012
|
+
enabled: boolean;
|
|
2013
|
+
} | undefined;
|
|
2014
|
+
handleChangedInput?: {
|
|
2015
|
+
enabled: boolean;
|
|
2016
|
+
} | undefined;
|
|
2017
|
+
handleTokenRefresh?: {
|
|
2018
|
+
enabled: boolean;
|
|
2019
|
+
} | undefined;
|
|
2020
|
+
getProfile?: {
|
|
2021
|
+
enabled: boolean;
|
|
2022
|
+
} | undefined;
|
|
2023
|
+
};
|
|
2024
|
+
inputSchema: Record<string, any>;
|
|
2025
|
+
outputSchema: Record<string, any>;
|
|
2026
|
+
scopes: {
|
|
2027
|
+
id: string;
|
|
2028
|
+
title: string;
|
|
2029
|
+
description?: string | undefined;
|
|
2030
|
+
}[] | undefined;
|
|
2001
2031
|
createdAt: Date;
|
|
2002
|
-
|
|
2032
|
+
}[];
|
|
2033
|
+
actions: {
|
|
2034
|
+
object: string;
|
|
2035
|
+
id: string;
|
|
2036
|
+
slateId: string;
|
|
2037
|
+
identifier: string;
|
|
2038
|
+
name: string;
|
|
2039
|
+
key: string;
|
|
2040
|
+
type: import("../../../apps/hub/prisma/generated/enums").SlateActionType;
|
|
2041
|
+
capabilities: Record<string, never>;
|
|
2042
|
+
inputSchema: Record<string, any>;
|
|
2043
|
+
outputSchema: Record<string, any>;
|
|
2044
|
+
constraints: string[] | undefined;
|
|
2045
|
+
description: string | undefined;
|
|
2046
|
+
instructions: string[] | undefined;
|
|
2047
|
+
metadata: Record<string, any> | undefined;
|
|
2048
|
+
tags: {
|
|
2049
|
+
destructive?: boolean | undefined;
|
|
2050
|
+
readOnly?: boolean | undefined;
|
|
2051
|
+
} | {
|
|
2052
|
+
destructive?: boolean | undefined;
|
|
2053
|
+
readOnly?: boolean | undefined;
|
|
2054
|
+
} | undefined;
|
|
2055
|
+
createdAt: Date;
|
|
2056
|
+
}[];
|
|
2057
|
+
createdAt: Date;
|
|
2058
|
+
}[], {
|
|
2059
|
+
slate: {
|
|
2060
|
+
registry: {
|
|
2061
|
+
name: string;
|
|
2062
|
+
identifier: string;
|
|
2063
|
+
url: string;
|
|
2064
|
+
oid: bigint;
|
|
2065
|
+
id: string;
|
|
2066
|
+
createdAt: Date;
|
|
2067
|
+
status: import("../../../apps/hub/prisma/generated/enums").RegistryStatus;
|
|
2068
|
+
tenantOid: bigint | null;
|
|
2069
|
+
isPredefined: boolean;
|
|
2070
|
+
encryptedReaderToken: string | null;
|
|
2071
|
+
changeNotificationCursor: string | null;
|
|
2072
|
+
lastSyncedAt: Date | null;
|
|
2073
|
+
};
|
|
2074
|
+
currentVersion: ({
|
|
2075
|
+
specification: {
|
|
2076
|
+
name: string;
|
|
2077
|
+
identifier: string;
|
|
2078
|
+
oid: bigint;
|
|
2079
|
+
id: string;
|
|
2080
|
+
createdAt: Date;
|
|
2081
|
+
key: string;
|
|
2082
|
+
slateOid: bigint;
|
|
2083
|
+
hash: string;
|
|
2084
|
+
protocolVersion: string;
|
|
2085
|
+
providerInfo: PrismaJson.SlateProviderInfo;
|
|
2086
|
+
configSchema: PrismaJson.SlateConfigSchema;
|
|
2087
|
+
authMethods: PrismaJson.SlateAuthMethods;
|
|
2088
|
+
actions: PrismaJson.SlateActions;
|
|
2089
|
+
mostRecentVersionOid: bigint;
|
|
2090
|
+
} | null;
|
|
2091
|
+
} & {
|
|
2092
|
+
oid: bigint;
|
|
2093
|
+
id: string;
|
|
2094
|
+
createdAt: Date;
|
|
2095
|
+
status: import("../../../apps/hub/prisma/generated/enums").SlateVersionStatus;
|
|
2096
|
+
slateOid: bigint;
|
|
2097
|
+
registryOid: bigint;
|
|
2098
|
+
updatedAt: Date;
|
|
2099
|
+
isCurrent: boolean;
|
|
2100
|
+
willBeCurrent: boolean;
|
|
2101
|
+
version: string;
|
|
2102
|
+
versionIdOnRegistry: string;
|
|
2103
|
+
versionIdentifierOnRegistry: string;
|
|
2104
|
+
manifest: PrismaJson.SlateJson;
|
|
2105
|
+
providerDeploymentInfo: PrismaJson.SlateDeploymentProviderDeploymentInfo;
|
|
2106
|
+
activeDeploymentOid: bigint | null;
|
|
2107
|
+
specificationOid: bigint | null;
|
|
2108
|
+
lastDiscoveredAt: Date | null;
|
|
2109
|
+
}) | null;
|
|
2110
|
+
} & {
|
|
2111
|
+
name: string;
|
|
2112
|
+
identifier: string;
|
|
2113
|
+
oid: bigint;
|
|
2114
|
+
id: string;
|
|
2115
|
+
createdAt: Date;
|
|
2116
|
+
status: import("../../../apps/hub/prisma/generated/enums").SlateStatus;
|
|
2117
|
+
description: string | null;
|
|
2118
|
+
registryOid: bigint;
|
|
2119
|
+
currentVersionOid: bigint | null;
|
|
2120
|
+
slateScopeIdentifierOnRegistry: string;
|
|
2121
|
+
slateScopeIdOnRegistry: string;
|
|
2122
|
+
slateFullIdentifierOnRegistry: string;
|
|
2123
|
+
slateIdentifierOnRegistry: string;
|
|
2124
|
+
slateIdOnRegistry: string;
|
|
2125
|
+
updatedAt: Date;
|
|
2126
|
+
};
|
|
2127
|
+
}>;
|
|
2128
|
+
};
|
|
2129
|
+
slateInstance: {
|
|
2130
|
+
list: import("@lowerdeck/rpc-server").Handler<Partial<Pick<{
|
|
2131
|
+
tenantId: string;
|
|
2132
|
+
slateIds: string[] | undefined;
|
|
2133
|
+
}, "slateIds">> & {
|
|
2134
|
+
tenantId: string;
|
|
2135
|
+
} & {
|
|
2136
|
+
limit?: number;
|
|
2137
|
+
after?: string;
|
|
2138
|
+
before?: string;
|
|
2139
|
+
cursor?: string;
|
|
2140
|
+
order?: "asc" | "desc";
|
|
2141
|
+
}, {
|
|
2142
|
+
__typename: string;
|
|
2143
|
+
items: {
|
|
2144
|
+
object: string;
|
|
2145
|
+
id: string;
|
|
2146
|
+
slateId: string;
|
|
2147
|
+
lockedSlateVersionId: string | null;
|
|
2148
|
+
config: PrismaJson.AnyRecord;
|
|
2149
|
+
error: {
|
|
2150
|
+
code: string;
|
|
2151
|
+
message: string;
|
|
2152
|
+
} | null;
|
|
2153
|
+
createdAt: Date;
|
|
2154
|
+
updatedAt: Date;
|
|
2003
2155
|
}[];
|
|
2004
2156
|
pagination: {
|
|
2005
2157
|
has_more_after: boolean;
|
|
@@ -2144,6 +2296,30 @@ export declare let createSlatesHubInternalClient: (o: ClientOpts) => import("@lo
|
|
|
2144
2296
|
defaultAuthConfigOid: bigint | null;
|
|
2145
2297
|
};
|
|
2146
2298
|
}>;
|
|
2299
|
+
getMany: import("@lowerdeck/rpc-server").Handler<import("@lowerdeck/validation/dist/validators").UndefinedIsOptional<{
|
|
2300
|
+
tenantId: string;
|
|
2301
|
+
slateInstanceIds: string[];
|
|
2302
|
+
}>, {
|
|
2303
|
+
object: string;
|
|
2304
|
+
id: string;
|
|
2305
|
+
slateId: string;
|
|
2306
|
+
lockedSlateVersionId: string | null;
|
|
2307
|
+
config: PrismaJson.AnyRecord;
|
|
2308
|
+
error: {
|
|
2309
|
+
code: string;
|
|
2310
|
+
message: string;
|
|
2311
|
+
} | null;
|
|
2312
|
+
createdAt: Date;
|
|
2313
|
+
updatedAt: Date;
|
|
2314
|
+
}[], {
|
|
2315
|
+
tenant: {} & {
|
|
2316
|
+
name: string;
|
|
2317
|
+
identifier: string;
|
|
2318
|
+
oid: bigint;
|
|
2319
|
+
id: string;
|
|
2320
|
+
createdAt: Date;
|
|
2321
|
+
};
|
|
2322
|
+
}>;
|
|
2147
2323
|
};
|
|
2148
2324
|
slateOAuthCredentials: {
|
|
2149
2325
|
list: import("@lowerdeck/rpc-server").Handler<Partial<Pick<{
|
|
@@ -2265,6 +2441,26 @@ export declare let createSlatesHubInternalClient: (o: ClientOpts) => import("@lo
|
|
|
2265
2441
|
secretOid: bigint;
|
|
2266
2442
|
};
|
|
2267
2443
|
}>;
|
|
2444
|
+
getMany: import("@lowerdeck/rpc-server").Handler<import("@lowerdeck/validation/dist/validators").UndefinedIsOptional<{
|
|
2445
|
+
tenantId: string;
|
|
2446
|
+
slateOAuthCredentialsIds: string[];
|
|
2447
|
+
}>, {
|
|
2448
|
+
object: string;
|
|
2449
|
+
id: string;
|
|
2450
|
+
slateId: string;
|
|
2451
|
+
clientId: string;
|
|
2452
|
+
scopes: string[];
|
|
2453
|
+
createdAt: Date;
|
|
2454
|
+
updatedAt: Date;
|
|
2455
|
+
}[], {
|
|
2456
|
+
tenant: {} & {
|
|
2457
|
+
name: string;
|
|
2458
|
+
identifier: string;
|
|
2459
|
+
oid: bigint;
|
|
2460
|
+
id: string;
|
|
2461
|
+
createdAt: Date;
|
|
2462
|
+
};
|
|
2463
|
+
}>;
|
|
2268
2464
|
};
|
|
2269
2465
|
slateOAuthSetup: {
|
|
2270
2466
|
list: import("@lowerdeck/rpc-server").Handler<Partial<Pick<{
|
|
@@ -2787,6 +2983,99 @@ export declare let createSlatesHubInternalClient: (o: ClientOpts) => import("@lo
|
|
|
2787
2983
|
slateAuthConfigOid: bigint | null;
|
|
2788
2984
|
};
|
|
2789
2985
|
}>;
|
|
2986
|
+
getMany: import("@lowerdeck/rpc-server").Handler<import("@lowerdeck/validation/dist/validators").UndefinedIsOptional<{
|
|
2987
|
+
tenantId: string;
|
|
2988
|
+
slateOAuthSetupIds: string[];
|
|
2989
|
+
}>, {
|
|
2990
|
+
object: string;
|
|
2991
|
+
id: string;
|
|
2992
|
+
slateId: string;
|
|
2993
|
+
status: import("../../../apps/hub/prisma/generated/enums").SlateInstanceOAuthSetupStatus;
|
|
2994
|
+
redirectUrl: string;
|
|
2995
|
+
url: string | null;
|
|
2996
|
+
error: {
|
|
2997
|
+
code: string;
|
|
2998
|
+
message: string;
|
|
2999
|
+
} | null;
|
|
3000
|
+
credentials: {
|
|
3001
|
+
object: string;
|
|
3002
|
+
id: string;
|
|
3003
|
+
slateId: string;
|
|
3004
|
+
clientId: string;
|
|
3005
|
+
scopes: string[];
|
|
3006
|
+
createdAt: Date;
|
|
3007
|
+
updatedAt: Date;
|
|
3008
|
+
};
|
|
3009
|
+
authConfig: {
|
|
3010
|
+
object: string;
|
|
3011
|
+
id: string;
|
|
3012
|
+
slateId: string;
|
|
3013
|
+
status: "active" | "failed" | "processing";
|
|
3014
|
+
error: {
|
|
3015
|
+
code: string;
|
|
3016
|
+
message: string;
|
|
3017
|
+
} | null;
|
|
3018
|
+
profile: {
|
|
3019
|
+
id: string | null;
|
|
3020
|
+
email: string | null;
|
|
3021
|
+
name: string | null;
|
|
3022
|
+
data: PrismaJson.AuthProfile;
|
|
3023
|
+
} | null;
|
|
3024
|
+
authMethod: {
|
|
3025
|
+
object: string;
|
|
3026
|
+
id: string;
|
|
3027
|
+
slateId: string;
|
|
3028
|
+
identifier: string;
|
|
3029
|
+
name: string;
|
|
3030
|
+
key: string;
|
|
3031
|
+
type: import("../../../apps/hub/prisma/generated/enums").SlateAuthMethodType;
|
|
3032
|
+
capabilities: {
|
|
3033
|
+
getDefaultInput?: {
|
|
3034
|
+
enabled: boolean;
|
|
3035
|
+
} | undefined;
|
|
3036
|
+
handleChangedInput?: {
|
|
3037
|
+
enabled: boolean;
|
|
3038
|
+
} | undefined;
|
|
3039
|
+
handleTokenRefresh?: {
|
|
3040
|
+
enabled: boolean;
|
|
3041
|
+
} | undefined;
|
|
3042
|
+
getProfile?: {
|
|
3043
|
+
enabled: boolean;
|
|
3044
|
+
} | undefined;
|
|
3045
|
+
};
|
|
3046
|
+
inputSchema: Record<string, any>;
|
|
3047
|
+
outputSchema: Record<string, any>;
|
|
3048
|
+
scopes: {
|
|
3049
|
+
id: string;
|
|
3050
|
+
title: string;
|
|
3051
|
+
description?: string | undefined;
|
|
3052
|
+
}[] | undefined;
|
|
3053
|
+
createdAt: Date;
|
|
3054
|
+
};
|
|
3055
|
+
oauthCredentials: {
|
|
3056
|
+
object: string;
|
|
3057
|
+
id: string;
|
|
3058
|
+
slateId: string;
|
|
3059
|
+
clientId: string;
|
|
3060
|
+
scopes: string[];
|
|
3061
|
+
createdAt: Date;
|
|
3062
|
+
updatedAt: Date;
|
|
3063
|
+
} | null;
|
|
3064
|
+
tokenExpiresAt: Date | null;
|
|
3065
|
+
createdAt: Date;
|
|
3066
|
+
updatedAt: Date;
|
|
3067
|
+
} | null;
|
|
3068
|
+
createdAt: Date;
|
|
3069
|
+
updatedAt: Date;
|
|
3070
|
+
}[], {
|
|
3071
|
+
tenant: {} & {
|
|
3072
|
+
name: string;
|
|
3073
|
+
identifier: string;
|
|
3074
|
+
oid: bigint;
|
|
3075
|
+
id: string;
|
|
3076
|
+
createdAt: Date;
|
|
3077
|
+
};
|
|
3078
|
+
}>;
|
|
2790
3079
|
};
|
|
2791
3080
|
slateAuthConfig: {
|
|
2792
3081
|
list: import("@lowerdeck/rpc-server").Handler<Partial<Pick<{
|
|
@@ -3101,6 +3390,76 @@ export declare let createSlatesHubInternalClient: (o: ClientOpts) => import("@lo
|
|
|
3101
3390
|
profileName: string | null;
|
|
3102
3391
|
};
|
|
3103
3392
|
}>;
|
|
3393
|
+
getMany: import("@lowerdeck/rpc-server").Handler<import("@lowerdeck/validation/dist/validators").UndefinedIsOptional<{
|
|
3394
|
+
tenantId: string;
|
|
3395
|
+
slateAuthConfigIds: string[];
|
|
3396
|
+
}>, {
|
|
3397
|
+
object: string;
|
|
3398
|
+
id: string;
|
|
3399
|
+
slateId: string;
|
|
3400
|
+
status: "active" | "failed" | "processing";
|
|
3401
|
+
error: {
|
|
3402
|
+
code: string;
|
|
3403
|
+
message: string;
|
|
3404
|
+
} | null;
|
|
3405
|
+
profile: {
|
|
3406
|
+
id: string | null;
|
|
3407
|
+
email: string | null;
|
|
3408
|
+
name: string | null;
|
|
3409
|
+
data: PrismaJson.AuthProfile;
|
|
3410
|
+
} | null;
|
|
3411
|
+
authMethod: {
|
|
3412
|
+
object: string;
|
|
3413
|
+
id: string;
|
|
3414
|
+
slateId: string;
|
|
3415
|
+
identifier: string;
|
|
3416
|
+
name: string;
|
|
3417
|
+
key: string;
|
|
3418
|
+
type: import("../../../apps/hub/prisma/generated/enums").SlateAuthMethodType;
|
|
3419
|
+
capabilities: {
|
|
3420
|
+
getDefaultInput?: {
|
|
3421
|
+
enabled: boolean;
|
|
3422
|
+
} | undefined;
|
|
3423
|
+
handleChangedInput?: {
|
|
3424
|
+
enabled: boolean;
|
|
3425
|
+
} | undefined;
|
|
3426
|
+
handleTokenRefresh?: {
|
|
3427
|
+
enabled: boolean;
|
|
3428
|
+
} | undefined;
|
|
3429
|
+
getProfile?: {
|
|
3430
|
+
enabled: boolean;
|
|
3431
|
+
} | undefined;
|
|
3432
|
+
};
|
|
3433
|
+
inputSchema: Record<string, any>;
|
|
3434
|
+
outputSchema: Record<string, any>;
|
|
3435
|
+
scopes: {
|
|
3436
|
+
id: string;
|
|
3437
|
+
title: string;
|
|
3438
|
+
description?: string | undefined;
|
|
3439
|
+
}[] | undefined;
|
|
3440
|
+
createdAt: Date;
|
|
3441
|
+
};
|
|
3442
|
+
oauthCredentials: {
|
|
3443
|
+
object: string;
|
|
3444
|
+
id: string;
|
|
3445
|
+
slateId: string;
|
|
3446
|
+
clientId: string;
|
|
3447
|
+
scopes: string[];
|
|
3448
|
+
createdAt: Date;
|
|
3449
|
+
updatedAt: Date;
|
|
3450
|
+
} | null;
|
|
3451
|
+
tokenExpiresAt: Date | null;
|
|
3452
|
+
createdAt: Date;
|
|
3453
|
+
updatedAt: Date;
|
|
3454
|
+
}[], {
|
|
3455
|
+
tenant: {} & {
|
|
3456
|
+
name: string;
|
|
3457
|
+
identifier: string;
|
|
3458
|
+
oid: bigint;
|
|
3459
|
+
id: string;
|
|
3460
|
+
createdAt: Date;
|
|
3461
|
+
};
|
|
3462
|
+
}>;
|
|
3104
3463
|
};
|
|
3105
3464
|
slateSession: {
|
|
3106
3465
|
list: import("@lowerdeck/rpc-server").Handler<Partial<Pick<{
|
|
@@ -3225,6 +3584,25 @@ export declare let createSlatesHubInternalClient: (o: ClientOpts) => import("@lo
|
|
|
3225
3584
|
lastActiveAt: Date | null;
|
|
3226
3585
|
};
|
|
3227
3586
|
}>;
|
|
3587
|
+
getMany: import("@lowerdeck/rpc-server").Handler<import("@lowerdeck/validation/dist/validators").UndefinedIsOptional<{
|
|
3588
|
+
tenantId: string;
|
|
3589
|
+
slateSessionIds: string[];
|
|
3590
|
+
}>, {
|
|
3591
|
+
object: string;
|
|
3592
|
+
id: string;
|
|
3593
|
+
slateId: string;
|
|
3594
|
+
slateInstanceId: string;
|
|
3595
|
+
createdAt: Date;
|
|
3596
|
+
lastActiveAt: Date | null;
|
|
3597
|
+
}[], {
|
|
3598
|
+
tenant: {} & {
|
|
3599
|
+
name: string;
|
|
3600
|
+
identifier: string;
|
|
3601
|
+
oid: bigint;
|
|
3602
|
+
id: string;
|
|
3603
|
+
createdAt: Date;
|
|
3604
|
+
};
|
|
3605
|
+
}>;
|
|
3228
3606
|
};
|
|
3229
3607
|
slateSessionToolCall: {
|
|
3230
3608
|
list: import("@lowerdeck/rpc-server").Handler<Partial<Pick<{
|
|
@@ -3507,6 +3885,30 @@ export declare let createSlatesHubInternalClient: (o: ClientOpts) => import("@lo
|
|
|
3507
3885
|
sessionOid: bigint;
|
|
3508
3886
|
};
|
|
3509
3887
|
}>;
|
|
3888
|
+
getMany: import("@lowerdeck/rpc-server").Handler<import("@lowerdeck/validation/dist/validators").UndefinedIsOptional<{
|
|
3889
|
+
tenantId: string;
|
|
3890
|
+
slateSessionToolCallIds: string[];
|
|
3891
|
+
}>, {
|
|
3892
|
+
object: string;
|
|
3893
|
+
id: string;
|
|
3894
|
+
sessionId: string;
|
|
3895
|
+
slateVersionId: string;
|
|
3896
|
+
action: {
|
|
3897
|
+
object: string;
|
|
3898
|
+
id: string;
|
|
3899
|
+
key: string;
|
|
3900
|
+
name: string;
|
|
3901
|
+
};
|
|
3902
|
+
createdAt: Date;
|
|
3903
|
+
}[], {
|
|
3904
|
+
tenant: {} & {
|
|
3905
|
+
name: string;
|
|
3906
|
+
identifier: string;
|
|
3907
|
+
oid: bigint;
|
|
3908
|
+
id: string;
|
|
3909
|
+
createdAt: Date;
|
|
3910
|
+
};
|
|
3911
|
+
}>;
|
|
3510
3912
|
};
|
|
3511
3913
|
}>;
|
|
3512
3914
|
//# sourceMappingURL=index.d.ts.map
|