@objectstack/service-ai 7.2.1 → 7.4.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.cts CHANGED
@@ -868,7 +868,7 @@ declare const createObjectTool: {
868
868
  _packageId?: string | undefined;
869
869
  _packageVersion?: string | undefined;
870
870
  _lockDocsUrl?: string | undefined;
871
- category?: "action" | "flow" | "vector_search" | "data" | "utility" | "analytics" | "integration" | undefined;
871
+ category?: "action" | "flow" | "vector_search" | "data" | "utility" | "integration" | "analytics" | undefined;
872
872
  outputSchema?: Record<string, unknown> | undefined;
873
873
  objectName?: string | undefined;
874
874
  permissions?: string[] | undefined;
@@ -901,7 +901,7 @@ declare const addFieldTool: {
901
901
  _packageId?: string | undefined;
902
902
  _packageVersion?: string | undefined;
903
903
  _lockDocsUrl?: string | undefined;
904
- category?: "action" | "flow" | "vector_search" | "data" | "utility" | "analytics" | "integration" | undefined;
904
+ category?: "action" | "flow" | "vector_search" | "data" | "utility" | "integration" | "analytics" | undefined;
905
905
  outputSchema?: Record<string, unknown> | undefined;
906
906
  objectName?: string | undefined;
907
907
  permissions?: string[] | undefined;
@@ -933,7 +933,7 @@ declare const modifyFieldTool: {
933
933
  _packageId?: string | undefined;
934
934
  _packageVersion?: string | undefined;
935
935
  _lockDocsUrl?: string | undefined;
936
- category?: "action" | "flow" | "vector_search" | "data" | "utility" | "analytics" | "integration" | undefined;
936
+ category?: "action" | "flow" | "vector_search" | "data" | "utility" | "integration" | "analytics" | undefined;
937
937
  outputSchema?: Record<string, unknown> | undefined;
938
938
  objectName?: string | undefined;
939
939
  permissions?: string[] | undefined;
@@ -965,7 +965,7 @@ declare const deleteFieldTool: {
965
965
  _packageId?: string | undefined;
966
966
  _packageVersion?: string | undefined;
967
967
  _lockDocsUrl?: string | undefined;
968
- category?: "action" | "flow" | "vector_search" | "data" | "utility" | "analytics" | "integration" | undefined;
968
+ category?: "action" | "flow" | "vector_search" | "data" | "utility" | "integration" | "analytics" | undefined;
969
969
  outputSchema?: Record<string, unknown> | undefined;
970
970
  objectName?: string | undefined;
971
971
  permissions?: string[] | undefined;
@@ -998,7 +998,7 @@ declare const listObjectsTool: {
998
998
  _packageId?: string | undefined;
999
999
  _packageVersion?: string | undefined;
1000
1000
  _lockDocsUrl?: string | undefined;
1001
- category?: "action" | "flow" | "vector_search" | "data" | "utility" | "analytics" | "integration" | undefined;
1001
+ category?: "action" | "flow" | "vector_search" | "data" | "utility" | "integration" | "analytics" | undefined;
1002
1002
  outputSchema?: Record<string, unknown> | undefined;
1003
1003
  objectName?: string | undefined;
1004
1004
  permissions?: string[] | undefined;
@@ -1031,7 +1031,7 @@ declare const describeObjectTool: {
1031
1031
  _packageId?: string | undefined;
1032
1032
  _packageVersion?: string | undefined;
1033
1033
  _lockDocsUrl?: string | undefined;
1034
- category?: "action" | "flow" | "vector_search" | "data" | "utility" | "analytics" | "integration" | undefined;
1034
+ category?: "action" | "flow" | "vector_search" | "data" | "utility" | "integration" | "analytics" | undefined;
1035
1035
  outputSchema?: Record<string, unknown> | undefined;
1036
1036
  objectName?: string | undefined;
1037
1037
  permissions?: string[] | undefined;
@@ -1147,7 +1147,7 @@ declare const listPackagesTool: {
1147
1147
  _packageId?: string | undefined;
1148
1148
  _packageVersion?: string | undefined;
1149
1149
  _lockDocsUrl?: string | undefined;
1150
- category?: "action" | "flow" | "vector_search" | "data" | "utility" | "analytics" | "integration" | undefined;
1150
+ category?: "action" | "flow" | "vector_search" | "data" | "utility" | "integration" | "analytics" | undefined;
1151
1151
  outputSchema?: Record<string, unknown> | undefined;
1152
1152
  objectName?: string | undefined;
1153
1153
  permissions?: string[] | undefined;
@@ -1178,7 +1178,7 @@ declare const getPackageTool: {
1178
1178
  _packageId?: string | undefined;
1179
1179
  _packageVersion?: string | undefined;
1180
1180
  _lockDocsUrl?: string | undefined;
1181
- category?: "action" | "flow" | "vector_search" | "data" | "utility" | "analytics" | "integration" | undefined;
1181
+ category?: "action" | "flow" | "vector_search" | "data" | "utility" | "integration" | "analytics" | undefined;
1182
1182
  outputSchema?: Record<string, unknown> | undefined;
1183
1183
  objectName?: string | undefined;
1184
1184
  permissions?: string[] | undefined;
@@ -1210,7 +1210,7 @@ declare const createPackageTool: {
1210
1210
  _packageId?: string | undefined;
1211
1211
  _packageVersion?: string | undefined;
1212
1212
  _lockDocsUrl?: string | undefined;
1213
- category?: "action" | "flow" | "vector_search" | "data" | "utility" | "analytics" | "integration" | undefined;
1213
+ category?: "action" | "flow" | "vector_search" | "data" | "utility" | "integration" | "analytics" | undefined;
1214
1214
  outputSchema?: Record<string, unknown> | undefined;
1215
1215
  objectName?: string | undefined;
1216
1216
  permissions?: string[] | undefined;
@@ -1241,7 +1241,7 @@ declare const getActivePackageTool: {
1241
1241
  _packageId?: string | undefined;
1242
1242
  _packageVersion?: string | undefined;
1243
1243
  _lockDocsUrl?: string | undefined;
1244
- category?: "action" | "flow" | "vector_search" | "data" | "utility" | "analytics" | "integration" | undefined;
1244
+ category?: "action" | "flow" | "vector_search" | "data" | "utility" | "integration" | "analytics" | undefined;
1245
1245
  outputSchema?: Record<string, unknown> | undefined;
1246
1246
  objectName?: string | undefined;
1247
1247
  permissions?: string[] | undefined;
@@ -1273,7 +1273,7 @@ declare const setActivePackageTool: {
1273
1273
  _packageId?: string | undefined;
1274
1274
  _packageVersion?: string | undefined;
1275
1275
  _lockDocsUrl?: string | undefined;
1276
- category?: "action" | "flow" | "vector_search" | "data" | "utility" | "analytics" | "integration" | undefined;
1276
+ category?: "action" | "flow" | "vector_search" | "data" | "utility" | "integration" | "analytics" | undefined;
1277
1277
  outputSchema?: Record<string, unknown> | undefined;
1278
1278
  objectName?: string | undefined;
1279
1279
  permissions?: string[] | undefined;
@@ -1737,38 +1737,18 @@ declare class AgentRuntime {
1737
1737
  * chat endpoint when the client doesn't specify an `agentName`.
1738
1738
  *
1739
1739
  * Resolution order:
1740
- * 1. The `defaultAgent` of the app named by `context.appName`.
1741
- * 2. The first active agent in the registry (deterministic fallback).
1742
- * 3. `undefined` if no agents are registered.
1740
+ * 1. The `defaultAgent` of the app named by `context.appName`
1741
+ * (e.g. Studio `metadata_assistant`).
1742
+ * 2. The platform data-query agent (`data_chat`) the implicit
1743
+ * copilot bound to every app that doesn't pin its own. This is
1744
+ * what end users get by default, so they never have to choose.
1745
+ * 3. The first active agent in the registry (last-resort fallback,
1746
+ * e.g. in stripped-down deployments without the data agent).
1747
+ * 4. `undefined` if no agents are registered.
1743
1748
  */
1744
1749
  resolveDefaultAgent(context?: AgentChatContext): Promise<Agent | undefined>;
1745
1750
  }
1746
1751
 
1747
- /**
1748
- * Built-in `data_chat` agent — a thin **persona** record.
1749
- *
1750
- * Following the platform's metadata-driven philosophy, this agent no
1751
- * longer hardcodes the tools it can call. The capability bundle lives
1752
- * on the `data_explorer` *skill* (see `../skills/data-explorer-skill.ts`).
1753
- * The agent record is now just:
1754
- * - identity (name / label / role)
1755
- * - persona (system prompt)
1756
- * - model + safety config
1757
- * - skills attached → `skills: ['data_explorer']`
1758
- *
1759
- * To grant data-exploration powers to a different agent, just add
1760
- * `data_explorer` to its `skills[]`. To revoke globally, set the
1761
- * skill's `active: false` in metadata.
1762
- *
1763
- * @example
1764
- * ```
1765
- * POST /api/v1/ai/agents/data_chat/chat
1766
- * {
1767
- * "messages": [{ "role": "user", "content": "Show me all active accounts" }],
1768
- * "context": { "objectName": "account" }
1769
- * }
1770
- * ```
1771
- */
1772
1752
  declare const DATA_CHAT_AGENT: Agent;
1773
1753
 
1774
1754
  /**
@@ -1846,44 +1826,6 @@ declare const METADATA_AUTHORING_SKILL: Skill;
1846
1826
  */
1847
1827
  declare const ACTIONS_EXECUTOR_SKILL: Skill;
1848
1828
 
1849
- declare const ActionRefSchema: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
1850
- type: z.ZodString;
1851
- params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1852
- }, z.core.$strip>]>;
1853
- /**
1854
- * State Transition Definition
1855
- * "When EVENT happens, if GUARD is true, go to TARGET and run ACTIONS"
1856
- */
1857
- declare const TransitionSchema: z.ZodObject<{
1858
- target: z.ZodOptional<z.ZodString>;
1859
- cond: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
1860
- type: z.ZodString;
1861
- params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1862
- }, z.core.$strip>]>>;
1863
- actions: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
1864
- type: z.ZodString;
1865
- params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1866
- }, z.core.$strip>]>>>;
1867
- description: z.ZodOptional<z.ZodString>;
1868
- }, z.core.$strip>;
1869
- type ActionRef = z.infer<typeof ActionRefSchema>;
1870
- type Transition = z.infer<typeof TransitionSchema>;
1871
- type StateNodeConfig = {
1872
- type?: 'atomic' | 'compound' | 'parallel' | 'final' | 'history';
1873
- entry?: ActionRef[];
1874
- exit?: ActionRef[];
1875
- on?: Record<string, string | Transition | Transition[]>;
1876
- always?: Transition[];
1877
- initial?: string;
1878
- states?: Record<string, StateNodeConfig>;
1879
- meta?: {
1880
- label?: string;
1881
- description?: string;
1882
- color?: string;
1883
- aiInstructions?: string;
1884
- };
1885
- };
1886
-
1887
1829
  /**
1888
1830
  * ai_conversations — AI Conversation Object
1889
1831
  *
@@ -1900,7 +1842,7 @@ declare const AiConversationObject: Omit<{
1900
1842
  abstract: boolean;
1901
1843
  datasource: string;
1902
1844
  fields: Record<string, {
1903
- type: "number" | "boolean" | "file" | "text" | "json" | "tags" | "currency" | "code" | "date" | "record" | "avatar" | "vector" | "datetime" | "signature" | "progress" | "url" | "textarea" | "email" | "phone" | "password" | "markdown" | "html" | "richtext" | "percent" | "time" | "toggle" | "select" | "multiselect" | "radio" | "checkboxes" | "lookup" | "master_detail" | "tree" | "image" | "video" | "audio" | "formula" | "summary" | "autonumber" | "composite" | "repeater" | "location" | "address" | "color" | "rating" | "slider" | "qrcode";
1845
+ type: "number" | "boolean" | "file" | "text" | "json" | "tags" | "currency" | "code" | "date" | "record" | "avatar" | "vector" | "datetime" | "signature" | "progress" | "url" | "percent" | "password" | "secret" | "email" | "time" | "textarea" | "phone" | "markdown" | "html" | "richtext" | "toggle" | "select" | "multiselect" | "radio" | "checkboxes" | "lookup" | "master_detail" | "tree" | "image" | "video" | "audio" | "formula" | "summary" | "autonumber" | "composite" | "repeater" | "location" | "address" | "color" | "rating" | "slider" | "qrcode";
1904
1846
  required: boolean;
1905
1847
  searchable: boolean;
1906
1848
  multiple: boolean;
@@ -2115,6 +2057,14 @@ declare const AiConversationObject: Omit<{
2115
2057
  owner?: boolean | undefined;
2116
2058
  audit?: boolean | undefined;
2117
2059
  } | undefined;
2060
+ external?: {
2061
+ writable: boolean;
2062
+ remoteName?: string | undefined;
2063
+ remoteSchema?: string | undefined;
2064
+ columnMap?: Record<string, string> | undefined;
2065
+ introspectedAt?: string | undefined;
2066
+ ignoreColumns?: string[] | undefined;
2067
+ } | undefined;
2118
2068
  indexes?: {
2119
2069
  fields: string[];
2120
2070
  type: "hash" | "btree" | "gin" | "gist" | "fulltext";
@@ -2175,36 +2125,6 @@ declare const AiConversationObject: Omit<{
2175
2125
  destination: string;
2176
2126
  } | undefined;
2177
2127
  validations?: _objectstack_spec_data.BaseValidationRuleShape[] | undefined;
2178
- stateMachines?: Record<string, {
2179
- id: string;
2180
- initial: string;
2181
- states: Record<string, StateNodeConfig>;
2182
- description?: string | undefined;
2183
- contextSchema?: Record<string, unknown> | undefined;
2184
- on?: Record<string, string | {
2185
- target?: string | undefined;
2186
- cond?: string | {
2187
- type: string;
2188
- params?: Record<string, unknown> | undefined;
2189
- } | undefined;
2190
- actions?: (string | {
2191
- type: string;
2192
- params?: Record<string, unknown> | undefined;
2193
- })[] | undefined;
2194
- description?: string | undefined;
2195
- } | {
2196
- target?: string | undefined;
2197
- cond?: string | {
2198
- type: string;
2199
- params?: Record<string, unknown> | undefined;
2200
- } | undefined;
2201
- actions?: (string | {
2202
- type: string;
2203
- params?: Record<string, unknown> | undefined;
2204
- })[] | undefined;
2205
- description?: string | undefined;
2206
- }[]> | undefined;
2207
- }> | undefined;
2208
2128
  displayNameField?: string | undefined;
2209
2129
  recordName?: {
2210
2130
  type: "text" | "autonumber";
@@ -2294,7 +2214,7 @@ declare const AiConversationObject: Omit<{
2294
2214
  type: "none" | "multiple" | "single";
2295
2215
  } | undefined;
2296
2216
  navigation?: {
2297
- mode: "none" | "split" | "page" | "modal" | "drawer" | "popover" | "new_window";
2217
+ mode: "none" | "split" | "page" | "drawer" | "modal" | "popover" | "new_window";
2298
2218
  preventNavigation: boolean;
2299
2219
  openNewTab: boolean;
2300
2220
  view?: string | undefined;
@@ -2483,7 +2403,7 @@ declare const AiConversationObject: Omit<{
2483
2403
  trash: boolean;
2484
2404
  mru: boolean;
2485
2405
  clone: boolean;
2486
- apiMethods?: ("restore" | "export" | "import" | "delete" | "purge" | "upsert" | "search" | "create" | "list" | "get" | "update" | "history" | "bulk" | "aggregate")[] | undefined;
2406
+ apiMethods?: ("restore" | "export" | "import" | "delete" | "purge" | "upsert" | "search" | "create" | "list" | "get" | "update" | "bulk" | "aggregate" | "history")[] | undefined;
2487
2407
  } | undefined;
2488
2408
  recordTypes?: string[] | undefined;
2489
2409
  sharingModel?: "full" | "private" | "read" | "read_write" | undefined;
@@ -2529,7 +2449,7 @@ declare const AiConversationObject: Omit<{
2529
2449
  field?: string | undefined;
2530
2450
  objectOverride?: string | undefined;
2531
2451
  label?: string | undefined;
2532
- type?: "number" | "boolean" | "date" | "record" | "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" | "composite" | "repeater" | "location" | "address" | "json" | "color" | "rating" | "slider" | "qrcode" | "tags" | "vector" | undefined;
2452
+ type?: "number" | "boolean" | "date" | "record" | "file" | "code" | "datetime" | "signature" | "progress" | "url" | "currency" | "percent" | "password" | "secret" | "email" | "time" | "text" | "textarea" | "phone" | "markdown" | "html" | "richtext" | "toggle" | "select" | "multiselect" | "radio" | "checkboxes" | "lookup" | "master_detail" | "tree" | "image" | "avatar" | "video" | "audio" | "formula" | "summary" | "autonumber" | "composite" | "repeater" | "location" | "address" | "json" | "color" | "rating" | "slider" | "qrcode" | "tags" | "vector" | undefined;
2533
2453
  options?: {
2534
2454
  label: string;
2535
2455
  value: string;
@@ -2581,7 +2501,7 @@ declare const AiConversationObject: Omit<{
2581
2501
  } | undefined;
2582
2502
  method?: "POST" | "PATCH" | "PUT" | "DELETE" | undefined;
2583
2503
  bodyExtra?: Record<string, unknown> | undefined;
2584
- mode?: "custom" | "delete" | "create" | "edit" | undefined;
2504
+ mode?: "custom" | "delete" | "edit" | "create" | undefined;
2585
2505
  timeout?: number | undefined;
2586
2506
  aria?: {
2587
2507
  ariaLabel?: string | undefined;
@@ -2627,10 +2547,12 @@ declare const AiConversationObject: Omit<{
2627
2547
  readonly dependencies?: string[] | undefined;
2628
2548
  readonly theme?: string | undefined;
2629
2549
  readonly externalId?: boolean | undefined;
2550
+ readonly defaultValue?: unknown;
2551
+ readonly group?: string | undefined;
2552
+ readonly hidden?: boolean | undefined;
2630
2553
  readonly system?: boolean | undefined;
2631
2554
  readonly min?: number | undefined;
2632
2555
  readonly max?: number | undefined;
2633
- readonly group?: string | undefined;
2634
2556
  readonly encryptionConfig?: {
2635
2557
  enabled: boolean;
2636
2558
  algorithm: "aes-256-gcm" | "aes-256-cbc" | "chacha20-poly1305";
@@ -2651,7 +2573,6 @@ declare const AiConversationObject: Omit<{
2651
2573
  readonly columnName?: string | undefined;
2652
2574
  readonly searchable?: boolean | undefined;
2653
2575
  readonly unique?: boolean | undefined;
2654
- readonly defaultValue?: unknown;
2655
2576
  readonly maxLength?: number | undefined;
2656
2577
  readonly minLength?: number | undefined;
2657
2578
  readonly scale?: number | undefined;
@@ -2775,7 +2696,6 @@ declare const AiConversationObject: Omit<{
2775
2696
  generatedBy?: string | undefined;
2776
2697
  } | undefined;
2777
2698
  } | undefined;
2778
- readonly hidden?: boolean | undefined;
2779
2699
  readonly sortable?: boolean | undefined;
2780
2700
  readonly inlineHelpText?: string | undefined;
2781
2701
  readonly trackFeedHistory?: boolean | undefined;
@@ -2802,10 +2722,12 @@ declare const AiConversationObject: Omit<{
2802
2722
  readonly dependencies?: string[] | undefined;
2803
2723
  readonly theme?: string | undefined;
2804
2724
  readonly externalId?: boolean | undefined;
2725
+ readonly defaultValue?: unknown;
2726
+ readonly group?: string | undefined;
2727
+ readonly hidden?: boolean | undefined;
2805
2728
  readonly system?: boolean | undefined;
2806
2729
  readonly min?: number | undefined;
2807
2730
  readonly max?: number | undefined;
2808
- readonly group?: string | undefined;
2809
2731
  readonly encryptionConfig?: {
2810
2732
  enabled: boolean;
2811
2733
  algorithm: "aes-256-gcm" | "aes-256-cbc" | "chacha20-poly1305";
@@ -2826,7 +2748,6 @@ declare const AiConversationObject: Omit<{
2826
2748
  readonly columnName?: string | undefined;
2827
2749
  readonly searchable?: boolean | undefined;
2828
2750
  readonly unique?: boolean | undefined;
2829
- readonly defaultValue?: unknown;
2830
2751
  readonly maxLength?: number | undefined;
2831
2752
  readonly minLength?: number | undefined;
2832
2753
  readonly scale?: number | undefined;
@@ -2950,7 +2871,6 @@ declare const AiConversationObject: Omit<{
2950
2871
  generatedBy?: string | undefined;
2951
2872
  } | undefined;
2952
2873
  } | undefined;
2953
- readonly hidden?: boolean | undefined;
2954
2874
  readonly sortable?: boolean | undefined;
2955
2875
  readonly inlineHelpText?: string | undefined;
2956
2876
  readonly trackFeedHistory?: boolean | undefined;
@@ -2977,10 +2897,12 @@ declare const AiConversationObject: Omit<{
2977
2897
  readonly dependencies?: string[] | undefined;
2978
2898
  readonly theme?: string | undefined;
2979
2899
  readonly externalId?: boolean | undefined;
2900
+ readonly defaultValue?: unknown;
2901
+ readonly group?: string | undefined;
2902
+ readonly hidden?: boolean | undefined;
2980
2903
  readonly system?: boolean | undefined;
2981
2904
  readonly min?: number | undefined;
2982
2905
  readonly max?: number | undefined;
2983
- readonly group?: string | undefined;
2984
2906
  readonly encryptionConfig?: {
2985
2907
  enabled: boolean;
2986
2908
  algorithm: "aes-256-gcm" | "aes-256-cbc" | "chacha20-poly1305";
@@ -3001,7 +2923,6 @@ declare const AiConversationObject: Omit<{
3001
2923
  readonly columnName?: string | undefined;
3002
2924
  readonly searchable?: boolean | undefined;
3003
2925
  readonly unique?: boolean | undefined;
3004
- readonly defaultValue?: unknown;
3005
2926
  readonly maxLength?: number | undefined;
3006
2927
  readonly minLength?: number | undefined;
3007
2928
  readonly scale?: number | undefined;
@@ -3125,7 +3046,6 @@ declare const AiConversationObject: Omit<{
3125
3046
  generatedBy?: string | undefined;
3126
3047
  } | undefined;
3127
3048
  } | undefined;
3128
- readonly hidden?: boolean | undefined;
3129
3049
  readonly sortable?: boolean | undefined;
3130
3050
  readonly inlineHelpText?: string | undefined;
3131
3051
  readonly trackFeedHistory?: boolean | undefined;
@@ -3152,10 +3072,12 @@ declare const AiConversationObject: Omit<{
3152
3072
  readonly dependencies?: string[] | undefined;
3153
3073
  readonly theme?: string | undefined;
3154
3074
  readonly externalId?: boolean | undefined;
3075
+ readonly defaultValue?: unknown;
3076
+ readonly group?: string | undefined;
3077
+ readonly hidden?: boolean | undefined;
3155
3078
  readonly system?: boolean | undefined;
3156
3079
  readonly min?: number | undefined;
3157
3080
  readonly max?: number | undefined;
3158
- readonly group?: string | undefined;
3159
3081
  readonly encryptionConfig?: {
3160
3082
  enabled: boolean;
3161
3083
  algorithm: "aes-256-gcm" | "aes-256-cbc" | "chacha20-poly1305";
@@ -3176,7 +3098,6 @@ declare const AiConversationObject: Omit<{
3176
3098
  readonly columnName?: string | undefined;
3177
3099
  readonly searchable?: boolean | undefined;
3178
3100
  readonly unique?: boolean | undefined;
3179
- readonly defaultValue?: unknown;
3180
3101
  readonly maxLength?: number | undefined;
3181
3102
  readonly minLength?: number | undefined;
3182
3103
  readonly scale?: number | undefined;
@@ -3300,7 +3221,6 @@ declare const AiConversationObject: Omit<{
3300
3221
  generatedBy?: string | undefined;
3301
3222
  } | undefined;
3302
3223
  } | undefined;
3303
- readonly hidden?: boolean | undefined;
3304
3224
  readonly sortable?: boolean | undefined;
3305
3225
  readonly inlineHelpText?: string | undefined;
3306
3226
  readonly trackFeedHistory?: boolean | undefined;
@@ -3327,10 +3247,12 @@ declare const AiConversationObject: Omit<{
3327
3247
  readonly dependencies?: string[] | undefined;
3328
3248
  readonly theme?: string | undefined;
3329
3249
  readonly externalId?: boolean | undefined;
3250
+ readonly defaultValue?: unknown;
3251
+ readonly group?: string | undefined;
3252
+ readonly hidden?: boolean | undefined;
3330
3253
  readonly system?: boolean | undefined;
3331
3254
  readonly min?: number | undefined;
3332
3255
  readonly max?: number | undefined;
3333
- readonly group?: string | undefined;
3334
3256
  readonly encryptionConfig?: {
3335
3257
  enabled: boolean;
3336
3258
  algorithm: "aes-256-gcm" | "aes-256-cbc" | "chacha20-poly1305";
@@ -3351,7 +3273,6 @@ declare const AiConversationObject: Omit<{
3351
3273
  readonly columnName?: string | undefined;
3352
3274
  readonly searchable?: boolean | undefined;
3353
3275
  readonly unique?: boolean | undefined;
3354
- readonly defaultValue?: unknown;
3355
3276
  readonly maxLength?: number | undefined;
3356
3277
  readonly minLength?: number | undefined;
3357
3278
  readonly scale?: number | undefined;
@@ -3475,7 +3396,6 @@ declare const AiConversationObject: Omit<{
3475
3396
  generatedBy?: string | undefined;
3476
3397
  } | undefined;
3477
3398
  } | undefined;
3478
- readonly hidden?: boolean | undefined;
3479
3399
  readonly sortable?: boolean | undefined;
3480
3400
  readonly inlineHelpText?: string | undefined;
3481
3401
  readonly trackFeedHistory?: boolean | undefined;
@@ -3502,10 +3422,12 @@ declare const AiConversationObject: Omit<{
3502
3422
  readonly dependencies?: string[] | undefined;
3503
3423
  readonly theme?: string | undefined;
3504
3424
  readonly externalId?: boolean | undefined;
3425
+ readonly defaultValue?: unknown;
3426
+ readonly group?: string | undefined;
3427
+ readonly hidden?: boolean | undefined;
3505
3428
  readonly system?: boolean | undefined;
3506
3429
  readonly min?: number | undefined;
3507
3430
  readonly max?: number | undefined;
3508
- readonly group?: string | undefined;
3509
3431
  readonly encryptionConfig?: {
3510
3432
  enabled: boolean;
3511
3433
  algorithm: "aes-256-gcm" | "aes-256-cbc" | "chacha20-poly1305";
@@ -3526,7 +3448,6 @@ declare const AiConversationObject: Omit<{
3526
3448
  readonly columnName?: string | undefined;
3527
3449
  readonly searchable?: boolean | undefined;
3528
3450
  readonly unique?: boolean | undefined;
3529
- readonly defaultValue?: unknown;
3530
3451
  readonly maxLength?: number | undefined;
3531
3452
  readonly minLength?: number | undefined;
3532
3453
  readonly scale?: number | undefined;
@@ -3650,7 +3571,6 @@ declare const AiConversationObject: Omit<{
3650
3571
  generatedBy?: string | undefined;
3651
3572
  } | undefined;
3652
3573
  } | undefined;
3653
- readonly hidden?: boolean | undefined;
3654
3574
  readonly sortable?: boolean | undefined;
3655
3575
  readonly inlineHelpText?: string | undefined;
3656
3576
  readonly trackFeedHistory?: boolean | undefined;
@@ -3677,10 +3597,12 @@ declare const AiConversationObject: Omit<{
3677
3597
  readonly dependencies?: string[] | undefined;
3678
3598
  readonly theme?: string | undefined;
3679
3599
  readonly externalId?: boolean | undefined;
3600
+ readonly defaultValue?: unknown;
3601
+ readonly group?: string | undefined;
3602
+ readonly hidden?: boolean | undefined;
3680
3603
  readonly system?: boolean | undefined;
3681
3604
  readonly min?: number | undefined;
3682
3605
  readonly max?: number | undefined;
3683
- readonly group?: string | undefined;
3684
3606
  readonly encryptionConfig?: {
3685
3607
  enabled: boolean;
3686
3608
  algorithm: "aes-256-gcm" | "aes-256-cbc" | "chacha20-poly1305";
@@ -3701,7 +3623,6 @@ declare const AiConversationObject: Omit<{
3701
3623
  readonly columnName?: string | undefined;
3702
3624
  readonly searchable?: boolean | undefined;
3703
3625
  readonly unique?: boolean | undefined;
3704
- readonly defaultValue?: unknown;
3705
3626
  readonly maxLength?: number | undefined;
3706
3627
  readonly minLength?: number | undefined;
3707
3628
  readonly scale?: number | undefined;
@@ -3825,7 +3746,6 @@ declare const AiConversationObject: Omit<{
3825
3746
  generatedBy?: string | undefined;
3826
3747
  } | undefined;
3827
3748
  } | undefined;
3828
- readonly hidden?: boolean | undefined;
3829
3749
  readonly sortable?: boolean | undefined;
3830
3750
  readonly inlineHelpText?: string | undefined;
3831
3751
  readonly trackFeedHistory?: boolean | undefined;
@@ -3867,7 +3787,7 @@ declare const AiMessageObject: Omit<{
3867
3787
  abstract: boolean;
3868
3788
  datasource: string;
3869
3789
  fields: Record<string, {
3870
- type: "number" | "boolean" | "file" | "text" | "json" | "tags" | "currency" | "code" | "date" | "record" | "avatar" | "vector" | "datetime" | "signature" | "progress" | "url" | "textarea" | "email" | "phone" | "password" | "markdown" | "html" | "richtext" | "percent" | "time" | "toggle" | "select" | "multiselect" | "radio" | "checkboxes" | "lookup" | "master_detail" | "tree" | "image" | "video" | "audio" | "formula" | "summary" | "autonumber" | "composite" | "repeater" | "location" | "address" | "color" | "rating" | "slider" | "qrcode";
3790
+ type: "number" | "boolean" | "file" | "text" | "json" | "tags" | "currency" | "code" | "date" | "record" | "avatar" | "vector" | "datetime" | "signature" | "progress" | "url" | "percent" | "password" | "secret" | "email" | "time" | "textarea" | "phone" | "markdown" | "html" | "richtext" | "toggle" | "select" | "multiselect" | "radio" | "checkboxes" | "lookup" | "master_detail" | "tree" | "image" | "video" | "audio" | "formula" | "summary" | "autonumber" | "composite" | "repeater" | "location" | "address" | "color" | "rating" | "slider" | "qrcode";
3871
3791
  required: boolean;
3872
3792
  searchable: boolean;
3873
3793
  multiple: boolean;
@@ -4082,6 +4002,14 @@ declare const AiMessageObject: Omit<{
4082
4002
  owner?: boolean | undefined;
4083
4003
  audit?: boolean | undefined;
4084
4004
  } | undefined;
4005
+ external?: {
4006
+ writable: boolean;
4007
+ remoteName?: string | undefined;
4008
+ remoteSchema?: string | undefined;
4009
+ columnMap?: Record<string, string> | undefined;
4010
+ introspectedAt?: string | undefined;
4011
+ ignoreColumns?: string[] | undefined;
4012
+ } | undefined;
4085
4013
  indexes?: {
4086
4014
  fields: string[];
4087
4015
  type: "hash" | "btree" | "gin" | "gist" | "fulltext";
@@ -4142,36 +4070,6 @@ declare const AiMessageObject: Omit<{
4142
4070
  destination: string;
4143
4071
  } | undefined;
4144
4072
  validations?: _objectstack_spec_data.BaseValidationRuleShape[] | undefined;
4145
- stateMachines?: Record<string, {
4146
- id: string;
4147
- initial: string;
4148
- states: Record<string, StateNodeConfig>;
4149
- description?: string | undefined;
4150
- contextSchema?: Record<string, unknown> | undefined;
4151
- on?: Record<string, string | {
4152
- target?: string | undefined;
4153
- cond?: string | {
4154
- type: string;
4155
- params?: Record<string, unknown> | undefined;
4156
- } | undefined;
4157
- actions?: (string | {
4158
- type: string;
4159
- params?: Record<string, unknown> | undefined;
4160
- })[] | undefined;
4161
- description?: string | undefined;
4162
- } | {
4163
- target?: string | undefined;
4164
- cond?: string | {
4165
- type: string;
4166
- params?: Record<string, unknown> | undefined;
4167
- } | undefined;
4168
- actions?: (string | {
4169
- type: string;
4170
- params?: Record<string, unknown> | undefined;
4171
- })[] | undefined;
4172
- description?: string | undefined;
4173
- }[]> | undefined;
4174
- }> | undefined;
4175
4073
  displayNameField?: string | undefined;
4176
4074
  recordName?: {
4177
4075
  type: "text" | "autonumber";
@@ -4261,7 +4159,7 @@ declare const AiMessageObject: Omit<{
4261
4159
  type: "none" | "multiple" | "single";
4262
4160
  } | undefined;
4263
4161
  navigation?: {
4264
- mode: "none" | "split" | "page" | "modal" | "drawer" | "popover" | "new_window";
4162
+ mode: "none" | "split" | "page" | "drawer" | "modal" | "popover" | "new_window";
4265
4163
  preventNavigation: boolean;
4266
4164
  openNewTab: boolean;
4267
4165
  view?: string | undefined;
@@ -4450,7 +4348,7 @@ declare const AiMessageObject: Omit<{
4450
4348
  trash: boolean;
4451
4349
  mru: boolean;
4452
4350
  clone: boolean;
4453
- apiMethods?: ("restore" | "export" | "import" | "delete" | "purge" | "upsert" | "search" | "create" | "list" | "get" | "update" | "history" | "bulk" | "aggregate")[] | undefined;
4351
+ apiMethods?: ("restore" | "export" | "import" | "delete" | "purge" | "upsert" | "search" | "create" | "list" | "get" | "update" | "bulk" | "aggregate" | "history")[] | undefined;
4454
4352
  } | undefined;
4455
4353
  recordTypes?: string[] | undefined;
4456
4354
  sharingModel?: "full" | "private" | "read" | "read_write" | undefined;
@@ -4496,7 +4394,7 @@ declare const AiMessageObject: Omit<{
4496
4394
  field?: string | undefined;
4497
4395
  objectOverride?: string | undefined;
4498
4396
  label?: string | undefined;
4499
- type?: "number" | "boolean" | "date" | "record" | "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" | "composite" | "repeater" | "location" | "address" | "json" | "color" | "rating" | "slider" | "qrcode" | "tags" | "vector" | undefined;
4397
+ type?: "number" | "boolean" | "date" | "record" | "file" | "code" | "datetime" | "signature" | "progress" | "url" | "currency" | "percent" | "password" | "secret" | "email" | "time" | "text" | "textarea" | "phone" | "markdown" | "html" | "richtext" | "toggle" | "select" | "multiselect" | "radio" | "checkboxes" | "lookup" | "master_detail" | "tree" | "image" | "avatar" | "video" | "audio" | "formula" | "summary" | "autonumber" | "composite" | "repeater" | "location" | "address" | "json" | "color" | "rating" | "slider" | "qrcode" | "tags" | "vector" | undefined;
4500
4398
  options?: {
4501
4399
  label: string;
4502
4400
  value: string;
@@ -4548,7 +4446,7 @@ declare const AiMessageObject: Omit<{
4548
4446
  } | undefined;
4549
4447
  method?: "POST" | "PATCH" | "PUT" | "DELETE" | undefined;
4550
4448
  bodyExtra?: Record<string, unknown> | undefined;
4551
- mode?: "custom" | "delete" | "create" | "edit" | undefined;
4449
+ mode?: "custom" | "delete" | "edit" | "create" | undefined;
4552
4450
  timeout?: number | undefined;
4553
4451
  aria?: {
4554
4452
  ariaLabel?: string | undefined;
@@ -4587,10 +4485,12 @@ declare const AiMessageObject: Omit<{
4587
4485
  readonly dependencies?: string[] | undefined;
4588
4486
  readonly theme?: string | undefined;
4589
4487
  readonly externalId?: boolean | undefined;
4488
+ readonly defaultValue?: unknown;
4489
+ readonly group?: string | undefined;
4490
+ readonly hidden?: boolean | undefined;
4590
4491
  readonly system?: boolean | undefined;
4591
4492
  readonly min?: number | undefined;
4592
4493
  readonly max?: number | undefined;
4593
- readonly group?: string | undefined;
4594
4494
  readonly encryptionConfig?: {
4595
4495
  enabled: boolean;
4596
4496
  algorithm: "aes-256-gcm" | "aes-256-cbc" | "chacha20-poly1305";
@@ -4611,7 +4511,6 @@ declare const AiMessageObject: Omit<{
4611
4511
  readonly columnName?: string | undefined;
4612
4512
  readonly searchable?: boolean | undefined;
4613
4513
  readonly unique?: boolean | undefined;
4614
- readonly defaultValue?: unknown;
4615
4514
  readonly maxLength?: number | undefined;
4616
4515
  readonly minLength?: number | undefined;
4617
4516
  readonly scale?: number | undefined;
@@ -4735,7 +4634,6 @@ declare const AiMessageObject: Omit<{
4735
4634
  generatedBy?: string | undefined;
4736
4635
  } | undefined;
4737
4636
  } | undefined;
4738
- readonly hidden?: boolean | undefined;
4739
4637
  readonly sortable?: boolean | undefined;
4740
4638
  readonly inlineHelpText?: string | undefined;
4741
4639
  readonly trackFeedHistory?: boolean | undefined;
@@ -4762,10 +4660,12 @@ declare const AiMessageObject: Omit<{
4762
4660
  readonly dependencies?: string[] | undefined;
4763
4661
  readonly theme?: string | undefined;
4764
4662
  readonly externalId?: boolean | undefined;
4663
+ readonly defaultValue?: unknown;
4664
+ readonly group?: string | undefined;
4665
+ readonly hidden?: boolean | undefined;
4765
4666
  readonly system?: boolean | undefined;
4766
4667
  readonly min?: number | undefined;
4767
4668
  readonly max?: number | undefined;
4768
- readonly group?: string | undefined;
4769
4669
  readonly encryptionConfig?: {
4770
4670
  enabled: boolean;
4771
4671
  algorithm: "aes-256-gcm" | "aes-256-cbc" | "chacha20-poly1305";
@@ -4786,7 +4686,6 @@ declare const AiMessageObject: Omit<{
4786
4686
  readonly columnName?: string | undefined;
4787
4687
  readonly searchable?: boolean | undefined;
4788
4688
  readonly unique?: boolean | undefined;
4789
- readonly defaultValue?: unknown;
4790
4689
  readonly maxLength?: number | undefined;
4791
4690
  readonly minLength?: number | undefined;
4792
4691
  readonly scale?: number | undefined;
@@ -4910,7 +4809,6 @@ declare const AiMessageObject: Omit<{
4910
4809
  generatedBy?: string | undefined;
4911
4810
  } | undefined;
4912
4811
  } | undefined;
4913
- readonly hidden?: boolean | undefined;
4914
4812
  readonly sortable?: boolean | undefined;
4915
4813
  readonly inlineHelpText?: string | undefined;
4916
4814
  readonly trackFeedHistory?: boolean | undefined;
@@ -4937,10 +4835,12 @@ declare const AiMessageObject: Omit<{
4937
4835
  readonly dependencies?: string[] | undefined;
4938
4836
  readonly theme?: string | undefined;
4939
4837
  readonly externalId?: boolean | undefined;
4838
+ readonly defaultValue?: unknown;
4839
+ readonly group?: string | undefined;
4840
+ readonly hidden?: boolean | undefined;
4940
4841
  readonly system?: boolean | undefined;
4941
4842
  readonly min?: number | undefined;
4942
4843
  readonly max?: number | undefined;
4943
- readonly group?: string | undefined;
4944
4844
  readonly encryptionConfig?: {
4945
4845
  enabled: boolean;
4946
4846
  algorithm: "aes-256-gcm" | "aes-256-cbc" | "chacha20-poly1305";
@@ -4961,7 +4861,6 @@ declare const AiMessageObject: Omit<{
4961
4861
  readonly columnName?: string | undefined;
4962
4862
  readonly searchable?: boolean | undefined;
4963
4863
  readonly unique?: boolean | undefined;
4964
- readonly defaultValue?: unknown;
4965
4864
  readonly maxLength?: number | undefined;
4966
4865
  readonly minLength?: number | undefined;
4967
4866
  readonly scale?: number | undefined;
@@ -5085,7 +4984,6 @@ declare const AiMessageObject: Omit<{
5085
4984
  generatedBy?: string | undefined;
5086
4985
  } | undefined;
5087
4986
  } | undefined;
5088
- readonly hidden?: boolean | undefined;
5089
4987
  readonly sortable?: boolean | undefined;
5090
4988
  readonly inlineHelpText?: string | undefined;
5091
4989
  readonly trackFeedHistory?: boolean | undefined;
@@ -5112,10 +5010,12 @@ declare const AiMessageObject: Omit<{
5112
5010
  readonly dependencies?: string[] | undefined;
5113
5011
  readonly theme?: string | undefined;
5114
5012
  readonly externalId?: boolean | undefined;
5013
+ readonly defaultValue?: unknown;
5014
+ readonly group?: string | undefined;
5015
+ readonly hidden?: boolean | undefined;
5115
5016
  readonly system?: boolean | undefined;
5116
5017
  readonly min?: number | undefined;
5117
5018
  readonly max?: number | undefined;
5118
- readonly group?: string | undefined;
5119
5019
  readonly encryptionConfig?: {
5120
5020
  enabled: boolean;
5121
5021
  algorithm: "aes-256-gcm" | "aes-256-cbc" | "chacha20-poly1305";
@@ -5136,7 +5036,6 @@ declare const AiMessageObject: Omit<{
5136
5036
  readonly columnName?: string | undefined;
5137
5037
  readonly searchable?: boolean | undefined;
5138
5038
  readonly unique?: boolean | undefined;
5139
- readonly defaultValue?: unknown;
5140
5039
  readonly maxLength?: number | undefined;
5141
5040
  readonly minLength?: number | undefined;
5142
5041
  readonly scale?: number | undefined;
@@ -5260,7 +5159,6 @@ declare const AiMessageObject: Omit<{
5260
5159
  generatedBy?: string | undefined;
5261
5160
  } | undefined;
5262
5161
  } | undefined;
5263
- readonly hidden?: boolean | undefined;
5264
5162
  readonly sortable?: boolean | undefined;
5265
5163
  readonly inlineHelpText?: string | undefined;
5266
5164
  readonly trackFeedHistory?: boolean | undefined;
@@ -5287,10 +5185,12 @@ declare const AiMessageObject: Omit<{
5287
5185
  readonly dependencies?: string[] | undefined;
5288
5186
  readonly theme?: string | undefined;
5289
5187
  readonly externalId?: boolean | undefined;
5188
+ readonly defaultValue?: unknown;
5189
+ readonly group?: string | undefined;
5190
+ readonly hidden?: boolean | undefined;
5290
5191
  readonly system?: boolean | undefined;
5291
5192
  readonly min?: number | undefined;
5292
5193
  readonly max?: number | undefined;
5293
- readonly group?: string | undefined;
5294
5194
  readonly encryptionConfig?: {
5295
5195
  enabled: boolean;
5296
5196
  algorithm: "aes-256-gcm" | "aes-256-cbc" | "chacha20-poly1305";
@@ -5311,7 +5211,6 @@ declare const AiMessageObject: Omit<{
5311
5211
  readonly columnName?: string | undefined;
5312
5212
  readonly searchable?: boolean | undefined;
5313
5213
  readonly unique?: boolean | undefined;
5314
- readonly defaultValue?: unknown;
5315
5214
  readonly maxLength?: number | undefined;
5316
5215
  readonly minLength?: number | undefined;
5317
5216
  readonly scale?: number | undefined;
@@ -5435,7 +5334,6 @@ declare const AiMessageObject: Omit<{
5435
5334
  generatedBy?: string | undefined;
5436
5335
  } | undefined;
5437
5336
  } | undefined;
5438
- readonly hidden?: boolean | undefined;
5439
5337
  readonly sortable?: boolean | undefined;
5440
5338
  readonly inlineHelpText?: string | undefined;
5441
5339
  readonly trackFeedHistory?: boolean | undefined;
@@ -5462,10 +5360,12 @@ declare const AiMessageObject: Omit<{
5462
5360
  readonly dependencies?: string[] | undefined;
5463
5361
  readonly theme?: string | undefined;
5464
5362
  readonly externalId?: boolean | undefined;
5363
+ readonly defaultValue?: unknown;
5364
+ readonly group?: string | undefined;
5365
+ readonly hidden?: boolean | undefined;
5465
5366
  readonly system?: boolean | undefined;
5466
5367
  readonly min?: number | undefined;
5467
5368
  readonly max?: number | undefined;
5468
- readonly group?: string | undefined;
5469
5369
  readonly encryptionConfig?: {
5470
5370
  enabled: boolean;
5471
5371
  algorithm: "aes-256-gcm" | "aes-256-cbc" | "chacha20-poly1305";
@@ -5486,7 +5386,6 @@ declare const AiMessageObject: Omit<{
5486
5386
  readonly columnName?: string | undefined;
5487
5387
  readonly searchable?: boolean | undefined;
5488
5388
  readonly unique?: boolean | undefined;
5489
- readonly defaultValue?: unknown;
5490
5389
  readonly maxLength?: number | undefined;
5491
5390
  readonly minLength?: number | undefined;
5492
5391
  readonly scale?: number | undefined;
@@ -5610,7 +5509,6 @@ declare const AiMessageObject: Omit<{
5610
5509
  generatedBy?: string | undefined;
5611
5510
  } | undefined;
5612
5511
  } | undefined;
5613
- readonly hidden?: boolean | undefined;
5614
5512
  readonly sortable?: boolean | undefined;
5615
5513
  readonly inlineHelpText?: string | undefined;
5616
5514
  readonly trackFeedHistory?: boolean | undefined;
@@ -5637,10 +5535,12 @@ declare const AiMessageObject: Omit<{
5637
5535
  readonly dependencies?: string[] | undefined;
5638
5536
  readonly theme?: string | undefined;
5639
5537
  readonly externalId?: boolean | undefined;
5538
+ readonly defaultValue?: unknown;
5539
+ readonly group?: string | undefined;
5540
+ readonly hidden?: boolean | undefined;
5640
5541
  readonly system?: boolean | undefined;
5641
5542
  readonly min?: number | undefined;
5642
5543
  readonly max?: number | undefined;
5643
- readonly group?: string | undefined;
5644
5544
  readonly encryptionConfig?: {
5645
5545
  enabled: boolean;
5646
5546
  algorithm: "aes-256-gcm" | "aes-256-cbc" | "chacha20-poly1305";
@@ -5661,7 +5561,6 @@ declare const AiMessageObject: Omit<{
5661
5561
  readonly columnName?: string | undefined;
5662
5562
  readonly searchable?: boolean | undefined;
5663
5563
  readonly unique?: boolean | undefined;
5664
- readonly defaultValue?: unknown;
5665
5564
  readonly maxLength?: number | undefined;
5666
5565
  readonly minLength?: number | undefined;
5667
5566
  readonly scale?: number | undefined;
@@ -5785,7 +5684,6 @@ declare const AiMessageObject: Omit<{
5785
5684
  generatedBy?: string | undefined;
5786
5685
  } | undefined;
5787
5686
  } | undefined;
5788
- readonly hidden?: boolean | undefined;
5789
5687
  readonly sortable?: boolean | undefined;
5790
5688
  readonly inlineHelpText?: string | undefined;
5791
5689
  readonly trackFeedHistory?: boolean | undefined;
@@ -5812,10 +5710,12 @@ declare const AiMessageObject: Omit<{
5812
5710
  readonly dependencies?: string[] | undefined;
5813
5711
  readonly theme?: string | undefined;
5814
5712
  readonly externalId?: boolean | undefined;
5713
+ readonly defaultValue?: unknown;
5714
+ readonly group?: string | undefined;
5715
+ readonly hidden?: boolean | undefined;
5815
5716
  readonly system?: boolean | undefined;
5816
5717
  readonly min?: number | undefined;
5817
5718
  readonly max?: number | undefined;
5818
- readonly group?: string | undefined;
5819
5719
  readonly encryptionConfig?: {
5820
5720
  enabled: boolean;
5821
5721
  algorithm: "aes-256-gcm" | "aes-256-cbc" | "chacha20-poly1305";
@@ -5836,7 +5736,6 @@ declare const AiMessageObject: Omit<{
5836
5736
  readonly columnName?: string | undefined;
5837
5737
  readonly searchable?: boolean | undefined;
5838
5738
  readonly unique?: boolean | undefined;
5839
- readonly defaultValue?: unknown;
5840
5739
  readonly maxLength?: number | undefined;
5841
5740
  readonly minLength?: number | undefined;
5842
5741
  readonly scale?: number | undefined;
@@ -5960,7 +5859,6 @@ declare const AiMessageObject: Omit<{
5960
5859
  generatedBy?: string | undefined;
5961
5860
  } | undefined;
5962
5861
  } | undefined;
5963
- readonly hidden?: boolean | undefined;
5964
5862
  readonly sortable?: boolean | undefined;
5965
5863
  readonly inlineHelpText?: string | undefined;
5966
5864
  readonly trackFeedHistory?: boolean | undefined;
@@ -5987,10 +5885,12 @@ declare const AiMessageObject: Omit<{
5987
5885
  readonly dependencies?: string[] | undefined;
5988
5886
  readonly theme?: string | undefined;
5989
5887
  readonly externalId?: boolean | undefined;
5888
+ readonly defaultValue?: unknown;
5889
+ readonly group?: string | undefined;
5890
+ readonly hidden?: boolean | undefined;
5990
5891
  readonly system?: boolean | undefined;
5991
5892
  readonly min?: number | undefined;
5992
5893
  readonly max?: number | undefined;
5993
- readonly group?: string | undefined;
5994
5894
  readonly encryptionConfig?: {
5995
5895
  enabled: boolean;
5996
5896
  algorithm: "aes-256-gcm" | "aes-256-cbc" | "chacha20-poly1305";
@@ -6011,7 +5911,6 @@ declare const AiMessageObject: Omit<{
6011
5911
  readonly columnName?: string | undefined;
6012
5912
  readonly searchable?: boolean | undefined;
6013
5913
  readonly unique?: boolean | undefined;
6014
- readonly defaultValue?: unknown;
6015
5914
  readonly maxLength?: number | undefined;
6016
5915
  readonly minLength?: number | undefined;
6017
5916
  readonly scale?: number | undefined;
@@ -6135,7 +6034,6 @@ declare const AiMessageObject: Omit<{
6135
6034
  generatedBy?: string | undefined;
6136
6035
  } | undefined;
6137
6036
  } | undefined;
6138
- readonly hidden?: boolean | undefined;
6139
6037
  readonly sortable?: boolean | undefined;
6140
6038
  readonly inlineHelpText?: string | undefined;
6141
6039
  readonly trackFeedHistory?: boolean | undefined;
@@ -6162,10 +6060,12 @@ declare const AiMessageObject: Omit<{
6162
6060
  readonly dependencies?: string[] | undefined;
6163
6061
  readonly theme?: string | undefined;
6164
6062
  readonly externalId?: boolean | undefined;
6063
+ readonly defaultValue?: unknown;
6064
+ readonly group?: string | undefined;
6065
+ readonly hidden?: boolean | undefined;
6165
6066
  readonly system?: boolean | undefined;
6166
6067
  readonly min?: number | undefined;
6167
6068
  readonly max?: number | undefined;
6168
- readonly group?: string | undefined;
6169
6069
  readonly encryptionConfig?: {
6170
6070
  enabled: boolean;
6171
6071
  algorithm: "aes-256-gcm" | "aes-256-cbc" | "chacha20-poly1305";
@@ -6186,7 +6086,6 @@ declare const AiMessageObject: Omit<{
6186
6086
  readonly columnName?: string | undefined;
6187
6087
  readonly searchable?: boolean | undefined;
6188
6088
  readonly unique?: boolean | undefined;
6189
- readonly defaultValue?: unknown;
6190
6089
  readonly maxLength?: number | undefined;
6191
6090
  readonly minLength?: number | undefined;
6192
6091
  readonly scale?: number | undefined;
@@ -6310,7 +6209,6 @@ declare const AiMessageObject: Omit<{
6310
6209
  generatedBy?: string | undefined;
6311
6210
  } | undefined;
6312
6211
  } | undefined;
6313
- readonly hidden?: boolean | undefined;
6314
6212
  readonly sortable?: boolean | undefined;
6315
6213
  readonly inlineHelpText?: string | undefined;
6316
6214
  readonly trackFeedHistory?: boolean | undefined;
@@ -6337,10 +6235,12 @@ declare const AiMessageObject: Omit<{
6337
6235
  readonly dependencies?: string[] | undefined;
6338
6236
  readonly theme?: string | undefined;
6339
6237
  readonly externalId?: boolean | undefined;
6238
+ readonly defaultValue?: unknown;
6239
+ readonly group?: string | undefined;
6240
+ readonly hidden?: boolean | undefined;
6340
6241
  readonly system?: boolean | undefined;
6341
6242
  readonly min?: number | undefined;
6342
6243
  readonly max?: number | undefined;
6343
- readonly group?: string | undefined;
6344
6244
  readonly encryptionConfig?: {
6345
6245
  enabled: boolean;
6346
6246
  algorithm: "aes-256-gcm" | "aes-256-cbc" | "chacha20-poly1305";
@@ -6361,7 +6261,6 @@ declare const AiMessageObject: Omit<{
6361
6261
  readonly columnName?: string | undefined;
6362
6262
  readonly searchable?: boolean | undefined;
6363
6263
  readonly unique?: boolean | undefined;
6364
- readonly defaultValue?: unknown;
6365
6264
  readonly maxLength?: number | undefined;
6366
6265
  readonly minLength?: number | undefined;
6367
6266
  readonly scale?: number | undefined;
@@ -6485,7 +6384,6 @@ declare const AiMessageObject: Omit<{
6485
6384
  generatedBy?: string | undefined;
6486
6385
  } | undefined;
6487
6386
  } | undefined;
6488
- readonly hidden?: boolean | undefined;
6489
6387
  readonly sortable?: boolean | undefined;
6490
6388
  readonly inlineHelpText?: string | undefined;
6491
6389
  readonly trackFeedHistory?: boolean | undefined;
@@ -6512,10 +6410,12 @@ declare const AiMessageObject: Omit<{
6512
6410
  readonly dependencies?: string[] | undefined;
6513
6411
  readonly theme?: string | undefined;
6514
6412
  readonly externalId?: boolean | undefined;
6413
+ readonly defaultValue?: unknown;
6414
+ readonly group?: string | undefined;
6415
+ readonly hidden?: boolean | undefined;
6515
6416
  readonly system?: boolean | undefined;
6516
6417
  readonly min?: number | undefined;
6517
6418
  readonly max?: number | undefined;
6518
- readonly group?: string | undefined;
6519
6419
  readonly encryptionConfig?: {
6520
6420
  enabled: boolean;
6521
6421
  algorithm: "aes-256-gcm" | "aes-256-cbc" | "chacha20-poly1305";
@@ -6536,7 +6436,6 @@ declare const AiMessageObject: Omit<{
6536
6436
  readonly columnName?: string | undefined;
6537
6437
  readonly searchable?: boolean | undefined;
6538
6438
  readonly unique?: boolean | undefined;
6539
- readonly defaultValue?: unknown;
6540
6439
  readonly maxLength?: number | undefined;
6541
6440
  readonly minLength?: number | undefined;
6542
6441
  readonly scale?: number | undefined;
@@ -6660,7 +6559,6 @@ declare const AiMessageObject: Omit<{
6660
6559
  generatedBy?: string | undefined;
6661
6560
  } | undefined;
6662
6561
  } | undefined;
6663
- readonly hidden?: boolean | undefined;
6664
6562
  readonly sortable?: boolean | undefined;
6665
6563
  readonly inlineHelpText?: string | undefined;
6666
6564
  readonly trackFeedHistory?: boolean | undefined;
@@ -6706,7 +6604,7 @@ declare const AiTraceObject: Omit<{
6706
6604
  abstract: boolean;
6707
6605
  datasource: string;
6708
6606
  fields: Record<string, {
6709
- type: "number" | "boolean" | "file" | "text" | "json" | "tags" | "currency" | "code" | "date" | "record" | "avatar" | "vector" | "datetime" | "signature" | "progress" | "url" | "textarea" | "email" | "phone" | "password" | "markdown" | "html" | "richtext" | "percent" | "time" | "toggle" | "select" | "multiselect" | "radio" | "checkboxes" | "lookup" | "master_detail" | "tree" | "image" | "video" | "audio" | "formula" | "summary" | "autonumber" | "composite" | "repeater" | "location" | "address" | "color" | "rating" | "slider" | "qrcode";
6607
+ type: "number" | "boolean" | "file" | "text" | "json" | "tags" | "currency" | "code" | "date" | "record" | "avatar" | "vector" | "datetime" | "signature" | "progress" | "url" | "percent" | "password" | "secret" | "email" | "time" | "textarea" | "phone" | "markdown" | "html" | "richtext" | "toggle" | "select" | "multiselect" | "radio" | "checkboxes" | "lookup" | "master_detail" | "tree" | "image" | "video" | "audio" | "formula" | "summary" | "autonumber" | "composite" | "repeater" | "location" | "address" | "color" | "rating" | "slider" | "qrcode";
6710
6608
  required: boolean;
6711
6609
  searchable: boolean;
6712
6610
  multiple: boolean;
@@ -6921,6 +6819,14 @@ declare const AiTraceObject: Omit<{
6921
6819
  owner?: boolean | undefined;
6922
6820
  audit?: boolean | undefined;
6923
6821
  } | undefined;
6822
+ external?: {
6823
+ writable: boolean;
6824
+ remoteName?: string | undefined;
6825
+ remoteSchema?: string | undefined;
6826
+ columnMap?: Record<string, string> | undefined;
6827
+ introspectedAt?: string | undefined;
6828
+ ignoreColumns?: string[] | undefined;
6829
+ } | undefined;
6924
6830
  indexes?: {
6925
6831
  fields: string[];
6926
6832
  type: "hash" | "btree" | "gin" | "gist" | "fulltext";
@@ -6981,36 +6887,6 @@ declare const AiTraceObject: Omit<{
6981
6887
  destination: string;
6982
6888
  } | undefined;
6983
6889
  validations?: _objectstack_spec_data.BaseValidationRuleShape[] | undefined;
6984
- stateMachines?: Record<string, {
6985
- id: string;
6986
- initial: string;
6987
- states: Record<string, StateNodeConfig>;
6988
- description?: string | undefined;
6989
- contextSchema?: Record<string, unknown> | undefined;
6990
- on?: Record<string, string | {
6991
- target?: string | undefined;
6992
- cond?: string | {
6993
- type: string;
6994
- params?: Record<string, unknown> | undefined;
6995
- } | undefined;
6996
- actions?: (string | {
6997
- type: string;
6998
- params?: Record<string, unknown> | undefined;
6999
- })[] | undefined;
7000
- description?: string | undefined;
7001
- } | {
7002
- target?: string | undefined;
7003
- cond?: string | {
7004
- type: string;
7005
- params?: Record<string, unknown> | undefined;
7006
- } | undefined;
7007
- actions?: (string | {
7008
- type: string;
7009
- params?: Record<string, unknown> | undefined;
7010
- })[] | undefined;
7011
- description?: string | undefined;
7012
- }[]> | undefined;
7013
- }> | undefined;
7014
6890
  displayNameField?: string | undefined;
7015
6891
  recordName?: {
7016
6892
  type: "text" | "autonumber";
@@ -7100,7 +6976,7 @@ declare const AiTraceObject: Omit<{
7100
6976
  type: "none" | "multiple" | "single";
7101
6977
  } | undefined;
7102
6978
  navigation?: {
7103
- mode: "none" | "split" | "page" | "modal" | "drawer" | "popover" | "new_window";
6979
+ mode: "none" | "split" | "page" | "drawer" | "modal" | "popover" | "new_window";
7104
6980
  preventNavigation: boolean;
7105
6981
  openNewTab: boolean;
7106
6982
  view?: string | undefined;
@@ -7289,7 +7165,7 @@ declare const AiTraceObject: Omit<{
7289
7165
  trash: boolean;
7290
7166
  mru: boolean;
7291
7167
  clone: boolean;
7292
- apiMethods?: ("restore" | "export" | "import" | "delete" | "purge" | "upsert" | "search" | "create" | "list" | "get" | "update" | "history" | "bulk" | "aggregate")[] | undefined;
7168
+ apiMethods?: ("restore" | "export" | "import" | "delete" | "purge" | "upsert" | "search" | "create" | "list" | "get" | "update" | "bulk" | "aggregate" | "history")[] | undefined;
7293
7169
  } | undefined;
7294
7170
  recordTypes?: string[] | undefined;
7295
7171
  sharingModel?: "full" | "private" | "read" | "read_write" | undefined;
@@ -7335,7 +7211,7 @@ declare const AiTraceObject: Omit<{
7335
7211
  field?: string | undefined;
7336
7212
  objectOverride?: string | undefined;
7337
7213
  label?: string | undefined;
7338
- type?: "number" | "boolean" | "date" | "record" | "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" | "composite" | "repeater" | "location" | "address" | "json" | "color" | "rating" | "slider" | "qrcode" | "tags" | "vector" | undefined;
7214
+ type?: "number" | "boolean" | "date" | "record" | "file" | "code" | "datetime" | "signature" | "progress" | "url" | "currency" | "percent" | "password" | "secret" | "email" | "time" | "text" | "textarea" | "phone" | "markdown" | "html" | "richtext" | "toggle" | "select" | "multiselect" | "radio" | "checkboxes" | "lookup" | "master_detail" | "tree" | "image" | "avatar" | "video" | "audio" | "formula" | "summary" | "autonumber" | "composite" | "repeater" | "location" | "address" | "json" | "color" | "rating" | "slider" | "qrcode" | "tags" | "vector" | undefined;
7339
7215
  options?: {
7340
7216
  label: string;
7341
7217
  value: string;
@@ -7387,7 +7263,7 @@ declare const AiTraceObject: Omit<{
7387
7263
  } | undefined;
7388
7264
  method?: "POST" | "PATCH" | "PUT" | "DELETE" | undefined;
7389
7265
  bodyExtra?: Record<string, unknown> | undefined;
7390
- mode?: "custom" | "delete" | "create" | "edit" | undefined;
7266
+ mode?: "custom" | "delete" | "edit" | "create" | undefined;
7391
7267
  timeout?: number | undefined;
7392
7268
  aria?: {
7393
7269
  ariaLabel?: string | undefined;
@@ -7426,10 +7302,12 @@ declare const AiTraceObject: Omit<{
7426
7302
  readonly dependencies?: string[] | undefined;
7427
7303
  readonly theme?: string | undefined;
7428
7304
  readonly externalId?: boolean | undefined;
7305
+ readonly defaultValue?: unknown;
7306
+ readonly group?: string | undefined;
7307
+ readonly hidden?: boolean | undefined;
7429
7308
  readonly system?: boolean | undefined;
7430
7309
  readonly min?: number | undefined;
7431
7310
  readonly max?: number | undefined;
7432
- readonly group?: string | undefined;
7433
7311
  readonly encryptionConfig?: {
7434
7312
  enabled: boolean;
7435
7313
  algorithm: "aes-256-gcm" | "aes-256-cbc" | "chacha20-poly1305";
@@ -7450,7 +7328,6 @@ declare const AiTraceObject: Omit<{
7450
7328
  readonly columnName?: string | undefined;
7451
7329
  readonly searchable?: boolean | undefined;
7452
7330
  readonly unique?: boolean | undefined;
7453
- readonly defaultValue?: unknown;
7454
7331
  readonly maxLength?: number | undefined;
7455
7332
  readonly minLength?: number | undefined;
7456
7333
  readonly scale?: number | undefined;
@@ -7574,7 +7451,6 @@ declare const AiTraceObject: Omit<{
7574
7451
  generatedBy?: string | undefined;
7575
7452
  } | undefined;
7576
7453
  } | undefined;
7577
- readonly hidden?: boolean | undefined;
7578
7454
  readonly sortable?: boolean | undefined;
7579
7455
  readonly inlineHelpText?: string | undefined;
7580
7456
  readonly trackFeedHistory?: boolean | undefined;
@@ -7601,10 +7477,12 @@ declare const AiTraceObject: Omit<{
7601
7477
  readonly dependencies?: string[] | undefined;
7602
7478
  readonly theme?: string | undefined;
7603
7479
  readonly externalId?: boolean | undefined;
7480
+ readonly defaultValue?: unknown;
7481
+ readonly group?: string | undefined;
7482
+ readonly hidden?: boolean | undefined;
7604
7483
  readonly system?: boolean | undefined;
7605
7484
  readonly min?: number | undefined;
7606
7485
  readonly max?: number | undefined;
7607
- readonly group?: string | undefined;
7608
7486
  readonly encryptionConfig?: {
7609
7487
  enabled: boolean;
7610
7488
  algorithm: "aes-256-gcm" | "aes-256-cbc" | "chacha20-poly1305";
@@ -7625,7 +7503,6 @@ declare const AiTraceObject: Omit<{
7625
7503
  readonly columnName?: string | undefined;
7626
7504
  readonly searchable?: boolean | undefined;
7627
7505
  readonly unique?: boolean | undefined;
7628
- readonly defaultValue?: unknown;
7629
7506
  readonly maxLength?: number | undefined;
7630
7507
  readonly minLength?: number | undefined;
7631
7508
  readonly scale?: number | undefined;
@@ -7749,7 +7626,6 @@ declare const AiTraceObject: Omit<{
7749
7626
  generatedBy?: string | undefined;
7750
7627
  } | undefined;
7751
7628
  } | undefined;
7752
- readonly hidden?: boolean | undefined;
7753
7629
  readonly sortable?: boolean | undefined;
7754
7630
  readonly inlineHelpText?: string | undefined;
7755
7631
  readonly trackFeedHistory?: boolean | undefined;
@@ -7776,10 +7652,12 @@ declare const AiTraceObject: Omit<{
7776
7652
  readonly dependencies?: string[] | undefined;
7777
7653
  readonly theme?: string | undefined;
7778
7654
  readonly externalId?: boolean | undefined;
7655
+ readonly defaultValue?: unknown;
7656
+ readonly group?: string | undefined;
7657
+ readonly hidden?: boolean | undefined;
7779
7658
  readonly system?: boolean | undefined;
7780
7659
  readonly min?: number | undefined;
7781
7660
  readonly max?: number | undefined;
7782
- readonly group?: string | undefined;
7783
7661
  readonly encryptionConfig?: {
7784
7662
  enabled: boolean;
7785
7663
  algorithm: "aes-256-gcm" | "aes-256-cbc" | "chacha20-poly1305";
@@ -7800,7 +7678,6 @@ declare const AiTraceObject: Omit<{
7800
7678
  readonly columnName?: string | undefined;
7801
7679
  readonly searchable?: boolean | undefined;
7802
7680
  readonly unique?: boolean | undefined;
7803
- readonly defaultValue?: unknown;
7804
7681
  readonly maxLength?: number | undefined;
7805
7682
  readonly minLength?: number | undefined;
7806
7683
  readonly scale?: number | undefined;
@@ -7924,7 +7801,6 @@ declare const AiTraceObject: Omit<{
7924
7801
  generatedBy?: string | undefined;
7925
7802
  } | undefined;
7926
7803
  } | undefined;
7927
- readonly hidden?: boolean | undefined;
7928
7804
  readonly sortable?: boolean | undefined;
7929
7805
  readonly inlineHelpText?: string | undefined;
7930
7806
  readonly trackFeedHistory?: boolean | undefined;
@@ -7951,10 +7827,12 @@ declare const AiTraceObject: Omit<{
7951
7827
  readonly dependencies?: string[] | undefined;
7952
7828
  readonly theme?: string | undefined;
7953
7829
  readonly externalId?: boolean | undefined;
7830
+ readonly defaultValue?: unknown;
7831
+ readonly group?: string | undefined;
7832
+ readonly hidden?: boolean | undefined;
7954
7833
  readonly system?: boolean | undefined;
7955
7834
  readonly min?: number | undefined;
7956
7835
  readonly max?: number | undefined;
7957
- readonly group?: string | undefined;
7958
7836
  readonly encryptionConfig?: {
7959
7837
  enabled: boolean;
7960
7838
  algorithm: "aes-256-gcm" | "aes-256-cbc" | "chacha20-poly1305";
@@ -7975,7 +7853,6 @@ declare const AiTraceObject: Omit<{
7975
7853
  readonly columnName?: string | undefined;
7976
7854
  readonly searchable?: boolean | undefined;
7977
7855
  readonly unique?: boolean | undefined;
7978
- readonly defaultValue?: unknown;
7979
7856
  readonly maxLength?: number | undefined;
7980
7857
  readonly minLength?: number | undefined;
7981
7858
  readonly scale?: number | undefined;
@@ -8099,7 +7976,6 @@ declare const AiTraceObject: Omit<{
8099
7976
  generatedBy?: string | undefined;
8100
7977
  } | undefined;
8101
7978
  } | undefined;
8102
- readonly hidden?: boolean | undefined;
8103
7979
  readonly sortable?: boolean | undefined;
8104
7980
  readonly inlineHelpText?: string | undefined;
8105
7981
  readonly trackFeedHistory?: boolean | undefined;
@@ -8126,10 +8002,12 @@ declare const AiTraceObject: Omit<{
8126
8002
  readonly dependencies?: string[] | undefined;
8127
8003
  readonly theme?: string | undefined;
8128
8004
  readonly externalId?: boolean | undefined;
8005
+ readonly defaultValue?: unknown;
8006
+ readonly group?: string | undefined;
8007
+ readonly hidden?: boolean | undefined;
8129
8008
  readonly system?: boolean | undefined;
8130
8009
  readonly min?: number | undefined;
8131
8010
  readonly max?: number | undefined;
8132
- readonly group?: string | undefined;
8133
8011
  readonly encryptionConfig?: {
8134
8012
  enabled: boolean;
8135
8013
  algorithm: "aes-256-gcm" | "aes-256-cbc" | "chacha20-poly1305";
@@ -8150,7 +8028,6 @@ declare const AiTraceObject: Omit<{
8150
8028
  readonly columnName?: string | undefined;
8151
8029
  readonly searchable?: boolean | undefined;
8152
8030
  readonly unique?: boolean | undefined;
8153
- readonly defaultValue?: unknown;
8154
8031
  readonly maxLength?: number | undefined;
8155
8032
  readonly minLength?: number | undefined;
8156
8033
  readonly scale?: number | undefined;
@@ -8274,7 +8151,6 @@ declare const AiTraceObject: Omit<{
8274
8151
  generatedBy?: string | undefined;
8275
8152
  } | undefined;
8276
8153
  } | undefined;
8277
- readonly hidden?: boolean | undefined;
8278
8154
  readonly sortable?: boolean | undefined;
8279
8155
  readonly inlineHelpText?: string | undefined;
8280
8156
  readonly trackFeedHistory?: boolean | undefined;
@@ -8301,10 +8177,12 @@ declare const AiTraceObject: Omit<{
8301
8177
  readonly dependencies?: string[] | undefined;
8302
8178
  readonly theme?: string | undefined;
8303
8179
  readonly externalId?: boolean | undefined;
8180
+ readonly defaultValue?: unknown;
8181
+ readonly group?: string | undefined;
8182
+ readonly hidden?: boolean | undefined;
8304
8183
  readonly system?: boolean | undefined;
8305
8184
  readonly min?: number | undefined;
8306
8185
  readonly max?: number | undefined;
8307
- readonly group?: string | undefined;
8308
8186
  readonly encryptionConfig?: {
8309
8187
  enabled: boolean;
8310
8188
  algorithm: "aes-256-gcm" | "aes-256-cbc" | "chacha20-poly1305";
@@ -8325,7 +8203,6 @@ declare const AiTraceObject: Omit<{
8325
8203
  readonly columnName?: string | undefined;
8326
8204
  readonly searchable?: boolean | undefined;
8327
8205
  readonly unique?: boolean | undefined;
8328
- readonly defaultValue?: unknown;
8329
8206
  readonly maxLength?: number | undefined;
8330
8207
  readonly minLength?: number | undefined;
8331
8208
  readonly scale?: number | undefined;
@@ -8449,7 +8326,6 @@ declare const AiTraceObject: Omit<{
8449
8326
  generatedBy?: string | undefined;
8450
8327
  } | undefined;
8451
8328
  } | undefined;
8452
- readonly hidden?: boolean | undefined;
8453
8329
  readonly sortable?: boolean | undefined;
8454
8330
  readonly inlineHelpText?: string | undefined;
8455
8331
  readonly trackFeedHistory?: boolean | undefined;
@@ -8476,10 +8352,12 @@ declare const AiTraceObject: Omit<{
8476
8352
  readonly dependencies?: string[] | undefined;
8477
8353
  readonly theme?: string | undefined;
8478
8354
  readonly externalId?: boolean | undefined;
8355
+ readonly defaultValue?: unknown;
8356
+ readonly group?: string | undefined;
8357
+ readonly hidden?: boolean | undefined;
8479
8358
  readonly system?: boolean | undefined;
8480
8359
  readonly min?: number | undefined;
8481
8360
  readonly max?: number | undefined;
8482
- readonly group?: string | undefined;
8483
8361
  readonly encryptionConfig?: {
8484
8362
  enabled: boolean;
8485
8363
  algorithm: "aes-256-gcm" | "aes-256-cbc" | "chacha20-poly1305";
@@ -8500,7 +8378,6 @@ declare const AiTraceObject: Omit<{
8500
8378
  readonly columnName?: string | undefined;
8501
8379
  readonly searchable?: boolean | undefined;
8502
8380
  readonly unique?: boolean | undefined;
8503
- readonly defaultValue?: unknown;
8504
8381
  readonly maxLength?: number | undefined;
8505
8382
  readonly minLength?: number | undefined;
8506
8383
  readonly scale?: number | undefined;
@@ -8624,7 +8501,6 @@ declare const AiTraceObject: Omit<{
8624
8501
  generatedBy?: string | undefined;
8625
8502
  } | undefined;
8626
8503
  } | undefined;
8627
- readonly hidden?: boolean | undefined;
8628
8504
  readonly sortable?: boolean | undefined;
8629
8505
  readonly inlineHelpText?: string | undefined;
8630
8506
  readonly trackFeedHistory?: boolean | undefined;
@@ -8651,10 +8527,12 @@ declare const AiTraceObject: Omit<{
8651
8527
  readonly dependencies?: string[] | undefined;
8652
8528
  readonly theme?: string | undefined;
8653
8529
  readonly externalId?: boolean | undefined;
8530
+ readonly defaultValue?: unknown;
8531
+ readonly group?: string | undefined;
8532
+ readonly hidden?: boolean | undefined;
8654
8533
  readonly system?: boolean | undefined;
8655
8534
  readonly min?: number | undefined;
8656
8535
  readonly max?: number | undefined;
8657
- readonly group?: string | undefined;
8658
8536
  readonly encryptionConfig?: {
8659
8537
  enabled: boolean;
8660
8538
  algorithm: "aes-256-gcm" | "aes-256-cbc" | "chacha20-poly1305";
@@ -8675,7 +8553,6 @@ declare const AiTraceObject: Omit<{
8675
8553
  readonly columnName?: string | undefined;
8676
8554
  readonly searchable?: boolean | undefined;
8677
8555
  readonly unique?: boolean | undefined;
8678
- readonly defaultValue?: unknown;
8679
8556
  readonly maxLength?: number | undefined;
8680
8557
  readonly minLength?: number | undefined;
8681
8558
  readonly scale?: number | undefined;
@@ -8799,7 +8676,6 @@ declare const AiTraceObject: Omit<{
8799
8676
  generatedBy?: string | undefined;
8800
8677
  } | undefined;
8801
8678
  } | undefined;
8802
- readonly hidden?: boolean | undefined;
8803
8679
  readonly sortable?: boolean | undefined;
8804
8680
  readonly inlineHelpText?: string | undefined;
8805
8681
  readonly trackFeedHistory?: boolean | undefined;
@@ -8826,10 +8702,12 @@ declare const AiTraceObject: Omit<{
8826
8702
  readonly dependencies?: string[] | undefined;
8827
8703
  readonly theme?: string | undefined;
8828
8704
  readonly externalId?: boolean | undefined;
8705
+ readonly defaultValue?: unknown;
8706
+ readonly group?: string | undefined;
8707
+ readonly hidden?: boolean | undefined;
8829
8708
  readonly system?: boolean | undefined;
8830
8709
  readonly min?: number | undefined;
8831
8710
  readonly max?: number | undefined;
8832
- readonly group?: string | undefined;
8833
8711
  readonly encryptionConfig?: {
8834
8712
  enabled: boolean;
8835
8713
  algorithm: "aes-256-gcm" | "aes-256-cbc" | "chacha20-poly1305";
@@ -8850,7 +8728,6 @@ declare const AiTraceObject: Omit<{
8850
8728
  readonly columnName?: string | undefined;
8851
8729
  readonly searchable?: boolean | undefined;
8852
8730
  readonly unique?: boolean | undefined;
8853
- readonly defaultValue?: unknown;
8854
8731
  readonly maxLength?: number | undefined;
8855
8732
  readonly minLength?: number | undefined;
8856
8733
  readonly scale?: number | undefined;
@@ -8974,7 +8851,6 @@ declare const AiTraceObject: Omit<{
8974
8851
  generatedBy?: string | undefined;
8975
8852
  } | undefined;
8976
8853
  } | undefined;
8977
- readonly hidden?: boolean | undefined;
8978
8854
  readonly sortable?: boolean | undefined;
8979
8855
  readonly inlineHelpText?: string | undefined;
8980
8856
  readonly trackFeedHistory?: boolean | undefined;
@@ -9001,10 +8877,12 @@ declare const AiTraceObject: Omit<{
9001
8877
  readonly dependencies?: string[] | undefined;
9002
8878
  readonly theme?: string | undefined;
9003
8879
  readonly externalId?: boolean | undefined;
8880
+ readonly defaultValue?: unknown;
8881
+ readonly group?: string | undefined;
8882
+ readonly hidden?: boolean | undefined;
9004
8883
  readonly system?: boolean | undefined;
9005
8884
  readonly min?: number | undefined;
9006
8885
  readonly max?: number | undefined;
9007
- readonly group?: string | undefined;
9008
8886
  readonly encryptionConfig?: {
9009
8887
  enabled: boolean;
9010
8888
  algorithm: "aes-256-gcm" | "aes-256-cbc" | "chacha20-poly1305";
@@ -9025,7 +8903,6 @@ declare const AiTraceObject: Omit<{
9025
8903
  readonly columnName?: string | undefined;
9026
8904
  readonly searchable?: boolean | undefined;
9027
8905
  readonly unique?: boolean | undefined;
9028
- readonly defaultValue?: unknown;
9029
8906
  readonly maxLength?: number | undefined;
9030
8907
  readonly minLength?: number | undefined;
9031
8908
  readonly scale?: number | undefined;
@@ -9149,7 +9026,6 @@ declare const AiTraceObject: Omit<{
9149
9026
  generatedBy?: string | undefined;
9150
9027
  } | undefined;
9151
9028
  } | undefined;
9152
- readonly hidden?: boolean | undefined;
9153
9029
  readonly sortable?: boolean | undefined;
9154
9030
  readonly inlineHelpText?: string | undefined;
9155
9031
  readonly trackFeedHistory?: boolean | undefined;
@@ -9176,10 +9052,12 @@ declare const AiTraceObject: Omit<{
9176
9052
  readonly dependencies?: string[] | undefined;
9177
9053
  readonly theme?: string | undefined;
9178
9054
  readonly externalId?: boolean | undefined;
9055
+ readonly defaultValue?: unknown;
9056
+ readonly group?: string | undefined;
9057
+ readonly hidden?: boolean | undefined;
9179
9058
  readonly system?: boolean | undefined;
9180
9059
  readonly min?: number | undefined;
9181
9060
  readonly max?: number | undefined;
9182
- readonly group?: string | undefined;
9183
9061
  readonly encryptionConfig?: {
9184
9062
  enabled: boolean;
9185
9063
  algorithm: "aes-256-gcm" | "aes-256-cbc" | "chacha20-poly1305";
@@ -9200,7 +9078,6 @@ declare const AiTraceObject: Omit<{
9200
9078
  readonly columnName?: string | undefined;
9201
9079
  readonly searchable?: boolean | undefined;
9202
9080
  readonly unique?: boolean | undefined;
9203
- readonly defaultValue?: unknown;
9204
9081
  readonly maxLength?: number | undefined;
9205
9082
  readonly minLength?: number | undefined;
9206
9083
  readonly scale?: number | undefined;
@@ -9324,7 +9201,6 @@ declare const AiTraceObject: Omit<{
9324
9201
  generatedBy?: string | undefined;
9325
9202
  } | undefined;
9326
9203
  } | undefined;
9327
- readonly hidden?: boolean | undefined;
9328
9204
  readonly sortable?: boolean | undefined;
9329
9205
  readonly inlineHelpText?: string | undefined;
9330
9206
  readonly trackFeedHistory?: boolean | undefined;
@@ -9351,10 +9227,12 @@ declare const AiTraceObject: Omit<{
9351
9227
  readonly dependencies?: string[] | undefined;
9352
9228
  readonly theme?: string | undefined;
9353
9229
  readonly externalId?: boolean | undefined;
9230
+ readonly defaultValue?: unknown;
9231
+ readonly group?: string | undefined;
9232
+ readonly hidden?: boolean | undefined;
9354
9233
  readonly system?: boolean | undefined;
9355
9234
  readonly min?: number | undefined;
9356
9235
  readonly max?: number | undefined;
9357
- readonly group?: string | undefined;
9358
9236
  readonly encryptionConfig?: {
9359
9237
  enabled: boolean;
9360
9238
  algorithm: "aes-256-gcm" | "aes-256-cbc" | "chacha20-poly1305";
@@ -9375,7 +9253,6 @@ declare const AiTraceObject: Omit<{
9375
9253
  readonly columnName?: string | undefined;
9376
9254
  readonly searchable?: boolean | undefined;
9377
9255
  readonly unique?: boolean | undefined;
9378
- readonly defaultValue?: unknown;
9379
9256
  readonly maxLength?: number | undefined;
9380
9257
  readonly minLength?: number | undefined;
9381
9258
  readonly scale?: number | undefined;
@@ -9499,7 +9376,6 @@ declare const AiTraceObject: Omit<{
9499
9376
  generatedBy?: string | undefined;
9500
9377
  } | undefined;
9501
9378
  } | undefined;
9502
- readonly hidden?: boolean | undefined;
9503
9379
  readonly sortable?: boolean | undefined;
9504
9380
  readonly inlineHelpText?: string | undefined;
9505
9381
  readonly trackFeedHistory?: boolean | undefined;
@@ -9526,10 +9402,12 @@ declare const AiTraceObject: Omit<{
9526
9402
  readonly dependencies?: string[] | undefined;
9527
9403
  readonly theme?: string | undefined;
9528
9404
  readonly externalId?: boolean | undefined;
9405
+ readonly defaultValue?: unknown;
9406
+ readonly group?: string | undefined;
9407
+ readonly hidden?: boolean | undefined;
9529
9408
  readonly system?: boolean | undefined;
9530
9409
  readonly min?: number | undefined;
9531
9410
  readonly max?: number | undefined;
9532
- readonly group?: string | undefined;
9533
9411
  readonly encryptionConfig?: {
9534
9412
  enabled: boolean;
9535
9413
  algorithm: "aes-256-gcm" | "aes-256-cbc" | "chacha20-poly1305";
@@ -9550,7 +9428,6 @@ declare const AiTraceObject: Omit<{
9550
9428
  readonly columnName?: string | undefined;
9551
9429
  readonly searchable?: boolean | undefined;
9552
9430
  readonly unique?: boolean | undefined;
9553
- readonly defaultValue?: unknown;
9554
9431
  readonly maxLength?: number | undefined;
9555
9432
  readonly minLength?: number | undefined;
9556
9433
  readonly scale?: number | undefined;
@@ -9674,7 +9551,6 @@ declare const AiTraceObject: Omit<{
9674
9551
  generatedBy?: string | undefined;
9675
9552
  } | undefined;
9676
9553
  } | undefined;
9677
- readonly hidden?: boolean | undefined;
9678
9554
  readonly sortable?: boolean | undefined;
9679
9555
  readonly inlineHelpText?: string | undefined;
9680
9556
  readonly trackFeedHistory?: boolean | undefined;
@@ -9701,10 +9577,12 @@ declare const AiTraceObject: Omit<{
9701
9577
  readonly dependencies?: string[] | undefined;
9702
9578
  readonly theme?: string | undefined;
9703
9579
  readonly externalId?: boolean | undefined;
9580
+ readonly defaultValue?: unknown;
9581
+ readonly group?: string | undefined;
9582
+ readonly hidden?: boolean | undefined;
9704
9583
  readonly system?: boolean | undefined;
9705
9584
  readonly min?: number | undefined;
9706
9585
  readonly max?: number | undefined;
9707
- readonly group?: string | undefined;
9708
9586
  readonly encryptionConfig?: {
9709
9587
  enabled: boolean;
9710
9588
  algorithm: "aes-256-gcm" | "aes-256-cbc" | "chacha20-poly1305";
@@ -9725,7 +9603,6 @@ declare const AiTraceObject: Omit<{
9725
9603
  readonly columnName?: string | undefined;
9726
9604
  readonly searchable?: boolean | undefined;
9727
9605
  readonly unique?: boolean | undefined;
9728
- readonly defaultValue?: unknown;
9729
9606
  readonly maxLength?: number | undefined;
9730
9607
  readonly minLength?: number | undefined;
9731
9608
  readonly scale?: number | undefined;
@@ -9849,7 +9726,6 @@ declare const AiTraceObject: Omit<{
9849
9726
  generatedBy?: string | undefined;
9850
9727
  } | undefined;
9851
9728
  } | undefined;
9852
- readonly hidden?: boolean | undefined;
9853
9729
  readonly sortable?: boolean | undefined;
9854
9730
  readonly inlineHelpText?: string | undefined;
9855
9731
  readonly trackFeedHistory?: boolean | undefined;
@@ -9876,10 +9752,12 @@ declare const AiTraceObject: Omit<{
9876
9752
  readonly dependencies?: string[] | undefined;
9877
9753
  readonly theme?: string | undefined;
9878
9754
  readonly externalId?: boolean | undefined;
9755
+ readonly defaultValue?: unknown;
9756
+ readonly group?: string | undefined;
9757
+ readonly hidden?: boolean | undefined;
9879
9758
  readonly system?: boolean | undefined;
9880
9759
  readonly min?: number | undefined;
9881
9760
  readonly max?: number | undefined;
9882
- readonly group?: string | undefined;
9883
9761
  readonly encryptionConfig?: {
9884
9762
  enabled: boolean;
9885
9763
  algorithm: "aes-256-gcm" | "aes-256-cbc" | "chacha20-poly1305";
@@ -9900,7 +9778,6 @@ declare const AiTraceObject: Omit<{
9900
9778
  readonly columnName?: string | undefined;
9901
9779
  readonly searchable?: boolean | undefined;
9902
9780
  readonly unique?: boolean | undefined;
9903
- readonly defaultValue?: unknown;
9904
9781
  readonly maxLength?: number | undefined;
9905
9782
  readonly minLength?: number | undefined;
9906
9783
  readonly scale?: number | undefined;
@@ -10024,7 +9901,6 @@ declare const AiTraceObject: Omit<{
10024
9901
  generatedBy?: string | undefined;
10025
9902
  } | undefined;
10026
9903
  } | undefined;
10027
- readonly hidden?: boolean | undefined;
10028
9904
  readonly sortable?: boolean | undefined;
10029
9905
  readonly inlineHelpText?: string | undefined;
10030
9906
  readonly trackFeedHistory?: boolean | undefined;
@@ -10051,10 +9927,12 @@ declare const AiTraceObject: Omit<{
10051
9927
  readonly dependencies?: string[] | undefined;
10052
9928
  readonly theme?: string | undefined;
10053
9929
  readonly externalId?: boolean | undefined;
9930
+ readonly defaultValue?: unknown;
9931
+ readonly group?: string | undefined;
9932
+ readonly hidden?: boolean | undefined;
10054
9933
  readonly system?: boolean | undefined;
10055
9934
  readonly min?: number | undefined;
10056
9935
  readonly max?: number | undefined;
10057
- readonly group?: string | undefined;
10058
9936
  readonly encryptionConfig?: {
10059
9937
  enabled: boolean;
10060
9938
  algorithm: "aes-256-gcm" | "aes-256-cbc" | "chacha20-poly1305";
@@ -10075,7 +9953,6 @@ declare const AiTraceObject: Omit<{
10075
9953
  readonly columnName?: string | undefined;
10076
9954
  readonly searchable?: boolean | undefined;
10077
9955
  readonly unique?: boolean | undefined;
10078
- readonly defaultValue?: unknown;
10079
9956
  readonly maxLength?: number | undefined;
10080
9957
  readonly minLength?: number | undefined;
10081
9958
  readonly scale?: number | undefined;
@@ -10199,7 +10076,6 @@ declare const AiTraceObject: Omit<{
10199
10076
  generatedBy?: string | undefined;
10200
10077
  } | undefined;
10201
10078
  } | undefined;
10202
- readonly hidden?: boolean | undefined;
10203
10079
  readonly sortable?: boolean | undefined;
10204
10080
  readonly inlineHelpText?: string | undefined;
10205
10081
  readonly trackFeedHistory?: boolean | undefined;
@@ -10226,10 +10102,12 @@ declare const AiTraceObject: Omit<{
10226
10102
  readonly dependencies?: string[] | undefined;
10227
10103
  readonly theme?: string | undefined;
10228
10104
  readonly externalId?: boolean | undefined;
10105
+ readonly defaultValue?: unknown;
10106
+ readonly group?: string | undefined;
10107
+ readonly hidden?: boolean | undefined;
10229
10108
  readonly system?: boolean | undefined;
10230
10109
  readonly min?: number | undefined;
10231
10110
  readonly max?: number | undefined;
10232
- readonly group?: string | undefined;
10233
10111
  readonly encryptionConfig?: {
10234
10112
  enabled: boolean;
10235
10113
  algorithm: "aes-256-gcm" | "aes-256-cbc" | "chacha20-poly1305";
@@ -10250,7 +10128,6 @@ declare const AiTraceObject: Omit<{
10250
10128
  readonly columnName?: string | undefined;
10251
10129
  readonly searchable?: boolean | undefined;
10252
10130
  readonly unique?: boolean | undefined;
10253
- readonly defaultValue?: unknown;
10254
10131
  readonly maxLength?: number | undefined;
10255
10132
  readonly minLength?: number | undefined;
10256
10133
  readonly scale?: number | undefined;
@@ -10374,7 +10251,6 @@ declare const AiTraceObject: Omit<{
10374
10251
  generatedBy?: string | undefined;
10375
10252
  } | undefined;
10376
10253
  } | undefined;
10377
- readonly hidden?: boolean | undefined;
10378
10254
  readonly sortable?: boolean | undefined;
10379
10255
  readonly inlineHelpText?: string | undefined;
10380
10256
  readonly trackFeedHistory?: boolean | undefined;
@@ -10401,10 +10277,12 @@ declare const AiTraceObject: Omit<{
10401
10277
  readonly dependencies?: string[] | undefined;
10402
10278
  readonly theme?: string | undefined;
10403
10279
  readonly externalId?: boolean | undefined;
10280
+ readonly defaultValue?: unknown;
10281
+ readonly group?: string | undefined;
10282
+ readonly hidden?: boolean | undefined;
10404
10283
  readonly system?: boolean | undefined;
10405
10284
  readonly min?: number | undefined;
10406
10285
  readonly max?: number | undefined;
10407
- readonly group?: string | undefined;
10408
10286
  readonly encryptionConfig?: {
10409
10287
  enabled: boolean;
10410
10288
  algorithm: "aes-256-gcm" | "aes-256-cbc" | "chacha20-poly1305";
@@ -10425,7 +10303,6 @@ declare const AiTraceObject: Omit<{
10425
10303
  readonly columnName?: string | undefined;
10426
10304
  readonly searchable?: boolean | undefined;
10427
10305
  readonly unique?: boolean | undefined;
10428
- readonly defaultValue?: unknown;
10429
10306
  readonly maxLength?: number | undefined;
10430
10307
  readonly minLength?: number | undefined;
10431
10308
  readonly scale?: number | undefined;
@@ -10549,7 +10426,6 @@ declare const AiTraceObject: Omit<{
10549
10426
  generatedBy?: string | undefined;
10550
10427
  } | undefined;
10551
10428
  } | undefined;
10552
- readonly hidden?: boolean | undefined;
10553
10429
  readonly sortable?: boolean | undefined;
10554
10430
  readonly inlineHelpText?: string | undefined;
10555
10431
  readonly trackFeedHistory?: boolean | undefined;
@@ -10669,7 +10545,7 @@ declare const AiTraceView: {
10669
10545
  type: "none" | "multiple" | "single";
10670
10546
  } | undefined;
10671
10547
  navigation?: {
10672
- mode: "none" | "split" | "page" | "modal" | "drawer" | "popover" | "new_window";
10548
+ mode: "none" | "split" | "page" | "drawer" | "modal" | "popover" | "new_window";
10673
10549
  preventNavigation: boolean;
10674
10550
  openNewTab: boolean;
10675
10551
  view?: string | undefined;
@@ -10843,7 +10719,7 @@ declare const AiTraceView: {
10843
10719
  } | undefined;
10844
10720
  } | undefined;
10845
10721
  form?: {
10846
- type: "split" | "modal" | "drawer" | "simple" | "tabbed" | "wizard";
10722
+ type: "split" | "drawer" | "modal" | "simple" | "tabbed" | "wizard";
10847
10723
  data?: {
10848
10724
  provider: "object";
10849
10725
  object: string;
@@ -11019,7 +10895,7 @@ declare const AiTraceView: {
11019
10895
  type: "none" | "multiple" | "single";
11020
10896
  } | undefined;
11021
10897
  navigation?: {
11022
- mode: "none" | "split" | "page" | "modal" | "drawer" | "popover" | "new_window";
10898
+ mode: "none" | "split" | "page" | "drawer" | "modal" | "popover" | "new_window";
11023
10899
  preventNavigation: boolean;
11024
10900
  openNewTab: boolean;
11025
10901
  view?: string | undefined;
@@ -11193,7 +11069,7 @@ declare const AiTraceView: {
11193
11069
  } | undefined;
11194
11070
  }> | undefined;
11195
11071
  formViews?: Record<string, {
11196
- type: "split" | "modal" | "drawer" | "simple" | "tabbed" | "wizard";
11072
+ type: "split" | "drawer" | "modal" | "simple" | "tabbed" | "wizard";
11197
11073
  data?: {
11198
11074
  provider: "object";
11199
11075
  object: string;
@@ -11393,6 +11269,14 @@ interface ObjectShape {
11393
11269
  pluralLabel?: string;
11394
11270
  description?: string;
11395
11271
  fields?: Record<string, FieldShape>;
11272
+ /** Datasource the object is routed to (ADR-0015). */
11273
+ datasource?: string;
11274
+ /** External-federation binding, when this is a federated object (ADR-0015). */
11275
+ external?: {
11276
+ writable?: boolean;
11277
+ remoteName?: string;
11278
+ remoteSchema?: string;
11279
+ };
11396
11280
  }
11397
11281
  /** Minimal shape of a field definition. */
11398
11282
  interface FieldShape {
@@ -11416,6 +11300,15 @@ interface QueryDataToolContext {
11416
11300
  dataEngine: IDataEngine;
11417
11301
  /** Maximum number of records returned per call (default: 100). */
11418
11302
  maxLimit?: number;
11303
+ /**
11304
+ * Fallback hard cap (ms) on a single query against a *federated* (external)
11305
+ * object, used when the datasource doesn't declare its own
11306
+ * `external.queryTimeoutMs`. A slow remote warehouse must never hang the AI
11307
+ * tool loop indefinitely (ADR-0015 §5.4 AI safety net). Default: 30_000.
11308
+ * Managed (local) objects are never timed out here — they're already bounded
11309
+ * by the injected `LIMIT`.
11310
+ */
11311
+ externalQueryTimeoutMs?: number;
11419
11312
  /**
11420
11313
  * Optional protocol shim for cross-source object enumeration. Mirrors the
11421
11314
  * fallback used by `list_objects`/`describe_object` — without it the