@appconda/sdk 1.0.681 → 1.0.685
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/modules/emploid/schema.d.ts +1106 -21
- package/dist/modules/emploid/schema.js +699 -53
- package/dist/modules/emploid/service.d.ts +101 -15
- package/dist/modules/emploid/service.js +139 -1
- package/dist/modules/emploid/types.d.ts +727 -8
- package/dist/modules/emploid/types.js +1 -1
- package/package.json +1 -1
- package/publish.sh +34 -2
- package/src/modules/emploid/schema.ts +779 -60
- package/src/modules/emploid/service.ts +421 -15
- package/src/modules/emploid/types.ts +816 -9
|
@@ -326,6 +326,28 @@ export declare const ChangeAgentflowProjectSchema: z.ZodObject<{
|
|
|
326
326
|
export declare const ListAgentFlowsSchema: z.ZodObject<{
|
|
327
327
|
tenantId: z.ZodString;
|
|
328
328
|
}, z.core.$strip>;
|
|
329
|
+
export declare const CreateDataModelAgentFlowSchema: z.ZodObject<{
|
|
330
|
+
tenantId: z.ZodString;
|
|
331
|
+
dataModelId: z.ZodString;
|
|
332
|
+
name: z.ZodString;
|
|
333
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
334
|
+
}, z.core.$strip>;
|
|
335
|
+
export declare const ListDataModelAgentFlowsSchema: z.ZodObject<{
|
|
336
|
+
tenantId: z.ZodString;
|
|
337
|
+
dataModelId: z.ZodString;
|
|
338
|
+
}, z.core.$strip>;
|
|
339
|
+
export declare const UpdateDataModelAgentFlowSchema: z.ZodObject<{
|
|
340
|
+
tenantId: z.ZodString;
|
|
341
|
+
dataModelId: z.ZodString;
|
|
342
|
+
agentFlowId: z.ZodString;
|
|
343
|
+
name: z.ZodString;
|
|
344
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
345
|
+
}, z.core.$strip>;
|
|
346
|
+
export declare const DeleteDataModelAgentFlowSchema: z.ZodObject<{
|
|
347
|
+
tenantId: z.ZodString;
|
|
348
|
+
dataModelId: z.ZodString;
|
|
349
|
+
agentFlowId: z.ZodString;
|
|
350
|
+
}, z.core.$strip>;
|
|
329
351
|
export declare const CreateAgentFlowFolderSchema: z.ZodObject<{
|
|
330
352
|
tenantId: z.ZodString;
|
|
331
353
|
name: z.ZodString;
|
|
@@ -977,6 +999,10 @@ export declare const UpdateCollectionSchema: z.ZodObject<{
|
|
|
977
999
|
collectionId: z.ZodString;
|
|
978
1000
|
displayName: z.ZodOptional<z.ZodString>;
|
|
979
1001
|
description: z.ZodOptional<z.ZodString>;
|
|
1002
|
+
data: z.ZodOptional<z.ZodObject<{
|
|
1003
|
+
displayName: z.ZodOptional<z.ZodString>;
|
|
1004
|
+
description: z.ZodOptional<z.ZodString>;
|
|
1005
|
+
}, z.core.$strip>>;
|
|
980
1006
|
}, z.core.$strip>;
|
|
981
1007
|
export declare const DeleteCollectionSchema: z.ZodObject<{
|
|
982
1008
|
tenantId: z.ZodString;
|
|
@@ -1172,6 +1198,49 @@ export declare const PreviewCsvImportSchema: z.ZodObject<{
|
|
|
1172
1198
|
index: z.ZodNumber;
|
|
1173
1199
|
}, z.core.$strip>>;
|
|
1174
1200
|
rows: z.ZodOptional<z.ZodArray<z.ZodObject<{}, z.core.$catchall<z.ZodAny>>>>;
|
|
1201
|
+
fields: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1202
|
+
fieldId: z.ZodString;
|
|
1203
|
+
type: z.ZodString;
|
|
1204
|
+
displayName: z.ZodString;
|
|
1205
|
+
name: z.ZodString;
|
|
1206
|
+
required: z.ZodOptional<z.ZodBoolean>;
|
|
1207
|
+
config: z.ZodOptional<z.ZodObject<{}, z.core.$catchall<z.ZodAny>>>;
|
|
1208
|
+
fallbackReason: z.ZodOptional<z.ZodString>;
|
|
1209
|
+
mode: z.ZodOptional<z.ZodEnum<{
|
|
1210
|
+
field: "field";
|
|
1211
|
+
skip: "skip";
|
|
1212
|
+
relation: "relation";
|
|
1213
|
+
}>>;
|
|
1214
|
+
relation: z.ZodOptional<z.ZodObject<{
|
|
1215
|
+
targetCollectionId: z.ZodString;
|
|
1216
|
+
matchFieldName: z.ZodString;
|
|
1217
|
+
unmatchedPolicy: z.ZodEnum<{
|
|
1218
|
+
reject: "reject";
|
|
1219
|
+
ignore: "ignore";
|
|
1220
|
+
create: "create";
|
|
1221
|
+
}>;
|
|
1222
|
+
cardinality: z.ZodOptional<z.ZodEnum<{
|
|
1223
|
+
one: "one";
|
|
1224
|
+
many: "many";
|
|
1225
|
+
}>>;
|
|
1226
|
+
inverseCardinality: z.ZodOptional<z.ZodEnum<{
|
|
1227
|
+
one: "one";
|
|
1228
|
+
many: "many";
|
|
1229
|
+
}>>;
|
|
1230
|
+
inverseDisplayName: z.ZodOptional<z.ZodString>;
|
|
1231
|
+
separator: z.ZodOptional<z.ZodString>;
|
|
1232
|
+
}, z.core.$strip>>;
|
|
1233
|
+
}, z.core.$strip>>>;
|
|
1234
|
+
rowRepairs: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1235
|
+
rowIndex: z.ZodNumber;
|
|
1236
|
+
fieldId: z.ZodString;
|
|
1237
|
+
value: z.ZodAny;
|
|
1238
|
+
}, z.core.$strip>>>;
|
|
1239
|
+
invalidRowPolicy: z.ZodOptional<z.ZodEnum<{
|
|
1240
|
+
reject: "reject";
|
|
1241
|
+
"skip-row": "skip-row";
|
|
1242
|
+
"set-null": "set-null";
|
|
1243
|
+
}>>;
|
|
1175
1244
|
}, z.core.$strip>;
|
|
1176
1245
|
export declare const ListGmailImportSourcesSchema: z.ZodObject<{
|
|
1177
1246
|
tenantId: z.ZodString;
|
|
@@ -1221,7 +1290,41 @@ export declare const RunCsvImportSchema: z.ZodObject<{
|
|
|
1221
1290
|
required: z.ZodOptional<z.ZodBoolean>;
|
|
1222
1291
|
config: z.ZodOptional<z.ZodObject<{}, z.core.$catchall<z.ZodAny>>>;
|
|
1223
1292
|
fallbackReason: z.ZodOptional<z.ZodString>;
|
|
1293
|
+
mode: z.ZodOptional<z.ZodEnum<{
|
|
1294
|
+
field: "field";
|
|
1295
|
+
skip: "skip";
|
|
1296
|
+
relation: "relation";
|
|
1297
|
+
}>>;
|
|
1298
|
+
relation: z.ZodOptional<z.ZodObject<{
|
|
1299
|
+
targetCollectionId: z.ZodString;
|
|
1300
|
+
matchFieldName: z.ZodString;
|
|
1301
|
+
unmatchedPolicy: z.ZodEnum<{
|
|
1302
|
+
reject: "reject";
|
|
1303
|
+
ignore: "ignore";
|
|
1304
|
+
create: "create";
|
|
1305
|
+
}>;
|
|
1306
|
+
cardinality: z.ZodOptional<z.ZodEnum<{
|
|
1307
|
+
one: "one";
|
|
1308
|
+
many: "many";
|
|
1309
|
+
}>>;
|
|
1310
|
+
inverseCardinality: z.ZodOptional<z.ZodEnum<{
|
|
1311
|
+
one: "one";
|
|
1312
|
+
many: "many";
|
|
1313
|
+
}>>;
|
|
1314
|
+
inverseDisplayName: z.ZodOptional<z.ZodString>;
|
|
1315
|
+
separator: z.ZodOptional<z.ZodString>;
|
|
1316
|
+
}, z.core.$strip>>;
|
|
1224
1317
|
}, z.core.$strip>>;
|
|
1318
|
+
invalidRowPolicy: z.ZodOptional<z.ZodEnum<{
|
|
1319
|
+
reject: "reject";
|
|
1320
|
+
"skip-row": "skip-row";
|
|
1321
|
+
"set-null": "set-null";
|
|
1322
|
+
}>>;
|
|
1323
|
+
rowRepairs: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1324
|
+
rowIndex: z.ZodNumber;
|
|
1325
|
+
fieldId: z.ZodString;
|
|
1326
|
+
value: z.ZodAny;
|
|
1327
|
+
}, z.core.$strip>>>;
|
|
1225
1328
|
}, z.core.$strip>;
|
|
1226
1329
|
}, z.core.$strip>;
|
|
1227
1330
|
export declare const RunGmailImportSchema: z.ZodObject<{
|
|
@@ -1386,14 +1489,33 @@ export declare const RunTrelloImportSchema: z.ZodObject<{
|
|
|
1386
1489
|
}, z.core.$strip>>;
|
|
1387
1490
|
}, z.core.$strip>>;
|
|
1388
1491
|
}, z.core.$strip>;
|
|
1389
|
-
export declare const BulkUpdateRecordsSchema: z.ZodObject<{
|
|
1492
|
+
export declare const BulkUpdateRecordsSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
1390
1493
|
tenantId: z.ZodString;
|
|
1391
1494
|
collectionId: z.ZodString;
|
|
1495
|
+
actor: z.ZodOptional<z.ZodString>;
|
|
1392
1496
|
records: z.ZodArray<z.ZodObject<{
|
|
1393
1497
|
recordId: z.ZodString;
|
|
1394
1498
|
data: z.ZodObject<{}, z.core.$catchall<z.ZodAny>>;
|
|
1395
1499
|
}, z.core.$strip>>;
|
|
1396
|
-
|
|
1500
|
+
items: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1501
|
+
id: z.ZodOptional<z.ZodString>;
|
|
1502
|
+
recordId: z.ZodOptional<z.ZodString>;
|
|
1503
|
+
data: z.ZodObject<{}, z.core.$catchall<z.ZodAny>>;
|
|
1504
|
+
}, z.core.$strip>>>;
|
|
1505
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1506
|
+
tenantId: z.ZodString;
|
|
1507
|
+
collectionId: z.ZodString;
|
|
1508
|
+
actor: z.ZodOptional<z.ZodString>;
|
|
1509
|
+
records: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1510
|
+
recordId: z.ZodString;
|
|
1511
|
+
data: z.ZodObject<{}, z.core.$catchall<z.ZodAny>>;
|
|
1512
|
+
}, z.core.$strip>>>;
|
|
1513
|
+
items: z.ZodArray<z.ZodObject<{
|
|
1514
|
+
id: z.ZodOptional<z.ZodString>;
|
|
1515
|
+
recordId: z.ZodOptional<z.ZodString>;
|
|
1516
|
+
data: z.ZodObject<{}, z.core.$catchall<z.ZodAny>>;
|
|
1517
|
+
}, z.core.$strip>>;
|
|
1518
|
+
}, z.core.$strip>]>;
|
|
1397
1519
|
export declare const BulkDeleteRecordsSchema: z.ZodObject<{
|
|
1398
1520
|
tenantId: z.ZodString;
|
|
1399
1521
|
collectionId: z.ZodString;
|
|
@@ -1409,21 +1531,40 @@ export declare const QueryRecordsSchema: z.ZodObject<{
|
|
|
1409
1531
|
tenantId: z.ZodString;
|
|
1410
1532
|
collectionId: z.ZodString;
|
|
1411
1533
|
filter: z.ZodOptional<z.ZodObject<{}, z.core.$catchall<z.ZodAny>>>;
|
|
1412
|
-
fields: z.ZodOptional<z.ZodObject<{}, z.core.$catchall<z.ZodAny
|
|
1534
|
+
fields: z.ZodOptional<z.ZodUnion<readonly [z.ZodArray<z.ZodString>, z.ZodObject<{}, z.core.$catchall<z.ZodAny>>]>>;
|
|
1413
1535
|
sort: z.ZodOptional<z.ZodObject<{}, z.core.$catchall<z.ZodString>>>;
|
|
1414
1536
|
limit: z.ZodOptional<z.ZodNumber>;
|
|
1415
1537
|
offset: z.ZodOptional<z.ZodNumber>;
|
|
1538
|
+
query: z.ZodOptional<z.ZodObject<{
|
|
1539
|
+
where: z.ZodOptional<z.ZodObject<{}, z.core.$catchall<z.ZodAny>>>;
|
|
1540
|
+
filter: z.ZodOptional<z.ZodObject<{}, z.core.$catchall<z.ZodAny>>>;
|
|
1541
|
+
fields: z.ZodOptional<z.ZodUnion<readonly [z.ZodArray<z.ZodString>, z.ZodObject<{}, z.core.$catchall<z.ZodAny>>]>>;
|
|
1542
|
+
sort: z.ZodOptional<z.ZodObject<{}, z.core.$catchall<z.ZodString>>>;
|
|
1543
|
+
limit: z.ZodOptional<z.ZodNumber>;
|
|
1544
|
+
offset: z.ZodOptional<z.ZodNumber>;
|
|
1545
|
+
}, z.core.$strip>>;
|
|
1416
1546
|
}, z.core.$strip>;
|
|
1417
|
-
export declare const SearchRecordsSchema: z.ZodObject<{
|
|
1547
|
+
export declare const SearchRecordsSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
1418
1548
|
tenantId: z.ZodString;
|
|
1419
1549
|
collectionId: z.ZodString;
|
|
1550
|
+
fields: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1551
|
+
filter: z.ZodOptional<z.ZodObject<{}, z.core.$catchall<z.ZodAny>>>;
|
|
1552
|
+
sort: z.ZodOptional<z.ZodObject<{}, z.core.$catchall<z.ZodString>>>;
|
|
1553
|
+
limit: z.ZodOptional<z.ZodNumber>;
|
|
1554
|
+
offset: z.ZodOptional<z.ZodNumber>;
|
|
1420
1555
|
query: z.ZodString;
|
|
1556
|
+
q: z.ZodOptional<z.ZodString>;
|
|
1557
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1558
|
+
tenantId: z.ZodString;
|
|
1559
|
+
collectionId: z.ZodString;
|
|
1421
1560
|
fields: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1422
1561
|
filter: z.ZodOptional<z.ZodObject<{}, z.core.$catchall<z.ZodAny>>>;
|
|
1423
1562
|
sort: z.ZodOptional<z.ZodObject<{}, z.core.$catchall<z.ZodString>>>;
|
|
1424
1563
|
limit: z.ZodOptional<z.ZodNumber>;
|
|
1425
1564
|
offset: z.ZodOptional<z.ZodNumber>;
|
|
1426
|
-
|
|
1565
|
+
query: z.ZodOptional<z.ZodString>;
|
|
1566
|
+
q: z.ZodString;
|
|
1567
|
+
}, z.core.$strip>]>;
|
|
1427
1568
|
export declare const CountRecordsSchema: z.ZodObject<{
|
|
1428
1569
|
tenantId: z.ZodString;
|
|
1429
1570
|
collectionId: z.ZodString;
|
|
@@ -1454,6 +1595,99 @@ export declare const DistinctFieldValuesSchema: z.ZodObject<{
|
|
|
1454
1595
|
filter: z.ZodOptional<z.ZodObject<{}, z.core.$catchall<z.ZodAny>>>;
|
|
1455
1596
|
limit: z.ZodOptional<z.ZodNumber>;
|
|
1456
1597
|
}, z.core.$strip>;
|
|
1598
|
+
export declare const CollectionDerivedConditionSchema: z.ZodObject<{
|
|
1599
|
+
fieldId: z.ZodString;
|
|
1600
|
+
fieldName: z.ZodOptional<z.ZodString>;
|
|
1601
|
+
operator: z.ZodEnum<{
|
|
1602
|
+
contains: "contains";
|
|
1603
|
+
eq: "eq";
|
|
1604
|
+
neq: "neq";
|
|
1605
|
+
"not-contains": "not-contains";
|
|
1606
|
+
gt: "gt";
|
|
1607
|
+
gte: "gte";
|
|
1608
|
+
lt: "lt";
|
|
1609
|
+
lte: "lte";
|
|
1610
|
+
"is-empty": "is-empty";
|
|
1611
|
+
"is-not-empty": "is-not-empty";
|
|
1612
|
+
}>;
|
|
1613
|
+
value: z.ZodOptional<z.ZodUnknown>;
|
|
1614
|
+
}, z.core.$strip>;
|
|
1615
|
+
export declare const CollectionFieldConfigSchema: z.ZodObject<{
|
|
1616
|
+
relationFieldId: z.ZodOptional<z.ZodString>;
|
|
1617
|
+
relationFieldName: z.ZodOptional<z.ZodString>;
|
|
1618
|
+
relationId: z.ZodOptional<z.ZodString>;
|
|
1619
|
+
targetCollectionId: z.ZodOptional<z.ZodString>;
|
|
1620
|
+
targetFieldId: z.ZodOptional<z.ZodString>;
|
|
1621
|
+
targetFieldName: z.ZodOptional<z.ZodString>;
|
|
1622
|
+
resultMode: z.ZodOptional<z.ZodEnum<{
|
|
1623
|
+
first: "first";
|
|
1624
|
+
list: "list";
|
|
1625
|
+
}>>;
|
|
1626
|
+
operation: z.ZodOptional<z.ZodEnum<{
|
|
1627
|
+
count: "count";
|
|
1628
|
+
"count-values": "count-values";
|
|
1629
|
+
"count-unique": "count-unique";
|
|
1630
|
+
sum: "sum";
|
|
1631
|
+
average: "average";
|
|
1632
|
+
min: "min";
|
|
1633
|
+
max: "max";
|
|
1634
|
+
}>>;
|
|
1635
|
+
condition: z.ZodOptional<z.ZodObject<{
|
|
1636
|
+
fieldId: z.ZodString;
|
|
1637
|
+
fieldName: z.ZodOptional<z.ZodString>;
|
|
1638
|
+
operator: z.ZodEnum<{
|
|
1639
|
+
contains: "contains";
|
|
1640
|
+
eq: "eq";
|
|
1641
|
+
neq: "neq";
|
|
1642
|
+
"not-contains": "not-contains";
|
|
1643
|
+
gt: "gt";
|
|
1644
|
+
gte: "gte";
|
|
1645
|
+
lt: "lt";
|
|
1646
|
+
lte: "lte";
|
|
1647
|
+
"is-empty": "is-empty";
|
|
1648
|
+
"is-not-empty": "is-not-empty";
|
|
1649
|
+
}>;
|
|
1650
|
+
value: z.ZodOptional<z.ZodUnknown>;
|
|
1651
|
+
}, z.core.$strip>>;
|
|
1652
|
+
maxItems: z.ZodOptional<z.ZodNumber>;
|
|
1653
|
+
min: z.ZodOptional<z.ZodNumber>;
|
|
1654
|
+
max: z.ZodOptional<z.ZodNumber>;
|
|
1655
|
+
precision: z.ZodOptional<z.ZodNumber>;
|
|
1656
|
+
mode: z.ZodOptional<z.ZodEnum<{
|
|
1657
|
+
typed: "typed";
|
|
1658
|
+
drawn: "drawn";
|
|
1659
|
+
both: "both";
|
|
1660
|
+
}>>;
|
|
1661
|
+
source: z.ZodOptional<z.ZodEnum<{
|
|
1662
|
+
users: "users";
|
|
1663
|
+
both: "both";
|
|
1664
|
+
organization: "organization";
|
|
1665
|
+
employees: "employees";
|
|
1666
|
+
}>>;
|
|
1667
|
+
includeInactive: z.ZodOptional<z.ZodBoolean>;
|
|
1668
|
+
}, z.core.$catchall<z.ZodAny>>;
|
|
1669
|
+
export declare const CollectionChecklistItemSchema: z.ZodObject<{
|
|
1670
|
+
id: z.ZodString;
|
|
1671
|
+
text: z.ZodString;
|
|
1672
|
+
checked: z.ZodBoolean;
|
|
1673
|
+
}, z.core.$strip>;
|
|
1674
|
+
export declare const CollectionSignatureValueSchema: z.ZodObject<{
|
|
1675
|
+
kind: z.ZodEnum<{
|
|
1676
|
+
typed: "typed";
|
|
1677
|
+
drawn: "drawn";
|
|
1678
|
+
}>;
|
|
1679
|
+
value: z.ZodString;
|
|
1680
|
+
signedAt: z.ZodString;
|
|
1681
|
+
signedBy: z.ZodString;
|
|
1682
|
+
}, z.core.$strip>;
|
|
1683
|
+
/** Browser/import input. signedAt and signedBy are server-managed output fields. */
|
|
1684
|
+
export declare const CollectionSignatureInputSchema: z.ZodObject<{
|
|
1685
|
+
value: z.ZodString;
|
|
1686
|
+
kind: z.ZodEnum<{
|
|
1687
|
+
typed: "typed";
|
|
1688
|
+
drawn: "drawn";
|
|
1689
|
+
}>;
|
|
1690
|
+
}, z.core.$strip>;
|
|
1457
1691
|
export declare const CreateCollectionFieldSchema: z.ZodObject<{
|
|
1458
1692
|
tenantId: z.ZodString;
|
|
1459
1693
|
dataModelId: z.ZodString;
|
|
@@ -1462,7 +1696,60 @@ export declare const CreateCollectionFieldSchema: z.ZodObject<{
|
|
|
1462
1696
|
displayName: z.ZodString;
|
|
1463
1697
|
type: z.ZodString;
|
|
1464
1698
|
required: z.ZodOptional<z.ZodBoolean>;
|
|
1465
|
-
config: z.ZodOptional<z.ZodObject<{
|
|
1699
|
+
config: z.ZodOptional<z.ZodObject<{
|
|
1700
|
+
relationFieldId: z.ZodOptional<z.ZodString>;
|
|
1701
|
+
relationFieldName: z.ZodOptional<z.ZodString>;
|
|
1702
|
+
relationId: z.ZodOptional<z.ZodString>;
|
|
1703
|
+
targetCollectionId: z.ZodOptional<z.ZodString>;
|
|
1704
|
+
targetFieldId: z.ZodOptional<z.ZodString>;
|
|
1705
|
+
targetFieldName: z.ZodOptional<z.ZodString>;
|
|
1706
|
+
resultMode: z.ZodOptional<z.ZodEnum<{
|
|
1707
|
+
first: "first";
|
|
1708
|
+
list: "list";
|
|
1709
|
+
}>>;
|
|
1710
|
+
operation: z.ZodOptional<z.ZodEnum<{
|
|
1711
|
+
count: "count";
|
|
1712
|
+
"count-values": "count-values";
|
|
1713
|
+
"count-unique": "count-unique";
|
|
1714
|
+
sum: "sum";
|
|
1715
|
+
average: "average";
|
|
1716
|
+
min: "min";
|
|
1717
|
+
max: "max";
|
|
1718
|
+
}>>;
|
|
1719
|
+
condition: z.ZodOptional<z.ZodObject<{
|
|
1720
|
+
fieldId: z.ZodString;
|
|
1721
|
+
fieldName: z.ZodOptional<z.ZodString>;
|
|
1722
|
+
operator: z.ZodEnum<{
|
|
1723
|
+
contains: "contains";
|
|
1724
|
+
eq: "eq";
|
|
1725
|
+
neq: "neq";
|
|
1726
|
+
"not-contains": "not-contains";
|
|
1727
|
+
gt: "gt";
|
|
1728
|
+
gte: "gte";
|
|
1729
|
+
lt: "lt";
|
|
1730
|
+
lte: "lte";
|
|
1731
|
+
"is-empty": "is-empty";
|
|
1732
|
+
"is-not-empty": "is-not-empty";
|
|
1733
|
+
}>;
|
|
1734
|
+
value: z.ZodOptional<z.ZodUnknown>;
|
|
1735
|
+
}, z.core.$strip>>;
|
|
1736
|
+
maxItems: z.ZodOptional<z.ZodNumber>;
|
|
1737
|
+
min: z.ZodOptional<z.ZodNumber>;
|
|
1738
|
+
max: z.ZodOptional<z.ZodNumber>;
|
|
1739
|
+
precision: z.ZodOptional<z.ZodNumber>;
|
|
1740
|
+
mode: z.ZodOptional<z.ZodEnum<{
|
|
1741
|
+
typed: "typed";
|
|
1742
|
+
drawn: "drawn";
|
|
1743
|
+
both: "both";
|
|
1744
|
+
}>>;
|
|
1745
|
+
source: z.ZodOptional<z.ZodEnum<{
|
|
1746
|
+
users: "users";
|
|
1747
|
+
both: "both";
|
|
1748
|
+
organization: "organization";
|
|
1749
|
+
employees: "employees";
|
|
1750
|
+
}>>;
|
|
1751
|
+
includeInactive: z.ZodOptional<z.ZodBoolean>;
|
|
1752
|
+
}, z.core.$catchall<z.ZodAny>>>;
|
|
1466
1753
|
order: z.ZodOptional<z.ZodNumber>;
|
|
1467
1754
|
}, z.core.$strip>;
|
|
1468
1755
|
export declare const UpdateCollectionFieldSchema: z.ZodObject<{
|
|
@@ -1472,7 +1759,60 @@ export declare const UpdateCollectionFieldSchema: z.ZodObject<{
|
|
|
1472
1759
|
displayName: z.ZodOptional<z.ZodString>;
|
|
1473
1760
|
type: z.ZodOptional<z.ZodString>;
|
|
1474
1761
|
required: z.ZodOptional<z.ZodBoolean>;
|
|
1475
|
-
config: z.ZodOptional<z.ZodObject<{
|
|
1762
|
+
config: z.ZodOptional<z.ZodObject<{
|
|
1763
|
+
relationFieldId: z.ZodOptional<z.ZodString>;
|
|
1764
|
+
relationFieldName: z.ZodOptional<z.ZodString>;
|
|
1765
|
+
relationId: z.ZodOptional<z.ZodString>;
|
|
1766
|
+
targetCollectionId: z.ZodOptional<z.ZodString>;
|
|
1767
|
+
targetFieldId: z.ZodOptional<z.ZodString>;
|
|
1768
|
+
targetFieldName: z.ZodOptional<z.ZodString>;
|
|
1769
|
+
resultMode: z.ZodOptional<z.ZodEnum<{
|
|
1770
|
+
first: "first";
|
|
1771
|
+
list: "list";
|
|
1772
|
+
}>>;
|
|
1773
|
+
operation: z.ZodOptional<z.ZodEnum<{
|
|
1774
|
+
count: "count";
|
|
1775
|
+
"count-values": "count-values";
|
|
1776
|
+
"count-unique": "count-unique";
|
|
1777
|
+
sum: "sum";
|
|
1778
|
+
average: "average";
|
|
1779
|
+
min: "min";
|
|
1780
|
+
max: "max";
|
|
1781
|
+
}>>;
|
|
1782
|
+
condition: z.ZodOptional<z.ZodObject<{
|
|
1783
|
+
fieldId: z.ZodString;
|
|
1784
|
+
fieldName: z.ZodOptional<z.ZodString>;
|
|
1785
|
+
operator: z.ZodEnum<{
|
|
1786
|
+
contains: "contains";
|
|
1787
|
+
eq: "eq";
|
|
1788
|
+
neq: "neq";
|
|
1789
|
+
"not-contains": "not-contains";
|
|
1790
|
+
gt: "gt";
|
|
1791
|
+
gte: "gte";
|
|
1792
|
+
lt: "lt";
|
|
1793
|
+
lte: "lte";
|
|
1794
|
+
"is-empty": "is-empty";
|
|
1795
|
+
"is-not-empty": "is-not-empty";
|
|
1796
|
+
}>;
|
|
1797
|
+
value: z.ZodOptional<z.ZodUnknown>;
|
|
1798
|
+
}, z.core.$strip>>;
|
|
1799
|
+
maxItems: z.ZodOptional<z.ZodNumber>;
|
|
1800
|
+
min: z.ZodOptional<z.ZodNumber>;
|
|
1801
|
+
max: z.ZodOptional<z.ZodNumber>;
|
|
1802
|
+
precision: z.ZodOptional<z.ZodNumber>;
|
|
1803
|
+
mode: z.ZodOptional<z.ZodEnum<{
|
|
1804
|
+
typed: "typed";
|
|
1805
|
+
drawn: "drawn";
|
|
1806
|
+
both: "both";
|
|
1807
|
+
}>>;
|
|
1808
|
+
source: z.ZodOptional<z.ZodEnum<{
|
|
1809
|
+
users: "users";
|
|
1810
|
+
both: "both";
|
|
1811
|
+
organization: "organization";
|
|
1812
|
+
employees: "employees";
|
|
1813
|
+
}>>;
|
|
1814
|
+
includeInactive: z.ZodOptional<z.ZodBoolean>;
|
|
1815
|
+
}, z.core.$catchall<z.ZodAny>>>;
|
|
1476
1816
|
order: z.ZodOptional<z.ZodNumber>;
|
|
1477
1817
|
}, z.core.$strip>;
|
|
1478
1818
|
export declare const DeleteCollectionFieldSchema: z.ZodObject<{
|
|
@@ -1501,20 +1841,23 @@ export declare const CreateCollectionAutomationRuleSchema: z.ZodObject<{
|
|
|
1501
1841
|
}>;
|
|
1502
1842
|
triggerConfig: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
1503
1843
|
updatedFieldId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1844
|
+
cron: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1845
|
+
timezone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1846
|
+
maxRecords: z.ZodOptional<z.ZodNumber>;
|
|
1504
1847
|
}, z.core.$strip>>>;
|
|
1505
1848
|
conditions: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1506
1849
|
id: z.ZodString;
|
|
1507
1850
|
fieldId: z.ZodString;
|
|
1508
1851
|
operator: z.ZodEnum<{
|
|
1509
1852
|
contains: "contains";
|
|
1510
|
-
is: "is";
|
|
1511
|
-
"is-not": "is-not";
|
|
1512
1853
|
"is-empty": "is-empty";
|
|
1513
1854
|
"is-not-empty": "is-not-empty";
|
|
1855
|
+
is: "is";
|
|
1856
|
+
"is-not": "is-not";
|
|
1514
1857
|
}>;
|
|
1515
1858
|
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>, z.ZodBoolean, z.ZodNull]>>;
|
|
1516
1859
|
}, z.core.$strip>>>;
|
|
1517
|
-
actions: z.ZodArray<z.
|
|
1860
|
+
actions: z.ZodArray<z.ZodType<Record<string, unknown>, unknown, z.core.$ZodTypeInternals<Record<string, unknown>, unknown>>>;
|
|
1518
1861
|
}, z.core.$strip>;
|
|
1519
1862
|
export declare const UpdateCollectionAutomationRuleSchema: z.ZodObject<{
|
|
1520
1863
|
tenantId: z.ZodString;
|
|
@@ -1532,26 +1875,54 @@ export declare const UpdateCollectionAutomationRuleSchema: z.ZodObject<{
|
|
|
1532
1875
|
}>>;
|
|
1533
1876
|
triggerConfig: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
1534
1877
|
updatedFieldId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1878
|
+
cron: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1879
|
+
timezone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1880
|
+
maxRecords: z.ZodOptional<z.ZodNumber>;
|
|
1535
1881
|
}, z.core.$strip>>>;
|
|
1536
1882
|
conditions: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1537
1883
|
id: z.ZodString;
|
|
1538
1884
|
fieldId: z.ZodString;
|
|
1539
1885
|
operator: z.ZodEnum<{
|
|
1540
1886
|
contains: "contains";
|
|
1541
|
-
is: "is";
|
|
1542
|
-
"is-not": "is-not";
|
|
1543
1887
|
"is-empty": "is-empty";
|
|
1544
1888
|
"is-not-empty": "is-not-empty";
|
|
1889
|
+
is: "is";
|
|
1890
|
+
"is-not": "is-not";
|
|
1545
1891
|
}>;
|
|
1546
1892
|
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>, z.ZodBoolean, z.ZodNull]>>;
|
|
1547
1893
|
}, z.core.$strip>>>;
|
|
1548
|
-
actions: z.ZodOptional<z.ZodArray<z.
|
|
1894
|
+
actions: z.ZodOptional<z.ZodArray<z.ZodType<Record<string, unknown>, unknown, z.core.$ZodTypeInternals<Record<string, unknown>, unknown>>>>;
|
|
1549
1895
|
}, z.core.$strip>;
|
|
1550
1896
|
export declare const DeleteCollectionAutomationRuleSchema: z.ZodObject<{
|
|
1551
1897
|
tenantId: z.ZodString;
|
|
1552
1898
|
collectionId: z.ZodString;
|
|
1553
1899
|
ruleId: z.ZodString;
|
|
1554
1900
|
}, z.core.$strip>;
|
|
1901
|
+
export declare const ListCollectionAutomationExecutionsSchema: z.ZodObject<{
|
|
1902
|
+
tenantId: z.ZodString;
|
|
1903
|
+
collectionId: z.ZodOptional<z.ZodString>;
|
|
1904
|
+
ruleId: z.ZodOptional<z.ZodString>;
|
|
1905
|
+
status: z.ZodOptional<z.ZodEnum<{
|
|
1906
|
+
queued: "queued";
|
|
1907
|
+
running: "running";
|
|
1908
|
+
waiting_approval: "waiting_approval";
|
|
1909
|
+
succeeded: "succeeded";
|
|
1910
|
+
failed: "failed";
|
|
1911
|
+
skipped: "skipped";
|
|
1912
|
+
cancelled: "cancelled";
|
|
1913
|
+
}>>;
|
|
1914
|
+
cursor: z.ZodOptional<z.ZodString>;
|
|
1915
|
+
limit: z.ZodOptional<z.ZodNumber>;
|
|
1916
|
+
}, z.core.$strip>;
|
|
1917
|
+
export declare const DecideCollectionAutomationApprovalSchema: z.ZodObject<{
|
|
1918
|
+
tenantId: z.ZodString;
|
|
1919
|
+
approvalId: z.ZodString;
|
|
1920
|
+
decision: z.ZodEnum<{
|
|
1921
|
+
approved: "approved";
|
|
1922
|
+
rejected: "rejected";
|
|
1923
|
+
}>;
|
|
1924
|
+
note: z.ZodOptional<z.ZodString>;
|
|
1925
|
+
}, z.core.$strip>;
|
|
1555
1926
|
export declare const ListCollectionViewsSchema: z.ZodObject<{
|
|
1556
1927
|
tenantId: z.ZodString;
|
|
1557
1928
|
collectionId: z.ZodString;
|
|
@@ -1561,22 +1932,63 @@ export declare const CreateCollectionViewSchema: z.ZodObject<{
|
|
|
1561
1932
|
dataModelId: z.ZodString;
|
|
1562
1933
|
collectionId: z.ZodString;
|
|
1563
1934
|
name: z.ZodString;
|
|
1564
|
-
type: z.
|
|
1935
|
+
type: z.ZodEnum<{
|
|
1936
|
+
map: "map";
|
|
1937
|
+
grid: "grid";
|
|
1938
|
+
board: "board";
|
|
1939
|
+
calendar: "calendar";
|
|
1940
|
+
timeline: "timeline";
|
|
1941
|
+
tree: "tree";
|
|
1942
|
+
gallery: "gallery";
|
|
1943
|
+
document: "document";
|
|
1944
|
+
}>;
|
|
1565
1945
|
config: z.ZodObject<{}, z.core.$catchall<z.ZodAny>>;
|
|
1946
|
+
visibility: z.ZodOptional<z.ZodEnum<{
|
|
1947
|
+
shared: "shared";
|
|
1948
|
+
personal: "personal";
|
|
1949
|
+
}>>;
|
|
1566
1950
|
}, z.core.$strip>;
|
|
1567
1951
|
export declare const UpdateCollectionViewSchema: z.ZodObject<{
|
|
1568
1952
|
tenantId: z.ZodString;
|
|
1569
1953
|
collectionId: z.ZodString;
|
|
1570
1954
|
viewId: z.ZodString;
|
|
1571
1955
|
name: z.ZodOptional<z.ZodString>;
|
|
1572
|
-
type: z.ZodOptional<z.
|
|
1956
|
+
type: z.ZodOptional<z.ZodEnum<{
|
|
1957
|
+
map: "map";
|
|
1958
|
+
grid: "grid";
|
|
1959
|
+
board: "board";
|
|
1960
|
+
calendar: "calendar";
|
|
1961
|
+
timeline: "timeline";
|
|
1962
|
+
tree: "tree";
|
|
1963
|
+
gallery: "gallery";
|
|
1964
|
+
document: "document";
|
|
1965
|
+
}>>;
|
|
1573
1966
|
config: z.ZodOptional<z.ZodObject<{}, z.core.$catchall<z.ZodAny>>>;
|
|
1967
|
+
visibility: z.ZodOptional<z.ZodEnum<{
|
|
1968
|
+
shared: "shared";
|
|
1969
|
+
personal: "personal";
|
|
1970
|
+
}>>;
|
|
1574
1971
|
}, z.core.$strip>;
|
|
1575
1972
|
export declare const DeleteCollectionViewSchema: z.ZodObject<{
|
|
1576
1973
|
tenantId: z.ZodString;
|
|
1577
1974
|
collectionId: z.ZodString;
|
|
1578
1975
|
viewId: z.ZodString;
|
|
1579
1976
|
}, z.core.$strip>;
|
|
1977
|
+
export declare const UpsertCollectionViewPreferenceSchema: z.ZodObject<{
|
|
1978
|
+
tenantId: z.ZodString;
|
|
1979
|
+
collectionId: z.ZodString;
|
|
1980
|
+
viewId: z.ZodString;
|
|
1981
|
+
columns: z.ZodArray<z.ZodObject<{
|
|
1982
|
+
fieldName: z.ZodString;
|
|
1983
|
+
visible: z.ZodBoolean;
|
|
1984
|
+
width: z.ZodOptional<z.ZodNumber>;
|
|
1985
|
+
}, z.core.$strip>>;
|
|
1986
|
+
}, z.core.$strip>;
|
|
1987
|
+
export declare const DeleteCollectionViewPreferenceSchema: z.ZodObject<{
|
|
1988
|
+
tenantId: z.ZodString;
|
|
1989
|
+
collectionId: z.ZodString;
|
|
1990
|
+
viewId: z.ZodString;
|
|
1991
|
+
}, z.core.$strip>;
|
|
1580
1992
|
export declare const ListCollectionButtonsSchema: z.ZodObject<{
|
|
1581
1993
|
tenantId: z.ZodString;
|
|
1582
1994
|
collectionId: z.ZodOptional<z.ZodString>;
|
|
@@ -1672,14 +2084,23 @@ export declare const GetRecordRelationsSchema: z.ZodObject<{
|
|
|
1672
2084
|
collectionId: z.ZodString;
|
|
1673
2085
|
recordId: z.ZodString;
|
|
1674
2086
|
}, z.core.$strip>;
|
|
1675
|
-
export declare const ReorderCollectionFieldsSchema: z.ZodObject<{
|
|
2087
|
+
export declare const ReorderCollectionFieldsSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
1676
2088
|
tenantId: z.ZodString;
|
|
1677
2089
|
collectionId: z.ZodString;
|
|
1678
2090
|
fields: z.ZodArray<z.ZodObject<{
|
|
1679
2091
|
fieldId: z.ZodString;
|
|
1680
2092
|
order: z.ZodNumber;
|
|
1681
2093
|
}, z.core.$strip>>;
|
|
1682
|
-
|
|
2094
|
+
fieldIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2095
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2096
|
+
tenantId: z.ZodString;
|
|
2097
|
+
collectionId: z.ZodString;
|
|
2098
|
+
fields: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2099
|
+
fieldId: z.ZodString;
|
|
2100
|
+
order: z.ZodNumber;
|
|
2101
|
+
}, z.core.$strip>>>;
|
|
2102
|
+
fieldIds: z.ZodArray<z.ZodString>;
|
|
2103
|
+
}, z.core.$strip>]>;
|
|
1683
2104
|
export declare const GetCollectionSchemaSchema: z.ZodObject<{
|
|
1684
2105
|
tenantId: z.ZodString;
|
|
1685
2106
|
dataModelId: z.ZodString;
|
|
@@ -1703,27 +2124,291 @@ export declare const CheckRecordPermissionSchema: z.ZodObject<{
|
|
|
1703
2124
|
recordId: z.ZodString;
|
|
1704
2125
|
action: z.ZodString;
|
|
1705
2126
|
}, z.core.$strip>;
|
|
2127
|
+
export declare const CollectionAccessPolicyScopeTypeSchema: z.ZodEnum<{
|
|
2128
|
+
app: "app";
|
|
2129
|
+
field: "field";
|
|
2130
|
+
list: "list";
|
|
2131
|
+
}>;
|
|
2132
|
+
export declare const CollectionAccessPolicySubjectTypeSchema: z.ZodEnum<{
|
|
2133
|
+
user: "user";
|
|
2134
|
+
role: "role";
|
|
2135
|
+
team: "team";
|
|
2136
|
+
service: "service";
|
|
2137
|
+
}>;
|
|
2138
|
+
export declare const CollectionAccessPolicyEffectSchema: z.ZodEnum<{
|
|
2139
|
+
allow: "allow";
|
|
2140
|
+
deny: "deny";
|
|
2141
|
+
}>;
|
|
2142
|
+
export declare const CollectionAccessPolicyActionSchema: z.ZodEnum<{
|
|
2143
|
+
delete: "delete";
|
|
2144
|
+
create: "create";
|
|
2145
|
+
update: "update";
|
|
2146
|
+
read: "read";
|
|
2147
|
+
comment: "comment";
|
|
2148
|
+
assign: "assign";
|
|
2149
|
+
}>;
|
|
2150
|
+
export declare const CollectionAccessPolicyRowOperatorSchema: z.ZodEnum<{
|
|
2151
|
+
user: "user";
|
|
2152
|
+
team: "team";
|
|
2153
|
+
me: "me";
|
|
2154
|
+
"linked-record": "linked-record";
|
|
2155
|
+
}>;
|
|
2156
|
+
export declare const CollectionAccessPolicyRowFilterSchema: z.ZodObject<{
|
|
2157
|
+
match: z.ZodEnum<{
|
|
2158
|
+
any: "any";
|
|
2159
|
+
all: "all";
|
|
2160
|
+
}>;
|
|
2161
|
+
conditions: z.ZodArray<z.ZodObject<{
|
|
2162
|
+
fieldId: z.ZodString;
|
|
2163
|
+
operator: z.ZodEnum<{
|
|
2164
|
+
user: "user";
|
|
2165
|
+
team: "team";
|
|
2166
|
+
me: "me";
|
|
2167
|
+
"linked-record": "linked-record";
|
|
2168
|
+
}>;
|
|
2169
|
+
value: z.ZodOptional<z.ZodString>;
|
|
2170
|
+
}, z.core.$strip>>;
|
|
2171
|
+
}, z.core.$strip>;
|
|
2172
|
+
export declare const ListCollectionAccessPoliciesSchema: z.ZodObject<{
|
|
2173
|
+
tenantId: z.ZodString;
|
|
2174
|
+
dataModelId: z.ZodOptional<z.ZodString>;
|
|
2175
|
+
collectionId: z.ZodOptional<z.ZodString>;
|
|
2176
|
+
}, z.core.$strip>;
|
|
2177
|
+
export declare const UpsertCollectionAccessPolicySchema: z.ZodObject<{
|
|
2178
|
+
tenantId: z.ZodString;
|
|
2179
|
+
dataModelId: z.ZodString;
|
|
2180
|
+
policyId: z.ZodOptional<z.ZodString>;
|
|
2181
|
+
name: z.ZodString;
|
|
2182
|
+
scopeType: z.ZodEnum<{
|
|
2183
|
+
app: "app";
|
|
2184
|
+
field: "field";
|
|
2185
|
+
list: "list";
|
|
2186
|
+
}>;
|
|
2187
|
+
collectionId: z.ZodOptional<z.ZodString>;
|
|
2188
|
+
fieldId: z.ZodOptional<z.ZodString>;
|
|
2189
|
+
subjectType: z.ZodEnum<{
|
|
2190
|
+
user: "user";
|
|
2191
|
+
role: "role";
|
|
2192
|
+
team: "team";
|
|
2193
|
+
service: "service";
|
|
2194
|
+
}>;
|
|
2195
|
+
subjectId: z.ZodString;
|
|
2196
|
+
effect: z.ZodEnum<{
|
|
2197
|
+
allow: "allow";
|
|
2198
|
+
deny: "deny";
|
|
2199
|
+
}>;
|
|
2200
|
+
actions: z.ZodArray<z.ZodEnum<{
|
|
2201
|
+
delete: "delete";
|
|
2202
|
+
create: "create";
|
|
2203
|
+
update: "update";
|
|
2204
|
+
read: "read";
|
|
2205
|
+
comment: "comment";
|
|
2206
|
+
assign: "assign";
|
|
2207
|
+
}>>;
|
|
2208
|
+
rowFilter: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
2209
|
+
match: z.ZodEnum<{
|
|
2210
|
+
any: "any";
|
|
2211
|
+
all: "all";
|
|
2212
|
+
}>;
|
|
2213
|
+
conditions: z.ZodArray<z.ZodObject<{
|
|
2214
|
+
fieldId: z.ZodString;
|
|
2215
|
+
operator: z.ZodEnum<{
|
|
2216
|
+
user: "user";
|
|
2217
|
+
team: "team";
|
|
2218
|
+
me: "me";
|
|
2219
|
+
"linked-record": "linked-record";
|
|
2220
|
+
}>;
|
|
2221
|
+
value: z.ZodOptional<z.ZodString>;
|
|
2222
|
+
}, z.core.$strip>>;
|
|
2223
|
+
}, z.core.$strip>>>;
|
|
2224
|
+
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
2225
|
+
}, z.core.$strip>;
|
|
2226
|
+
export declare const DeleteCollectionAccessPolicySchema: z.ZodObject<{
|
|
2227
|
+
tenantId: z.ZodString;
|
|
2228
|
+
policyId: z.ZodString;
|
|
2229
|
+
}, z.core.$strip>;
|
|
2230
|
+
export declare const ListCollectionAccessTeamMembersSchema: z.ZodObject<{
|
|
2231
|
+
tenantId: z.ZodString;
|
|
2232
|
+
teamId: z.ZodString;
|
|
2233
|
+
}, z.core.$strip>;
|
|
2234
|
+
export declare const SetCollectionAccessTeamMembersSchema: z.ZodObject<{
|
|
2235
|
+
tenantId: z.ZodString;
|
|
2236
|
+
teamId: z.ZodString;
|
|
2237
|
+
userIds: z.ZodArray<z.ZodString>;
|
|
2238
|
+
}, z.core.$strip>;
|
|
2239
|
+
export declare const PreviewCollectionAccessPolicySchema: z.ZodObject<{
|
|
2240
|
+
tenantId: z.ZodString;
|
|
2241
|
+
dataModelId: z.ZodString;
|
|
2242
|
+
collectionId: z.ZodOptional<z.ZodString>;
|
|
2243
|
+
policy: z.ZodObject<{
|
|
2244
|
+
name: z.ZodString;
|
|
2245
|
+
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
2246
|
+
fieldId: z.ZodOptional<z.ZodString>;
|
|
2247
|
+
actions: z.ZodArray<z.ZodEnum<{
|
|
2248
|
+
delete: "delete";
|
|
2249
|
+
create: "create";
|
|
2250
|
+
update: "update";
|
|
2251
|
+
read: "read";
|
|
2252
|
+
comment: "comment";
|
|
2253
|
+
assign: "assign";
|
|
2254
|
+
}>>;
|
|
2255
|
+
scopeType: z.ZodEnum<{
|
|
2256
|
+
app: "app";
|
|
2257
|
+
field: "field";
|
|
2258
|
+
list: "list";
|
|
2259
|
+
}>;
|
|
2260
|
+
subjectType: z.ZodEnum<{
|
|
2261
|
+
user: "user";
|
|
2262
|
+
role: "role";
|
|
2263
|
+
team: "team";
|
|
2264
|
+
service: "service";
|
|
2265
|
+
}>;
|
|
2266
|
+
effect: z.ZodEnum<{
|
|
2267
|
+
allow: "allow";
|
|
2268
|
+
deny: "deny";
|
|
2269
|
+
}>;
|
|
2270
|
+
subjectId: z.ZodString;
|
|
2271
|
+
rowFilter: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
2272
|
+
match: z.ZodEnum<{
|
|
2273
|
+
any: "any";
|
|
2274
|
+
all: "all";
|
|
2275
|
+
}>;
|
|
2276
|
+
conditions: z.ZodArray<z.ZodObject<{
|
|
2277
|
+
fieldId: z.ZodString;
|
|
2278
|
+
operator: z.ZodEnum<{
|
|
2279
|
+
user: "user";
|
|
2280
|
+
team: "team";
|
|
2281
|
+
me: "me";
|
|
2282
|
+
"linked-record": "linked-record";
|
|
2283
|
+
}>;
|
|
2284
|
+
value: z.ZodOptional<z.ZodString>;
|
|
2285
|
+
}, z.core.$strip>>;
|
|
2286
|
+
}, z.core.$strip>>>;
|
|
2287
|
+
dataModelId: z.ZodOptional<z.ZodString>;
|
|
2288
|
+
collectionId: z.ZodOptional<z.ZodString>;
|
|
2289
|
+
}, z.core.$strip>;
|
|
2290
|
+
record: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
2291
|
+
}, z.core.$strip>;
|
|
2292
|
+
export declare const CreateCollectionCommentSchema: z.ZodObject<{
|
|
2293
|
+
tenantId: z.ZodString;
|
|
2294
|
+
collectionId: z.ZodString;
|
|
2295
|
+
recordId: z.ZodString;
|
|
2296
|
+
body: z.ZodString;
|
|
2297
|
+
parentId: z.ZodOptional<z.ZodString>;
|
|
2298
|
+
mentionUserIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2299
|
+
requestId: z.ZodOptional<z.ZodString>;
|
|
2300
|
+
}, z.core.$strip>;
|
|
2301
|
+
export declare const UpdateCollectionCommentSchema: z.ZodObject<{
|
|
2302
|
+
tenantId: z.ZodString;
|
|
2303
|
+
collectionId: z.ZodString;
|
|
2304
|
+
recordId: z.ZodString;
|
|
2305
|
+
commentId: z.ZodString;
|
|
2306
|
+
body: z.ZodString;
|
|
2307
|
+
mentionUserIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2308
|
+
requestId: z.ZodOptional<z.ZodString>;
|
|
2309
|
+
}, z.core.$strip>;
|
|
2310
|
+
export declare const DeleteCollectionCommentSchema: z.ZodObject<{
|
|
2311
|
+
tenantId: z.ZodString;
|
|
2312
|
+
collectionId: z.ZodString;
|
|
2313
|
+
recordId: z.ZodString;
|
|
2314
|
+
commentId: z.ZodString;
|
|
2315
|
+
requestId: z.ZodOptional<z.ZodString>;
|
|
2316
|
+
}, z.core.$strip>;
|
|
2317
|
+
export declare const ListCollectionCommentsSchema: z.ZodObject<{
|
|
2318
|
+
tenantId: z.ZodString;
|
|
2319
|
+
collectionId: z.ZodString;
|
|
2320
|
+
recordId: z.ZodString;
|
|
2321
|
+
limit: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
2322
|
+
offset: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
2323
|
+
}, z.core.$strip>;
|
|
2324
|
+
export declare const ListCollectionRecordActivitySchema: z.ZodObject<{
|
|
2325
|
+
tenantId: z.ZodString;
|
|
2326
|
+
collectionId: z.ZodString;
|
|
2327
|
+
recordId: z.ZodString;
|
|
2328
|
+
limit: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
2329
|
+
offset: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
2330
|
+
}, z.core.$strip>;
|
|
2331
|
+
export declare const ListCollectionRecordCollaboratorsSchema: z.ZodObject<{
|
|
2332
|
+
tenantId: z.ZodString;
|
|
2333
|
+
collectionId: z.ZodString;
|
|
2334
|
+
recordId: z.ZodString;
|
|
2335
|
+
}, z.core.$strip>;
|
|
2336
|
+
export declare const SetCollectionRecordCollaboratorsSchema: z.ZodObject<{
|
|
2337
|
+
tenantId: z.ZodString;
|
|
2338
|
+
collectionId: z.ZodString;
|
|
2339
|
+
recordId: z.ZodString;
|
|
2340
|
+
assigneeIds: z.ZodArray<z.ZodString>;
|
|
2341
|
+
watcherIds: z.ZodArray<z.ZodString>;
|
|
2342
|
+
requestId: z.ZodOptional<z.ZodString>;
|
|
2343
|
+
}, z.core.$strip>;
|
|
2344
|
+
export declare const ListCollectionNotificationsSchema: z.ZodObject<{
|
|
2345
|
+
tenantId: z.ZodString;
|
|
2346
|
+
limit: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
2347
|
+
offset: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
2348
|
+
unreadOnly: z.ZodOptional<z.ZodBoolean>;
|
|
2349
|
+
}, z.core.$strip>;
|
|
2350
|
+
export declare const MarkCollectionNotificationsReadSchema: z.ZodObject<{
|
|
2351
|
+
tenantId: z.ZodString;
|
|
2352
|
+
notificationIds: z.ZodArray<z.ZodString>;
|
|
2353
|
+
}, z.core.$strip>;
|
|
1706
2354
|
export declare const ListRecordPermissionsSchema: z.ZodObject<{
|
|
1707
2355
|
tenantId: z.ZodString;
|
|
1708
2356
|
collectionId: z.ZodString;
|
|
1709
2357
|
recordId: z.ZodString;
|
|
2358
|
+
actor: z.ZodOptional<z.ZodString>;
|
|
2359
|
+
subjectType: z.ZodOptional<z.ZodString>;
|
|
2360
|
+
subjectId: z.ZodOptional<z.ZodString>;
|
|
1710
2361
|
}, z.core.$strip>;
|
|
1711
|
-
export declare const GrantRecordPermissionSchema: z.ZodObject<{
|
|
2362
|
+
export declare const GrantRecordPermissionSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
1712
2363
|
tenantId: z.ZodString;
|
|
1713
2364
|
collectionId: z.ZodString;
|
|
1714
2365
|
recordId: z.ZodString;
|
|
1715
2366
|
subjectType: z.ZodString;
|
|
1716
2367
|
subjectId: z.ZodString;
|
|
1717
2368
|
actions: z.ZodArray<z.ZodString>;
|
|
1718
|
-
|
|
1719
|
-
|
|
2369
|
+
effect: z.ZodOptional<z.ZodEnum<{
|
|
2370
|
+
allow: "allow";
|
|
2371
|
+
deny: "deny";
|
|
2372
|
+
}>>;
|
|
2373
|
+
grantedBy: z.ZodOptional<z.ZodString>;
|
|
2374
|
+
actor: z.ZodOptional<z.ZodString>;
|
|
2375
|
+
action: z.ZodOptional<z.ZodString>;
|
|
2376
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2377
|
+
tenantId: z.ZodString;
|
|
2378
|
+
collectionId: z.ZodString;
|
|
2379
|
+
recordId: z.ZodString;
|
|
2380
|
+
actor: z.ZodString;
|
|
2381
|
+
action: z.ZodString;
|
|
2382
|
+
effect: z.ZodOptional<z.ZodEnum<{
|
|
2383
|
+
allow: "allow";
|
|
2384
|
+
deny: "deny";
|
|
2385
|
+
}>>;
|
|
2386
|
+
grantedBy: z.ZodOptional<z.ZodString>;
|
|
2387
|
+
subjectType: z.ZodOptional<z.ZodString>;
|
|
2388
|
+
subjectId: z.ZodOptional<z.ZodString>;
|
|
2389
|
+
actions: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2390
|
+
}, z.core.$strip>]>;
|
|
2391
|
+
export declare const RevokeRecordPermissionSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
1720
2392
|
tenantId: z.ZodString;
|
|
1721
2393
|
collectionId: z.ZodString;
|
|
1722
2394
|
recordId: z.ZodString;
|
|
1723
2395
|
subjectType: z.ZodString;
|
|
1724
2396
|
subjectId: z.ZodString;
|
|
1725
2397
|
actions: z.ZodArray<z.ZodString>;
|
|
1726
|
-
|
|
2398
|
+
revokedBy: z.ZodOptional<z.ZodString>;
|
|
2399
|
+
actor: z.ZodOptional<z.ZodString>;
|
|
2400
|
+
action: z.ZodOptional<z.ZodString>;
|
|
2401
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2402
|
+
tenantId: z.ZodString;
|
|
2403
|
+
collectionId: z.ZodString;
|
|
2404
|
+
recordId: z.ZodString;
|
|
2405
|
+
actor: z.ZodString;
|
|
2406
|
+
action: z.ZodString;
|
|
2407
|
+
revokedBy: z.ZodOptional<z.ZodString>;
|
|
2408
|
+
subjectType: z.ZodOptional<z.ZodString>;
|
|
2409
|
+
subjectId: z.ZodOptional<z.ZodString>;
|
|
2410
|
+
actions: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2411
|
+
}, z.core.$strip>]>;
|
|
1727
2412
|
export declare const CreateWikiPageSchema: z.ZodObject<{
|
|
1728
2413
|
tenantId: z.ZodString;
|
|
1729
2414
|
workspaceId: z.ZodString;
|
|
@@ -2313,3 +2998,403 @@ export declare const EnhanceTopicSchema: z.ZodObject<{
|
|
|
2313
2998
|
entityDescription: z.ZodString;
|
|
2314
2999
|
categories: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2315
3000
|
}, z.core.$strip>;
|
|
3001
|
+
export declare const CollectionFormLayoutFieldSchema: z.ZodObject<{
|
|
3002
|
+
fieldId: z.ZodString;
|
|
3003
|
+
label: z.ZodOptional<z.ZodString>;
|
|
3004
|
+
helpText: z.ZodOptional<z.ZodString>;
|
|
3005
|
+
placeholder: z.ZodOptional<z.ZodString>;
|
|
3006
|
+
required: z.ZodOptional<z.ZodBoolean>;
|
|
3007
|
+
width: z.ZodOptional<z.ZodEnum<{
|
|
3008
|
+
full: "full";
|
|
3009
|
+
half: "half";
|
|
3010
|
+
}>>;
|
|
3011
|
+
}, z.core.$strict>;
|
|
3012
|
+
export declare const CollectionFormLayoutSectionSchema: z.ZodObject<{
|
|
3013
|
+
id: z.ZodString;
|
|
3014
|
+
title: z.ZodOptional<z.ZodString>;
|
|
3015
|
+
description: z.ZodOptional<z.ZodString>;
|
|
3016
|
+
fields: z.ZodArray<z.ZodObject<{
|
|
3017
|
+
fieldId: z.ZodString;
|
|
3018
|
+
label: z.ZodOptional<z.ZodString>;
|
|
3019
|
+
helpText: z.ZodOptional<z.ZodString>;
|
|
3020
|
+
placeholder: z.ZodOptional<z.ZodString>;
|
|
3021
|
+
required: z.ZodOptional<z.ZodBoolean>;
|
|
3022
|
+
width: z.ZodOptional<z.ZodEnum<{
|
|
3023
|
+
full: "full";
|
|
3024
|
+
half: "half";
|
|
3025
|
+
}>>;
|
|
3026
|
+
}, z.core.$strict>>;
|
|
3027
|
+
}, z.core.$strict>;
|
|
3028
|
+
export declare const CollectionFormLayoutSchema: z.ZodObject<{
|
|
3029
|
+
sections: z.ZodArray<z.ZodObject<{
|
|
3030
|
+
id: z.ZodString;
|
|
3031
|
+
title: z.ZodOptional<z.ZodString>;
|
|
3032
|
+
description: z.ZodOptional<z.ZodString>;
|
|
3033
|
+
fields: z.ZodArray<z.ZodObject<{
|
|
3034
|
+
fieldId: z.ZodString;
|
|
3035
|
+
label: z.ZodOptional<z.ZodString>;
|
|
3036
|
+
helpText: z.ZodOptional<z.ZodString>;
|
|
3037
|
+
placeholder: z.ZodOptional<z.ZodString>;
|
|
3038
|
+
required: z.ZodOptional<z.ZodBoolean>;
|
|
3039
|
+
width: z.ZodOptional<z.ZodEnum<{
|
|
3040
|
+
full: "full";
|
|
3041
|
+
half: "half";
|
|
3042
|
+
}>>;
|
|
3043
|
+
}, z.core.$strict>>;
|
|
3044
|
+
}, z.core.$strict>>;
|
|
3045
|
+
}, z.core.$strict>;
|
|
3046
|
+
export declare const ListCollectionFormsSchema: z.ZodObject<{
|
|
3047
|
+
tenantId: z.ZodString;
|
|
3048
|
+
dataModelId: z.ZodString;
|
|
3049
|
+
collectionId: z.ZodString;
|
|
3050
|
+
}, z.core.$strip>;
|
|
3051
|
+
export declare const UpsertCollectionFormSchema: z.ZodObject<{
|
|
3052
|
+
tenantId: z.ZodString;
|
|
3053
|
+
dataModelId: z.ZodString;
|
|
3054
|
+
collectionId: z.ZodString;
|
|
3055
|
+
formId: z.ZodOptional<z.ZodString>;
|
|
3056
|
+
name: z.ZodString;
|
|
3057
|
+
description: z.ZodOptional<z.ZodString>;
|
|
3058
|
+
layout: z.ZodObject<{
|
|
3059
|
+
sections: z.ZodArray<z.ZodObject<{
|
|
3060
|
+
id: z.ZodString;
|
|
3061
|
+
title: z.ZodOptional<z.ZodString>;
|
|
3062
|
+
description: z.ZodOptional<z.ZodString>;
|
|
3063
|
+
fields: z.ZodArray<z.ZodObject<{
|
|
3064
|
+
fieldId: z.ZodString;
|
|
3065
|
+
label: z.ZodOptional<z.ZodString>;
|
|
3066
|
+
helpText: z.ZodOptional<z.ZodString>;
|
|
3067
|
+
placeholder: z.ZodOptional<z.ZodString>;
|
|
3068
|
+
required: z.ZodOptional<z.ZodBoolean>;
|
|
3069
|
+
width: z.ZodOptional<z.ZodEnum<{
|
|
3070
|
+
full: "full";
|
|
3071
|
+
half: "half";
|
|
3072
|
+
}>>;
|
|
3073
|
+
}, z.core.$strict>>;
|
|
3074
|
+
}, z.core.$strict>>;
|
|
3075
|
+
}, z.core.$strict>;
|
|
3076
|
+
submitLabel: z.ZodOptional<z.ZodString>;
|
|
3077
|
+
successMessage: z.ZodOptional<z.ZodString>;
|
|
3078
|
+
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
3079
|
+
rateLimitPerMinute: z.ZodOptional<z.ZodNumber>;
|
|
3080
|
+
maxSubmissions: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
3081
|
+
}, z.core.$strip>;
|
|
3082
|
+
export declare const ResolveCollectionFormSchema: z.ZodObject<{
|
|
3083
|
+
tenantId: z.ZodString;
|
|
3084
|
+
formId: z.ZodString;
|
|
3085
|
+
}, z.core.$strip>;
|
|
3086
|
+
export declare const SubmitCollectionFormSchema: z.ZodObject<{
|
|
3087
|
+
tenantId: z.ZodString;
|
|
3088
|
+
formId: z.ZodString;
|
|
3089
|
+
values: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
3090
|
+
submissionKey: z.ZodString;
|
|
3091
|
+
}, z.core.$strip>;
|
|
3092
|
+
export declare const PublishCollectionFormSchema: z.ZodObject<{
|
|
3093
|
+
tenantId: z.ZodString;
|
|
3094
|
+
formId: z.ZodString;
|
|
3095
|
+
expiresInDays: z.ZodOptional<z.ZodNumber>;
|
|
3096
|
+
}, z.core.$strip>;
|
|
3097
|
+
export declare const RevokeCollectionFormSchema: z.ZodObject<{
|
|
3098
|
+
tenantId: z.ZodString;
|
|
3099
|
+
formId: z.ZodString;
|
|
3100
|
+
}, z.core.$strip>;
|
|
3101
|
+
export declare const DeleteCollectionFormSchema: z.ZodObject<{
|
|
3102
|
+
tenantId: z.ZodString;
|
|
3103
|
+
formId: z.ZodString;
|
|
3104
|
+
}, z.core.$strip>;
|
|
3105
|
+
export declare const CollectionReportTypeSchema: z.ZodEnum<{
|
|
3106
|
+
table: "table";
|
|
3107
|
+
metric: "metric";
|
|
3108
|
+
chart: "chart";
|
|
3109
|
+
}>;
|
|
3110
|
+
export declare const CollectionReportVisibilitySchema: z.ZodEnum<{
|
|
3111
|
+
shared: "shared";
|
|
3112
|
+
personal: "personal";
|
|
3113
|
+
}>;
|
|
3114
|
+
export declare const CollectionReportTableConfigSchema: z.ZodObject<{
|
|
3115
|
+
filter: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
3116
|
+
fields: z.ZodArray<z.ZodString>;
|
|
3117
|
+
sort: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodEnum<{
|
|
3118
|
+
asc: "asc";
|
|
3119
|
+
desc: "desc";
|
|
3120
|
+
}>>>;
|
|
3121
|
+
limit: z.ZodOptional<z.ZodNumber>;
|
|
3122
|
+
}, z.core.$strict>;
|
|
3123
|
+
export declare const CollectionReportMetricConfigSchema: z.ZodObject<{
|
|
3124
|
+
filter: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
3125
|
+
aggregate: z.ZodEnum<{
|
|
3126
|
+
count: "count";
|
|
3127
|
+
sum: "sum";
|
|
3128
|
+
min: "min";
|
|
3129
|
+
max: "max";
|
|
3130
|
+
avg: "avg";
|
|
3131
|
+
}>;
|
|
3132
|
+
valueField: z.ZodOptional<z.ZodString>;
|
|
3133
|
+
limit: z.ZodOptional<z.ZodLiteral<1>>;
|
|
3134
|
+
}, z.core.$strict>;
|
|
3135
|
+
export declare const CollectionReportChartConfigSchema: z.ZodObject<{
|
|
3136
|
+
filter: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
3137
|
+
aggregate: z.ZodEnum<{
|
|
3138
|
+
count: "count";
|
|
3139
|
+
sum: "sum";
|
|
3140
|
+
min: "min";
|
|
3141
|
+
max: "max";
|
|
3142
|
+
avg: "avg";
|
|
3143
|
+
}>;
|
|
3144
|
+
valueField: z.ZodOptional<z.ZodString>;
|
|
3145
|
+
groupBy: z.ZodString;
|
|
3146
|
+
limit: z.ZodOptional<z.ZodNumber>;
|
|
3147
|
+
}, z.core.$strict>;
|
|
3148
|
+
export declare const UpsertCollectionReportSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
3149
|
+
tenantId: z.ZodString;
|
|
3150
|
+
dataModelId: z.ZodString;
|
|
3151
|
+
collectionId: z.ZodString;
|
|
3152
|
+
reportId: z.ZodOptional<z.ZodString>;
|
|
3153
|
+
name: z.ZodString;
|
|
3154
|
+
description: z.ZodOptional<z.ZodString>;
|
|
3155
|
+
visibility: z.ZodOptional<z.ZodEnum<{
|
|
3156
|
+
shared: "shared";
|
|
3157
|
+
personal: "personal";
|
|
3158
|
+
}>>;
|
|
3159
|
+
type: z.ZodLiteral<"table">;
|
|
3160
|
+
config: z.ZodObject<{
|
|
3161
|
+
filter: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
3162
|
+
fields: z.ZodArray<z.ZodString>;
|
|
3163
|
+
sort: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodEnum<{
|
|
3164
|
+
asc: "asc";
|
|
3165
|
+
desc: "desc";
|
|
3166
|
+
}>>>;
|
|
3167
|
+
limit: z.ZodOptional<z.ZodNumber>;
|
|
3168
|
+
}, z.core.$strict>;
|
|
3169
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3170
|
+
tenantId: z.ZodString;
|
|
3171
|
+
dataModelId: z.ZodString;
|
|
3172
|
+
collectionId: z.ZodString;
|
|
3173
|
+
reportId: z.ZodOptional<z.ZodString>;
|
|
3174
|
+
name: z.ZodString;
|
|
3175
|
+
description: z.ZodOptional<z.ZodString>;
|
|
3176
|
+
visibility: z.ZodOptional<z.ZodEnum<{
|
|
3177
|
+
shared: "shared";
|
|
3178
|
+
personal: "personal";
|
|
3179
|
+
}>>;
|
|
3180
|
+
type: z.ZodLiteral<"metric">;
|
|
3181
|
+
config: z.ZodObject<{
|
|
3182
|
+
filter: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
3183
|
+
aggregate: z.ZodEnum<{
|
|
3184
|
+
count: "count";
|
|
3185
|
+
sum: "sum";
|
|
3186
|
+
min: "min";
|
|
3187
|
+
max: "max";
|
|
3188
|
+
avg: "avg";
|
|
3189
|
+
}>;
|
|
3190
|
+
valueField: z.ZodOptional<z.ZodString>;
|
|
3191
|
+
limit: z.ZodOptional<z.ZodLiteral<1>>;
|
|
3192
|
+
}, z.core.$strict>;
|
|
3193
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3194
|
+
tenantId: z.ZodString;
|
|
3195
|
+
dataModelId: z.ZodString;
|
|
3196
|
+
collectionId: z.ZodString;
|
|
3197
|
+
reportId: z.ZodOptional<z.ZodString>;
|
|
3198
|
+
name: z.ZodString;
|
|
3199
|
+
description: z.ZodOptional<z.ZodString>;
|
|
3200
|
+
visibility: z.ZodOptional<z.ZodEnum<{
|
|
3201
|
+
shared: "shared";
|
|
3202
|
+
personal: "personal";
|
|
3203
|
+
}>>;
|
|
3204
|
+
type: z.ZodLiteral<"chart">;
|
|
3205
|
+
config: z.ZodObject<{
|
|
3206
|
+
filter: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
3207
|
+
aggregate: z.ZodEnum<{
|
|
3208
|
+
count: "count";
|
|
3209
|
+
sum: "sum";
|
|
3210
|
+
min: "min";
|
|
3211
|
+
max: "max";
|
|
3212
|
+
avg: "avg";
|
|
3213
|
+
}>;
|
|
3214
|
+
valueField: z.ZodOptional<z.ZodString>;
|
|
3215
|
+
groupBy: z.ZodString;
|
|
3216
|
+
limit: z.ZodOptional<z.ZodNumber>;
|
|
3217
|
+
}, z.core.$strict>;
|
|
3218
|
+
}, z.core.$strip>], "type">;
|
|
3219
|
+
export declare const ListCollectionReportsSchema: z.ZodObject<{
|
|
3220
|
+
tenantId: z.ZodString;
|
|
3221
|
+
dataModelId: z.ZodString;
|
|
3222
|
+
collectionId: z.ZodString;
|
|
3223
|
+
limit: z.ZodOptional<z.ZodNumber>;
|
|
3224
|
+
offset: z.ZodOptional<z.ZodNumber>;
|
|
3225
|
+
}, z.core.$strip>;
|
|
3226
|
+
export declare const CollectionReportReferenceSchema: z.ZodObject<{
|
|
3227
|
+
tenantId: z.ZodString;
|
|
3228
|
+
reportId: z.ZodString;
|
|
3229
|
+
}, z.core.$strip>;
|
|
3230
|
+
export declare const DeleteCollectionReportSchema: z.ZodObject<{
|
|
3231
|
+
tenantId: z.ZodString;
|
|
3232
|
+
reportId: z.ZodString;
|
|
3233
|
+
}, z.core.$strip>;
|
|
3234
|
+
export declare const EvaluateCollectionReportSchema: z.ZodObject<{
|
|
3235
|
+
tenantId: z.ZodString;
|
|
3236
|
+
reportId: z.ZodString;
|
|
3237
|
+
}, z.core.$strip>;
|
|
3238
|
+
export declare const CollectionDashboardWidgetSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
3239
|
+
id: z.ZodOptional<z.ZodString>;
|
|
3240
|
+
reportId: z.ZodString;
|
|
3241
|
+
title: z.ZodString;
|
|
3242
|
+
type: z.ZodLiteral<"table">;
|
|
3243
|
+
config: z.ZodOptional<z.ZodObject<{
|
|
3244
|
+
pageSize: z.ZodOptional<z.ZodNumber>;
|
|
3245
|
+
showHeaders: z.ZodOptional<z.ZodBoolean>;
|
|
3246
|
+
}, z.core.$strict>>;
|
|
3247
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3248
|
+
id: z.ZodOptional<z.ZodString>;
|
|
3249
|
+
reportId: z.ZodString;
|
|
3250
|
+
title: z.ZodString;
|
|
3251
|
+
type: z.ZodLiteral<"metric">;
|
|
3252
|
+
config: z.ZodOptional<z.ZodObject<{
|
|
3253
|
+
prefix: z.ZodOptional<z.ZodString>;
|
|
3254
|
+
suffix: z.ZodOptional<z.ZodString>;
|
|
3255
|
+
decimals: z.ZodOptional<z.ZodNumber>;
|
|
3256
|
+
}, z.core.$strict>>;
|
|
3257
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3258
|
+
id: z.ZodOptional<z.ZodString>;
|
|
3259
|
+
reportId: z.ZodString;
|
|
3260
|
+
title: z.ZodString;
|
|
3261
|
+
type: z.ZodLiteral<"chart">;
|
|
3262
|
+
config: z.ZodOptional<z.ZodObject<{
|
|
3263
|
+
kind: z.ZodOptional<z.ZodEnum<{
|
|
3264
|
+
bar: "bar";
|
|
3265
|
+
line: "line";
|
|
3266
|
+
pie: "pie";
|
|
3267
|
+
}>>;
|
|
3268
|
+
showLegend: z.ZodOptional<z.ZodBoolean>;
|
|
3269
|
+
}, z.core.$strict>>;
|
|
3270
|
+
}, z.core.$strip>], "type">;
|
|
3271
|
+
export declare const ListCollectionDashboardsSchema: z.ZodObject<{
|
|
3272
|
+
tenantId: z.ZodString;
|
|
3273
|
+
dataModelId: z.ZodString;
|
|
3274
|
+
collectionId: z.ZodString;
|
|
3275
|
+
limit: z.ZodOptional<z.ZodNumber>;
|
|
3276
|
+
offset: z.ZodOptional<z.ZodNumber>;
|
|
3277
|
+
}, z.core.$strip>;
|
|
3278
|
+
export declare const UpsertCollectionDashboardSchema: z.ZodObject<{
|
|
3279
|
+
tenantId: z.ZodString;
|
|
3280
|
+
dataModelId: z.ZodString;
|
|
3281
|
+
collectionId: z.ZodString;
|
|
3282
|
+
dashboardId: z.ZodOptional<z.ZodString>;
|
|
3283
|
+
name: z.ZodString;
|
|
3284
|
+
description: z.ZodOptional<z.ZodString>;
|
|
3285
|
+
settings: z.ZodOptional<z.ZodObject<{
|
|
3286
|
+
columns: z.ZodOptional<z.ZodNumber>;
|
|
3287
|
+
compact: z.ZodOptional<z.ZodBoolean>;
|
|
3288
|
+
}, z.core.$strict>>;
|
|
3289
|
+
visibility: z.ZodOptional<z.ZodEnum<{
|
|
3290
|
+
shared: "shared";
|
|
3291
|
+
personal: "personal";
|
|
3292
|
+
}>>;
|
|
3293
|
+
widgets: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
3294
|
+
id: z.ZodOptional<z.ZodString>;
|
|
3295
|
+
reportId: z.ZodString;
|
|
3296
|
+
title: z.ZodString;
|
|
3297
|
+
type: z.ZodLiteral<"table">;
|
|
3298
|
+
config: z.ZodOptional<z.ZodObject<{
|
|
3299
|
+
pageSize: z.ZodOptional<z.ZodNumber>;
|
|
3300
|
+
showHeaders: z.ZodOptional<z.ZodBoolean>;
|
|
3301
|
+
}, z.core.$strict>>;
|
|
3302
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3303
|
+
id: z.ZodOptional<z.ZodString>;
|
|
3304
|
+
reportId: z.ZodString;
|
|
3305
|
+
title: z.ZodString;
|
|
3306
|
+
type: z.ZodLiteral<"metric">;
|
|
3307
|
+
config: z.ZodOptional<z.ZodObject<{
|
|
3308
|
+
prefix: z.ZodOptional<z.ZodString>;
|
|
3309
|
+
suffix: z.ZodOptional<z.ZodString>;
|
|
3310
|
+
decimals: z.ZodOptional<z.ZodNumber>;
|
|
3311
|
+
}, z.core.$strict>>;
|
|
3312
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3313
|
+
id: z.ZodOptional<z.ZodString>;
|
|
3314
|
+
reportId: z.ZodString;
|
|
3315
|
+
title: z.ZodString;
|
|
3316
|
+
type: z.ZodLiteral<"chart">;
|
|
3317
|
+
config: z.ZodOptional<z.ZodObject<{
|
|
3318
|
+
kind: z.ZodOptional<z.ZodEnum<{
|
|
3319
|
+
bar: "bar";
|
|
3320
|
+
line: "line";
|
|
3321
|
+
pie: "pie";
|
|
3322
|
+
}>>;
|
|
3323
|
+
showLegend: z.ZodOptional<z.ZodBoolean>;
|
|
3324
|
+
}, z.core.$strict>>;
|
|
3325
|
+
}, z.core.$strip>], "type">>;
|
|
3326
|
+
}, z.core.$strip>;
|
|
3327
|
+
export declare const CollectionDashboardReferenceSchema: z.ZodObject<{
|
|
3328
|
+
tenantId: z.ZodString;
|
|
3329
|
+
dashboardId: z.ZodString;
|
|
3330
|
+
}, z.core.$strip>;
|
|
3331
|
+
export declare const DeleteCollectionDashboardSchema: z.ZodObject<{
|
|
3332
|
+
tenantId: z.ZodString;
|
|
3333
|
+
dashboardId: z.ZodString;
|
|
3334
|
+
}, z.core.$strip>;
|
|
3335
|
+
export declare const EvaluateCollectionDashboardSchema: z.ZodObject<{
|
|
3336
|
+
tenantId: z.ZodString;
|
|
3337
|
+
dashboardId: z.ZodString;
|
|
3338
|
+
}, z.core.$strip>;
|
|
3339
|
+
export declare const PreviewCollectionAppGenerationSchema: z.ZodObject<{
|
|
3340
|
+
tenantId: z.ZodString;
|
|
3341
|
+
prompt: z.ZodString;
|
|
3342
|
+
}, z.core.$strict>;
|
|
3343
|
+
export declare const ApplyCollectionAppGenerationSchema: z.ZodObject<{
|
|
3344
|
+
tenantId: z.ZodString;
|
|
3345
|
+
planId: z.ZodString;
|
|
3346
|
+
expectedProposalHash: z.ZodString;
|
|
3347
|
+
idempotencyKey: z.ZodString;
|
|
3348
|
+
}, z.core.$strict>;
|
|
3349
|
+
export declare const RollbackCollectionAppGenerationSchema: z.ZodObject<{
|
|
3350
|
+
tenantId: z.ZodString;
|
|
3351
|
+
runId: z.ZodString;
|
|
3352
|
+
idempotencyKey: z.ZodString;
|
|
3353
|
+
}, z.core.$strict>;
|
|
3354
|
+
export declare const ResumeCollectionAppGenerationRunSchema: z.ZodObject<{
|
|
3355
|
+
tenantId: z.ZodString;
|
|
3356
|
+
runId: z.ZodString;
|
|
3357
|
+
}, z.core.$strict>;
|
|
3358
|
+
export declare const GetCollectionAppGenerationPlanSchema: z.ZodObject<{
|
|
3359
|
+
tenantId: z.ZodString;
|
|
3360
|
+
planId: z.ZodString;
|
|
3361
|
+
}, z.core.$strict>;
|
|
3362
|
+
export declare const ListCollectionAppGenerationPlansSchema: z.ZodObject<{
|
|
3363
|
+
tenantId: z.ZodString;
|
|
3364
|
+
status: z.ZodOptional<z.ZodEnum<{
|
|
3365
|
+
failed: "failed";
|
|
3366
|
+
previewed: "previewed";
|
|
3367
|
+
applying: "applying";
|
|
3368
|
+
compensating: "compensating";
|
|
3369
|
+
applied: "applied";
|
|
3370
|
+
compensation_failed: "compensation_failed";
|
|
3371
|
+
rollback_retained: "rollback_retained";
|
|
3372
|
+
rolled_back: "rolled_back";
|
|
3373
|
+
}>>;
|
|
3374
|
+
offset: z.ZodOptional<z.ZodNumber>;
|
|
3375
|
+
limit: z.ZodOptional<z.ZodNumber>;
|
|
3376
|
+
}, z.core.$strict>;
|
|
3377
|
+
export declare const GetCollectionAppGenerationRunSchema: z.ZodObject<{
|
|
3378
|
+
tenantId: z.ZodString;
|
|
3379
|
+
runId: z.ZodString;
|
|
3380
|
+
}, z.core.$strict>;
|
|
3381
|
+
export declare const ListCollectionAppGenerationRunsSchema: z.ZodObject<{
|
|
3382
|
+
tenantId: z.ZodString;
|
|
3383
|
+
planId: z.ZodOptional<z.ZodString>;
|
|
3384
|
+
status: z.ZodOptional<z.ZodEnum<{
|
|
3385
|
+
failed: "failed";
|
|
3386
|
+
applying: "applying";
|
|
3387
|
+
compensating: "compensating";
|
|
3388
|
+
applied: "applied";
|
|
3389
|
+
compensation_failed: "compensation_failed";
|
|
3390
|
+
rollback_retained: "rollback_retained";
|
|
3391
|
+
rolled_back: "rolled_back";
|
|
3392
|
+
provisioning: "provisioning";
|
|
3393
|
+
rolling_back: "rolling_back";
|
|
3394
|
+
rollback_cleanup: "rollback_cleanup";
|
|
3395
|
+
rollback_cleanup_failed: "rollback_cleanup_failed";
|
|
3396
|
+
rollback_failed: "rollback_failed";
|
|
3397
|
+
}>>;
|
|
3398
|
+
offset: z.ZodOptional<z.ZodNumber>;
|
|
3399
|
+
limit: z.ZodOptional<z.ZodNumber>;
|
|
3400
|
+
}, z.core.$strict>;
|