@appconda/sdk 1.0.681 → 1.0.683
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 +1084 -21
- package/dist/modules/emploid/schema.js +675 -53
- package/dist/modules/emploid/service.d.ts +95 -15
- package/dist/modules/emploid/service.js +127 -1
- package/dist/modules/emploid/types.d.ts +714 -6
- package/dist/modules/emploid/types.js +1 -1
- package/package.json +1 -1
- package/src/modules/emploid/schema.ts +750 -60
- package/src/modules/emploid/service.ts +395 -15
- package/src/modules/emploid/types.ts +801 -7
|
@@ -977,6 +977,10 @@ export declare const UpdateCollectionSchema: z.ZodObject<{
|
|
|
977
977
|
collectionId: z.ZodString;
|
|
978
978
|
displayName: z.ZodOptional<z.ZodString>;
|
|
979
979
|
description: z.ZodOptional<z.ZodString>;
|
|
980
|
+
data: z.ZodOptional<z.ZodObject<{
|
|
981
|
+
displayName: z.ZodOptional<z.ZodString>;
|
|
982
|
+
description: z.ZodOptional<z.ZodString>;
|
|
983
|
+
}, z.core.$strip>>;
|
|
980
984
|
}, z.core.$strip>;
|
|
981
985
|
export declare const DeleteCollectionSchema: z.ZodObject<{
|
|
982
986
|
tenantId: z.ZodString;
|
|
@@ -1172,6 +1176,49 @@ export declare const PreviewCsvImportSchema: z.ZodObject<{
|
|
|
1172
1176
|
index: z.ZodNumber;
|
|
1173
1177
|
}, z.core.$strip>>;
|
|
1174
1178
|
rows: z.ZodOptional<z.ZodArray<z.ZodObject<{}, z.core.$catchall<z.ZodAny>>>>;
|
|
1179
|
+
fields: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1180
|
+
fieldId: z.ZodString;
|
|
1181
|
+
type: z.ZodString;
|
|
1182
|
+
displayName: z.ZodString;
|
|
1183
|
+
name: z.ZodString;
|
|
1184
|
+
required: z.ZodOptional<z.ZodBoolean>;
|
|
1185
|
+
config: z.ZodOptional<z.ZodObject<{}, z.core.$catchall<z.ZodAny>>>;
|
|
1186
|
+
fallbackReason: z.ZodOptional<z.ZodString>;
|
|
1187
|
+
mode: z.ZodOptional<z.ZodEnum<{
|
|
1188
|
+
field: "field";
|
|
1189
|
+
skip: "skip";
|
|
1190
|
+
relation: "relation";
|
|
1191
|
+
}>>;
|
|
1192
|
+
relation: z.ZodOptional<z.ZodObject<{
|
|
1193
|
+
targetCollectionId: z.ZodString;
|
|
1194
|
+
matchFieldName: z.ZodString;
|
|
1195
|
+
unmatchedPolicy: z.ZodEnum<{
|
|
1196
|
+
reject: "reject";
|
|
1197
|
+
ignore: "ignore";
|
|
1198
|
+
create: "create";
|
|
1199
|
+
}>;
|
|
1200
|
+
cardinality: z.ZodOptional<z.ZodEnum<{
|
|
1201
|
+
one: "one";
|
|
1202
|
+
many: "many";
|
|
1203
|
+
}>>;
|
|
1204
|
+
inverseCardinality: z.ZodOptional<z.ZodEnum<{
|
|
1205
|
+
one: "one";
|
|
1206
|
+
many: "many";
|
|
1207
|
+
}>>;
|
|
1208
|
+
inverseDisplayName: z.ZodOptional<z.ZodString>;
|
|
1209
|
+
separator: z.ZodOptional<z.ZodString>;
|
|
1210
|
+
}, z.core.$strip>>;
|
|
1211
|
+
}, z.core.$strip>>>;
|
|
1212
|
+
rowRepairs: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1213
|
+
rowIndex: z.ZodNumber;
|
|
1214
|
+
fieldId: z.ZodString;
|
|
1215
|
+
value: z.ZodAny;
|
|
1216
|
+
}, z.core.$strip>>>;
|
|
1217
|
+
invalidRowPolicy: z.ZodOptional<z.ZodEnum<{
|
|
1218
|
+
reject: "reject";
|
|
1219
|
+
"skip-row": "skip-row";
|
|
1220
|
+
"set-null": "set-null";
|
|
1221
|
+
}>>;
|
|
1175
1222
|
}, z.core.$strip>;
|
|
1176
1223
|
export declare const ListGmailImportSourcesSchema: z.ZodObject<{
|
|
1177
1224
|
tenantId: z.ZodString;
|
|
@@ -1221,7 +1268,41 @@ export declare const RunCsvImportSchema: z.ZodObject<{
|
|
|
1221
1268
|
required: z.ZodOptional<z.ZodBoolean>;
|
|
1222
1269
|
config: z.ZodOptional<z.ZodObject<{}, z.core.$catchall<z.ZodAny>>>;
|
|
1223
1270
|
fallbackReason: z.ZodOptional<z.ZodString>;
|
|
1271
|
+
mode: z.ZodOptional<z.ZodEnum<{
|
|
1272
|
+
field: "field";
|
|
1273
|
+
skip: "skip";
|
|
1274
|
+
relation: "relation";
|
|
1275
|
+
}>>;
|
|
1276
|
+
relation: z.ZodOptional<z.ZodObject<{
|
|
1277
|
+
targetCollectionId: z.ZodString;
|
|
1278
|
+
matchFieldName: z.ZodString;
|
|
1279
|
+
unmatchedPolicy: z.ZodEnum<{
|
|
1280
|
+
reject: "reject";
|
|
1281
|
+
ignore: "ignore";
|
|
1282
|
+
create: "create";
|
|
1283
|
+
}>;
|
|
1284
|
+
cardinality: z.ZodOptional<z.ZodEnum<{
|
|
1285
|
+
one: "one";
|
|
1286
|
+
many: "many";
|
|
1287
|
+
}>>;
|
|
1288
|
+
inverseCardinality: z.ZodOptional<z.ZodEnum<{
|
|
1289
|
+
one: "one";
|
|
1290
|
+
many: "many";
|
|
1291
|
+
}>>;
|
|
1292
|
+
inverseDisplayName: z.ZodOptional<z.ZodString>;
|
|
1293
|
+
separator: z.ZodOptional<z.ZodString>;
|
|
1294
|
+
}, z.core.$strip>>;
|
|
1224
1295
|
}, z.core.$strip>>;
|
|
1296
|
+
invalidRowPolicy: z.ZodOptional<z.ZodEnum<{
|
|
1297
|
+
reject: "reject";
|
|
1298
|
+
"skip-row": "skip-row";
|
|
1299
|
+
"set-null": "set-null";
|
|
1300
|
+
}>>;
|
|
1301
|
+
rowRepairs: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1302
|
+
rowIndex: z.ZodNumber;
|
|
1303
|
+
fieldId: z.ZodString;
|
|
1304
|
+
value: z.ZodAny;
|
|
1305
|
+
}, z.core.$strip>>>;
|
|
1225
1306
|
}, z.core.$strip>;
|
|
1226
1307
|
}, z.core.$strip>;
|
|
1227
1308
|
export declare const RunGmailImportSchema: z.ZodObject<{
|
|
@@ -1386,14 +1467,33 @@ export declare const RunTrelloImportSchema: z.ZodObject<{
|
|
|
1386
1467
|
}, z.core.$strip>>;
|
|
1387
1468
|
}, z.core.$strip>>;
|
|
1388
1469
|
}, z.core.$strip>;
|
|
1389
|
-
export declare const BulkUpdateRecordsSchema: z.ZodObject<{
|
|
1470
|
+
export declare const BulkUpdateRecordsSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
1390
1471
|
tenantId: z.ZodString;
|
|
1391
1472
|
collectionId: z.ZodString;
|
|
1473
|
+
actor: z.ZodOptional<z.ZodString>;
|
|
1392
1474
|
records: z.ZodArray<z.ZodObject<{
|
|
1393
1475
|
recordId: z.ZodString;
|
|
1394
1476
|
data: z.ZodObject<{}, z.core.$catchall<z.ZodAny>>;
|
|
1395
1477
|
}, z.core.$strip>>;
|
|
1396
|
-
|
|
1478
|
+
items: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1479
|
+
id: z.ZodOptional<z.ZodString>;
|
|
1480
|
+
recordId: z.ZodOptional<z.ZodString>;
|
|
1481
|
+
data: z.ZodObject<{}, z.core.$catchall<z.ZodAny>>;
|
|
1482
|
+
}, z.core.$strip>>>;
|
|
1483
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1484
|
+
tenantId: z.ZodString;
|
|
1485
|
+
collectionId: z.ZodString;
|
|
1486
|
+
actor: z.ZodOptional<z.ZodString>;
|
|
1487
|
+
records: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1488
|
+
recordId: z.ZodString;
|
|
1489
|
+
data: z.ZodObject<{}, z.core.$catchall<z.ZodAny>>;
|
|
1490
|
+
}, z.core.$strip>>>;
|
|
1491
|
+
items: z.ZodArray<z.ZodObject<{
|
|
1492
|
+
id: z.ZodOptional<z.ZodString>;
|
|
1493
|
+
recordId: z.ZodOptional<z.ZodString>;
|
|
1494
|
+
data: z.ZodObject<{}, z.core.$catchall<z.ZodAny>>;
|
|
1495
|
+
}, z.core.$strip>>;
|
|
1496
|
+
}, z.core.$strip>]>;
|
|
1397
1497
|
export declare const BulkDeleteRecordsSchema: z.ZodObject<{
|
|
1398
1498
|
tenantId: z.ZodString;
|
|
1399
1499
|
collectionId: z.ZodString;
|
|
@@ -1409,21 +1509,40 @@ export declare const QueryRecordsSchema: z.ZodObject<{
|
|
|
1409
1509
|
tenantId: z.ZodString;
|
|
1410
1510
|
collectionId: z.ZodString;
|
|
1411
1511
|
filter: z.ZodOptional<z.ZodObject<{}, z.core.$catchall<z.ZodAny>>>;
|
|
1412
|
-
fields: z.ZodOptional<z.ZodObject<{}, z.core.$catchall<z.ZodAny
|
|
1512
|
+
fields: z.ZodOptional<z.ZodUnion<readonly [z.ZodArray<z.ZodString>, z.ZodObject<{}, z.core.$catchall<z.ZodAny>>]>>;
|
|
1413
1513
|
sort: z.ZodOptional<z.ZodObject<{}, z.core.$catchall<z.ZodString>>>;
|
|
1414
1514
|
limit: z.ZodOptional<z.ZodNumber>;
|
|
1415
1515
|
offset: z.ZodOptional<z.ZodNumber>;
|
|
1516
|
+
query: z.ZodOptional<z.ZodObject<{
|
|
1517
|
+
where: z.ZodOptional<z.ZodObject<{}, z.core.$catchall<z.ZodAny>>>;
|
|
1518
|
+
filter: z.ZodOptional<z.ZodObject<{}, z.core.$catchall<z.ZodAny>>>;
|
|
1519
|
+
fields: z.ZodOptional<z.ZodUnion<readonly [z.ZodArray<z.ZodString>, z.ZodObject<{}, z.core.$catchall<z.ZodAny>>]>>;
|
|
1520
|
+
sort: z.ZodOptional<z.ZodObject<{}, z.core.$catchall<z.ZodString>>>;
|
|
1521
|
+
limit: z.ZodOptional<z.ZodNumber>;
|
|
1522
|
+
offset: z.ZodOptional<z.ZodNumber>;
|
|
1523
|
+
}, z.core.$strip>>;
|
|
1416
1524
|
}, z.core.$strip>;
|
|
1417
|
-
export declare const SearchRecordsSchema: z.ZodObject<{
|
|
1525
|
+
export declare const SearchRecordsSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
1418
1526
|
tenantId: z.ZodString;
|
|
1419
1527
|
collectionId: z.ZodString;
|
|
1528
|
+
fields: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1529
|
+
filter: z.ZodOptional<z.ZodObject<{}, z.core.$catchall<z.ZodAny>>>;
|
|
1530
|
+
sort: z.ZodOptional<z.ZodObject<{}, z.core.$catchall<z.ZodString>>>;
|
|
1531
|
+
limit: z.ZodOptional<z.ZodNumber>;
|
|
1532
|
+
offset: z.ZodOptional<z.ZodNumber>;
|
|
1420
1533
|
query: z.ZodString;
|
|
1534
|
+
q: z.ZodOptional<z.ZodString>;
|
|
1535
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1536
|
+
tenantId: z.ZodString;
|
|
1537
|
+
collectionId: z.ZodString;
|
|
1421
1538
|
fields: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1422
1539
|
filter: z.ZodOptional<z.ZodObject<{}, z.core.$catchall<z.ZodAny>>>;
|
|
1423
1540
|
sort: z.ZodOptional<z.ZodObject<{}, z.core.$catchall<z.ZodString>>>;
|
|
1424
1541
|
limit: z.ZodOptional<z.ZodNumber>;
|
|
1425
1542
|
offset: z.ZodOptional<z.ZodNumber>;
|
|
1426
|
-
|
|
1543
|
+
query: z.ZodOptional<z.ZodString>;
|
|
1544
|
+
q: z.ZodString;
|
|
1545
|
+
}, z.core.$strip>]>;
|
|
1427
1546
|
export declare const CountRecordsSchema: z.ZodObject<{
|
|
1428
1547
|
tenantId: z.ZodString;
|
|
1429
1548
|
collectionId: z.ZodString;
|
|
@@ -1454,6 +1573,99 @@ export declare const DistinctFieldValuesSchema: z.ZodObject<{
|
|
|
1454
1573
|
filter: z.ZodOptional<z.ZodObject<{}, z.core.$catchall<z.ZodAny>>>;
|
|
1455
1574
|
limit: z.ZodOptional<z.ZodNumber>;
|
|
1456
1575
|
}, z.core.$strip>;
|
|
1576
|
+
export declare const CollectionDerivedConditionSchema: z.ZodObject<{
|
|
1577
|
+
fieldId: z.ZodString;
|
|
1578
|
+
fieldName: z.ZodOptional<z.ZodString>;
|
|
1579
|
+
operator: z.ZodEnum<{
|
|
1580
|
+
contains: "contains";
|
|
1581
|
+
eq: "eq";
|
|
1582
|
+
neq: "neq";
|
|
1583
|
+
"not-contains": "not-contains";
|
|
1584
|
+
gt: "gt";
|
|
1585
|
+
gte: "gte";
|
|
1586
|
+
lt: "lt";
|
|
1587
|
+
lte: "lte";
|
|
1588
|
+
"is-empty": "is-empty";
|
|
1589
|
+
"is-not-empty": "is-not-empty";
|
|
1590
|
+
}>;
|
|
1591
|
+
value: z.ZodOptional<z.ZodUnknown>;
|
|
1592
|
+
}, z.core.$strip>;
|
|
1593
|
+
export declare const CollectionFieldConfigSchema: z.ZodObject<{
|
|
1594
|
+
relationFieldId: z.ZodOptional<z.ZodString>;
|
|
1595
|
+
relationFieldName: z.ZodOptional<z.ZodString>;
|
|
1596
|
+
relationId: z.ZodOptional<z.ZodString>;
|
|
1597
|
+
targetCollectionId: z.ZodOptional<z.ZodString>;
|
|
1598
|
+
targetFieldId: z.ZodOptional<z.ZodString>;
|
|
1599
|
+
targetFieldName: z.ZodOptional<z.ZodString>;
|
|
1600
|
+
resultMode: z.ZodOptional<z.ZodEnum<{
|
|
1601
|
+
first: "first";
|
|
1602
|
+
list: "list";
|
|
1603
|
+
}>>;
|
|
1604
|
+
operation: z.ZodOptional<z.ZodEnum<{
|
|
1605
|
+
count: "count";
|
|
1606
|
+
"count-values": "count-values";
|
|
1607
|
+
"count-unique": "count-unique";
|
|
1608
|
+
sum: "sum";
|
|
1609
|
+
average: "average";
|
|
1610
|
+
min: "min";
|
|
1611
|
+
max: "max";
|
|
1612
|
+
}>>;
|
|
1613
|
+
condition: z.ZodOptional<z.ZodObject<{
|
|
1614
|
+
fieldId: z.ZodString;
|
|
1615
|
+
fieldName: z.ZodOptional<z.ZodString>;
|
|
1616
|
+
operator: z.ZodEnum<{
|
|
1617
|
+
contains: "contains";
|
|
1618
|
+
eq: "eq";
|
|
1619
|
+
neq: "neq";
|
|
1620
|
+
"not-contains": "not-contains";
|
|
1621
|
+
gt: "gt";
|
|
1622
|
+
gte: "gte";
|
|
1623
|
+
lt: "lt";
|
|
1624
|
+
lte: "lte";
|
|
1625
|
+
"is-empty": "is-empty";
|
|
1626
|
+
"is-not-empty": "is-not-empty";
|
|
1627
|
+
}>;
|
|
1628
|
+
value: z.ZodOptional<z.ZodUnknown>;
|
|
1629
|
+
}, z.core.$strip>>;
|
|
1630
|
+
maxItems: z.ZodOptional<z.ZodNumber>;
|
|
1631
|
+
min: z.ZodOptional<z.ZodNumber>;
|
|
1632
|
+
max: z.ZodOptional<z.ZodNumber>;
|
|
1633
|
+
precision: z.ZodOptional<z.ZodNumber>;
|
|
1634
|
+
mode: z.ZodOptional<z.ZodEnum<{
|
|
1635
|
+
typed: "typed";
|
|
1636
|
+
drawn: "drawn";
|
|
1637
|
+
both: "both";
|
|
1638
|
+
}>>;
|
|
1639
|
+
source: z.ZodOptional<z.ZodEnum<{
|
|
1640
|
+
users: "users";
|
|
1641
|
+
both: "both";
|
|
1642
|
+
organization: "organization";
|
|
1643
|
+
employees: "employees";
|
|
1644
|
+
}>>;
|
|
1645
|
+
includeInactive: z.ZodOptional<z.ZodBoolean>;
|
|
1646
|
+
}, z.core.$catchall<z.ZodAny>>;
|
|
1647
|
+
export declare const CollectionChecklistItemSchema: z.ZodObject<{
|
|
1648
|
+
id: z.ZodString;
|
|
1649
|
+
text: z.ZodString;
|
|
1650
|
+
checked: z.ZodBoolean;
|
|
1651
|
+
}, z.core.$strip>;
|
|
1652
|
+
export declare const CollectionSignatureValueSchema: z.ZodObject<{
|
|
1653
|
+
kind: z.ZodEnum<{
|
|
1654
|
+
typed: "typed";
|
|
1655
|
+
drawn: "drawn";
|
|
1656
|
+
}>;
|
|
1657
|
+
value: z.ZodString;
|
|
1658
|
+
signedAt: z.ZodString;
|
|
1659
|
+
signedBy: z.ZodString;
|
|
1660
|
+
}, z.core.$strip>;
|
|
1661
|
+
/** Browser/import input. signedAt and signedBy are server-managed output fields. */
|
|
1662
|
+
export declare const CollectionSignatureInputSchema: z.ZodObject<{
|
|
1663
|
+
value: z.ZodString;
|
|
1664
|
+
kind: z.ZodEnum<{
|
|
1665
|
+
typed: "typed";
|
|
1666
|
+
drawn: "drawn";
|
|
1667
|
+
}>;
|
|
1668
|
+
}, z.core.$strip>;
|
|
1457
1669
|
export declare const CreateCollectionFieldSchema: z.ZodObject<{
|
|
1458
1670
|
tenantId: z.ZodString;
|
|
1459
1671
|
dataModelId: z.ZodString;
|
|
@@ -1462,7 +1674,60 @@ export declare const CreateCollectionFieldSchema: z.ZodObject<{
|
|
|
1462
1674
|
displayName: z.ZodString;
|
|
1463
1675
|
type: z.ZodString;
|
|
1464
1676
|
required: z.ZodOptional<z.ZodBoolean>;
|
|
1465
|
-
config: z.ZodOptional<z.ZodObject<{
|
|
1677
|
+
config: z.ZodOptional<z.ZodObject<{
|
|
1678
|
+
relationFieldId: z.ZodOptional<z.ZodString>;
|
|
1679
|
+
relationFieldName: z.ZodOptional<z.ZodString>;
|
|
1680
|
+
relationId: z.ZodOptional<z.ZodString>;
|
|
1681
|
+
targetCollectionId: z.ZodOptional<z.ZodString>;
|
|
1682
|
+
targetFieldId: z.ZodOptional<z.ZodString>;
|
|
1683
|
+
targetFieldName: z.ZodOptional<z.ZodString>;
|
|
1684
|
+
resultMode: z.ZodOptional<z.ZodEnum<{
|
|
1685
|
+
first: "first";
|
|
1686
|
+
list: "list";
|
|
1687
|
+
}>>;
|
|
1688
|
+
operation: z.ZodOptional<z.ZodEnum<{
|
|
1689
|
+
count: "count";
|
|
1690
|
+
"count-values": "count-values";
|
|
1691
|
+
"count-unique": "count-unique";
|
|
1692
|
+
sum: "sum";
|
|
1693
|
+
average: "average";
|
|
1694
|
+
min: "min";
|
|
1695
|
+
max: "max";
|
|
1696
|
+
}>>;
|
|
1697
|
+
condition: z.ZodOptional<z.ZodObject<{
|
|
1698
|
+
fieldId: z.ZodString;
|
|
1699
|
+
fieldName: z.ZodOptional<z.ZodString>;
|
|
1700
|
+
operator: z.ZodEnum<{
|
|
1701
|
+
contains: "contains";
|
|
1702
|
+
eq: "eq";
|
|
1703
|
+
neq: "neq";
|
|
1704
|
+
"not-contains": "not-contains";
|
|
1705
|
+
gt: "gt";
|
|
1706
|
+
gte: "gte";
|
|
1707
|
+
lt: "lt";
|
|
1708
|
+
lte: "lte";
|
|
1709
|
+
"is-empty": "is-empty";
|
|
1710
|
+
"is-not-empty": "is-not-empty";
|
|
1711
|
+
}>;
|
|
1712
|
+
value: z.ZodOptional<z.ZodUnknown>;
|
|
1713
|
+
}, z.core.$strip>>;
|
|
1714
|
+
maxItems: z.ZodOptional<z.ZodNumber>;
|
|
1715
|
+
min: z.ZodOptional<z.ZodNumber>;
|
|
1716
|
+
max: z.ZodOptional<z.ZodNumber>;
|
|
1717
|
+
precision: z.ZodOptional<z.ZodNumber>;
|
|
1718
|
+
mode: z.ZodOptional<z.ZodEnum<{
|
|
1719
|
+
typed: "typed";
|
|
1720
|
+
drawn: "drawn";
|
|
1721
|
+
both: "both";
|
|
1722
|
+
}>>;
|
|
1723
|
+
source: z.ZodOptional<z.ZodEnum<{
|
|
1724
|
+
users: "users";
|
|
1725
|
+
both: "both";
|
|
1726
|
+
organization: "organization";
|
|
1727
|
+
employees: "employees";
|
|
1728
|
+
}>>;
|
|
1729
|
+
includeInactive: z.ZodOptional<z.ZodBoolean>;
|
|
1730
|
+
}, z.core.$catchall<z.ZodAny>>>;
|
|
1466
1731
|
order: z.ZodOptional<z.ZodNumber>;
|
|
1467
1732
|
}, z.core.$strip>;
|
|
1468
1733
|
export declare const UpdateCollectionFieldSchema: z.ZodObject<{
|
|
@@ -1472,7 +1737,60 @@ export declare const UpdateCollectionFieldSchema: z.ZodObject<{
|
|
|
1472
1737
|
displayName: z.ZodOptional<z.ZodString>;
|
|
1473
1738
|
type: z.ZodOptional<z.ZodString>;
|
|
1474
1739
|
required: z.ZodOptional<z.ZodBoolean>;
|
|
1475
|
-
config: z.ZodOptional<z.ZodObject<{
|
|
1740
|
+
config: z.ZodOptional<z.ZodObject<{
|
|
1741
|
+
relationFieldId: z.ZodOptional<z.ZodString>;
|
|
1742
|
+
relationFieldName: z.ZodOptional<z.ZodString>;
|
|
1743
|
+
relationId: z.ZodOptional<z.ZodString>;
|
|
1744
|
+
targetCollectionId: z.ZodOptional<z.ZodString>;
|
|
1745
|
+
targetFieldId: z.ZodOptional<z.ZodString>;
|
|
1746
|
+
targetFieldName: z.ZodOptional<z.ZodString>;
|
|
1747
|
+
resultMode: z.ZodOptional<z.ZodEnum<{
|
|
1748
|
+
first: "first";
|
|
1749
|
+
list: "list";
|
|
1750
|
+
}>>;
|
|
1751
|
+
operation: z.ZodOptional<z.ZodEnum<{
|
|
1752
|
+
count: "count";
|
|
1753
|
+
"count-values": "count-values";
|
|
1754
|
+
"count-unique": "count-unique";
|
|
1755
|
+
sum: "sum";
|
|
1756
|
+
average: "average";
|
|
1757
|
+
min: "min";
|
|
1758
|
+
max: "max";
|
|
1759
|
+
}>>;
|
|
1760
|
+
condition: z.ZodOptional<z.ZodObject<{
|
|
1761
|
+
fieldId: z.ZodString;
|
|
1762
|
+
fieldName: z.ZodOptional<z.ZodString>;
|
|
1763
|
+
operator: z.ZodEnum<{
|
|
1764
|
+
contains: "contains";
|
|
1765
|
+
eq: "eq";
|
|
1766
|
+
neq: "neq";
|
|
1767
|
+
"not-contains": "not-contains";
|
|
1768
|
+
gt: "gt";
|
|
1769
|
+
gte: "gte";
|
|
1770
|
+
lt: "lt";
|
|
1771
|
+
lte: "lte";
|
|
1772
|
+
"is-empty": "is-empty";
|
|
1773
|
+
"is-not-empty": "is-not-empty";
|
|
1774
|
+
}>;
|
|
1775
|
+
value: z.ZodOptional<z.ZodUnknown>;
|
|
1776
|
+
}, z.core.$strip>>;
|
|
1777
|
+
maxItems: z.ZodOptional<z.ZodNumber>;
|
|
1778
|
+
min: z.ZodOptional<z.ZodNumber>;
|
|
1779
|
+
max: z.ZodOptional<z.ZodNumber>;
|
|
1780
|
+
precision: z.ZodOptional<z.ZodNumber>;
|
|
1781
|
+
mode: z.ZodOptional<z.ZodEnum<{
|
|
1782
|
+
typed: "typed";
|
|
1783
|
+
drawn: "drawn";
|
|
1784
|
+
both: "both";
|
|
1785
|
+
}>>;
|
|
1786
|
+
source: z.ZodOptional<z.ZodEnum<{
|
|
1787
|
+
users: "users";
|
|
1788
|
+
both: "both";
|
|
1789
|
+
organization: "organization";
|
|
1790
|
+
employees: "employees";
|
|
1791
|
+
}>>;
|
|
1792
|
+
includeInactive: z.ZodOptional<z.ZodBoolean>;
|
|
1793
|
+
}, z.core.$catchall<z.ZodAny>>>;
|
|
1476
1794
|
order: z.ZodOptional<z.ZodNumber>;
|
|
1477
1795
|
}, z.core.$strip>;
|
|
1478
1796
|
export declare const DeleteCollectionFieldSchema: z.ZodObject<{
|
|
@@ -1501,20 +1819,23 @@ export declare const CreateCollectionAutomationRuleSchema: z.ZodObject<{
|
|
|
1501
1819
|
}>;
|
|
1502
1820
|
triggerConfig: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
1503
1821
|
updatedFieldId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1822
|
+
cron: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1823
|
+
timezone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1824
|
+
maxRecords: z.ZodOptional<z.ZodNumber>;
|
|
1504
1825
|
}, z.core.$strip>>>;
|
|
1505
1826
|
conditions: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1506
1827
|
id: z.ZodString;
|
|
1507
1828
|
fieldId: z.ZodString;
|
|
1508
1829
|
operator: z.ZodEnum<{
|
|
1509
1830
|
contains: "contains";
|
|
1510
|
-
is: "is";
|
|
1511
|
-
"is-not": "is-not";
|
|
1512
1831
|
"is-empty": "is-empty";
|
|
1513
1832
|
"is-not-empty": "is-not-empty";
|
|
1833
|
+
is: "is";
|
|
1834
|
+
"is-not": "is-not";
|
|
1514
1835
|
}>;
|
|
1515
1836
|
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>, z.ZodBoolean, z.ZodNull]>>;
|
|
1516
1837
|
}, z.core.$strip>>>;
|
|
1517
|
-
actions: z.ZodArray<z.
|
|
1838
|
+
actions: z.ZodArray<z.ZodType<Record<string, unknown>, unknown, z.core.$ZodTypeInternals<Record<string, unknown>, unknown>>>;
|
|
1518
1839
|
}, z.core.$strip>;
|
|
1519
1840
|
export declare const UpdateCollectionAutomationRuleSchema: z.ZodObject<{
|
|
1520
1841
|
tenantId: z.ZodString;
|
|
@@ -1532,26 +1853,54 @@ export declare const UpdateCollectionAutomationRuleSchema: z.ZodObject<{
|
|
|
1532
1853
|
}>>;
|
|
1533
1854
|
triggerConfig: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
1534
1855
|
updatedFieldId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1856
|
+
cron: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1857
|
+
timezone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1858
|
+
maxRecords: z.ZodOptional<z.ZodNumber>;
|
|
1535
1859
|
}, z.core.$strip>>>;
|
|
1536
1860
|
conditions: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1537
1861
|
id: z.ZodString;
|
|
1538
1862
|
fieldId: z.ZodString;
|
|
1539
1863
|
operator: z.ZodEnum<{
|
|
1540
1864
|
contains: "contains";
|
|
1541
|
-
is: "is";
|
|
1542
|
-
"is-not": "is-not";
|
|
1543
1865
|
"is-empty": "is-empty";
|
|
1544
1866
|
"is-not-empty": "is-not-empty";
|
|
1867
|
+
is: "is";
|
|
1868
|
+
"is-not": "is-not";
|
|
1545
1869
|
}>;
|
|
1546
1870
|
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>, z.ZodBoolean, z.ZodNull]>>;
|
|
1547
1871
|
}, z.core.$strip>>>;
|
|
1548
|
-
actions: z.ZodOptional<z.ZodArray<z.
|
|
1872
|
+
actions: z.ZodOptional<z.ZodArray<z.ZodType<Record<string, unknown>, unknown, z.core.$ZodTypeInternals<Record<string, unknown>, unknown>>>>;
|
|
1549
1873
|
}, z.core.$strip>;
|
|
1550
1874
|
export declare const DeleteCollectionAutomationRuleSchema: z.ZodObject<{
|
|
1551
1875
|
tenantId: z.ZodString;
|
|
1552
1876
|
collectionId: z.ZodString;
|
|
1553
1877
|
ruleId: z.ZodString;
|
|
1554
1878
|
}, z.core.$strip>;
|
|
1879
|
+
export declare const ListCollectionAutomationExecutionsSchema: z.ZodObject<{
|
|
1880
|
+
tenantId: z.ZodString;
|
|
1881
|
+
collectionId: z.ZodOptional<z.ZodString>;
|
|
1882
|
+
ruleId: z.ZodOptional<z.ZodString>;
|
|
1883
|
+
status: z.ZodOptional<z.ZodEnum<{
|
|
1884
|
+
queued: "queued";
|
|
1885
|
+
running: "running";
|
|
1886
|
+
waiting_approval: "waiting_approval";
|
|
1887
|
+
succeeded: "succeeded";
|
|
1888
|
+
failed: "failed";
|
|
1889
|
+
skipped: "skipped";
|
|
1890
|
+
cancelled: "cancelled";
|
|
1891
|
+
}>>;
|
|
1892
|
+
cursor: z.ZodOptional<z.ZodString>;
|
|
1893
|
+
limit: z.ZodOptional<z.ZodNumber>;
|
|
1894
|
+
}, z.core.$strip>;
|
|
1895
|
+
export declare const DecideCollectionAutomationApprovalSchema: z.ZodObject<{
|
|
1896
|
+
tenantId: z.ZodString;
|
|
1897
|
+
approvalId: z.ZodString;
|
|
1898
|
+
decision: z.ZodEnum<{
|
|
1899
|
+
approved: "approved";
|
|
1900
|
+
rejected: "rejected";
|
|
1901
|
+
}>;
|
|
1902
|
+
note: z.ZodOptional<z.ZodString>;
|
|
1903
|
+
}, z.core.$strip>;
|
|
1555
1904
|
export declare const ListCollectionViewsSchema: z.ZodObject<{
|
|
1556
1905
|
tenantId: z.ZodString;
|
|
1557
1906
|
collectionId: z.ZodString;
|
|
@@ -1561,22 +1910,63 @@ export declare const CreateCollectionViewSchema: z.ZodObject<{
|
|
|
1561
1910
|
dataModelId: z.ZodString;
|
|
1562
1911
|
collectionId: z.ZodString;
|
|
1563
1912
|
name: z.ZodString;
|
|
1564
|
-
type: z.
|
|
1913
|
+
type: z.ZodEnum<{
|
|
1914
|
+
map: "map";
|
|
1915
|
+
grid: "grid";
|
|
1916
|
+
board: "board";
|
|
1917
|
+
calendar: "calendar";
|
|
1918
|
+
timeline: "timeline";
|
|
1919
|
+
tree: "tree";
|
|
1920
|
+
gallery: "gallery";
|
|
1921
|
+
document: "document";
|
|
1922
|
+
}>;
|
|
1565
1923
|
config: z.ZodObject<{}, z.core.$catchall<z.ZodAny>>;
|
|
1924
|
+
visibility: z.ZodOptional<z.ZodEnum<{
|
|
1925
|
+
shared: "shared";
|
|
1926
|
+
personal: "personal";
|
|
1927
|
+
}>>;
|
|
1566
1928
|
}, z.core.$strip>;
|
|
1567
1929
|
export declare const UpdateCollectionViewSchema: z.ZodObject<{
|
|
1568
1930
|
tenantId: z.ZodString;
|
|
1569
1931
|
collectionId: z.ZodString;
|
|
1570
1932
|
viewId: z.ZodString;
|
|
1571
1933
|
name: z.ZodOptional<z.ZodString>;
|
|
1572
|
-
type: z.ZodOptional<z.
|
|
1934
|
+
type: z.ZodOptional<z.ZodEnum<{
|
|
1935
|
+
map: "map";
|
|
1936
|
+
grid: "grid";
|
|
1937
|
+
board: "board";
|
|
1938
|
+
calendar: "calendar";
|
|
1939
|
+
timeline: "timeline";
|
|
1940
|
+
tree: "tree";
|
|
1941
|
+
gallery: "gallery";
|
|
1942
|
+
document: "document";
|
|
1943
|
+
}>>;
|
|
1573
1944
|
config: z.ZodOptional<z.ZodObject<{}, z.core.$catchall<z.ZodAny>>>;
|
|
1945
|
+
visibility: z.ZodOptional<z.ZodEnum<{
|
|
1946
|
+
shared: "shared";
|
|
1947
|
+
personal: "personal";
|
|
1948
|
+
}>>;
|
|
1574
1949
|
}, z.core.$strip>;
|
|
1575
1950
|
export declare const DeleteCollectionViewSchema: z.ZodObject<{
|
|
1576
1951
|
tenantId: z.ZodString;
|
|
1577
1952
|
collectionId: z.ZodString;
|
|
1578
1953
|
viewId: z.ZodString;
|
|
1579
1954
|
}, z.core.$strip>;
|
|
1955
|
+
export declare const UpsertCollectionViewPreferenceSchema: z.ZodObject<{
|
|
1956
|
+
tenantId: z.ZodString;
|
|
1957
|
+
collectionId: z.ZodString;
|
|
1958
|
+
viewId: z.ZodString;
|
|
1959
|
+
columns: z.ZodArray<z.ZodObject<{
|
|
1960
|
+
fieldName: z.ZodString;
|
|
1961
|
+
visible: z.ZodBoolean;
|
|
1962
|
+
width: z.ZodOptional<z.ZodNumber>;
|
|
1963
|
+
}, z.core.$strip>>;
|
|
1964
|
+
}, z.core.$strip>;
|
|
1965
|
+
export declare const DeleteCollectionViewPreferenceSchema: z.ZodObject<{
|
|
1966
|
+
tenantId: z.ZodString;
|
|
1967
|
+
collectionId: z.ZodString;
|
|
1968
|
+
viewId: z.ZodString;
|
|
1969
|
+
}, z.core.$strip>;
|
|
1580
1970
|
export declare const ListCollectionButtonsSchema: z.ZodObject<{
|
|
1581
1971
|
tenantId: z.ZodString;
|
|
1582
1972
|
collectionId: z.ZodOptional<z.ZodString>;
|
|
@@ -1672,14 +2062,23 @@ export declare const GetRecordRelationsSchema: z.ZodObject<{
|
|
|
1672
2062
|
collectionId: z.ZodString;
|
|
1673
2063
|
recordId: z.ZodString;
|
|
1674
2064
|
}, z.core.$strip>;
|
|
1675
|
-
export declare const ReorderCollectionFieldsSchema: z.ZodObject<{
|
|
2065
|
+
export declare const ReorderCollectionFieldsSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
1676
2066
|
tenantId: z.ZodString;
|
|
1677
2067
|
collectionId: z.ZodString;
|
|
1678
2068
|
fields: z.ZodArray<z.ZodObject<{
|
|
1679
2069
|
fieldId: z.ZodString;
|
|
1680
2070
|
order: z.ZodNumber;
|
|
1681
2071
|
}, z.core.$strip>>;
|
|
1682
|
-
|
|
2072
|
+
fieldIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2073
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2074
|
+
tenantId: z.ZodString;
|
|
2075
|
+
collectionId: z.ZodString;
|
|
2076
|
+
fields: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2077
|
+
fieldId: z.ZodString;
|
|
2078
|
+
order: z.ZodNumber;
|
|
2079
|
+
}, z.core.$strip>>>;
|
|
2080
|
+
fieldIds: z.ZodArray<z.ZodString>;
|
|
2081
|
+
}, z.core.$strip>]>;
|
|
1683
2082
|
export declare const GetCollectionSchemaSchema: z.ZodObject<{
|
|
1684
2083
|
tenantId: z.ZodString;
|
|
1685
2084
|
dataModelId: z.ZodString;
|
|
@@ -1703,27 +2102,291 @@ export declare const CheckRecordPermissionSchema: z.ZodObject<{
|
|
|
1703
2102
|
recordId: z.ZodString;
|
|
1704
2103
|
action: z.ZodString;
|
|
1705
2104
|
}, z.core.$strip>;
|
|
2105
|
+
export declare const CollectionAccessPolicyScopeTypeSchema: z.ZodEnum<{
|
|
2106
|
+
app: "app";
|
|
2107
|
+
field: "field";
|
|
2108
|
+
list: "list";
|
|
2109
|
+
}>;
|
|
2110
|
+
export declare const CollectionAccessPolicySubjectTypeSchema: z.ZodEnum<{
|
|
2111
|
+
user: "user";
|
|
2112
|
+
role: "role";
|
|
2113
|
+
team: "team";
|
|
2114
|
+
service: "service";
|
|
2115
|
+
}>;
|
|
2116
|
+
export declare const CollectionAccessPolicyEffectSchema: z.ZodEnum<{
|
|
2117
|
+
allow: "allow";
|
|
2118
|
+
deny: "deny";
|
|
2119
|
+
}>;
|
|
2120
|
+
export declare const CollectionAccessPolicyActionSchema: z.ZodEnum<{
|
|
2121
|
+
delete: "delete";
|
|
2122
|
+
create: "create";
|
|
2123
|
+
update: "update";
|
|
2124
|
+
read: "read";
|
|
2125
|
+
comment: "comment";
|
|
2126
|
+
assign: "assign";
|
|
2127
|
+
}>;
|
|
2128
|
+
export declare const CollectionAccessPolicyRowOperatorSchema: z.ZodEnum<{
|
|
2129
|
+
user: "user";
|
|
2130
|
+
team: "team";
|
|
2131
|
+
me: "me";
|
|
2132
|
+
"linked-record": "linked-record";
|
|
2133
|
+
}>;
|
|
2134
|
+
export declare const CollectionAccessPolicyRowFilterSchema: z.ZodObject<{
|
|
2135
|
+
match: z.ZodEnum<{
|
|
2136
|
+
any: "any";
|
|
2137
|
+
all: "all";
|
|
2138
|
+
}>;
|
|
2139
|
+
conditions: z.ZodArray<z.ZodObject<{
|
|
2140
|
+
fieldId: z.ZodString;
|
|
2141
|
+
operator: z.ZodEnum<{
|
|
2142
|
+
user: "user";
|
|
2143
|
+
team: "team";
|
|
2144
|
+
me: "me";
|
|
2145
|
+
"linked-record": "linked-record";
|
|
2146
|
+
}>;
|
|
2147
|
+
value: z.ZodOptional<z.ZodString>;
|
|
2148
|
+
}, z.core.$strip>>;
|
|
2149
|
+
}, z.core.$strip>;
|
|
2150
|
+
export declare const ListCollectionAccessPoliciesSchema: z.ZodObject<{
|
|
2151
|
+
tenantId: z.ZodString;
|
|
2152
|
+
dataModelId: z.ZodOptional<z.ZodString>;
|
|
2153
|
+
collectionId: z.ZodOptional<z.ZodString>;
|
|
2154
|
+
}, z.core.$strip>;
|
|
2155
|
+
export declare const UpsertCollectionAccessPolicySchema: z.ZodObject<{
|
|
2156
|
+
tenantId: z.ZodString;
|
|
2157
|
+
dataModelId: z.ZodString;
|
|
2158
|
+
policyId: z.ZodOptional<z.ZodString>;
|
|
2159
|
+
name: z.ZodString;
|
|
2160
|
+
scopeType: z.ZodEnum<{
|
|
2161
|
+
app: "app";
|
|
2162
|
+
field: "field";
|
|
2163
|
+
list: "list";
|
|
2164
|
+
}>;
|
|
2165
|
+
collectionId: z.ZodOptional<z.ZodString>;
|
|
2166
|
+
fieldId: z.ZodOptional<z.ZodString>;
|
|
2167
|
+
subjectType: z.ZodEnum<{
|
|
2168
|
+
user: "user";
|
|
2169
|
+
role: "role";
|
|
2170
|
+
team: "team";
|
|
2171
|
+
service: "service";
|
|
2172
|
+
}>;
|
|
2173
|
+
subjectId: z.ZodString;
|
|
2174
|
+
effect: z.ZodEnum<{
|
|
2175
|
+
allow: "allow";
|
|
2176
|
+
deny: "deny";
|
|
2177
|
+
}>;
|
|
2178
|
+
actions: z.ZodArray<z.ZodEnum<{
|
|
2179
|
+
delete: "delete";
|
|
2180
|
+
create: "create";
|
|
2181
|
+
update: "update";
|
|
2182
|
+
read: "read";
|
|
2183
|
+
comment: "comment";
|
|
2184
|
+
assign: "assign";
|
|
2185
|
+
}>>;
|
|
2186
|
+
rowFilter: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
2187
|
+
match: z.ZodEnum<{
|
|
2188
|
+
any: "any";
|
|
2189
|
+
all: "all";
|
|
2190
|
+
}>;
|
|
2191
|
+
conditions: z.ZodArray<z.ZodObject<{
|
|
2192
|
+
fieldId: z.ZodString;
|
|
2193
|
+
operator: z.ZodEnum<{
|
|
2194
|
+
user: "user";
|
|
2195
|
+
team: "team";
|
|
2196
|
+
me: "me";
|
|
2197
|
+
"linked-record": "linked-record";
|
|
2198
|
+
}>;
|
|
2199
|
+
value: z.ZodOptional<z.ZodString>;
|
|
2200
|
+
}, z.core.$strip>>;
|
|
2201
|
+
}, z.core.$strip>>>;
|
|
2202
|
+
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
2203
|
+
}, z.core.$strip>;
|
|
2204
|
+
export declare const DeleteCollectionAccessPolicySchema: z.ZodObject<{
|
|
2205
|
+
tenantId: z.ZodString;
|
|
2206
|
+
policyId: z.ZodString;
|
|
2207
|
+
}, z.core.$strip>;
|
|
2208
|
+
export declare const ListCollectionAccessTeamMembersSchema: z.ZodObject<{
|
|
2209
|
+
tenantId: z.ZodString;
|
|
2210
|
+
teamId: z.ZodString;
|
|
2211
|
+
}, z.core.$strip>;
|
|
2212
|
+
export declare const SetCollectionAccessTeamMembersSchema: z.ZodObject<{
|
|
2213
|
+
tenantId: z.ZodString;
|
|
2214
|
+
teamId: z.ZodString;
|
|
2215
|
+
userIds: z.ZodArray<z.ZodString>;
|
|
2216
|
+
}, z.core.$strip>;
|
|
2217
|
+
export declare const PreviewCollectionAccessPolicySchema: z.ZodObject<{
|
|
2218
|
+
tenantId: z.ZodString;
|
|
2219
|
+
dataModelId: z.ZodString;
|
|
2220
|
+
collectionId: z.ZodOptional<z.ZodString>;
|
|
2221
|
+
policy: z.ZodObject<{
|
|
2222
|
+
name: z.ZodString;
|
|
2223
|
+
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
2224
|
+
fieldId: z.ZodOptional<z.ZodString>;
|
|
2225
|
+
actions: z.ZodArray<z.ZodEnum<{
|
|
2226
|
+
delete: "delete";
|
|
2227
|
+
create: "create";
|
|
2228
|
+
update: "update";
|
|
2229
|
+
read: "read";
|
|
2230
|
+
comment: "comment";
|
|
2231
|
+
assign: "assign";
|
|
2232
|
+
}>>;
|
|
2233
|
+
scopeType: z.ZodEnum<{
|
|
2234
|
+
app: "app";
|
|
2235
|
+
field: "field";
|
|
2236
|
+
list: "list";
|
|
2237
|
+
}>;
|
|
2238
|
+
subjectType: z.ZodEnum<{
|
|
2239
|
+
user: "user";
|
|
2240
|
+
role: "role";
|
|
2241
|
+
team: "team";
|
|
2242
|
+
service: "service";
|
|
2243
|
+
}>;
|
|
2244
|
+
effect: z.ZodEnum<{
|
|
2245
|
+
allow: "allow";
|
|
2246
|
+
deny: "deny";
|
|
2247
|
+
}>;
|
|
2248
|
+
subjectId: z.ZodString;
|
|
2249
|
+
rowFilter: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
2250
|
+
match: z.ZodEnum<{
|
|
2251
|
+
any: "any";
|
|
2252
|
+
all: "all";
|
|
2253
|
+
}>;
|
|
2254
|
+
conditions: z.ZodArray<z.ZodObject<{
|
|
2255
|
+
fieldId: z.ZodString;
|
|
2256
|
+
operator: z.ZodEnum<{
|
|
2257
|
+
user: "user";
|
|
2258
|
+
team: "team";
|
|
2259
|
+
me: "me";
|
|
2260
|
+
"linked-record": "linked-record";
|
|
2261
|
+
}>;
|
|
2262
|
+
value: z.ZodOptional<z.ZodString>;
|
|
2263
|
+
}, z.core.$strip>>;
|
|
2264
|
+
}, z.core.$strip>>>;
|
|
2265
|
+
dataModelId: z.ZodOptional<z.ZodString>;
|
|
2266
|
+
collectionId: z.ZodOptional<z.ZodString>;
|
|
2267
|
+
}, z.core.$strip>;
|
|
2268
|
+
record: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
2269
|
+
}, z.core.$strip>;
|
|
2270
|
+
export declare const CreateCollectionCommentSchema: z.ZodObject<{
|
|
2271
|
+
tenantId: z.ZodString;
|
|
2272
|
+
collectionId: z.ZodString;
|
|
2273
|
+
recordId: z.ZodString;
|
|
2274
|
+
body: z.ZodString;
|
|
2275
|
+
parentId: z.ZodOptional<z.ZodString>;
|
|
2276
|
+
mentionUserIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2277
|
+
requestId: z.ZodOptional<z.ZodString>;
|
|
2278
|
+
}, z.core.$strip>;
|
|
2279
|
+
export declare const UpdateCollectionCommentSchema: z.ZodObject<{
|
|
2280
|
+
tenantId: z.ZodString;
|
|
2281
|
+
collectionId: z.ZodString;
|
|
2282
|
+
recordId: z.ZodString;
|
|
2283
|
+
commentId: z.ZodString;
|
|
2284
|
+
body: z.ZodString;
|
|
2285
|
+
mentionUserIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2286
|
+
requestId: z.ZodOptional<z.ZodString>;
|
|
2287
|
+
}, z.core.$strip>;
|
|
2288
|
+
export declare const DeleteCollectionCommentSchema: z.ZodObject<{
|
|
2289
|
+
tenantId: z.ZodString;
|
|
2290
|
+
collectionId: z.ZodString;
|
|
2291
|
+
recordId: z.ZodString;
|
|
2292
|
+
commentId: z.ZodString;
|
|
2293
|
+
requestId: z.ZodOptional<z.ZodString>;
|
|
2294
|
+
}, z.core.$strip>;
|
|
2295
|
+
export declare const ListCollectionCommentsSchema: z.ZodObject<{
|
|
2296
|
+
tenantId: z.ZodString;
|
|
2297
|
+
collectionId: z.ZodString;
|
|
2298
|
+
recordId: z.ZodString;
|
|
2299
|
+
limit: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
2300
|
+
offset: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
2301
|
+
}, z.core.$strip>;
|
|
2302
|
+
export declare const ListCollectionRecordActivitySchema: z.ZodObject<{
|
|
2303
|
+
tenantId: z.ZodString;
|
|
2304
|
+
collectionId: z.ZodString;
|
|
2305
|
+
recordId: z.ZodString;
|
|
2306
|
+
limit: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
2307
|
+
offset: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
2308
|
+
}, z.core.$strip>;
|
|
2309
|
+
export declare const ListCollectionRecordCollaboratorsSchema: z.ZodObject<{
|
|
2310
|
+
tenantId: z.ZodString;
|
|
2311
|
+
collectionId: z.ZodString;
|
|
2312
|
+
recordId: z.ZodString;
|
|
2313
|
+
}, z.core.$strip>;
|
|
2314
|
+
export declare const SetCollectionRecordCollaboratorsSchema: z.ZodObject<{
|
|
2315
|
+
tenantId: z.ZodString;
|
|
2316
|
+
collectionId: z.ZodString;
|
|
2317
|
+
recordId: z.ZodString;
|
|
2318
|
+
assigneeIds: z.ZodArray<z.ZodString>;
|
|
2319
|
+
watcherIds: z.ZodArray<z.ZodString>;
|
|
2320
|
+
requestId: z.ZodOptional<z.ZodString>;
|
|
2321
|
+
}, z.core.$strip>;
|
|
2322
|
+
export declare const ListCollectionNotificationsSchema: z.ZodObject<{
|
|
2323
|
+
tenantId: z.ZodString;
|
|
2324
|
+
limit: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
2325
|
+
offset: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
2326
|
+
unreadOnly: z.ZodOptional<z.ZodBoolean>;
|
|
2327
|
+
}, z.core.$strip>;
|
|
2328
|
+
export declare const MarkCollectionNotificationsReadSchema: z.ZodObject<{
|
|
2329
|
+
tenantId: z.ZodString;
|
|
2330
|
+
notificationIds: z.ZodArray<z.ZodString>;
|
|
2331
|
+
}, z.core.$strip>;
|
|
1706
2332
|
export declare const ListRecordPermissionsSchema: z.ZodObject<{
|
|
1707
2333
|
tenantId: z.ZodString;
|
|
1708
2334
|
collectionId: z.ZodString;
|
|
1709
2335
|
recordId: z.ZodString;
|
|
2336
|
+
actor: z.ZodOptional<z.ZodString>;
|
|
2337
|
+
subjectType: z.ZodOptional<z.ZodString>;
|
|
2338
|
+
subjectId: z.ZodOptional<z.ZodString>;
|
|
1710
2339
|
}, z.core.$strip>;
|
|
1711
|
-
export declare const GrantRecordPermissionSchema: z.ZodObject<{
|
|
2340
|
+
export declare const GrantRecordPermissionSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
1712
2341
|
tenantId: z.ZodString;
|
|
1713
2342
|
collectionId: z.ZodString;
|
|
1714
2343
|
recordId: z.ZodString;
|
|
1715
2344
|
subjectType: z.ZodString;
|
|
1716
2345
|
subjectId: z.ZodString;
|
|
1717
2346
|
actions: z.ZodArray<z.ZodString>;
|
|
1718
|
-
|
|
1719
|
-
|
|
2347
|
+
effect: z.ZodOptional<z.ZodEnum<{
|
|
2348
|
+
allow: "allow";
|
|
2349
|
+
deny: "deny";
|
|
2350
|
+
}>>;
|
|
2351
|
+
grantedBy: z.ZodOptional<z.ZodString>;
|
|
2352
|
+
actor: z.ZodOptional<z.ZodString>;
|
|
2353
|
+
action: z.ZodOptional<z.ZodString>;
|
|
2354
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2355
|
+
tenantId: z.ZodString;
|
|
2356
|
+
collectionId: z.ZodString;
|
|
2357
|
+
recordId: z.ZodString;
|
|
2358
|
+
actor: z.ZodString;
|
|
2359
|
+
action: z.ZodString;
|
|
2360
|
+
effect: z.ZodOptional<z.ZodEnum<{
|
|
2361
|
+
allow: "allow";
|
|
2362
|
+
deny: "deny";
|
|
2363
|
+
}>>;
|
|
2364
|
+
grantedBy: z.ZodOptional<z.ZodString>;
|
|
2365
|
+
subjectType: z.ZodOptional<z.ZodString>;
|
|
2366
|
+
subjectId: z.ZodOptional<z.ZodString>;
|
|
2367
|
+
actions: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2368
|
+
}, z.core.$strip>]>;
|
|
2369
|
+
export declare const RevokeRecordPermissionSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
1720
2370
|
tenantId: z.ZodString;
|
|
1721
2371
|
collectionId: z.ZodString;
|
|
1722
2372
|
recordId: z.ZodString;
|
|
1723
2373
|
subjectType: z.ZodString;
|
|
1724
2374
|
subjectId: z.ZodString;
|
|
1725
2375
|
actions: z.ZodArray<z.ZodString>;
|
|
1726
|
-
|
|
2376
|
+
revokedBy: z.ZodOptional<z.ZodString>;
|
|
2377
|
+
actor: z.ZodOptional<z.ZodString>;
|
|
2378
|
+
action: z.ZodOptional<z.ZodString>;
|
|
2379
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2380
|
+
tenantId: z.ZodString;
|
|
2381
|
+
collectionId: z.ZodString;
|
|
2382
|
+
recordId: z.ZodString;
|
|
2383
|
+
actor: z.ZodString;
|
|
2384
|
+
action: z.ZodString;
|
|
2385
|
+
revokedBy: z.ZodOptional<z.ZodString>;
|
|
2386
|
+
subjectType: z.ZodOptional<z.ZodString>;
|
|
2387
|
+
subjectId: z.ZodOptional<z.ZodString>;
|
|
2388
|
+
actions: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2389
|
+
}, z.core.$strip>]>;
|
|
1727
2390
|
export declare const CreateWikiPageSchema: z.ZodObject<{
|
|
1728
2391
|
tenantId: z.ZodString;
|
|
1729
2392
|
workspaceId: z.ZodString;
|
|
@@ -2313,3 +2976,403 @@ export declare const EnhanceTopicSchema: z.ZodObject<{
|
|
|
2313
2976
|
entityDescription: z.ZodString;
|
|
2314
2977
|
categories: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2315
2978
|
}, z.core.$strip>;
|
|
2979
|
+
export declare const CollectionFormLayoutFieldSchema: z.ZodObject<{
|
|
2980
|
+
fieldId: z.ZodString;
|
|
2981
|
+
label: z.ZodOptional<z.ZodString>;
|
|
2982
|
+
helpText: z.ZodOptional<z.ZodString>;
|
|
2983
|
+
placeholder: z.ZodOptional<z.ZodString>;
|
|
2984
|
+
required: z.ZodOptional<z.ZodBoolean>;
|
|
2985
|
+
width: z.ZodOptional<z.ZodEnum<{
|
|
2986
|
+
full: "full";
|
|
2987
|
+
half: "half";
|
|
2988
|
+
}>>;
|
|
2989
|
+
}, z.core.$strict>;
|
|
2990
|
+
export declare const CollectionFormLayoutSectionSchema: z.ZodObject<{
|
|
2991
|
+
id: z.ZodString;
|
|
2992
|
+
title: z.ZodOptional<z.ZodString>;
|
|
2993
|
+
description: z.ZodOptional<z.ZodString>;
|
|
2994
|
+
fields: z.ZodArray<z.ZodObject<{
|
|
2995
|
+
fieldId: z.ZodString;
|
|
2996
|
+
label: z.ZodOptional<z.ZodString>;
|
|
2997
|
+
helpText: z.ZodOptional<z.ZodString>;
|
|
2998
|
+
placeholder: z.ZodOptional<z.ZodString>;
|
|
2999
|
+
required: z.ZodOptional<z.ZodBoolean>;
|
|
3000
|
+
width: z.ZodOptional<z.ZodEnum<{
|
|
3001
|
+
full: "full";
|
|
3002
|
+
half: "half";
|
|
3003
|
+
}>>;
|
|
3004
|
+
}, z.core.$strict>>;
|
|
3005
|
+
}, z.core.$strict>;
|
|
3006
|
+
export declare const CollectionFormLayoutSchema: z.ZodObject<{
|
|
3007
|
+
sections: z.ZodArray<z.ZodObject<{
|
|
3008
|
+
id: z.ZodString;
|
|
3009
|
+
title: z.ZodOptional<z.ZodString>;
|
|
3010
|
+
description: z.ZodOptional<z.ZodString>;
|
|
3011
|
+
fields: z.ZodArray<z.ZodObject<{
|
|
3012
|
+
fieldId: z.ZodString;
|
|
3013
|
+
label: z.ZodOptional<z.ZodString>;
|
|
3014
|
+
helpText: z.ZodOptional<z.ZodString>;
|
|
3015
|
+
placeholder: z.ZodOptional<z.ZodString>;
|
|
3016
|
+
required: z.ZodOptional<z.ZodBoolean>;
|
|
3017
|
+
width: z.ZodOptional<z.ZodEnum<{
|
|
3018
|
+
full: "full";
|
|
3019
|
+
half: "half";
|
|
3020
|
+
}>>;
|
|
3021
|
+
}, z.core.$strict>>;
|
|
3022
|
+
}, z.core.$strict>>;
|
|
3023
|
+
}, z.core.$strict>;
|
|
3024
|
+
export declare const ListCollectionFormsSchema: z.ZodObject<{
|
|
3025
|
+
tenantId: z.ZodString;
|
|
3026
|
+
dataModelId: z.ZodString;
|
|
3027
|
+
collectionId: z.ZodString;
|
|
3028
|
+
}, z.core.$strip>;
|
|
3029
|
+
export declare const UpsertCollectionFormSchema: z.ZodObject<{
|
|
3030
|
+
tenantId: z.ZodString;
|
|
3031
|
+
dataModelId: z.ZodString;
|
|
3032
|
+
collectionId: z.ZodString;
|
|
3033
|
+
formId: z.ZodOptional<z.ZodString>;
|
|
3034
|
+
name: z.ZodString;
|
|
3035
|
+
description: z.ZodOptional<z.ZodString>;
|
|
3036
|
+
layout: z.ZodObject<{
|
|
3037
|
+
sections: z.ZodArray<z.ZodObject<{
|
|
3038
|
+
id: z.ZodString;
|
|
3039
|
+
title: z.ZodOptional<z.ZodString>;
|
|
3040
|
+
description: z.ZodOptional<z.ZodString>;
|
|
3041
|
+
fields: z.ZodArray<z.ZodObject<{
|
|
3042
|
+
fieldId: z.ZodString;
|
|
3043
|
+
label: z.ZodOptional<z.ZodString>;
|
|
3044
|
+
helpText: z.ZodOptional<z.ZodString>;
|
|
3045
|
+
placeholder: z.ZodOptional<z.ZodString>;
|
|
3046
|
+
required: z.ZodOptional<z.ZodBoolean>;
|
|
3047
|
+
width: z.ZodOptional<z.ZodEnum<{
|
|
3048
|
+
full: "full";
|
|
3049
|
+
half: "half";
|
|
3050
|
+
}>>;
|
|
3051
|
+
}, z.core.$strict>>;
|
|
3052
|
+
}, z.core.$strict>>;
|
|
3053
|
+
}, z.core.$strict>;
|
|
3054
|
+
submitLabel: z.ZodOptional<z.ZodString>;
|
|
3055
|
+
successMessage: z.ZodOptional<z.ZodString>;
|
|
3056
|
+
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
3057
|
+
rateLimitPerMinute: z.ZodOptional<z.ZodNumber>;
|
|
3058
|
+
maxSubmissions: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
3059
|
+
}, z.core.$strip>;
|
|
3060
|
+
export declare const ResolveCollectionFormSchema: z.ZodObject<{
|
|
3061
|
+
tenantId: z.ZodString;
|
|
3062
|
+
formId: z.ZodString;
|
|
3063
|
+
}, z.core.$strip>;
|
|
3064
|
+
export declare const SubmitCollectionFormSchema: z.ZodObject<{
|
|
3065
|
+
tenantId: z.ZodString;
|
|
3066
|
+
formId: z.ZodString;
|
|
3067
|
+
values: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
3068
|
+
submissionKey: z.ZodString;
|
|
3069
|
+
}, z.core.$strip>;
|
|
3070
|
+
export declare const PublishCollectionFormSchema: z.ZodObject<{
|
|
3071
|
+
tenantId: z.ZodString;
|
|
3072
|
+
formId: z.ZodString;
|
|
3073
|
+
expiresInDays: z.ZodOptional<z.ZodNumber>;
|
|
3074
|
+
}, z.core.$strip>;
|
|
3075
|
+
export declare const RevokeCollectionFormSchema: z.ZodObject<{
|
|
3076
|
+
tenantId: z.ZodString;
|
|
3077
|
+
formId: z.ZodString;
|
|
3078
|
+
}, z.core.$strip>;
|
|
3079
|
+
export declare const DeleteCollectionFormSchema: z.ZodObject<{
|
|
3080
|
+
tenantId: z.ZodString;
|
|
3081
|
+
formId: z.ZodString;
|
|
3082
|
+
}, z.core.$strip>;
|
|
3083
|
+
export declare const CollectionReportTypeSchema: z.ZodEnum<{
|
|
3084
|
+
table: "table";
|
|
3085
|
+
metric: "metric";
|
|
3086
|
+
chart: "chart";
|
|
3087
|
+
}>;
|
|
3088
|
+
export declare const CollectionReportVisibilitySchema: z.ZodEnum<{
|
|
3089
|
+
shared: "shared";
|
|
3090
|
+
personal: "personal";
|
|
3091
|
+
}>;
|
|
3092
|
+
export declare const CollectionReportTableConfigSchema: z.ZodObject<{
|
|
3093
|
+
filter: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
3094
|
+
fields: z.ZodArray<z.ZodString>;
|
|
3095
|
+
sort: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodEnum<{
|
|
3096
|
+
asc: "asc";
|
|
3097
|
+
desc: "desc";
|
|
3098
|
+
}>>>;
|
|
3099
|
+
limit: z.ZodOptional<z.ZodNumber>;
|
|
3100
|
+
}, z.core.$strict>;
|
|
3101
|
+
export declare const CollectionReportMetricConfigSchema: z.ZodObject<{
|
|
3102
|
+
filter: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
3103
|
+
aggregate: z.ZodEnum<{
|
|
3104
|
+
count: "count";
|
|
3105
|
+
sum: "sum";
|
|
3106
|
+
min: "min";
|
|
3107
|
+
max: "max";
|
|
3108
|
+
avg: "avg";
|
|
3109
|
+
}>;
|
|
3110
|
+
valueField: z.ZodOptional<z.ZodString>;
|
|
3111
|
+
limit: z.ZodOptional<z.ZodLiteral<1>>;
|
|
3112
|
+
}, z.core.$strict>;
|
|
3113
|
+
export declare const CollectionReportChartConfigSchema: z.ZodObject<{
|
|
3114
|
+
filter: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
3115
|
+
aggregate: z.ZodEnum<{
|
|
3116
|
+
count: "count";
|
|
3117
|
+
sum: "sum";
|
|
3118
|
+
min: "min";
|
|
3119
|
+
max: "max";
|
|
3120
|
+
avg: "avg";
|
|
3121
|
+
}>;
|
|
3122
|
+
valueField: z.ZodOptional<z.ZodString>;
|
|
3123
|
+
groupBy: z.ZodString;
|
|
3124
|
+
limit: z.ZodOptional<z.ZodNumber>;
|
|
3125
|
+
}, z.core.$strict>;
|
|
3126
|
+
export declare const UpsertCollectionReportSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
3127
|
+
tenantId: z.ZodString;
|
|
3128
|
+
dataModelId: z.ZodString;
|
|
3129
|
+
collectionId: z.ZodString;
|
|
3130
|
+
reportId: z.ZodOptional<z.ZodString>;
|
|
3131
|
+
name: z.ZodString;
|
|
3132
|
+
description: z.ZodOptional<z.ZodString>;
|
|
3133
|
+
visibility: z.ZodOptional<z.ZodEnum<{
|
|
3134
|
+
shared: "shared";
|
|
3135
|
+
personal: "personal";
|
|
3136
|
+
}>>;
|
|
3137
|
+
type: z.ZodLiteral<"table">;
|
|
3138
|
+
config: z.ZodObject<{
|
|
3139
|
+
filter: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
3140
|
+
fields: z.ZodArray<z.ZodString>;
|
|
3141
|
+
sort: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodEnum<{
|
|
3142
|
+
asc: "asc";
|
|
3143
|
+
desc: "desc";
|
|
3144
|
+
}>>>;
|
|
3145
|
+
limit: z.ZodOptional<z.ZodNumber>;
|
|
3146
|
+
}, z.core.$strict>;
|
|
3147
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3148
|
+
tenantId: z.ZodString;
|
|
3149
|
+
dataModelId: z.ZodString;
|
|
3150
|
+
collectionId: z.ZodString;
|
|
3151
|
+
reportId: z.ZodOptional<z.ZodString>;
|
|
3152
|
+
name: z.ZodString;
|
|
3153
|
+
description: z.ZodOptional<z.ZodString>;
|
|
3154
|
+
visibility: z.ZodOptional<z.ZodEnum<{
|
|
3155
|
+
shared: "shared";
|
|
3156
|
+
personal: "personal";
|
|
3157
|
+
}>>;
|
|
3158
|
+
type: z.ZodLiteral<"metric">;
|
|
3159
|
+
config: z.ZodObject<{
|
|
3160
|
+
filter: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
3161
|
+
aggregate: z.ZodEnum<{
|
|
3162
|
+
count: "count";
|
|
3163
|
+
sum: "sum";
|
|
3164
|
+
min: "min";
|
|
3165
|
+
max: "max";
|
|
3166
|
+
avg: "avg";
|
|
3167
|
+
}>;
|
|
3168
|
+
valueField: z.ZodOptional<z.ZodString>;
|
|
3169
|
+
limit: z.ZodOptional<z.ZodLiteral<1>>;
|
|
3170
|
+
}, z.core.$strict>;
|
|
3171
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3172
|
+
tenantId: z.ZodString;
|
|
3173
|
+
dataModelId: z.ZodString;
|
|
3174
|
+
collectionId: z.ZodString;
|
|
3175
|
+
reportId: z.ZodOptional<z.ZodString>;
|
|
3176
|
+
name: z.ZodString;
|
|
3177
|
+
description: z.ZodOptional<z.ZodString>;
|
|
3178
|
+
visibility: z.ZodOptional<z.ZodEnum<{
|
|
3179
|
+
shared: "shared";
|
|
3180
|
+
personal: "personal";
|
|
3181
|
+
}>>;
|
|
3182
|
+
type: z.ZodLiteral<"chart">;
|
|
3183
|
+
config: z.ZodObject<{
|
|
3184
|
+
filter: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
3185
|
+
aggregate: z.ZodEnum<{
|
|
3186
|
+
count: "count";
|
|
3187
|
+
sum: "sum";
|
|
3188
|
+
min: "min";
|
|
3189
|
+
max: "max";
|
|
3190
|
+
avg: "avg";
|
|
3191
|
+
}>;
|
|
3192
|
+
valueField: z.ZodOptional<z.ZodString>;
|
|
3193
|
+
groupBy: z.ZodString;
|
|
3194
|
+
limit: z.ZodOptional<z.ZodNumber>;
|
|
3195
|
+
}, z.core.$strict>;
|
|
3196
|
+
}, z.core.$strip>], "type">;
|
|
3197
|
+
export declare const ListCollectionReportsSchema: z.ZodObject<{
|
|
3198
|
+
tenantId: z.ZodString;
|
|
3199
|
+
dataModelId: z.ZodString;
|
|
3200
|
+
collectionId: z.ZodString;
|
|
3201
|
+
limit: z.ZodOptional<z.ZodNumber>;
|
|
3202
|
+
offset: z.ZodOptional<z.ZodNumber>;
|
|
3203
|
+
}, z.core.$strip>;
|
|
3204
|
+
export declare const CollectionReportReferenceSchema: z.ZodObject<{
|
|
3205
|
+
tenantId: z.ZodString;
|
|
3206
|
+
reportId: z.ZodString;
|
|
3207
|
+
}, z.core.$strip>;
|
|
3208
|
+
export declare const DeleteCollectionReportSchema: z.ZodObject<{
|
|
3209
|
+
tenantId: z.ZodString;
|
|
3210
|
+
reportId: z.ZodString;
|
|
3211
|
+
}, z.core.$strip>;
|
|
3212
|
+
export declare const EvaluateCollectionReportSchema: z.ZodObject<{
|
|
3213
|
+
tenantId: z.ZodString;
|
|
3214
|
+
reportId: z.ZodString;
|
|
3215
|
+
}, z.core.$strip>;
|
|
3216
|
+
export declare const CollectionDashboardWidgetSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
3217
|
+
id: z.ZodOptional<z.ZodString>;
|
|
3218
|
+
reportId: z.ZodString;
|
|
3219
|
+
title: z.ZodString;
|
|
3220
|
+
type: z.ZodLiteral<"table">;
|
|
3221
|
+
config: z.ZodOptional<z.ZodObject<{
|
|
3222
|
+
pageSize: z.ZodOptional<z.ZodNumber>;
|
|
3223
|
+
showHeaders: z.ZodOptional<z.ZodBoolean>;
|
|
3224
|
+
}, z.core.$strict>>;
|
|
3225
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3226
|
+
id: z.ZodOptional<z.ZodString>;
|
|
3227
|
+
reportId: z.ZodString;
|
|
3228
|
+
title: z.ZodString;
|
|
3229
|
+
type: z.ZodLiteral<"metric">;
|
|
3230
|
+
config: z.ZodOptional<z.ZodObject<{
|
|
3231
|
+
prefix: z.ZodOptional<z.ZodString>;
|
|
3232
|
+
suffix: z.ZodOptional<z.ZodString>;
|
|
3233
|
+
decimals: z.ZodOptional<z.ZodNumber>;
|
|
3234
|
+
}, z.core.$strict>>;
|
|
3235
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3236
|
+
id: z.ZodOptional<z.ZodString>;
|
|
3237
|
+
reportId: z.ZodString;
|
|
3238
|
+
title: z.ZodString;
|
|
3239
|
+
type: z.ZodLiteral<"chart">;
|
|
3240
|
+
config: z.ZodOptional<z.ZodObject<{
|
|
3241
|
+
kind: z.ZodOptional<z.ZodEnum<{
|
|
3242
|
+
bar: "bar";
|
|
3243
|
+
line: "line";
|
|
3244
|
+
pie: "pie";
|
|
3245
|
+
}>>;
|
|
3246
|
+
showLegend: z.ZodOptional<z.ZodBoolean>;
|
|
3247
|
+
}, z.core.$strict>>;
|
|
3248
|
+
}, z.core.$strip>], "type">;
|
|
3249
|
+
export declare const ListCollectionDashboardsSchema: z.ZodObject<{
|
|
3250
|
+
tenantId: z.ZodString;
|
|
3251
|
+
dataModelId: z.ZodString;
|
|
3252
|
+
collectionId: z.ZodString;
|
|
3253
|
+
limit: z.ZodOptional<z.ZodNumber>;
|
|
3254
|
+
offset: z.ZodOptional<z.ZodNumber>;
|
|
3255
|
+
}, z.core.$strip>;
|
|
3256
|
+
export declare const UpsertCollectionDashboardSchema: z.ZodObject<{
|
|
3257
|
+
tenantId: z.ZodString;
|
|
3258
|
+
dataModelId: z.ZodString;
|
|
3259
|
+
collectionId: z.ZodString;
|
|
3260
|
+
dashboardId: z.ZodOptional<z.ZodString>;
|
|
3261
|
+
name: z.ZodString;
|
|
3262
|
+
description: z.ZodOptional<z.ZodString>;
|
|
3263
|
+
settings: z.ZodOptional<z.ZodObject<{
|
|
3264
|
+
columns: z.ZodOptional<z.ZodNumber>;
|
|
3265
|
+
compact: z.ZodOptional<z.ZodBoolean>;
|
|
3266
|
+
}, z.core.$strict>>;
|
|
3267
|
+
visibility: z.ZodOptional<z.ZodEnum<{
|
|
3268
|
+
shared: "shared";
|
|
3269
|
+
personal: "personal";
|
|
3270
|
+
}>>;
|
|
3271
|
+
widgets: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
3272
|
+
id: z.ZodOptional<z.ZodString>;
|
|
3273
|
+
reportId: z.ZodString;
|
|
3274
|
+
title: z.ZodString;
|
|
3275
|
+
type: z.ZodLiteral<"table">;
|
|
3276
|
+
config: z.ZodOptional<z.ZodObject<{
|
|
3277
|
+
pageSize: z.ZodOptional<z.ZodNumber>;
|
|
3278
|
+
showHeaders: z.ZodOptional<z.ZodBoolean>;
|
|
3279
|
+
}, z.core.$strict>>;
|
|
3280
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3281
|
+
id: z.ZodOptional<z.ZodString>;
|
|
3282
|
+
reportId: z.ZodString;
|
|
3283
|
+
title: z.ZodString;
|
|
3284
|
+
type: z.ZodLiteral<"metric">;
|
|
3285
|
+
config: z.ZodOptional<z.ZodObject<{
|
|
3286
|
+
prefix: z.ZodOptional<z.ZodString>;
|
|
3287
|
+
suffix: z.ZodOptional<z.ZodString>;
|
|
3288
|
+
decimals: z.ZodOptional<z.ZodNumber>;
|
|
3289
|
+
}, z.core.$strict>>;
|
|
3290
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3291
|
+
id: z.ZodOptional<z.ZodString>;
|
|
3292
|
+
reportId: z.ZodString;
|
|
3293
|
+
title: z.ZodString;
|
|
3294
|
+
type: z.ZodLiteral<"chart">;
|
|
3295
|
+
config: z.ZodOptional<z.ZodObject<{
|
|
3296
|
+
kind: z.ZodOptional<z.ZodEnum<{
|
|
3297
|
+
bar: "bar";
|
|
3298
|
+
line: "line";
|
|
3299
|
+
pie: "pie";
|
|
3300
|
+
}>>;
|
|
3301
|
+
showLegend: z.ZodOptional<z.ZodBoolean>;
|
|
3302
|
+
}, z.core.$strict>>;
|
|
3303
|
+
}, z.core.$strip>], "type">>;
|
|
3304
|
+
}, z.core.$strip>;
|
|
3305
|
+
export declare const CollectionDashboardReferenceSchema: z.ZodObject<{
|
|
3306
|
+
tenantId: z.ZodString;
|
|
3307
|
+
dashboardId: z.ZodString;
|
|
3308
|
+
}, z.core.$strip>;
|
|
3309
|
+
export declare const DeleteCollectionDashboardSchema: z.ZodObject<{
|
|
3310
|
+
tenantId: z.ZodString;
|
|
3311
|
+
dashboardId: z.ZodString;
|
|
3312
|
+
}, z.core.$strip>;
|
|
3313
|
+
export declare const EvaluateCollectionDashboardSchema: z.ZodObject<{
|
|
3314
|
+
tenantId: z.ZodString;
|
|
3315
|
+
dashboardId: z.ZodString;
|
|
3316
|
+
}, z.core.$strip>;
|
|
3317
|
+
export declare const PreviewCollectionAppGenerationSchema: z.ZodObject<{
|
|
3318
|
+
tenantId: z.ZodString;
|
|
3319
|
+
prompt: z.ZodString;
|
|
3320
|
+
}, z.core.$strict>;
|
|
3321
|
+
export declare const ApplyCollectionAppGenerationSchema: z.ZodObject<{
|
|
3322
|
+
tenantId: z.ZodString;
|
|
3323
|
+
planId: z.ZodString;
|
|
3324
|
+
expectedProposalHash: z.ZodString;
|
|
3325
|
+
idempotencyKey: z.ZodString;
|
|
3326
|
+
}, z.core.$strict>;
|
|
3327
|
+
export declare const RollbackCollectionAppGenerationSchema: z.ZodObject<{
|
|
3328
|
+
tenantId: z.ZodString;
|
|
3329
|
+
runId: z.ZodString;
|
|
3330
|
+
idempotencyKey: z.ZodString;
|
|
3331
|
+
}, z.core.$strict>;
|
|
3332
|
+
export declare const ResumeCollectionAppGenerationRunSchema: z.ZodObject<{
|
|
3333
|
+
tenantId: z.ZodString;
|
|
3334
|
+
runId: z.ZodString;
|
|
3335
|
+
}, z.core.$strict>;
|
|
3336
|
+
export declare const GetCollectionAppGenerationPlanSchema: z.ZodObject<{
|
|
3337
|
+
tenantId: z.ZodString;
|
|
3338
|
+
planId: z.ZodString;
|
|
3339
|
+
}, z.core.$strict>;
|
|
3340
|
+
export declare const ListCollectionAppGenerationPlansSchema: z.ZodObject<{
|
|
3341
|
+
tenantId: z.ZodString;
|
|
3342
|
+
status: z.ZodOptional<z.ZodEnum<{
|
|
3343
|
+
failed: "failed";
|
|
3344
|
+
previewed: "previewed";
|
|
3345
|
+
applying: "applying";
|
|
3346
|
+
compensating: "compensating";
|
|
3347
|
+
applied: "applied";
|
|
3348
|
+
compensation_failed: "compensation_failed";
|
|
3349
|
+
rollback_retained: "rollback_retained";
|
|
3350
|
+
rolled_back: "rolled_back";
|
|
3351
|
+
}>>;
|
|
3352
|
+
offset: z.ZodOptional<z.ZodNumber>;
|
|
3353
|
+
limit: z.ZodOptional<z.ZodNumber>;
|
|
3354
|
+
}, z.core.$strict>;
|
|
3355
|
+
export declare const GetCollectionAppGenerationRunSchema: z.ZodObject<{
|
|
3356
|
+
tenantId: z.ZodString;
|
|
3357
|
+
runId: z.ZodString;
|
|
3358
|
+
}, z.core.$strict>;
|
|
3359
|
+
export declare const ListCollectionAppGenerationRunsSchema: z.ZodObject<{
|
|
3360
|
+
tenantId: z.ZodString;
|
|
3361
|
+
planId: z.ZodOptional<z.ZodString>;
|
|
3362
|
+
status: z.ZodOptional<z.ZodEnum<{
|
|
3363
|
+
failed: "failed";
|
|
3364
|
+
applying: "applying";
|
|
3365
|
+
compensating: "compensating";
|
|
3366
|
+
applied: "applied";
|
|
3367
|
+
compensation_failed: "compensation_failed";
|
|
3368
|
+
rollback_retained: "rollback_retained";
|
|
3369
|
+
rolled_back: "rolled_back";
|
|
3370
|
+
provisioning: "provisioning";
|
|
3371
|
+
rolling_back: "rolling_back";
|
|
3372
|
+
rollback_cleanup: "rollback_cleanup";
|
|
3373
|
+
rollback_cleanup_failed: "rollback_cleanup_failed";
|
|
3374
|
+
rollback_failed: "rollback_failed";
|
|
3375
|
+
}>>;
|
|
3376
|
+
offset: z.ZodOptional<z.ZodNumber>;
|
|
3377
|
+
limit: z.ZodOptional<z.ZodNumber>;
|
|
3378
|
+
}, z.core.$strict>;
|