@objectstack/service-ai 4.0.5 → 4.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.ts CHANGED
@@ -1237,6 +1237,7 @@ declare const AiConversationObject: Omit<{
1237
1237
  generatedBy?: string | undefined;
1238
1238
  } | undefined;
1239
1239
  } | undefined;
1240
+ system?: boolean | undefined;
1240
1241
  inlineHelpText?: string | undefined;
1241
1242
  trackFeedHistory?: boolean | undefined;
1242
1243
  caseSensitive?: boolean | undefined;
@@ -1247,7 +1248,14 @@ declare const AiConversationObject: Omit<{
1247
1248
  description?: string | undefined;
1248
1249
  icon?: string | undefined;
1249
1250
  tags?: string[] | undefined;
1250
- managedBy?: "system" | "better-auth" | "platform" | undefined;
1251
+ managedBy?: "system" | "config" | "platform" | "append-only" | "better-auth" | undefined;
1252
+ userActions?: {
1253
+ create?: boolean | undefined;
1254
+ import?: boolean | undefined;
1255
+ edit?: boolean | undefined;
1256
+ delete?: boolean | undefined;
1257
+ exportCsv?: boolean | undefined;
1258
+ } | undefined;
1251
1259
  systemFields?: false | {
1252
1260
  tenant?: boolean | undefined;
1253
1261
  owner?: boolean | undefined;
@@ -1367,6 +1375,241 @@ declare const AiConversationObject: Omit<{
1367
1375
  } | undefined;
1368
1376
  } | undefined;
1369
1377
  compactLayout?: string[] | undefined;
1378
+ listViews?: Record<string, {
1379
+ type: "map" | "kanban" | "calendar" | "gantt" | "gallery" | "timeline" | "chart" | "grid";
1380
+ columns: string[] | {
1381
+ field: string;
1382
+ label?: string | undefined;
1383
+ width?: number | undefined;
1384
+ align?: "left" | "center" | "right" | undefined;
1385
+ hidden?: boolean | undefined;
1386
+ sortable?: boolean | undefined;
1387
+ resizable?: boolean | undefined;
1388
+ wrap?: boolean | undefined;
1389
+ type?: string | undefined;
1390
+ pinned?: "left" | "right" | undefined;
1391
+ summary?: "none" | "min" | "max" | "count" | "sum" | "avg" | "count_empty" | "count_filled" | "count_unique" | "percent_empty" | "percent_filled" | undefined;
1392
+ link?: boolean | undefined;
1393
+ action?: string | undefined;
1394
+ }[];
1395
+ name?: string | undefined;
1396
+ label?: string | undefined;
1397
+ data?: {
1398
+ provider: "object";
1399
+ object: string;
1400
+ } | {
1401
+ provider: "api";
1402
+ read?: {
1403
+ url: string;
1404
+ method: "GET" | "POST" | "DELETE" | "PATCH" | "PUT";
1405
+ headers?: Record<string, string> | undefined;
1406
+ params?: Record<string, unknown> | undefined;
1407
+ body?: unknown;
1408
+ } | undefined;
1409
+ write?: {
1410
+ url: string;
1411
+ method: "GET" | "POST" | "DELETE" | "PATCH" | "PUT";
1412
+ headers?: Record<string, string> | undefined;
1413
+ params?: Record<string, unknown> | undefined;
1414
+ body?: unknown;
1415
+ } | undefined;
1416
+ } | {
1417
+ provider: "value";
1418
+ items: unknown[];
1419
+ } | undefined;
1420
+ filter?: {
1421
+ field: string;
1422
+ operator: string;
1423
+ value?: string | number | boolean | (string | number)[] | null | undefined;
1424
+ }[] | undefined;
1425
+ sort?: string | {
1426
+ field: string;
1427
+ order: "asc" | "desc";
1428
+ }[] | undefined;
1429
+ searchableFields?: string[] | undefined;
1430
+ filterableFields?: string[] | undefined;
1431
+ resizable?: boolean | undefined;
1432
+ striped?: boolean | undefined;
1433
+ bordered?: boolean | undefined;
1434
+ compactToolbar?: boolean | undefined;
1435
+ selection?: {
1436
+ type: "none" | "multiple" | "single";
1437
+ } | undefined;
1438
+ navigation?: {
1439
+ mode: "none" | "split" | "page" | "modal" | "drawer" | "popover" | "new_window";
1440
+ preventNavigation: boolean;
1441
+ openNewTab: boolean;
1442
+ view?: string | undefined;
1443
+ width?: string | number | undefined;
1444
+ } | undefined;
1445
+ pagination?: {
1446
+ pageSize: number;
1447
+ pageSizeOptions?: number[] | undefined;
1448
+ } | undefined;
1449
+ kanban?: {
1450
+ groupByField: string;
1451
+ columns: string[];
1452
+ summarizeField?: string | undefined;
1453
+ } | undefined;
1454
+ calendar?: {
1455
+ startDateField: string;
1456
+ titleField: string;
1457
+ endDateField?: string | undefined;
1458
+ colorField?: string | undefined;
1459
+ } | undefined;
1460
+ gantt?: {
1461
+ startDateField: string;
1462
+ endDateField: string;
1463
+ titleField: string;
1464
+ progressField?: string | undefined;
1465
+ dependenciesField?: string | undefined;
1466
+ } | undefined;
1467
+ gallery?: {
1468
+ coverFit: "cover" | "contain";
1469
+ cardSize: "small" | "medium" | "large";
1470
+ coverField?: string | undefined;
1471
+ titleField?: string | undefined;
1472
+ visibleFields?: string[] | undefined;
1473
+ } | undefined;
1474
+ timeline?: {
1475
+ startDateField: string;
1476
+ titleField: string;
1477
+ scale: "day" | "week" | "month" | "quarter" | "year" | "hour";
1478
+ endDateField?: string | undefined;
1479
+ groupByField?: string | undefined;
1480
+ colorField?: string | undefined;
1481
+ } | undefined;
1482
+ chart?: {
1483
+ chartType: "bar" | "line" | "pie" | "area" | "scatter";
1484
+ xAxisField: string;
1485
+ yAxisFields: string[];
1486
+ aggregation?: "min" | "max" | "count" | "sum" | "avg" | undefined;
1487
+ groupByField?: string | undefined;
1488
+ } | undefined;
1489
+ description?: string | undefined;
1490
+ sharing?: {
1491
+ type: "personal" | "collaborative";
1492
+ lockedBy?: string | undefined;
1493
+ } | undefined;
1494
+ rowHeight?: "medium" | "short" | "compact" | "tall" | "extra_tall" | undefined;
1495
+ grouping?: {
1496
+ fields: {
1497
+ field: string;
1498
+ order: "asc" | "desc";
1499
+ collapsed: boolean;
1500
+ }[];
1501
+ } | undefined;
1502
+ rowColor?: {
1503
+ field: string;
1504
+ colors?: Record<string, string> | undefined;
1505
+ } | undefined;
1506
+ hiddenFields?: string[] | undefined;
1507
+ fieldOrder?: string[] | undefined;
1508
+ rowActions?: string[] | undefined;
1509
+ bulkActions?: string[] | undefined;
1510
+ bulkActionDefs?: Record<string, any>[] | undefined;
1511
+ virtualScroll?: boolean | undefined;
1512
+ conditionalFormatting?: {
1513
+ condition: {
1514
+ dialect: "cel" | "js" | "cron" | "template";
1515
+ source?: string | undefined;
1516
+ ast?: unknown;
1517
+ meta?: {
1518
+ rationale?: string | undefined;
1519
+ generatedBy?: string | undefined;
1520
+ } | undefined;
1521
+ } | {
1522
+ dialect: "cel" | "js" | "cron" | "template";
1523
+ source?: string | undefined;
1524
+ ast?: unknown;
1525
+ meta?: {
1526
+ rationale?: string | undefined;
1527
+ generatedBy?: string | undefined;
1528
+ } | undefined;
1529
+ };
1530
+ style: Record<string, string>;
1531
+ }[] | undefined;
1532
+ inlineEdit?: boolean | undefined;
1533
+ exportOptions?: ("json" | "csv" | "xlsx" | "pdf")[] | undefined;
1534
+ userActions?: {
1535
+ sort: boolean;
1536
+ search: boolean;
1537
+ filter: boolean;
1538
+ rowHeight: boolean;
1539
+ addRecordForm: boolean;
1540
+ buttons?: string[] | undefined;
1541
+ } | undefined;
1542
+ appearance?: {
1543
+ showDescription: boolean;
1544
+ allowedVisualizations?: ("map" | "kanban" | "calendar" | "gantt" | "gallery" | "timeline" | "grid")[] | undefined;
1545
+ } | undefined;
1546
+ tabs?: {
1547
+ name: string;
1548
+ pinned: boolean;
1549
+ isDefault: boolean;
1550
+ visible: boolean;
1551
+ label?: string | undefined;
1552
+ icon?: string | undefined;
1553
+ view?: string | undefined;
1554
+ filter?: {
1555
+ field: string;
1556
+ operator: string;
1557
+ value?: string | number | boolean | (string | number)[] | null | undefined;
1558
+ }[] | undefined;
1559
+ order?: number | undefined;
1560
+ }[] | undefined;
1561
+ addRecord?: {
1562
+ enabled: boolean;
1563
+ position: "top" | "bottom" | "both";
1564
+ mode: "modal" | "form" | "inline";
1565
+ formView?: string | undefined;
1566
+ } | undefined;
1567
+ showRecordCount?: boolean | undefined;
1568
+ allowPrinting?: boolean | undefined;
1569
+ emptyState?: {
1570
+ title?: string | undefined;
1571
+ message?: string | undefined;
1572
+ icon?: string | undefined;
1573
+ } | undefined;
1574
+ aria?: {
1575
+ ariaLabel?: string | undefined;
1576
+ ariaDescribedBy?: string | undefined;
1577
+ role?: string | undefined;
1578
+ } | undefined;
1579
+ responsive?: {
1580
+ breakpoint?: "md" | "xs" | "sm" | "lg" | "xl" | "2xl" | undefined;
1581
+ hiddenOn?: ("md" | "xs" | "sm" | "lg" | "xl" | "2xl")[] | undefined;
1582
+ columns?: {
1583
+ xs?: number | undefined;
1584
+ sm?: number | undefined;
1585
+ md?: number | undefined;
1586
+ lg?: number | undefined;
1587
+ xl?: number | undefined;
1588
+ '2xl'?: number | undefined;
1589
+ } | undefined;
1590
+ order?: {
1591
+ xs?: number | undefined;
1592
+ sm?: number | undefined;
1593
+ md?: number | undefined;
1594
+ lg?: number | undefined;
1595
+ xl?: number | undefined;
1596
+ '2xl'?: number | undefined;
1597
+ } | undefined;
1598
+ } | undefined;
1599
+ performance?: {
1600
+ lazyLoad?: boolean | undefined;
1601
+ virtualScroll?: {
1602
+ enabled: boolean;
1603
+ itemHeight?: number | undefined;
1604
+ overscan?: number | undefined;
1605
+ } | undefined;
1606
+ cacheStrategy?: "none" | "cache-first" | "network-first" | "stale-while-revalidate" | undefined;
1607
+ prefetch?: boolean | undefined;
1608
+ pageSize?: number | undefined;
1609
+ debounceMs?: number | undefined;
1610
+ } | undefined;
1611
+ }> | undefined;
1612
+ defaultDetailForm?: string | undefined;
1370
1613
  search?: {
1371
1614
  fields: string[];
1372
1615
  displayFields?: string[] | undefined;
@@ -1382,15 +1625,15 @@ declare const AiConversationObject: Omit<{
1382
1625
  trash: boolean;
1383
1626
  mru: boolean;
1384
1627
  clone: boolean;
1385
- apiMethods?: ("search" | "upsert" | "list" | "get" | "delete" | "update" | "history" | "create" | "bulk" | "aggregate" | "restore" | "purge" | "import" | "export")[] | undefined;
1628
+ apiMethods?: ("search" | "upsert" | "create" | "import" | "delete" | "list" | "get" | "update" | "history" | "bulk" | "aggregate" | "restore" | "purge" | "export")[] | undefined;
1386
1629
  } | undefined;
1387
1630
  recordTypes?: string[] | undefined;
1388
- sharingModel?: "private" | "full" | "read" | "read_write" | undefined;
1631
+ sharingModel?: "private" | "read" | "full" | "read_write" | undefined;
1389
1632
  keyPrefix?: string | undefined;
1390
1633
  actions?: {
1391
1634
  name: string;
1392
1635
  label: string;
1393
- type: "url" | "flow" | "api" | "script" | "modal";
1636
+ type: "url" | "flow" | "api" | "script" | "modal" | "form";
1394
1637
  refreshAfter: boolean;
1395
1638
  objectName?: string | undefined;
1396
1639
  icon?: string | undefined;
@@ -1409,14 +1652,20 @@ declare const AiConversationObject: Omit<{
1409
1652
  } | undefined;
1410
1653
  execute?: string | undefined;
1411
1654
  params?: {
1412
- name: string;
1413
- label: string;
1414
- type: "number" | "boolean" | "date" | "file" | "code" | "datetime" | "signature" | "progress" | "url" | "text" | "textarea" | "email" | "phone" | "password" | "markdown" | "html" | "richtext" | "currency" | "percent" | "time" | "toggle" | "select" | "multiselect" | "radio" | "checkboxes" | "lookup" | "master_detail" | "tree" | "image" | "avatar" | "video" | "audio" | "formula" | "summary" | "autonumber" | "location" | "address" | "json" | "color" | "rating" | "slider" | "qrcode" | "tags" | "vector";
1415
1655
  required: boolean;
1656
+ name?: string | undefined;
1657
+ field?: string | undefined;
1658
+ objectOverride?: string | undefined;
1659
+ label?: string | undefined;
1660
+ type?: "number" | "boolean" | "date" | "file" | "code" | "datetime" | "signature" | "progress" | "url" | "text" | "textarea" | "email" | "phone" | "password" | "markdown" | "html" | "richtext" | "currency" | "percent" | "time" | "toggle" | "select" | "multiselect" | "radio" | "checkboxes" | "lookup" | "master_detail" | "tree" | "image" | "avatar" | "video" | "audio" | "formula" | "summary" | "autonumber" | "location" | "address" | "json" | "color" | "rating" | "slider" | "qrcode" | "tags" | "vector" | undefined;
1416
1661
  options?: {
1417
1662
  label: string;
1418
1663
  value: string;
1419
1664
  }[] | undefined;
1665
+ placeholder?: string | undefined;
1666
+ helpText?: string | undefined;
1667
+ defaultValue?: unknown;
1668
+ defaultFromRow?: boolean | undefined;
1420
1669
  }[] | undefined;
1421
1670
  variant?: "link" | "primary" | "secondary" | "danger" | "ghost" | undefined;
1422
1671
  confirmText?: string | undefined;
@@ -1441,6 +1690,14 @@ declare const AiConversationObject: Omit<{
1441
1690
  } | undefined;
1442
1691
  shortcut?: string | undefined;
1443
1692
  bulkEnabled?: boolean | undefined;
1693
+ recordIdParam?: string | undefined;
1694
+ recordIdField?: string | undefined;
1695
+ bodyShape?: "flat" | {
1696
+ wrap: string;
1697
+ } | undefined;
1698
+ method?: "POST" | "PATCH" | "PUT" | "DELETE" | undefined;
1699
+ bodyExtra?: Record<string, unknown> | undefined;
1700
+ mode?: "custom" | "delete" | "create" | "edit" | undefined;
1444
1701
  timeout?: number | undefined;
1445
1702
  aria?: {
1446
1703
  ariaLabel?: string | undefined;
@@ -1474,6 +1731,7 @@ declare const AiConversationObject: Omit<{
1474
1731
  readonly dependencies?: string[] | undefined;
1475
1732
  readonly theme?: string | undefined;
1476
1733
  readonly externalId?: boolean | undefined;
1734
+ readonly system?: boolean | undefined;
1477
1735
  readonly min?: number | undefined;
1478
1736
  readonly max?: number | undefined;
1479
1737
  readonly group?: string | undefined;
@@ -1648,6 +1906,7 @@ declare const AiConversationObject: Omit<{
1648
1906
  readonly dependencies?: string[] | undefined;
1649
1907
  readonly theme?: string | undefined;
1650
1908
  readonly externalId?: boolean | undefined;
1909
+ readonly system?: boolean | undefined;
1651
1910
  readonly min?: number | undefined;
1652
1911
  readonly max?: number | undefined;
1653
1912
  readonly group?: string | undefined;
@@ -1822,6 +2081,7 @@ declare const AiConversationObject: Omit<{
1822
2081
  readonly dependencies?: string[] | undefined;
1823
2082
  readonly theme?: string | undefined;
1824
2083
  readonly externalId?: boolean | undefined;
2084
+ readonly system?: boolean | undefined;
1825
2085
  readonly min?: number | undefined;
1826
2086
  readonly max?: number | undefined;
1827
2087
  readonly group?: string | undefined;
@@ -1849,7 +2109,7 @@ declare const AiConversationObject: Omit<{
1849
2109
  readonly maxLength?: number | undefined;
1850
2110
  readonly minLength?: number | undefined;
1851
2111
  readonly scale?: number | undefined;
1852
- reference: string;
2112
+ readonly reference?: string | undefined;
1853
2113
  readonly referenceFilters?: string[] | undefined;
1854
2114
  readonly writeRequiresMasterRead?: boolean | undefined;
1855
2115
  readonly deleteBehavior?: "set_null" | "cascade" | "restrict" | undefined;
@@ -1976,7 +2236,7 @@ declare const AiConversationObject: Omit<{
1976
2236
  readonly caseSensitive?: boolean | undefined;
1977
2237
  readonly autonumberFormat?: string | undefined;
1978
2238
  readonly index?: boolean | undefined;
1979
- readonly type: "lookup";
2239
+ readonly type: "text";
1980
2240
  };
1981
2241
  readonly user_id: {
1982
2242
  readonly readonly?: boolean | undefined;
@@ -1996,6 +2256,7 @@ declare const AiConversationObject: Omit<{
1996
2256
  readonly dependencies?: string[] | undefined;
1997
2257
  readonly theme?: string | undefined;
1998
2258
  readonly externalId?: boolean | undefined;
2259
+ readonly system?: boolean | undefined;
1999
2260
  readonly min?: number | undefined;
2000
2261
  readonly max?: number | undefined;
2001
2262
  readonly group?: string | undefined;
@@ -2170,6 +2431,7 @@ declare const AiConversationObject: Omit<{
2170
2431
  readonly dependencies?: string[] | undefined;
2171
2432
  readonly theme?: string | undefined;
2172
2433
  readonly externalId?: boolean | undefined;
2434
+ readonly system?: boolean | undefined;
2173
2435
  readonly min?: number | undefined;
2174
2436
  readonly max?: number | undefined;
2175
2437
  readonly group?: string | undefined;
@@ -2344,6 +2606,7 @@ declare const AiConversationObject: Omit<{
2344
2606
  readonly dependencies?: string[] | undefined;
2345
2607
  readonly theme?: string | undefined;
2346
2608
  readonly externalId?: boolean | undefined;
2609
+ readonly system?: boolean | undefined;
2347
2610
  readonly min?: number | undefined;
2348
2611
  readonly max?: number | undefined;
2349
2612
  readonly group?: string | undefined;
@@ -2518,6 +2781,7 @@ declare const AiConversationObject: Omit<{
2518
2781
  readonly dependencies?: string[] | undefined;
2519
2782
  readonly theme?: string | undefined;
2520
2783
  readonly externalId?: boolean | undefined;
2784
+ readonly system?: boolean | undefined;
2521
2785
  readonly min?: number | undefined;
2522
2786
  readonly max?: number | undefined;
2523
2787
  readonly group?: string | undefined;
@@ -2891,6 +3155,7 @@ declare const AiMessageObject: Omit<{
2891
3155
  generatedBy?: string | undefined;
2892
3156
  } | undefined;
2893
3157
  } | undefined;
3158
+ system?: boolean | undefined;
2894
3159
  inlineHelpText?: string | undefined;
2895
3160
  trackFeedHistory?: boolean | undefined;
2896
3161
  caseSensitive?: boolean | undefined;
@@ -2901,7 +3166,14 @@ declare const AiMessageObject: Omit<{
2901
3166
  description?: string | undefined;
2902
3167
  icon?: string | undefined;
2903
3168
  tags?: string[] | undefined;
2904
- managedBy?: "system" | "better-auth" | "platform" | undefined;
3169
+ managedBy?: "system" | "config" | "platform" | "append-only" | "better-auth" | undefined;
3170
+ userActions?: {
3171
+ create?: boolean | undefined;
3172
+ import?: boolean | undefined;
3173
+ edit?: boolean | undefined;
3174
+ delete?: boolean | undefined;
3175
+ exportCsv?: boolean | undefined;
3176
+ } | undefined;
2905
3177
  systemFields?: false | {
2906
3178
  tenant?: boolean | undefined;
2907
3179
  owner?: boolean | undefined;
@@ -3021,6 +3293,241 @@ declare const AiMessageObject: Omit<{
3021
3293
  } | undefined;
3022
3294
  } | undefined;
3023
3295
  compactLayout?: string[] | undefined;
3296
+ listViews?: Record<string, {
3297
+ type: "map" | "kanban" | "calendar" | "gantt" | "gallery" | "timeline" | "chart" | "grid";
3298
+ columns: string[] | {
3299
+ field: string;
3300
+ label?: string | undefined;
3301
+ width?: number | undefined;
3302
+ align?: "left" | "center" | "right" | undefined;
3303
+ hidden?: boolean | undefined;
3304
+ sortable?: boolean | undefined;
3305
+ resizable?: boolean | undefined;
3306
+ wrap?: boolean | undefined;
3307
+ type?: string | undefined;
3308
+ pinned?: "left" | "right" | undefined;
3309
+ summary?: "none" | "min" | "max" | "count" | "sum" | "avg" | "count_empty" | "count_filled" | "count_unique" | "percent_empty" | "percent_filled" | undefined;
3310
+ link?: boolean | undefined;
3311
+ action?: string | undefined;
3312
+ }[];
3313
+ name?: string | undefined;
3314
+ label?: string | undefined;
3315
+ data?: {
3316
+ provider: "object";
3317
+ object: string;
3318
+ } | {
3319
+ provider: "api";
3320
+ read?: {
3321
+ url: string;
3322
+ method: "GET" | "POST" | "DELETE" | "PATCH" | "PUT";
3323
+ headers?: Record<string, string> | undefined;
3324
+ params?: Record<string, unknown> | undefined;
3325
+ body?: unknown;
3326
+ } | undefined;
3327
+ write?: {
3328
+ url: string;
3329
+ method: "GET" | "POST" | "DELETE" | "PATCH" | "PUT";
3330
+ headers?: Record<string, string> | undefined;
3331
+ params?: Record<string, unknown> | undefined;
3332
+ body?: unknown;
3333
+ } | undefined;
3334
+ } | {
3335
+ provider: "value";
3336
+ items: unknown[];
3337
+ } | undefined;
3338
+ filter?: {
3339
+ field: string;
3340
+ operator: string;
3341
+ value?: string | number | boolean | (string | number)[] | null | undefined;
3342
+ }[] | undefined;
3343
+ sort?: string | {
3344
+ field: string;
3345
+ order: "asc" | "desc";
3346
+ }[] | undefined;
3347
+ searchableFields?: string[] | undefined;
3348
+ filterableFields?: string[] | undefined;
3349
+ resizable?: boolean | undefined;
3350
+ striped?: boolean | undefined;
3351
+ bordered?: boolean | undefined;
3352
+ compactToolbar?: boolean | undefined;
3353
+ selection?: {
3354
+ type: "none" | "multiple" | "single";
3355
+ } | undefined;
3356
+ navigation?: {
3357
+ mode: "none" | "split" | "page" | "modal" | "drawer" | "popover" | "new_window";
3358
+ preventNavigation: boolean;
3359
+ openNewTab: boolean;
3360
+ view?: string | undefined;
3361
+ width?: string | number | undefined;
3362
+ } | undefined;
3363
+ pagination?: {
3364
+ pageSize: number;
3365
+ pageSizeOptions?: number[] | undefined;
3366
+ } | undefined;
3367
+ kanban?: {
3368
+ groupByField: string;
3369
+ columns: string[];
3370
+ summarizeField?: string | undefined;
3371
+ } | undefined;
3372
+ calendar?: {
3373
+ startDateField: string;
3374
+ titleField: string;
3375
+ endDateField?: string | undefined;
3376
+ colorField?: string | undefined;
3377
+ } | undefined;
3378
+ gantt?: {
3379
+ startDateField: string;
3380
+ endDateField: string;
3381
+ titleField: string;
3382
+ progressField?: string | undefined;
3383
+ dependenciesField?: string | undefined;
3384
+ } | undefined;
3385
+ gallery?: {
3386
+ coverFit: "cover" | "contain";
3387
+ cardSize: "small" | "medium" | "large";
3388
+ coverField?: string | undefined;
3389
+ titleField?: string | undefined;
3390
+ visibleFields?: string[] | undefined;
3391
+ } | undefined;
3392
+ timeline?: {
3393
+ startDateField: string;
3394
+ titleField: string;
3395
+ scale: "day" | "week" | "month" | "quarter" | "year" | "hour";
3396
+ endDateField?: string | undefined;
3397
+ groupByField?: string | undefined;
3398
+ colorField?: string | undefined;
3399
+ } | undefined;
3400
+ chart?: {
3401
+ chartType: "bar" | "line" | "pie" | "area" | "scatter";
3402
+ xAxisField: string;
3403
+ yAxisFields: string[];
3404
+ aggregation?: "min" | "max" | "count" | "sum" | "avg" | undefined;
3405
+ groupByField?: string | undefined;
3406
+ } | undefined;
3407
+ description?: string | undefined;
3408
+ sharing?: {
3409
+ type: "personal" | "collaborative";
3410
+ lockedBy?: string | undefined;
3411
+ } | undefined;
3412
+ rowHeight?: "medium" | "short" | "compact" | "tall" | "extra_tall" | undefined;
3413
+ grouping?: {
3414
+ fields: {
3415
+ field: string;
3416
+ order: "asc" | "desc";
3417
+ collapsed: boolean;
3418
+ }[];
3419
+ } | undefined;
3420
+ rowColor?: {
3421
+ field: string;
3422
+ colors?: Record<string, string> | undefined;
3423
+ } | undefined;
3424
+ hiddenFields?: string[] | undefined;
3425
+ fieldOrder?: string[] | undefined;
3426
+ rowActions?: string[] | undefined;
3427
+ bulkActions?: string[] | undefined;
3428
+ bulkActionDefs?: Record<string, any>[] | undefined;
3429
+ virtualScroll?: boolean | undefined;
3430
+ conditionalFormatting?: {
3431
+ condition: {
3432
+ dialect: "cel" | "js" | "cron" | "template";
3433
+ source?: string | undefined;
3434
+ ast?: unknown;
3435
+ meta?: {
3436
+ rationale?: string | undefined;
3437
+ generatedBy?: string | undefined;
3438
+ } | undefined;
3439
+ } | {
3440
+ dialect: "cel" | "js" | "cron" | "template";
3441
+ source?: string | undefined;
3442
+ ast?: unknown;
3443
+ meta?: {
3444
+ rationale?: string | undefined;
3445
+ generatedBy?: string | undefined;
3446
+ } | undefined;
3447
+ };
3448
+ style: Record<string, string>;
3449
+ }[] | undefined;
3450
+ inlineEdit?: boolean | undefined;
3451
+ exportOptions?: ("json" | "csv" | "xlsx" | "pdf")[] | undefined;
3452
+ userActions?: {
3453
+ sort: boolean;
3454
+ search: boolean;
3455
+ filter: boolean;
3456
+ rowHeight: boolean;
3457
+ addRecordForm: boolean;
3458
+ buttons?: string[] | undefined;
3459
+ } | undefined;
3460
+ appearance?: {
3461
+ showDescription: boolean;
3462
+ allowedVisualizations?: ("map" | "kanban" | "calendar" | "gantt" | "gallery" | "timeline" | "grid")[] | undefined;
3463
+ } | undefined;
3464
+ tabs?: {
3465
+ name: string;
3466
+ pinned: boolean;
3467
+ isDefault: boolean;
3468
+ visible: boolean;
3469
+ label?: string | undefined;
3470
+ icon?: string | undefined;
3471
+ view?: string | undefined;
3472
+ filter?: {
3473
+ field: string;
3474
+ operator: string;
3475
+ value?: string | number | boolean | (string | number)[] | null | undefined;
3476
+ }[] | undefined;
3477
+ order?: number | undefined;
3478
+ }[] | undefined;
3479
+ addRecord?: {
3480
+ enabled: boolean;
3481
+ position: "top" | "bottom" | "both";
3482
+ mode: "modal" | "form" | "inline";
3483
+ formView?: string | undefined;
3484
+ } | undefined;
3485
+ showRecordCount?: boolean | undefined;
3486
+ allowPrinting?: boolean | undefined;
3487
+ emptyState?: {
3488
+ title?: string | undefined;
3489
+ message?: string | undefined;
3490
+ icon?: string | undefined;
3491
+ } | undefined;
3492
+ aria?: {
3493
+ ariaLabel?: string | undefined;
3494
+ ariaDescribedBy?: string | undefined;
3495
+ role?: string | undefined;
3496
+ } | undefined;
3497
+ responsive?: {
3498
+ breakpoint?: "md" | "xs" | "sm" | "lg" | "xl" | "2xl" | undefined;
3499
+ hiddenOn?: ("md" | "xs" | "sm" | "lg" | "xl" | "2xl")[] | undefined;
3500
+ columns?: {
3501
+ xs?: number | undefined;
3502
+ sm?: number | undefined;
3503
+ md?: number | undefined;
3504
+ lg?: number | undefined;
3505
+ xl?: number | undefined;
3506
+ '2xl'?: number | undefined;
3507
+ } | undefined;
3508
+ order?: {
3509
+ xs?: number | undefined;
3510
+ sm?: number | undefined;
3511
+ md?: number | undefined;
3512
+ lg?: number | undefined;
3513
+ xl?: number | undefined;
3514
+ '2xl'?: number | undefined;
3515
+ } | undefined;
3516
+ } | undefined;
3517
+ performance?: {
3518
+ lazyLoad?: boolean | undefined;
3519
+ virtualScroll?: {
3520
+ enabled: boolean;
3521
+ itemHeight?: number | undefined;
3522
+ overscan?: number | undefined;
3523
+ } | undefined;
3524
+ cacheStrategy?: "none" | "cache-first" | "network-first" | "stale-while-revalidate" | undefined;
3525
+ prefetch?: boolean | undefined;
3526
+ pageSize?: number | undefined;
3527
+ debounceMs?: number | undefined;
3528
+ } | undefined;
3529
+ }> | undefined;
3530
+ defaultDetailForm?: string | undefined;
3024
3531
  search?: {
3025
3532
  fields: string[];
3026
3533
  displayFields?: string[] | undefined;
@@ -3036,15 +3543,15 @@ declare const AiMessageObject: Omit<{
3036
3543
  trash: boolean;
3037
3544
  mru: boolean;
3038
3545
  clone: boolean;
3039
- apiMethods?: ("search" | "upsert" | "list" | "get" | "delete" | "update" | "history" | "create" | "bulk" | "aggregate" | "restore" | "purge" | "import" | "export")[] | undefined;
3546
+ apiMethods?: ("search" | "upsert" | "create" | "import" | "delete" | "list" | "get" | "update" | "history" | "bulk" | "aggregate" | "restore" | "purge" | "export")[] | undefined;
3040
3547
  } | undefined;
3041
3548
  recordTypes?: string[] | undefined;
3042
- sharingModel?: "private" | "full" | "read" | "read_write" | undefined;
3549
+ sharingModel?: "private" | "read" | "full" | "read_write" | undefined;
3043
3550
  keyPrefix?: string | undefined;
3044
3551
  actions?: {
3045
3552
  name: string;
3046
3553
  label: string;
3047
- type: "url" | "flow" | "api" | "script" | "modal";
3554
+ type: "url" | "flow" | "api" | "script" | "modal" | "form";
3048
3555
  refreshAfter: boolean;
3049
3556
  objectName?: string | undefined;
3050
3557
  icon?: string | undefined;
@@ -3063,14 +3570,20 @@ declare const AiMessageObject: Omit<{
3063
3570
  } | undefined;
3064
3571
  execute?: string | undefined;
3065
3572
  params?: {
3066
- name: string;
3067
- label: string;
3068
- type: "number" | "boolean" | "date" | "file" | "code" | "datetime" | "signature" | "progress" | "url" | "text" | "textarea" | "email" | "phone" | "password" | "markdown" | "html" | "richtext" | "currency" | "percent" | "time" | "toggle" | "select" | "multiselect" | "radio" | "checkboxes" | "lookup" | "master_detail" | "tree" | "image" | "avatar" | "video" | "audio" | "formula" | "summary" | "autonumber" | "location" | "address" | "json" | "color" | "rating" | "slider" | "qrcode" | "tags" | "vector";
3069
3573
  required: boolean;
3574
+ name?: string | undefined;
3575
+ field?: string | undefined;
3576
+ objectOverride?: string | undefined;
3577
+ label?: string | undefined;
3578
+ type?: "number" | "boolean" | "date" | "file" | "code" | "datetime" | "signature" | "progress" | "url" | "text" | "textarea" | "email" | "phone" | "password" | "markdown" | "html" | "richtext" | "currency" | "percent" | "time" | "toggle" | "select" | "multiselect" | "radio" | "checkboxes" | "lookup" | "master_detail" | "tree" | "image" | "avatar" | "video" | "audio" | "formula" | "summary" | "autonumber" | "location" | "address" | "json" | "color" | "rating" | "slider" | "qrcode" | "tags" | "vector" | undefined;
3070
3579
  options?: {
3071
3580
  label: string;
3072
3581
  value: string;
3073
3582
  }[] | undefined;
3583
+ placeholder?: string | undefined;
3584
+ helpText?: string | undefined;
3585
+ defaultValue?: unknown;
3586
+ defaultFromRow?: boolean | undefined;
3074
3587
  }[] | undefined;
3075
3588
  variant?: "link" | "primary" | "secondary" | "danger" | "ghost" | undefined;
3076
3589
  confirmText?: string | undefined;
@@ -3095,6 +3608,14 @@ declare const AiMessageObject: Omit<{
3095
3608
  } | undefined;
3096
3609
  shortcut?: string | undefined;
3097
3610
  bulkEnabled?: boolean | undefined;
3611
+ recordIdParam?: string | undefined;
3612
+ recordIdField?: string | undefined;
3613
+ bodyShape?: "flat" | {
3614
+ wrap: string;
3615
+ } | undefined;
3616
+ method?: "POST" | "PATCH" | "PUT" | "DELETE" | undefined;
3617
+ bodyExtra?: Record<string, unknown> | undefined;
3618
+ mode?: "custom" | "delete" | "create" | "edit" | undefined;
3098
3619
  timeout?: number | undefined;
3099
3620
  aria?: {
3100
3621
  ariaLabel?: string | undefined;
@@ -3128,6 +3649,7 @@ declare const AiMessageObject: Omit<{
3128
3649
  readonly dependencies?: string[] | undefined;
3129
3650
  readonly theme?: string | undefined;
3130
3651
  readonly externalId?: boolean | undefined;
3652
+ readonly system?: boolean | undefined;
3131
3653
  readonly min?: number | undefined;
3132
3654
  readonly max?: number | undefined;
3133
3655
  readonly group?: string | undefined;
@@ -3302,6 +3824,7 @@ declare const AiMessageObject: Omit<{
3302
3824
  readonly dependencies?: string[] | undefined;
3303
3825
  readonly theme?: string | undefined;
3304
3826
  readonly externalId?: boolean | undefined;
3827
+ readonly system?: boolean | undefined;
3305
3828
  readonly min?: number | undefined;
3306
3829
  readonly max?: number | undefined;
3307
3830
  readonly group?: string | undefined;
@@ -3476,6 +3999,7 @@ declare const AiMessageObject: Omit<{
3476
3999
  readonly dependencies?: string[] | undefined;
3477
4000
  readonly theme?: string | undefined;
3478
4001
  readonly externalId?: boolean | undefined;
4002
+ readonly system?: boolean | undefined;
3479
4003
  readonly min?: number | undefined;
3480
4004
  readonly max?: number | undefined;
3481
4005
  readonly group?: string | undefined;
@@ -3650,6 +4174,7 @@ declare const AiMessageObject: Omit<{
3650
4174
  readonly dependencies?: string[] | undefined;
3651
4175
  readonly theme?: string | undefined;
3652
4176
  readonly externalId?: boolean | undefined;
4177
+ readonly system?: boolean | undefined;
3653
4178
  readonly min?: number | undefined;
3654
4179
  readonly max?: number | undefined;
3655
4180
  readonly group?: string | undefined;
@@ -3824,6 +4349,7 @@ declare const AiMessageObject: Omit<{
3824
4349
  readonly dependencies?: string[] | undefined;
3825
4350
  readonly theme?: string | undefined;
3826
4351
  readonly externalId?: boolean | undefined;
4352
+ readonly system?: boolean | undefined;
3827
4353
  readonly min?: number | undefined;
3828
4354
  readonly max?: number | undefined;
3829
4355
  readonly group?: string | undefined;
@@ -3998,6 +4524,7 @@ declare const AiMessageObject: Omit<{
3998
4524
  readonly dependencies?: string[] | undefined;
3999
4525
  readonly theme?: string | undefined;
4000
4526
  readonly externalId?: boolean | undefined;
4527
+ readonly system?: boolean | undefined;
4001
4528
  readonly min?: number | undefined;
4002
4529
  readonly max?: number | undefined;
4003
4530
  readonly group?: string | undefined;
@@ -4172,6 +4699,7 @@ declare const AiMessageObject: Omit<{
4172
4699
  readonly dependencies?: string[] | undefined;
4173
4700
  readonly theme?: string | undefined;
4174
4701
  readonly externalId?: boolean | undefined;
4702
+ readonly system?: boolean | undefined;
4175
4703
  readonly min?: number | undefined;
4176
4704
  readonly max?: number | undefined;
4177
4705
  readonly group?: string | undefined;