@objectstack/service-ai 4.0.5 → 4.1.0

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,240 @@ 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" | "inline" | "form";
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;
1370
1612
  search?: {
1371
1613
  fields: string[];
1372
1614
  displayFields?: string[] | undefined;
@@ -1382,10 +1624,10 @@ declare const AiConversationObject: Omit<{
1382
1624
  trash: boolean;
1383
1625
  mru: boolean;
1384
1626
  clone: boolean;
1385
- apiMethods?: ("search" | "upsert" | "list" | "get" | "delete" | "update" | "history" | "create" | "bulk" | "aggregate" | "restore" | "purge" | "import" | "export")[] | undefined;
1627
+ apiMethods?: ("search" | "upsert" | "create" | "import" | "delete" | "list" | "get" | "update" | "history" | "bulk" | "aggregate" | "restore" | "purge" | "export")[] | undefined;
1386
1628
  } | undefined;
1387
1629
  recordTypes?: string[] | undefined;
1388
- sharingModel?: "private" | "full" | "read" | "read_write" | undefined;
1630
+ sharingModel?: "private" | "read" | "full" | "read_write" | undefined;
1389
1631
  keyPrefix?: string | undefined;
1390
1632
  actions?: {
1391
1633
  name: string;
@@ -1409,14 +1651,20 @@ declare const AiConversationObject: Omit<{
1409
1651
  } | undefined;
1410
1652
  execute?: string | undefined;
1411
1653
  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
1654
  required: boolean;
1655
+ name?: string | undefined;
1656
+ field?: string | undefined;
1657
+ objectOverride?: string | undefined;
1658
+ label?: string | undefined;
1659
+ 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
1660
  options?: {
1417
1661
  label: string;
1418
1662
  value: string;
1419
1663
  }[] | undefined;
1664
+ placeholder?: string | undefined;
1665
+ helpText?: string | undefined;
1666
+ defaultValue?: unknown;
1667
+ defaultFromRow?: boolean | undefined;
1420
1668
  }[] | undefined;
1421
1669
  variant?: "link" | "primary" | "secondary" | "danger" | "ghost" | undefined;
1422
1670
  confirmText?: string | undefined;
@@ -1441,6 +1689,14 @@ declare const AiConversationObject: Omit<{
1441
1689
  } | undefined;
1442
1690
  shortcut?: string | undefined;
1443
1691
  bulkEnabled?: boolean | undefined;
1692
+ recordIdParam?: string | undefined;
1693
+ recordIdField?: string | undefined;
1694
+ bodyShape?: "flat" | {
1695
+ wrap: string;
1696
+ } | undefined;
1697
+ method?: "POST" | "PATCH" | "PUT" | "DELETE" | undefined;
1698
+ bodyExtra?: Record<string, unknown> | undefined;
1699
+ mode?: "custom" | "delete" | "create" | "edit" | undefined;
1444
1700
  timeout?: number | undefined;
1445
1701
  aria?: {
1446
1702
  ariaLabel?: string | undefined;
@@ -1474,6 +1730,7 @@ declare const AiConversationObject: Omit<{
1474
1730
  readonly dependencies?: string[] | undefined;
1475
1731
  readonly theme?: string | undefined;
1476
1732
  readonly externalId?: boolean | undefined;
1733
+ readonly system?: boolean | undefined;
1477
1734
  readonly min?: number | undefined;
1478
1735
  readonly max?: number | undefined;
1479
1736
  readonly group?: string | undefined;
@@ -1648,6 +1905,7 @@ declare const AiConversationObject: Omit<{
1648
1905
  readonly dependencies?: string[] | undefined;
1649
1906
  readonly theme?: string | undefined;
1650
1907
  readonly externalId?: boolean | undefined;
1908
+ readonly system?: boolean | undefined;
1651
1909
  readonly min?: number | undefined;
1652
1910
  readonly max?: number | undefined;
1653
1911
  readonly group?: string | undefined;
@@ -1822,6 +2080,7 @@ declare const AiConversationObject: Omit<{
1822
2080
  readonly dependencies?: string[] | undefined;
1823
2081
  readonly theme?: string | undefined;
1824
2082
  readonly externalId?: boolean | undefined;
2083
+ readonly system?: boolean | undefined;
1825
2084
  readonly min?: number | undefined;
1826
2085
  readonly max?: number | undefined;
1827
2086
  readonly group?: string | undefined;
@@ -1849,7 +2108,7 @@ declare const AiConversationObject: Omit<{
1849
2108
  readonly maxLength?: number | undefined;
1850
2109
  readonly minLength?: number | undefined;
1851
2110
  readonly scale?: number | undefined;
1852
- reference: string;
2111
+ readonly reference?: string | undefined;
1853
2112
  readonly referenceFilters?: string[] | undefined;
1854
2113
  readonly writeRequiresMasterRead?: boolean | undefined;
1855
2114
  readonly deleteBehavior?: "set_null" | "cascade" | "restrict" | undefined;
@@ -1976,7 +2235,7 @@ declare const AiConversationObject: Omit<{
1976
2235
  readonly caseSensitive?: boolean | undefined;
1977
2236
  readonly autonumberFormat?: string | undefined;
1978
2237
  readonly index?: boolean | undefined;
1979
- readonly type: "lookup";
2238
+ readonly type: "text";
1980
2239
  };
1981
2240
  readonly user_id: {
1982
2241
  readonly readonly?: boolean | undefined;
@@ -1996,6 +2255,7 @@ declare const AiConversationObject: Omit<{
1996
2255
  readonly dependencies?: string[] | undefined;
1997
2256
  readonly theme?: string | undefined;
1998
2257
  readonly externalId?: boolean | undefined;
2258
+ readonly system?: boolean | undefined;
1999
2259
  readonly min?: number | undefined;
2000
2260
  readonly max?: number | undefined;
2001
2261
  readonly group?: string | undefined;
@@ -2170,6 +2430,7 @@ declare const AiConversationObject: Omit<{
2170
2430
  readonly dependencies?: string[] | undefined;
2171
2431
  readonly theme?: string | undefined;
2172
2432
  readonly externalId?: boolean | undefined;
2433
+ readonly system?: boolean | undefined;
2173
2434
  readonly min?: number | undefined;
2174
2435
  readonly max?: number | undefined;
2175
2436
  readonly group?: string | undefined;
@@ -2344,6 +2605,7 @@ declare const AiConversationObject: Omit<{
2344
2605
  readonly dependencies?: string[] | undefined;
2345
2606
  readonly theme?: string | undefined;
2346
2607
  readonly externalId?: boolean | undefined;
2608
+ readonly system?: boolean | undefined;
2347
2609
  readonly min?: number | undefined;
2348
2610
  readonly max?: number | undefined;
2349
2611
  readonly group?: string | undefined;
@@ -2518,6 +2780,7 @@ declare const AiConversationObject: Omit<{
2518
2780
  readonly dependencies?: string[] | undefined;
2519
2781
  readonly theme?: string | undefined;
2520
2782
  readonly externalId?: boolean | undefined;
2783
+ readonly system?: boolean | undefined;
2521
2784
  readonly min?: number | undefined;
2522
2785
  readonly max?: number | undefined;
2523
2786
  readonly group?: string | undefined;
@@ -2891,6 +3154,7 @@ declare const AiMessageObject: Omit<{
2891
3154
  generatedBy?: string | undefined;
2892
3155
  } | undefined;
2893
3156
  } | undefined;
3157
+ system?: boolean | undefined;
2894
3158
  inlineHelpText?: string | undefined;
2895
3159
  trackFeedHistory?: boolean | undefined;
2896
3160
  caseSensitive?: boolean | undefined;
@@ -2901,7 +3165,14 @@ declare const AiMessageObject: Omit<{
2901
3165
  description?: string | undefined;
2902
3166
  icon?: string | undefined;
2903
3167
  tags?: string[] | undefined;
2904
- managedBy?: "system" | "better-auth" | "platform" | undefined;
3168
+ managedBy?: "system" | "config" | "platform" | "append-only" | "better-auth" | undefined;
3169
+ userActions?: {
3170
+ create?: boolean | undefined;
3171
+ import?: boolean | undefined;
3172
+ edit?: boolean | undefined;
3173
+ delete?: boolean | undefined;
3174
+ exportCsv?: boolean | undefined;
3175
+ } | undefined;
2905
3176
  systemFields?: false | {
2906
3177
  tenant?: boolean | undefined;
2907
3178
  owner?: boolean | undefined;
@@ -3021,6 +3292,240 @@ declare const AiMessageObject: Omit<{
3021
3292
  } | undefined;
3022
3293
  } | undefined;
3023
3294
  compactLayout?: string[] | undefined;
3295
+ listViews?: Record<string, {
3296
+ type: "map" | "kanban" | "calendar" | "gantt" | "gallery" | "timeline" | "chart" | "grid";
3297
+ columns: string[] | {
3298
+ field: string;
3299
+ label?: string | undefined;
3300
+ width?: number | undefined;
3301
+ align?: "left" | "center" | "right" | undefined;
3302
+ hidden?: boolean | undefined;
3303
+ sortable?: boolean | undefined;
3304
+ resizable?: boolean | undefined;
3305
+ wrap?: boolean | undefined;
3306
+ type?: string | undefined;
3307
+ pinned?: "left" | "right" | undefined;
3308
+ summary?: "none" | "min" | "max" | "count" | "sum" | "avg" | "count_empty" | "count_filled" | "count_unique" | "percent_empty" | "percent_filled" | undefined;
3309
+ link?: boolean | undefined;
3310
+ action?: string | undefined;
3311
+ }[];
3312
+ name?: string | undefined;
3313
+ label?: string | undefined;
3314
+ data?: {
3315
+ provider: "object";
3316
+ object: string;
3317
+ } | {
3318
+ provider: "api";
3319
+ read?: {
3320
+ url: string;
3321
+ method: "GET" | "POST" | "DELETE" | "PATCH" | "PUT";
3322
+ headers?: Record<string, string> | undefined;
3323
+ params?: Record<string, unknown> | undefined;
3324
+ body?: unknown;
3325
+ } | undefined;
3326
+ write?: {
3327
+ url: string;
3328
+ method: "GET" | "POST" | "DELETE" | "PATCH" | "PUT";
3329
+ headers?: Record<string, string> | undefined;
3330
+ params?: Record<string, unknown> | undefined;
3331
+ body?: unknown;
3332
+ } | undefined;
3333
+ } | {
3334
+ provider: "value";
3335
+ items: unknown[];
3336
+ } | undefined;
3337
+ filter?: {
3338
+ field: string;
3339
+ operator: string;
3340
+ value?: string | number | boolean | (string | number)[] | null | undefined;
3341
+ }[] | undefined;
3342
+ sort?: string | {
3343
+ field: string;
3344
+ order: "asc" | "desc";
3345
+ }[] | undefined;
3346
+ searchableFields?: string[] | undefined;
3347
+ filterableFields?: string[] | undefined;
3348
+ resizable?: boolean | undefined;
3349
+ striped?: boolean | undefined;
3350
+ bordered?: boolean | undefined;
3351
+ compactToolbar?: boolean | undefined;
3352
+ selection?: {
3353
+ type: "none" | "multiple" | "single";
3354
+ } | undefined;
3355
+ navigation?: {
3356
+ mode: "none" | "split" | "page" | "modal" | "drawer" | "popover" | "new_window";
3357
+ preventNavigation: boolean;
3358
+ openNewTab: boolean;
3359
+ view?: string | undefined;
3360
+ width?: string | number | undefined;
3361
+ } | undefined;
3362
+ pagination?: {
3363
+ pageSize: number;
3364
+ pageSizeOptions?: number[] | undefined;
3365
+ } | undefined;
3366
+ kanban?: {
3367
+ groupByField: string;
3368
+ columns: string[];
3369
+ summarizeField?: string | undefined;
3370
+ } | undefined;
3371
+ calendar?: {
3372
+ startDateField: string;
3373
+ titleField: string;
3374
+ endDateField?: string | undefined;
3375
+ colorField?: string | undefined;
3376
+ } | undefined;
3377
+ gantt?: {
3378
+ startDateField: string;
3379
+ endDateField: string;
3380
+ titleField: string;
3381
+ progressField?: string | undefined;
3382
+ dependenciesField?: string | undefined;
3383
+ } | undefined;
3384
+ gallery?: {
3385
+ coverFit: "cover" | "contain";
3386
+ cardSize: "small" | "medium" | "large";
3387
+ coverField?: string | undefined;
3388
+ titleField?: string | undefined;
3389
+ visibleFields?: string[] | undefined;
3390
+ } | undefined;
3391
+ timeline?: {
3392
+ startDateField: string;
3393
+ titleField: string;
3394
+ scale: "day" | "week" | "month" | "quarter" | "year" | "hour";
3395
+ endDateField?: string | undefined;
3396
+ groupByField?: string | undefined;
3397
+ colorField?: string | undefined;
3398
+ } | undefined;
3399
+ chart?: {
3400
+ chartType: "bar" | "line" | "pie" | "area" | "scatter";
3401
+ xAxisField: string;
3402
+ yAxisFields: string[];
3403
+ aggregation?: "min" | "max" | "count" | "sum" | "avg" | undefined;
3404
+ groupByField?: string | undefined;
3405
+ } | undefined;
3406
+ description?: string | undefined;
3407
+ sharing?: {
3408
+ type: "personal" | "collaborative";
3409
+ lockedBy?: string | undefined;
3410
+ } | undefined;
3411
+ rowHeight?: "medium" | "short" | "compact" | "tall" | "extra_tall" | undefined;
3412
+ grouping?: {
3413
+ fields: {
3414
+ field: string;
3415
+ order: "asc" | "desc";
3416
+ collapsed: boolean;
3417
+ }[];
3418
+ } | undefined;
3419
+ rowColor?: {
3420
+ field: string;
3421
+ colors?: Record<string, string> | undefined;
3422
+ } | undefined;
3423
+ hiddenFields?: string[] | undefined;
3424
+ fieldOrder?: string[] | undefined;
3425
+ rowActions?: string[] | undefined;
3426
+ bulkActions?: string[] | undefined;
3427
+ bulkActionDefs?: Record<string, any>[] | undefined;
3428
+ virtualScroll?: boolean | undefined;
3429
+ conditionalFormatting?: {
3430
+ condition: {
3431
+ dialect: "cel" | "js" | "cron" | "template";
3432
+ source?: string | undefined;
3433
+ ast?: unknown;
3434
+ meta?: {
3435
+ rationale?: string | undefined;
3436
+ generatedBy?: string | undefined;
3437
+ } | undefined;
3438
+ } | {
3439
+ dialect: "cel" | "js" | "cron" | "template";
3440
+ source?: string | undefined;
3441
+ ast?: unknown;
3442
+ meta?: {
3443
+ rationale?: string | undefined;
3444
+ generatedBy?: string | undefined;
3445
+ } | undefined;
3446
+ };
3447
+ style: Record<string, string>;
3448
+ }[] | undefined;
3449
+ inlineEdit?: boolean | undefined;
3450
+ exportOptions?: ("json" | "csv" | "xlsx" | "pdf")[] | undefined;
3451
+ userActions?: {
3452
+ sort: boolean;
3453
+ search: boolean;
3454
+ filter: boolean;
3455
+ rowHeight: boolean;
3456
+ addRecordForm: boolean;
3457
+ buttons?: string[] | undefined;
3458
+ } | undefined;
3459
+ appearance?: {
3460
+ showDescription: boolean;
3461
+ allowedVisualizations?: ("map" | "kanban" | "calendar" | "gantt" | "gallery" | "timeline" | "grid")[] | undefined;
3462
+ } | undefined;
3463
+ tabs?: {
3464
+ name: string;
3465
+ pinned: boolean;
3466
+ isDefault: boolean;
3467
+ visible: boolean;
3468
+ label?: string | undefined;
3469
+ icon?: string | undefined;
3470
+ view?: string | undefined;
3471
+ filter?: {
3472
+ field: string;
3473
+ operator: string;
3474
+ value?: string | number | boolean | (string | number)[] | null | undefined;
3475
+ }[] | undefined;
3476
+ order?: number | undefined;
3477
+ }[] | undefined;
3478
+ addRecord?: {
3479
+ enabled: boolean;
3480
+ position: "top" | "bottom" | "both";
3481
+ mode: "modal" | "inline" | "form";
3482
+ formView?: string | undefined;
3483
+ } | undefined;
3484
+ showRecordCount?: boolean | undefined;
3485
+ allowPrinting?: boolean | undefined;
3486
+ emptyState?: {
3487
+ title?: string | undefined;
3488
+ message?: string | undefined;
3489
+ icon?: string | undefined;
3490
+ } | undefined;
3491
+ aria?: {
3492
+ ariaLabel?: string | undefined;
3493
+ ariaDescribedBy?: string | undefined;
3494
+ role?: string | undefined;
3495
+ } | undefined;
3496
+ responsive?: {
3497
+ breakpoint?: "md" | "xs" | "sm" | "lg" | "xl" | "2xl" | undefined;
3498
+ hiddenOn?: ("md" | "xs" | "sm" | "lg" | "xl" | "2xl")[] | undefined;
3499
+ columns?: {
3500
+ xs?: number | undefined;
3501
+ sm?: number | undefined;
3502
+ md?: number | undefined;
3503
+ lg?: number | undefined;
3504
+ xl?: number | undefined;
3505
+ '2xl'?: number | undefined;
3506
+ } | undefined;
3507
+ order?: {
3508
+ xs?: number | undefined;
3509
+ sm?: number | undefined;
3510
+ md?: number | undefined;
3511
+ lg?: number | undefined;
3512
+ xl?: number | undefined;
3513
+ '2xl'?: number | undefined;
3514
+ } | undefined;
3515
+ } | undefined;
3516
+ performance?: {
3517
+ lazyLoad?: boolean | undefined;
3518
+ virtualScroll?: {
3519
+ enabled: boolean;
3520
+ itemHeight?: number | undefined;
3521
+ overscan?: number | undefined;
3522
+ } | undefined;
3523
+ cacheStrategy?: "none" | "cache-first" | "network-first" | "stale-while-revalidate" | undefined;
3524
+ prefetch?: boolean | undefined;
3525
+ pageSize?: number | undefined;
3526
+ debounceMs?: number | undefined;
3527
+ } | undefined;
3528
+ }> | undefined;
3024
3529
  search?: {
3025
3530
  fields: string[];
3026
3531
  displayFields?: string[] | undefined;
@@ -3036,10 +3541,10 @@ declare const AiMessageObject: Omit<{
3036
3541
  trash: boolean;
3037
3542
  mru: boolean;
3038
3543
  clone: boolean;
3039
- apiMethods?: ("search" | "upsert" | "list" | "get" | "delete" | "update" | "history" | "create" | "bulk" | "aggregate" | "restore" | "purge" | "import" | "export")[] | undefined;
3544
+ apiMethods?: ("search" | "upsert" | "create" | "import" | "delete" | "list" | "get" | "update" | "history" | "bulk" | "aggregate" | "restore" | "purge" | "export")[] | undefined;
3040
3545
  } | undefined;
3041
3546
  recordTypes?: string[] | undefined;
3042
- sharingModel?: "private" | "full" | "read" | "read_write" | undefined;
3547
+ sharingModel?: "private" | "read" | "full" | "read_write" | undefined;
3043
3548
  keyPrefix?: string | undefined;
3044
3549
  actions?: {
3045
3550
  name: string;
@@ -3063,14 +3568,20 @@ declare const AiMessageObject: Omit<{
3063
3568
  } | undefined;
3064
3569
  execute?: string | undefined;
3065
3570
  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
3571
  required: boolean;
3572
+ name?: string | undefined;
3573
+ field?: string | undefined;
3574
+ objectOverride?: string | undefined;
3575
+ label?: string | undefined;
3576
+ 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
3577
  options?: {
3071
3578
  label: string;
3072
3579
  value: string;
3073
3580
  }[] | undefined;
3581
+ placeholder?: string | undefined;
3582
+ helpText?: string | undefined;
3583
+ defaultValue?: unknown;
3584
+ defaultFromRow?: boolean | undefined;
3074
3585
  }[] | undefined;
3075
3586
  variant?: "link" | "primary" | "secondary" | "danger" | "ghost" | undefined;
3076
3587
  confirmText?: string | undefined;
@@ -3095,6 +3606,14 @@ declare const AiMessageObject: Omit<{
3095
3606
  } | undefined;
3096
3607
  shortcut?: string | undefined;
3097
3608
  bulkEnabled?: boolean | undefined;
3609
+ recordIdParam?: string | undefined;
3610
+ recordIdField?: string | undefined;
3611
+ bodyShape?: "flat" | {
3612
+ wrap: string;
3613
+ } | undefined;
3614
+ method?: "POST" | "PATCH" | "PUT" | "DELETE" | undefined;
3615
+ bodyExtra?: Record<string, unknown> | undefined;
3616
+ mode?: "custom" | "delete" | "create" | "edit" | undefined;
3098
3617
  timeout?: number | undefined;
3099
3618
  aria?: {
3100
3619
  ariaLabel?: string | undefined;
@@ -3128,6 +3647,7 @@ declare const AiMessageObject: Omit<{
3128
3647
  readonly dependencies?: string[] | undefined;
3129
3648
  readonly theme?: string | undefined;
3130
3649
  readonly externalId?: boolean | undefined;
3650
+ readonly system?: boolean | undefined;
3131
3651
  readonly min?: number | undefined;
3132
3652
  readonly max?: number | undefined;
3133
3653
  readonly group?: string | undefined;
@@ -3302,6 +3822,7 @@ declare const AiMessageObject: Omit<{
3302
3822
  readonly dependencies?: string[] | undefined;
3303
3823
  readonly theme?: string | undefined;
3304
3824
  readonly externalId?: boolean | undefined;
3825
+ readonly system?: boolean | undefined;
3305
3826
  readonly min?: number | undefined;
3306
3827
  readonly max?: number | undefined;
3307
3828
  readonly group?: string | undefined;
@@ -3476,6 +3997,7 @@ declare const AiMessageObject: Omit<{
3476
3997
  readonly dependencies?: string[] | undefined;
3477
3998
  readonly theme?: string | undefined;
3478
3999
  readonly externalId?: boolean | undefined;
4000
+ readonly system?: boolean | undefined;
3479
4001
  readonly min?: number | undefined;
3480
4002
  readonly max?: number | undefined;
3481
4003
  readonly group?: string | undefined;
@@ -3650,6 +4172,7 @@ declare const AiMessageObject: Omit<{
3650
4172
  readonly dependencies?: string[] | undefined;
3651
4173
  readonly theme?: string | undefined;
3652
4174
  readonly externalId?: boolean | undefined;
4175
+ readonly system?: boolean | undefined;
3653
4176
  readonly min?: number | undefined;
3654
4177
  readonly max?: number | undefined;
3655
4178
  readonly group?: string | undefined;
@@ -3824,6 +4347,7 @@ declare const AiMessageObject: Omit<{
3824
4347
  readonly dependencies?: string[] | undefined;
3825
4348
  readonly theme?: string | undefined;
3826
4349
  readonly externalId?: boolean | undefined;
4350
+ readonly system?: boolean | undefined;
3827
4351
  readonly min?: number | undefined;
3828
4352
  readonly max?: number | undefined;
3829
4353
  readonly group?: string | undefined;
@@ -3998,6 +4522,7 @@ declare const AiMessageObject: Omit<{
3998
4522
  readonly dependencies?: string[] | undefined;
3999
4523
  readonly theme?: string | undefined;
4000
4524
  readonly externalId?: boolean | undefined;
4525
+ readonly system?: boolean | undefined;
4001
4526
  readonly min?: number | undefined;
4002
4527
  readonly max?: number | undefined;
4003
4528
  readonly group?: string | undefined;
@@ -4172,6 +4697,7 @@ declare const AiMessageObject: Omit<{
4172
4697
  readonly dependencies?: string[] | undefined;
4173
4698
  readonly theme?: string | undefined;
4174
4699
  readonly externalId?: boolean | undefined;
4700
+ readonly system?: boolean | undefined;
4175
4701
  readonly min?: number | undefined;
4176
4702
  readonly max?: number | undefined;
4177
4703
  readonly group?: string | undefined;