@proteos/sdk 0.61.0 → 0.75.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.
Files changed (40) hide show
  1. package/dist/{chunk-OOOTPEJK.js → chunk-3VQQEJV6.js} +71 -11
  2. package/dist/chunk-3VQQEJV6.js.map +1 -0
  3. package/dist/{chunk-25PD6TYH.cjs → chunk-C4CH6CEY.cjs} +75 -10
  4. package/dist/chunk-C4CH6CEY.cjs.map +1 -0
  5. package/dist/index.cjs +379 -130
  6. package/dist/index.cjs.map +1 -1
  7. package/dist/index.d.cts +813 -81
  8. package/dist/index.d.ts +813 -81
  9. package/dist/index.js +250 -13
  10. package/dist/index.js.map +1 -1
  11. package/dist/meta/index.cjs +109 -89
  12. package/dist/meta/index.d.cts +1 -1
  13. package/dist/meta/index.d.ts +1 -1
  14. package/dist/meta/index.js +1 -1
  15. package/dist/{types-DQmqR_G8.d.cts → types-Dp-AB2QZ.d.cts} +561 -48
  16. package/dist/{types-DQmqR_G8.d.ts → types-Dp-AB2QZ.d.ts} +561 -48
  17. package/package.json +3 -3
  18. package/src/agent/session-types.ts +8 -1
  19. package/src/agent/sessions.ts +6 -4
  20. package/src/agent/types.ts +9 -0
  21. package/src/auth/platform-entities.ts +6 -0
  22. package/src/client.ts +28 -4
  23. package/src/conversation/index.ts +327 -15
  24. package/src/conversation/types.ts +594 -5
  25. package/src/data/entity-indexes.ts +54 -0
  26. package/src/data/index.ts +12 -0
  27. package/src/data/types.ts +66 -0
  28. package/src/errors.ts +5 -0
  29. package/src/index.ts +57 -0
  30. package/src/meta/components.ts +23 -3
  31. package/src/meta/index.ts +8 -0
  32. package/src/meta/layout/common-props.ts +9 -0
  33. package/src/meta/layout/elements.ts +57 -0
  34. package/src/meta/layout/index.ts +5 -0
  35. package/src/meta/layout/page-layout.ts +15 -3
  36. package/src/meta/types.ts +206 -21
  37. package/src/scheduling/types.ts +5 -1
  38. package/src/workflow/types.ts +10 -2
  39. package/dist/chunk-25PD6TYH.cjs.map +0 -1
  40. package/dist/chunk-OOOTPEJK.js.map +0 -1
@@ -143,6 +143,14 @@ declare class ProteosClient {
143
143
  * Creates an AbortSignal with timeout.
144
144
  */
145
145
  private createTimeoutSignal;
146
+ /**
147
+ * Runs fetch and turns a transport failure — DNS, connection refused, the
148
+ * network being down, the timeout signal firing — into a ProteosError with
149
+ * httpStatus 0, so callers can tell "the server said no" from "the server
150
+ * was never reached" (the latter is worth retrying). An abort the caller
151
+ * asked for is theirs and passes through untouched.
152
+ */
153
+ private send;
146
154
  /**
147
155
  * Performs an HTTP request and decodes the JSON response.
148
156
  *
@@ -648,6 +656,12 @@ interface AppService {
648
656
  delete(slug: string): Promise<void>;
649
657
  }
650
658
 
659
+ /**
660
+ * The hex digest of a `bundle_checksum` (`sha256:<hex>`), which is what the
661
+ * bundle endpoint compares its `v` query against. `undefined` for an absent
662
+ * or malformed checksum.
663
+ */
664
+ declare function bundleVersionOf(bundleChecksum: string | undefined): string | undefined;
651
665
  /**
652
666
  * Service for managing UI component definitions.
653
667
  * Components define reusable UI elements in the system.
@@ -712,7 +726,7 @@ interface ComponentService {
712
726
  * @param slug - Component slug
713
727
  * @returns The relative bundle URL
714
728
  */
715
- bundleUrl(slug: string): string;
729
+ bundleUrl(slug: string, bundleChecksum?: string): string;
716
730
  }
717
731
 
718
732
  /**
@@ -1543,6 +1557,9 @@ interface SizingProps {
1543
1557
  /** Floor under `height` (px or %). Under `height: 'fill'` in a column it
1544
1558
  * replaces the default 320px floor. */
1545
1559
  min_height?: LengthValue;
1560
+ /** Ceiling over `height` (px or %). A box that would grow past it scrolls
1561
+ * its content instead; a field scrolls its value and keeps its label. */
1562
+ max_height?: LengthValue;
1546
1563
  grow?: number;
1547
1564
  shrink?: number;
1548
1565
  align?: LayoutAlign;
@@ -1582,6 +1599,10 @@ interface CommonProps {
1582
1599
  height?: SizeValue;
1583
1600
  /** Floor under `height`, px or %. */
1584
1601
  min_height?: LengthValue;
1602
+ /** Ceiling over `height`, px or %. Content past it scrolls inside the
1603
+ * element (a field scrolls its value, the label stays). A fixed px / %
1604
+ * `height` bounds the same way. */
1605
+ max_height?: LengthValue;
1585
1606
  grow?: number;
1586
1607
  shrink?: number;
1587
1608
  align?: LayoutAlign;
@@ -1642,6 +1663,7 @@ declare const LayoutElementType: {
1642
1663
  readonly WorkflowTrigger: "workflow_trigger";
1643
1664
  readonly SchedulingPicker: "scheduling_picker";
1644
1665
  readonly Calendar: "calendar";
1666
+ readonly Stepper: "stepper";
1645
1667
  };
1646
1668
  type LayoutElementType = (typeof LayoutElementType)[keyof typeof LayoutElementType];
1647
1669
  type RowElement = CommonProps & {
@@ -1705,6 +1727,39 @@ type TabsElement = CommonProps & {
1705
1727
  tabs: LayoutTab[];
1706
1728
  default_tab_id?: string;
1707
1729
  };
1730
+ /**
1731
+ * One stage inside a `stepper` element, bound to one value of the stepper's
1732
+ * enum attribute. Steps are ordered: the step whose `value` the record holds
1733
+ * is current, the ones before it completed, the ones after it upcoming.
1734
+ * `visible_when` hides a step from the rail without changing the order;
1735
+ * `continue_label` overrides the Continue button while this step is current.
1736
+ * Step ids share the page-wide id namespace with element ids.
1737
+ */
1738
+ type LayoutStep = {
1739
+ id: string;
1740
+ value: string;
1741
+ label: string;
1742
+ icon?: string;
1743
+ continue_label?: string;
1744
+ visible_when?: FilterGroup;
1745
+ content: LayoutElement;
1746
+ };
1747
+ /**
1748
+ * Tabs for a record that walks through stages: ordered steps bound to one
1749
+ * enum `attribute` of the page record, one content tree per step, and
1750
+ * Continue / Back buttons that write the attribute through the normal record
1751
+ * update — `before_update` hooks stay the authority on readiness and their
1752
+ * refusal is shown inline. Record pages only.
1753
+ */
1754
+ type StepperElement = CommonProps & {
1755
+ type: 'stepper';
1756
+ attribute: string;
1757
+ /** Continue button label (default "Continue"); a step's own `continue_label` wins. */
1758
+ continue_label?: string;
1759
+ /** Back button label (default "Back"). */
1760
+ back_label?: string;
1761
+ steps: LayoutStep[];
1762
+ };
1708
1763
  type FieldElement = CommonProps & {
1709
1764
  type: 'field';
1710
1765
  attribute: string;
@@ -1925,8 +1980,9 @@ type TextElement = CommonProps & {
1925
1980
  variant: TextVariant;
1926
1981
  content: string;
1927
1982
  };
1928
- type LayoutElement = RowElement | ColumnElement | SectionElement | CardElement | TabsElement | FieldElement | RelatedListElement | RelatedRecordElement | ComponentElement | DividerElement | TextElement | RecordFilterElement | ListElement | WorkflowTriggerElement | SchedulingPickerElement | CalendarElement;
1983
+ type LayoutElement = RowElement | ColumnElement | SectionElement | CardElement | TabsElement | FieldElement | RelatedListElement | RelatedRecordElement | ComponentElement | DividerElement | TextElement | RecordFilterElement | ListElement | WorkflowTriggerElement | SchedulingPickerElement | CalendarElement | StepperElement;
1929
1984
  declare const LayoutTabSchema: z.ZodType<LayoutTab>;
1985
+ declare const LayoutStepSchema: z.ZodType<LayoutStep>;
1930
1986
  declare const LayoutElementSchema: z.ZodType<LayoutElement>;
1931
1987
 
1932
1988
  /**
@@ -1958,6 +2014,12 @@ declare const PageLayoutSidePanelSchema: z.ZodObject<{
1958
2014
  */
1959
2015
  declare const PAGE_BACKGROUND_TOKENS: readonly ["bg", "bg-2", "bg-3", "ink", "ink-2", "ink-3", "ink-4", "rule", "rule-2", "accent", "accent-2", "accent-ink", "success", "warning", "danger", "info"];
1960
2016
  type PageBackgroundToken = (typeof PAGE_BACKGROUND_TOKENS)[number];
2017
+ /** Record toolbar shapes. `full` (default) = title strip + actions strip;
2018
+ * `condensed` = title strip only: a (⋯) overflow with the page actions and
2019
+ * the record's links (hidden when there are none), then Edit / Delete,
2020
+ * beside the close button. */
2021
+ declare const PAGE_HEADERS: readonly ["full", "condensed"];
2022
+ type PageHeader = (typeof PAGE_HEADERS)[number];
1961
2023
  /**
1962
2024
  * A raw CSS color a page background may use instead of a token: a hex literal
1963
2025
  * or one of a few color functions with a restricted argument charset (no `;{}`,
@@ -1975,9 +2037,10 @@ declare function isPageBackground(text: string): boolean;
1975
2037
  * bg / 1200px / 24px-32px look). `max_width: "fill"` (or `"auto"`) with zero
1976
2038
  * padding lets a component fill the page edge-to-edge.
1977
2039
  *
1978
- * Honored on `platform`, `public` and `kiosk` pages; record pages reject it
1979
- * (enforced server-side). On platform pages it styles the app shell's content
1980
- * area rather than a standalone shell.
2040
+ * Honored on `platform`, `record`, `public` and `kiosk` pages; on platform
2041
+ * and record pages it styles the app shell's content area rather than a
2042
+ * standalone shell. Trigger pages take `max_width` only; `header` is
2043
+ * record-only (enforced server-side).
1981
2044
  */
1982
2045
  interface PageStyle {
1983
2046
  /** Design-token key (see PAGE_BACKGROUND_TOKENS) or a raw CSS color
@@ -1988,22 +2051,27 @@ interface PageStyle {
1988
2051
  /** Horizontal / vertical padding of the content container (Tailwind px/py). */
1989
2052
  padding_x?: StyleSizeValue;
1990
2053
  padding_y?: StyleSizeValue;
2054
+ /** Record toolbar shape (record pages only); unset = `full`. */
2055
+ header?: PageHeader;
1991
2056
  }
1992
2057
  declare const PageStyleSchema: z.ZodObject<{
1993
2058
  background: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
1994
2059
  max_width: z.ZodOptional<z.ZodType<StyleSizeValue, z.ZodTypeDef, StyleSizeValue>>;
1995
2060
  padding_x: z.ZodOptional<z.ZodType<StyleSizeValue, z.ZodTypeDef, StyleSizeValue>>;
1996
2061
  padding_y: z.ZodOptional<z.ZodType<StyleSizeValue, z.ZodTypeDef, StyleSizeValue>>;
2062
+ header: z.ZodOptional<z.ZodEnum<["full", "condensed"]>>;
1997
2063
  }, "strip", z.ZodTypeAny, {
1998
2064
  background?: string | undefined;
1999
2065
  max_width?: StyleSizeValue | undefined;
2000
2066
  padding_x?: StyleSizeValue | undefined;
2001
2067
  padding_y?: StyleSizeValue | undefined;
2068
+ header?: "full" | "condensed" | undefined;
2002
2069
  }, {
2003
2070
  background?: string | undefined;
2004
2071
  max_width?: StyleSizeValue | undefined;
2005
2072
  padding_x?: StyleSizeValue | undefined;
2006
2073
  padding_y?: StyleSizeValue | undefined;
2074
+ header?: "full" | "condensed" | undefined;
2007
2075
  }>;
2008
2076
  /**
2009
2077
  * Top-level page layout. Replaces the legacy `mainContent` / `side_panel`
@@ -2036,16 +2104,19 @@ declare const PageLayoutSchema: z.ZodObject<{
2036
2104
  max_width: z.ZodOptional<z.ZodType<StyleSizeValue, z.ZodTypeDef, StyleSizeValue>>;
2037
2105
  padding_x: z.ZodOptional<z.ZodType<StyleSizeValue, z.ZodTypeDef, StyleSizeValue>>;
2038
2106
  padding_y: z.ZodOptional<z.ZodType<StyleSizeValue, z.ZodTypeDef, StyleSizeValue>>;
2107
+ header: z.ZodOptional<z.ZodEnum<["full", "condensed"]>>;
2039
2108
  }, "strip", z.ZodTypeAny, {
2040
2109
  background?: string | undefined;
2041
2110
  max_width?: StyleSizeValue | undefined;
2042
2111
  padding_x?: StyleSizeValue | undefined;
2043
2112
  padding_y?: StyleSizeValue | undefined;
2113
+ header?: "full" | "condensed" | undefined;
2044
2114
  }, {
2045
2115
  background?: string | undefined;
2046
2116
  max_width?: StyleSizeValue | undefined;
2047
2117
  padding_x?: StyleSizeValue | undefined;
2048
2118
  padding_y?: StyleSizeValue | undefined;
2119
+ header?: "full" | "condensed" | undefined;
2049
2120
  }>>;
2050
2121
  }, "strip", z.ZodTypeAny, {
2051
2122
  version: 1;
@@ -2060,6 +2131,7 @@ declare const PageLayoutSchema: z.ZodObject<{
2060
2131
  max_width?: StyleSizeValue | undefined;
2061
2132
  padding_x?: StyleSizeValue | undefined;
2062
2133
  padding_y?: StyleSizeValue | undefined;
2134
+ header?: "full" | "condensed" | undefined;
2063
2135
  } | undefined;
2064
2136
  }, {
2065
2137
  version: 1;
@@ -2074,6 +2146,7 @@ declare const PageLayoutSchema: z.ZodObject<{
2074
2146
  max_width?: StyleSizeValue | undefined;
2075
2147
  padding_x?: StyleSizeValue | undefined;
2076
2148
  padding_y?: StyleSizeValue | undefined;
2149
+ header?: "full" | "condensed" | undefined;
2077
2150
  } | undefined;
2078
2151
  }>;
2079
2152
 
@@ -2723,6 +2796,18 @@ declare const EntityContactBindingSchema: z.ZodObject<{
2723
2796
  interface EntityContactBindingInput {
2724
2797
  duplicate_policy?: ContactBindingDuplicatePolicy;
2725
2798
  }
2799
+ /**
2800
+ * A composite unique constraint: no two records may share the same values for
2801
+ * `attributes` (2+). One-attribute constraints are `is_unique` on the
2802
+ * attribute. Enforced as a unique index on the record table; a violating write
2803
+ * fails with 409 `record_unique_violation` naming the constraint.
2804
+ */
2805
+ interface UniqueConstraint {
2806
+ /** snake_case, unique within the entity. */
2807
+ name: string;
2808
+ /** Attribute names or object paths (`address.city`); never platform columns. */
2809
+ attributes: string[];
2810
+ }
2726
2811
  interface Entity extends AuditFields {
2727
2812
  slug: string;
2728
2813
  name: string;
@@ -2755,6 +2840,8 @@ interface Entity extends AuditFields {
2755
2840
  */
2756
2841
  title_template: string;
2757
2842
  attributes: Attribute[];
2843
+ /** Composite unique constraints; absent when none are declared. */
2844
+ unique_constraints?: UniqueConstraint[];
2758
2845
  }
2759
2846
  declare const EntitySchema: z.ZodObject<{
2760
2847
  created_at: z.ZodString;
@@ -2894,6 +2981,16 @@ declare const EntitySchema: z.ZodObject<{
2894
2981
  } | undefined;
2895
2982
  default_value?: unknown;
2896
2983
  }>, "many">;
2984
+ unique_constraints: z.ZodOptional<z.ZodArray<z.ZodObject<{
2985
+ name: z.ZodString;
2986
+ attributes: z.ZodArray<z.ZodString, "many">;
2987
+ }, "strip", z.ZodTypeAny, {
2988
+ name: string;
2989
+ attributes: string[];
2990
+ }, {
2991
+ name: string;
2992
+ attributes: string[];
2993
+ }>, "many">>;
2897
2994
  }, "strip", z.ZodTypeAny, {
2898
2995
  name: string;
2899
2996
  created_at: string;
@@ -2939,6 +3036,10 @@ declare const EntitySchema: z.ZodObject<{
2939
3036
  contact_binding?: {
2940
3037
  duplicate_policy: "reject" | "flag";
2941
3038
  } | undefined;
3039
+ unique_constraints?: {
3040
+ name: string;
3041
+ attributes: string[];
3042
+ }[] | undefined;
2942
3043
  }, {
2943
3044
  name: string;
2944
3045
  created_at: string;
@@ -2984,6 +3085,10 @@ declare const EntitySchema: z.ZodObject<{
2984
3085
  duplicate_policy: "reject" | "flag";
2985
3086
  } | undefined;
2986
3087
  title_template?: string | undefined;
3088
+ unique_constraints?: {
3089
+ name: string;
3090
+ attributes: string[];
3091
+ }[] | undefined;
2987
3092
  }>;
2988
3093
  /**
2989
3094
  * Entity with JSON Schema representation.
@@ -3129,6 +3234,16 @@ declare const EntityWithSchemaSchema: z.ZodObject<{
3129
3234
  } | undefined;
3130
3235
  default_value?: unknown;
3131
3236
  }>, "many">;
3237
+ unique_constraints: z.ZodOptional<z.ZodArray<z.ZodObject<{
3238
+ name: z.ZodString;
3239
+ attributes: z.ZodArray<z.ZodString, "many">;
3240
+ }, "strip", z.ZodTypeAny, {
3241
+ name: string;
3242
+ attributes: string[];
3243
+ }, {
3244
+ name: string;
3245
+ attributes: string[];
3246
+ }>, "many">>;
3132
3247
  } & {
3133
3248
  schema: z.ZodRecord<z.ZodString, z.ZodUnknown>;
3134
3249
  }, "strip", z.ZodTypeAny, {
@@ -3177,6 +3292,10 @@ declare const EntityWithSchemaSchema: z.ZodObject<{
3177
3292
  contact_binding?: {
3178
3293
  duplicate_policy: "reject" | "flag";
3179
3294
  } | undefined;
3295
+ unique_constraints?: {
3296
+ name: string;
3297
+ attributes: string[];
3298
+ }[] | undefined;
3180
3299
  }, {
3181
3300
  name: string;
3182
3301
  created_at: string;
@@ -3223,6 +3342,10 @@ declare const EntityWithSchemaSchema: z.ZodObject<{
3223
3342
  duplicate_policy: "reject" | "flag";
3224
3343
  } | undefined;
3225
3344
  title_template?: string | undefined;
3345
+ unique_constraints?: {
3346
+ name: string;
3347
+ attributes: string[];
3348
+ }[] | undefined;
3226
3349
  }>;
3227
3350
  /**
3228
3351
  * Options for listing entities.
@@ -3257,6 +3380,11 @@ interface CreateEntityRequest {
3257
3380
  description: string;
3258
3381
  title_template?: string;
3259
3382
  attributes: Attribute[];
3383
+ /**
3384
+ * Composite unique constraints. Full-replacement on upsert: omitted means
3385
+ * none (the `is_unique` ones travel with their attributes).
3386
+ */
3387
+ unique_constraints?: UniqueConstraint[];
3260
3388
  }
3261
3389
  /**
3262
3390
  * Request to update an entity.
@@ -3274,6 +3402,8 @@ interface UpdateEntityRequest {
3274
3402
  description?: string;
3275
3403
  title_template?: string;
3276
3404
  attributes?: Attribute[];
3405
+ /** Omitted leaves the stored list alone; a list (empty included) replaces it. */
3406
+ unique_constraints?: UniqueConstraint[];
3277
3407
  }
3278
3408
  /**
3279
3409
  * Module deployment status.
@@ -3495,6 +3625,14 @@ interface Component extends AuditFields {
3495
3625
  bundle_file_id: string;
3496
3626
  /** FK to a tar.gz of the component source directory in storage (provenance / rebuild). Empty until deployed. */
3497
3627
  source_file_id: string;
3628
+ /**
3629
+ * Content address of the compiled bundle, `sha256:<hex>`, stamped server-side
3630
+ * at deploy. Lets `pro module deploy` skip an unchanged upload and lets the
3631
+ * runtime fetch the bundle under an immutable URL
3632
+ * ({@link ComponentService.bundleUrl}). Absent on rows deployed before
3633
+ * checksum stamping.
3634
+ */
3635
+ bundle_checksum?: string;
3498
3636
  /** The component's JSON Schema, driving the page-designer props editor + runtime validation. `null` until set. */
3499
3637
  props_schema: Record<string, unknown> | null;
3500
3638
  /**
@@ -3504,6 +3642,13 @@ interface Component extends AuditFields {
3504
3642
  * `functions.actions.invokePublic`.
3505
3643
  */
3506
3644
  is_public: boolean;
3645
+ /**
3646
+ * Height in px the host reserves for a placement of this component before
3647
+ * it has rendered — when the page element sets no `reserved_height` and no
3648
+ * earlier visit is remembered. Declared in the component's manifest.
3649
+ * Absent / 0 = undeclared, the host default applies.
3650
+ */
3651
+ reserved_height?: number;
3507
3652
  }
3508
3653
  declare const ComponentSchema: z.ZodObject<{
3509
3654
  created_at: z.ZodString;
@@ -3535,6 +3680,8 @@ declare const ComponentSchema: z.ZodObject<{
3535
3680
  module_slug: z.ZodString;
3536
3681
  bundle_file_id: z.ZodString;
3537
3682
  source_file_id: z.ZodString;
3683
+ bundle_checksum: z.ZodOptional<z.ZodString>;
3684
+ reserved_height: z.ZodOptional<z.ZodNumber>;
3538
3685
  props_schema: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
3539
3686
  is_public: z.ZodDefault<z.ZodBoolean>;
3540
3687
  }, "strip", z.ZodTypeAny, {
@@ -3556,6 +3703,8 @@ declare const ComponentSchema: z.ZodObject<{
3556
3703
  source_file_id: string;
3557
3704
  props_schema: Record<string, unknown> | null;
3558
3705
  is_public: boolean;
3706
+ reserved_height?: number | undefined;
3707
+ bundle_checksum?: string | undefined;
3559
3708
  }, {
3560
3709
  name: string;
3561
3710
  created_at: string;
@@ -3574,6 +3723,8 @@ declare const ComponentSchema: z.ZodObject<{
3574
3723
  bundle_file_id: string;
3575
3724
  source_file_id: string;
3576
3725
  props_schema: Record<string, unknown> | null;
3726
+ reserved_height?: number | undefined;
3727
+ bundle_checksum?: string | undefined;
3577
3728
  is_public?: boolean | undefined;
3578
3729
  }>;
3579
3730
  /**
@@ -3597,6 +3748,8 @@ interface CreateComponentRequest {
3597
3748
  props_schema?: Record<string, unknown>;
3598
3749
  /** See {@link Component.is_public}. Manifest-driven: omitting it sets false. */
3599
3750
  is_public?: boolean;
3751
+ /** See {@link Component.reserved_height}. Manifest-driven: omitting it sets 0. */
3752
+ reserved_height?: number;
3600
3753
  }
3601
3754
  /**
3602
3755
  * Request to update a component.
@@ -3608,6 +3761,7 @@ interface UpdateComponentRequest {
3608
3761
  source_file_id?: string;
3609
3762
  props_schema?: Record<string, unknown>;
3610
3763
  is_public?: boolean;
3764
+ reserved_height?: number;
3611
3765
  }
3612
3766
  /**
3613
3767
  * List column definition.
@@ -3651,19 +3805,43 @@ interface SortConfig {
3651
3805
  }
3652
3806
 
3653
3807
  /**
3654
- * What a page toolbar button invokes. Absent normalizes to `action` (pages
3808
+ * What an action button invokes. Absent normalizes to `action` (buttons
3655
3809
  * persisted before `kind` existed).
3656
3810
  */
3657
- type PageActionKind = 'action' | 'workflow';
3811
+ type PageActionKind = 'action' | 'workflow' | 'agent' | 'intent' | 'link';
3812
+ /** What a `kind: intent` button prepares — the command palette's intent names. */
3813
+ type PageActionIntent = 'create_record' | 'update_record';
3658
3814
  /**
3659
- * Page action definition — one toolbar button. `kind: action` invokes a
3660
- * function-service Action by slug (`action`) and may prefill its params;
3661
- * `kind: workflow` starts a manual run of a workflow by key (`workflow`) and
3662
- * may prefill its manual-trigger inputs. `params` / `inputs` map target field
3663
- * names to Liquid templates rendered against the page scope
3664
- * `{ record, entity, params, user }`; a resolved field is locked in the invoke
3665
- * dialog. `skip_confirmation` fires the target immediately when every required
3666
- * field resolved from the templates.
3815
+ * One action button — a page's or a list's toolbar button, or a conversation
3816
+ * type's next step (a live call's quick action, the wrap-up's "Next steps").
3817
+ * Which target it invokes follows from `kind`:
3818
+ *
3819
+ * - `action` → `action` (slug) + `params`
3820
+ * - `workflow` → `workflow` (key) + `inputs`
3821
+ * - `agent` → `agent` (key) + `prompt` + `context`: opens an Ava chat with
3822
+ * that agent; `prompt` becomes the visible first message (the label when
3823
+ * empty), `context` is handed to the model alongside it and never shown.
3824
+ * - `intent` → `intent` + `entity` (+ `record`) + `prompt` + `context`:
3825
+ * prepares a record proposal (one model call), shows it as an editable
3826
+ * review and saves only what the person confirms. `update_record` targets
3827
+ * `record` when set, else the surface's linked record of `entity`.
3828
+ * - `link` → `url`: opens the rendered address in a new browser tab
3829
+ * (http, https, mailto and tel only). Renders synchronously on the press,
3830
+ * so `| summarize` renders '' there.
3831
+ *
3832
+ * `params` / `inputs` map target field names to Liquid templates; `prompt`,
3833
+ * `context`, `entity`, `record` and `url` are Liquid templates too. Everything
3834
+ * renders client-side against the surface's scope (a page:
3835
+ * `{ record, entity, params, current_user }`; a conversation:
3836
+ * `{ conversation, contact, records, records_by_entity, tags,
3837
+ * tags_by_definition, brief, current_user }`, where `| summarize: "<lens>"`
3838
+ * on the conversation or a tag writes a focused summary of what was said when
3839
+ * the button is pressed). `prompt` is literal message TEXT, never a Prompt
3840
+ * resource key. `visible_when` hides the button unless the surface's subject
3841
+ * matches (the record on a page, the whole scope on a conversation — the
3842
+ * stage is `conversation.status eq active` / `in ended|archived`, a detected
3843
+ * tag `tags_by_definition.<key> not_empty`). `skip_confirmation` fires an
3844
+ * action/workflow immediately when every required field resolved.
3667
3845
  */
3668
3846
  interface PageAction {
3669
3847
  label: string;
@@ -3671,42 +3849,74 @@ interface PageAction {
3671
3849
  kind?: PageActionKind;
3672
3850
  action?: string;
3673
3851
  workflow?: string;
3852
+ agent?: string;
3853
+ intent?: PageActionIntent;
3854
+ entity?: string;
3855
+ record?: string;
3856
+ url?: string;
3674
3857
  params?: Record<string, string>;
3675
3858
  inputs?: Record<string, string>;
3859
+ prompt?: string;
3860
+ context?: string;
3676
3861
  skip_confirmation?: boolean;
3862
+ visible_when?: FilterGroup;
3677
3863
  /** List-extension stamp on a toolbar action a list extension appended to its host list. */
3678
3864
  extension_key?: string;
3679
3865
  }
3680
3866
  declare const PageActionSchema: z.ZodObject<{
3681
3867
  label: z.ZodString;
3682
3868
  icon: z.ZodString;
3683
- kind: z.ZodOptional<z.ZodEnum<["action", "workflow"]>>;
3869
+ kind: z.ZodOptional<z.ZodEnum<["action", "workflow", "agent", "intent", "link"]>>;
3684
3870
  action: z.ZodOptional<z.ZodString>;
3685
3871
  workflow: z.ZodOptional<z.ZodString>;
3872
+ agent: z.ZodOptional<z.ZodString>;
3873
+ intent: z.ZodOptional<z.ZodEnum<["create_record", "update_record"]>>;
3874
+ entity: z.ZodOptional<z.ZodString>;
3875
+ record: z.ZodOptional<z.ZodString>;
3876
+ url: z.ZodOptional<z.ZodString>;
3686
3877
  params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
3687
3878
  inputs: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
3879
+ prompt: z.ZodOptional<z.ZodString>;
3880
+ context: z.ZodOptional<z.ZodString>;
3688
3881
  skip_confirmation: z.ZodOptional<z.ZodBoolean>;
3882
+ visible_when: z.ZodOptional<z.ZodType<FilterGroup, z.ZodTypeDef, FilterGroup>>;
3689
3883
  extension_key: z.ZodOptional<z.ZodString>;
3690
3884
  }, "strip", z.ZodTypeAny, {
3691
3885
  label: string;
3692
3886
  icon: string;
3693
3887
  params?: Record<string, string> | undefined;
3888
+ agent?: string | undefined;
3694
3889
  extension_key?: string | undefined;
3890
+ visible_when?: FilterGroup | undefined;
3695
3891
  workflow?: string | undefined;
3696
3892
  inputs?: Record<string, string> | undefined;
3697
3893
  skip_confirmation?: boolean | undefined;
3698
- kind?: "workflow" | "action" | undefined;
3894
+ kind?: "agent" | "workflow" | "action" | "intent" | "link" | undefined;
3699
3895
  action?: string | undefined;
3896
+ intent?: "create_record" | "update_record" | undefined;
3897
+ entity?: string | undefined;
3898
+ record?: string | undefined;
3899
+ url?: string | undefined;
3900
+ prompt?: string | undefined;
3901
+ context?: string | undefined;
3700
3902
  }, {
3701
3903
  label: string;
3702
3904
  icon: string;
3703
3905
  params?: Record<string, string> | undefined;
3906
+ agent?: string | undefined;
3704
3907
  extension_key?: string | undefined;
3908
+ visible_when?: FilterGroup | undefined;
3705
3909
  workflow?: string | undefined;
3706
3910
  inputs?: Record<string, string> | undefined;
3707
3911
  skip_confirmation?: boolean | undefined;
3708
- kind?: "workflow" | "action" | undefined;
3912
+ kind?: "agent" | "workflow" | "action" | "intent" | "link" | undefined;
3709
3913
  action?: string | undefined;
3914
+ intent?: "create_record" | "update_record" | undefined;
3915
+ entity?: string | undefined;
3916
+ record?: string | undefined;
3917
+ url?: string | undefined;
3918
+ prompt?: string | undefined;
3919
+ context?: string | undefined;
3710
3920
  }>;
3711
3921
  /**
3712
3922
  * Whether a list's rows can be checked, and whether the checkboxes show from
@@ -3814,33 +4024,57 @@ declare const ListSchema: z.ZodObject<{
3814
4024
  actions: z.ZodOptional<z.ZodArray<z.ZodObject<{
3815
4025
  label: z.ZodString;
3816
4026
  icon: z.ZodString;
3817
- kind: z.ZodOptional<z.ZodEnum<["action", "workflow"]>>;
4027
+ kind: z.ZodOptional<z.ZodEnum<["action", "workflow", "agent", "intent", "link"]>>;
3818
4028
  action: z.ZodOptional<z.ZodString>;
3819
4029
  workflow: z.ZodOptional<z.ZodString>;
4030
+ agent: z.ZodOptional<z.ZodString>;
4031
+ intent: z.ZodOptional<z.ZodEnum<["create_record", "update_record"]>>;
4032
+ entity: z.ZodOptional<z.ZodString>;
4033
+ record: z.ZodOptional<z.ZodString>;
4034
+ url: z.ZodOptional<z.ZodString>;
3820
4035
  params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
3821
4036
  inputs: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
4037
+ prompt: z.ZodOptional<z.ZodString>;
4038
+ context: z.ZodOptional<z.ZodString>;
3822
4039
  skip_confirmation: z.ZodOptional<z.ZodBoolean>;
4040
+ visible_when: z.ZodOptional<z.ZodType<FilterGroup, z.ZodTypeDef, FilterGroup>>;
3823
4041
  extension_key: z.ZodOptional<z.ZodString>;
3824
4042
  }, "strip", z.ZodTypeAny, {
3825
4043
  label: string;
3826
4044
  icon: string;
3827
4045
  params?: Record<string, string> | undefined;
4046
+ agent?: string | undefined;
3828
4047
  extension_key?: string | undefined;
4048
+ visible_when?: FilterGroup | undefined;
3829
4049
  workflow?: string | undefined;
3830
4050
  inputs?: Record<string, string> | undefined;
3831
4051
  skip_confirmation?: boolean | undefined;
3832
- kind?: "workflow" | "action" | undefined;
4052
+ kind?: "agent" | "workflow" | "action" | "intent" | "link" | undefined;
3833
4053
  action?: string | undefined;
4054
+ intent?: "create_record" | "update_record" | undefined;
4055
+ entity?: string | undefined;
4056
+ record?: string | undefined;
4057
+ url?: string | undefined;
4058
+ prompt?: string | undefined;
4059
+ context?: string | undefined;
3834
4060
  }, {
3835
4061
  label: string;
3836
4062
  icon: string;
3837
4063
  params?: Record<string, string> | undefined;
4064
+ agent?: string | undefined;
3838
4065
  extension_key?: string | undefined;
4066
+ visible_when?: FilterGroup | undefined;
3839
4067
  workflow?: string | undefined;
3840
4068
  inputs?: Record<string, string> | undefined;
3841
4069
  skip_confirmation?: boolean | undefined;
3842
- kind?: "workflow" | "action" | undefined;
4070
+ kind?: "agent" | "workflow" | "action" | "intent" | "link" | undefined;
3843
4071
  action?: string | undefined;
4072
+ intent?: "create_record" | "update_record" | undefined;
4073
+ entity?: string | undefined;
4074
+ record?: string | undefined;
4075
+ url?: string | undefined;
4076
+ prompt?: string | undefined;
4077
+ context?: string | undefined;
3844
4078
  }>, "many">>;
3845
4079
  selection_mode: z.ZodOptional<z.ZodEnum<["on_demand", "always", "off"]>>;
3846
4080
  sorting: z.ZodArray<z.ZodObject<{
@@ -3884,12 +4118,20 @@ declare const ListSchema: z.ZodObject<{
3884
4118
  label: string;
3885
4119
  icon: string;
3886
4120
  params?: Record<string, string> | undefined;
4121
+ agent?: string | undefined;
3887
4122
  extension_key?: string | undefined;
4123
+ visible_when?: FilterGroup | undefined;
3888
4124
  workflow?: string | undefined;
3889
4125
  inputs?: Record<string, string> | undefined;
3890
4126
  skip_confirmation?: boolean | undefined;
3891
- kind?: "workflow" | "action" | undefined;
4127
+ kind?: "agent" | "workflow" | "action" | "intent" | "link" | undefined;
3892
4128
  action?: string | undefined;
4129
+ intent?: "create_record" | "update_record" | undefined;
4130
+ entity?: string | undefined;
4131
+ record?: string | undefined;
4132
+ url?: string | undefined;
4133
+ prompt?: string | undefined;
4134
+ context?: string | undefined;
3893
4135
  }[] | undefined;
3894
4136
  selection_mode?: "on_demand" | "always" | "off" | undefined;
3895
4137
  }, {
@@ -3922,12 +4164,20 @@ declare const ListSchema: z.ZodObject<{
3922
4164
  label: string;
3923
4165
  icon: string;
3924
4166
  params?: Record<string, string> | undefined;
4167
+ agent?: string | undefined;
3925
4168
  extension_key?: string | undefined;
4169
+ visible_when?: FilterGroup | undefined;
3926
4170
  workflow?: string | undefined;
3927
4171
  inputs?: Record<string, string> | undefined;
3928
4172
  skip_confirmation?: boolean | undefined;
3929
- kind?: "workflow" | "action" | undefined;
4173
+ kind?: "agent" | "workflow" | "action" | "intent" | "link" | undefined;
3930
4174
  action?: string | undefined;
4175
+ intent?: "create_record" | "update_record" | undefined;
4176
+ entity?: string | undefined;
4177
+ record?: string | undefined;
4178
+ url?: string | undefined;
4179
+ prompt?: string | undefined;
4180
+ context?: string | undefined;
3931
4181
  }[] | undefined;
3932
4182
  selection_mode?: "on_demand" | "always" | "off" | undefined;
3933
4183
  }>;
@@ -4132,8 +4382,42 @@ interface UpdateListViewRequest {
4132
4382
  * - `public`: standalone, NO app chrome (bare page at `/p/…`);
4133
4383
  * UNAUTHENTICATED — the layout is world-readable and its components may only
4134
4384
  * call `is_public` global actions.
4385
+ * - `trigger`: what the person sees when they trigger an action or a
4386
+ * workflow — rendered inside the invoke dialog. Bound by `kind` +
4387
+ * `reference` to ONE invocable; its `field` elements bind to that
4388
+ * invocable's params and returns instead of an entity's attributes. Which
4389
+ * dialog phase a trigger page renders in is the app configuration's binding
4390
+ * (`action_pages` / `workflow_pages`), like which record mode a record page
4391
+ * opens in (`record_pages`).
4392
+ */
4393
+ type PageType = 'record' | 'platform' | 'kiosk' | 'public' | 'trigger';
4394
+ /**
4395
+ * How the viewer interacts with a record page — the `mode` the Liquid scope
4396
+ * and the component protocol carry (the same three words as `PageMode` in
4397
+ * `@proteos/component-sdk`). A record page serves every mode; which page a
4398
+ * mode opens in is the app configuration's `record_pages` binding.
4399
+ *
4400
+ * - `view`: a read-only record page.
4401
+ * - `create`: the form for a record that is not saved yet.
4402
+ * - `edit`: the form over a saved record.
4403
+ */
4404
+ type PageMode = 'view' | 'create' | 'edit';
4405
+ /**
4406
+ * Where an invocation is in the invoke dialog's lifecycle — the `phase` the
4407
+ * dialog's Liquid scope and component protocol carry, and the key of a
4408
+ * `TriggerPageBinding`. Orthogonal to `PageMode`: the input phase renders in
4409
+ * `create` mode, running and result in `view` mode. A trigger page serves
4410
+ * every phase; which page a phase renders is the app configuration's binding.
4411
+ *
4412
+ * - `input`: the form (and the confirm step, rendered read-only) over the
4413
+ * params.
4414
+ * - `running`: while the invoke call runs; for a workflow, the "started" page
4415
+ * after the run was accepted. The params, read-only; the scope also carries
4416
+ * `execution` for workflows.
4417
+ * - `result`: once the action returned (the params plus its returns) or the
4418
+ * workflow run reached a terminal status (`execution` in scope).
4135
4419
  */
4136
- type PageType = 'record' | 'platform' | 'kiosk' | 'public';
4420
+ type TriggerPhase = 'input' | 'running' | 'result';
4137
4421
  /**
4138
4422
  * Page configuration. A `record` page is the detail-page shape for a single
4139
4423
  * entity; a `platform` page is standalone (no entity, no record).
@@ -4147,8 +4431,13 @@ interface Page extends AuditFields {
4147
4431
  name: string;
4148
4432
  module_slug: string;
4149
4433
  type: PageType;
4150
- /** Required for `record` pages; absent on `platform` pages. */
4434
+ /** Required for `record` pages; absent on every other type. */
4151
4435
  entity_slug?: string;
4436
+ /** Trigger pages only: what the page opens for — `action` (an action slug)
4437
+ * or `workflow` (a workflow key). Absent = `action`. Immutable. */
4438
+ kind?: PageActionKind;
4439
+ /** Trigger pages only: the action slug / workflow key. Immutable. */
4440
+ reference?: string;
4152
4441
  actions: PageAction[];
4153
4442
  layout: PageLayout;
4154
4443
  }
@@ -4179,38 +4468,64 @@ declare const PageSchema: z.ZodObject<{
4179
4468
  slug: z.ZodString;
4180
4469
  name: z.ZodString;
4181
4470
  module_slug: z.ZodString;
4182
- type: z.ZodEnum<["record", "platform", "kiosk", "public"]>;
4471
+ type: z.ZodEnum<["record", "platform", "kiosk", "public", "trigger"]>;
4183
4472
  entity_slug: z.ZodOptional<z.ZodString>;
4473
+ kind: z.ZodOptional<z.ZodEnum<["action", "workflow", "agent", "intent", "link"]>>;
4474
+ reference: z.ZodOptional<z.ZodString>;
4184
4475
  actions: z.ZodArray<z.ZodObject<{
4185
4476
  label: z.ZodString;
4186
4477
  icon: z.ZodString;
4187
- kind: z.ZodOptional<z.ZodEnum<["action", "workflow"]>>;
4478
+ kind: z.ZodOptional<z.ZodEnum<["action", "workflow", "agent", "intent", "link"]>>;
4188
4479
  action: z.ZodOptional<z.ZodString>;
4189
4480
  workflow: z.ZodOptional<z.ZodString>;
4481
+ agent: z.ZodOptional<z.ZodString>;
4482
+ intent: z.ZodOptional<z.ZodEnum<["create_record", "update_record"]>>;
4483
+ entity: z.ZodOptional<z.ZodString>;
4484
+ record: z.ZodOptional<z.ZodString>;
4485
+ url: z.ZodOptional<z.ZodString>;
4190
4486
  params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
4191
4487
  inputs: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
4488
+ prompt: z.ZodOptional<z.ZodString>;
4489
+ context: z.ZodOptional<z.ZodString>;
4192
4490
  skip_confirmation: z.ZodOptional<z.ZodBoolean>;
4491
+ visible_when: z.ZodOptional<z.ZodType<FilterGroup, z.ZodTypeDef, FilterGroup>>;
4193
4492
  extension_key: z.ZodOptional<z.ZodString>;
4194
4493
  }, "strip", z.ZodTypeAny, {
4195
4494
  label: string;
4196
4495
  icon: string;
4197
4496
  params?: Record<string, string> | undefined;
4497
+ agent?: string | undefined;
4198
4498
  extension_key?: string | undefined;
4499
+ visible_when?: FilterGroup | undefined;
4199
4500
  workflow?: string | undefined;
4200
4501
  inputs?: Record<string, string> | undefined;
4201
4502
  skip_confirmation?: boolean | undefined;
4202
- kind?: "workflow" | "action" | undefined;
4503
+ kind?: "agent" | "workflow" | "action" | "intent" | "link" | undefined;
4203
4504
  action?: string | undefined;
4505
+ intent?: "create_record" | "update_record" | undefined;
4506
+ entity?: string | undefined;
4507
+ record?: string | undefined;
4508
+ url?: string | undefined;
4509
+ prompt?: string | undefined;
4510
+ context?: string | undefined;
4204
4511
  }, {
4205
4512
  label: string;
4206
4513
  icon: string;
4207
4514
  params?: Record<string, string> | undefined;
4515
+ agent?: string | undefined;
4208
4516
  extension_key?: string | undefined;
4517
+ visible_when?: FilterGroup | undefined;
4209
4518
  workflow?: string | undefined;
4210
4519
  inputs?: Record<string, string> | undefined;
4211
4520
  skip_confirmation?: boolean | undefined;
4212
- kind?: "workflow" | "action" | undefined;
4521
+ kind?: "agent" | "workflow" | "action" | "intent" | "link" | undefined;
4213
4522
  action?: string | undefined;
4523
+ intent?: "create_record" | "update_record" | undefined;
4524
+ entity?: string | undefined;
4525
+ record?: string | undefined;
4526
+ url?: string | undefined;
4527
+ prompt?: string | undefined;
4528
+ context?: string | undefined;
4214
4529
  }>, "many">;
4215
4530
  layout: z.ZodObject<{
4216
4531
  version: z.ZodLiteral<1>;
@@ -4233,16 +4548,19 @@ declare const PageSchema: z.ZodObject<{
4233
4548
  max_width: z.ZodOptional<z.ZodType<StyleSizeValue, z.ZodTypeDef, StyleSizeValue>>;
4234
4549
  padding_x: z.ZodOptional<z.ZodType<StyleSizeValue, z.ZodTypeDef, StyleSizeValue>>;
4235
4550
  padding_y: z.ZodOptional<z.ZodType<StyleSizeValue, z.ZodTypeDef, StyleSizeValue>>;
4551
+ header: z.ZodOptional<z.ZodEnum<["full", "condensed"]>>;
4236
4552
  }, "strip", z.ZodTypeAny, {
4237
4553
  background?: string | undefined;
4238
4554
  max_width?: StyleSizeValue | undefined;
4239
4555
  padding_x?: StyleSizeValue | undefined;
4240
4556
  padding_y?: StyleSizeValue | undefined;
4557
+ header?: "full" | "condensed" | undefined;
4241
4558
  }, {
4242
4559
  background?: string | undefined;
4243
4560
  max_width?: StyleSizeValue | undefined;
4244
4561
  padding_x?: StyleSizeValue | undefined;
4245
4562
  padding_y?: StyleSizeValue | undefined;
4563
+ header?: "full" | "condensed" | undefined;
4246
4564
  }>>;
4247
4565
  }, "strip", z.ZodTypeAny, {
4248
4566
  version: 1;
@@ -4257,6 +4575,7 @@ declare const PageSchema: z.ZodObject<{
4257
4575
  max_width?: StyleSizeValue | undefined;
4258
4576
  padding_x?: StyleSizeValue | undefined;
4259
4577
  padding_y?: StyleSizeValue | undefined;
4578
+ header?: "full" | "condensed" | undefined;
4260
4579
  } | undefined;
4261
4580
  }, {
4262
4581
  version: 1;
@@ -4271,10 +4590,11 @@ declare const PageSchema: z.ZodObject<{
4271
4590
  max_width?: StyleSizeValue | undefined;
4272
4591
  padding_x?: StyleSizeValue | undefined;
4273
4592
  padding_y?: StyleSizeValue | undefined;
4593
+ header?: "full" | "condensed" | undefined;
4274
4594
  } | undefined;
4275
4595
  }>;
4276
4596
  }, "strip", z.ZodTypeAny, {
4277
- type: "platform" | "record" | "kiosk" | "public";
4597
+ type: "platform" | "record" | "kiosk" | "public" | "trigger";
4278
4598
  name: string;
4279
4599
  created_at: string;
4280
4600
  updated_at: string;
@@ -4292,12 +4612,20 @@ declare const PageSchema: z.ZodObject<{
4292
4612
  label: string;
4293
4613
  icon: string;
4294
4614
  params?: Record<string, string> | undefined;
4615
+ agent?: string | undefined;
4295
4616
  extension_key?: string | undefined;
4617
+ visible_when?: FilterGroup | undefined;
4296
4618
  workflow?: string | undefined;
4297
4619
  inputs?: Record<string, string> | undefined;
4298
4620
  skip_confirmation?: boolean | undefined;
4299
- kind?: "workflow" | "action" | undefined;
4621
+ kind?: "agent" | "workflow" | "action" | "intent" | "link" | undefined;
4300
4622
  action?: string | undefined;
4623
+ intent?: "create_record" | "update_record" | undefined;
4624
+ entity?: string | undefined;
4625
+ record?: string | undefined;
4626
+ url?: string | undefined;
4627
+ prompt?: string | undefined;
4628
+ context?: string | undefined;
4301
4629
  }[];
4302
4630
  layout: {
4303
4631
  version: 1;
@@ -4312,11 +4640,14 @@ declare const PageSchema: z.ZodObject<{
4312
4640
  max_width?: StyleSizeValue | undefined;
4313
4641
  padding_x?: StyleSizeValue | undefined;
4314
4642
  padding_y?: StyleSizeValue | undefined;
4643
+ header?: "full" | "condensed" | undefined;
4315
4644
  } | undefined;
4316
4645
  };
4646
+ kind?: "agent" | "workflow" | "action" | "intent" | "link" | undefined;
4317
4647
  entity_slug?: string | undefined;
4648
+ reference?: string | undefined;
4318
4649
  }, {
4319
- type: "platform" | "record" | "kiosk" | "public";
4650
+ type: "platform" | "record" | "kiosk" | "public" | "trigger";
4320
4651
  name: string;
4321
4652
  created_at: string;
4322
4653
  updated_at: string;
@@ -4334,12 +4665,20 @@ declare const PageSchema: z.ZodObject<{
4334
4665
  label: string;
4335
4666
  icon: string;
4336
4667
  params?: Record<string, string> | undefined;
4668
+ agent?: string | undefined;
4337
4669
  extension_key?: string | undefined;
4670
+ visible_when?: FilterGroup | undefined;
4338
4671
  workflow?: string | undefined;
4339
4672
  inputs?: Record<string, string> | undefined;
4340
4673
  skip_confirmation?: boolean | undefined;
4341
- kind?: "workflow" | "action" | undefined;
4674
+ kind?: "agent" | "workflow" | "action" | "intent" | "link" | undefined;
4342
4675
  action?: string | undefined;
4676
+ intent?: "create_record" | "update_record" | undefined;
4677
+ entity?: string | undefined;
4678
+ record?: string | undefined;
4679
+ url?: string | undefined;
4680
+ prompt?: string | undefined;
4681
+ context?: string | undefined;
4343
4682
  }[];
4344
4683
  layout: {
4345
4684
  version: 1;
@@ -4354,9 +4693,12 @@ declare const PageSchema: z.ZodObject<{
4354
4693
  max_width?: StyleSizeValue | undefined;
4355
4694
  padding_x?: StyleSizeValue | undefined;
4356
4695
  padding_y?: StyleSizeValue | undefined;
4696
+ header?: "full" | "condensed" | undefined;
4357
4697
  } | undefined;
4358
4698
  };
4699
+ kind?: "agent" | "workflow" | "action" | "intent" | "link" | undefined;
4359
4700
  entity_slug?: string | undefined;
4701
+ reference?: string | undefined;
4360
4702
  }>;
4361
4703
  /**
4362
4704
  * Component metadata slice riding on the public page payload — just the slug
@@ -4366,6 +4708,10 @@ declare const PageSchema: z.ZodObject<{
4366
4708
  interface PublicPageComponent {
4367
4709
  slug: string;
4368
4710
  props_schema?: Record<string, unknown>;
4711
+ /** Content address of the compiled bundle (`sha256:<hex>`), for the immutable bundle URL. */
4712
+ bundle_checksum?: string;
4713
+ /** See {@link Component.reserved_height}. */
4714
+ reserved_height?: number;
4369
4715
  }
4370
4716
  /**
4371
4717
  * Payload of the unauthenticated `GET /meta/v1/public/orgs/{orgId}/pages/{slug}`:
@@ -4385,11 +4731,15 @@ interface ListPagesOptions extends MetaListOptions {
4385
4731
  module_slug?: string;
4386
4732
  type?: PageType;
4387
4733
  entity_slug?: string;
4734
+ /** The trigger pages of one invocable. */
4735
+ kind?: PageActionKind;
4736
+ reference?: string;
4388
4737
  }
4389
4738
  /**
4390
4739
  * Request to create a page. `type` defaults to `record` when omitted.
4391
- * `entity_slug` is required for record pages and must be absent for platform
4392
- * pages.
4740
+ * `entity_slug` is required for record pages and must be absent for every
4741
+ * other type. Trigger pages set `reference` (and `kind`, which defaults to
4742
+ * `action`); no other type may.
4393
4743
  */
4394
4744
  interface CreatePageRequest {
4395
4745
  slug: string;
@@ -4397,6 +4747,8 @@ interface CreatePageRequest {
4397
4747
  module_slug?: string;
4398
4748
  type?: PageType;
4399
4749
  entity_slug?: string;
4750
+ kind?: PageActionKind;
4751
+ reference?: string;
4400
4752
  actions: PageAction[];
4401
4753
  layout: PageLayout;
4402
4754
  }
@@ -5305,33 +5657,57 @@ declare const ListExtensionSchema: z.ZodObject<{
5305
5657
  actions: z.ZodArray<z.ZodObject<{
5306
5658
  label: z.ZodString;
5307
5659
  icon: z.ZodString;
5308
- kind: z.ZodOptional<z.ZodEnum<["action", "workflow"]>>;
5660
+ kind: z.ZodOptional<z.ZodEnum<["action", "workflow", "agent", "intent", "link"]>>;
5309
5661
  action: z.ZodOptional<z.ZodString>;
5310
5662
  workflow: z.ZodOptional<z.ZodString>;
5663
+ agent: z.ZodOptional<z.ZodString>;
5664
+ intent: z.ZodOptional<z.ZodEnum<["create_record", "update_record"]>>;
5665
+ entity: z.ZodOptional<z.ZodString>;
5666
+ record: z.ZodOptional<z.ZodString>;
5667
+ url: z.ZodOptional<z.ZodString>;
5311
5668
  params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
5312
5669
  inputs: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
5670
+ prompt: z.ZodOptional<z.ZodString>;
5671
+ context: z.ZodOptional<z.ZodString>;
5313
5672
  skip_confirmation: z.ZodOptional<z.ZodBoolean>;
5673
+ visible_when: z.ZodOptional<z.ZodType<FilterGroup, z.ZodTypeDef, FilterGroup>>;
5314
5674
  extension_key: z.ZodOptional<z.ZodString>;
5315
5675
  }, "strip", z.ZodTypeAny, {
5316
5676
  label: string;
5317
5677
  icon: string;
5318
5678
  params?: Record<string, string> | undefined;
5679
+ agent?: string | undefined;
5319
5680
  extension_key?: string | undefined;
5681
+ visible_when?: FilterGroup | undefined;
5320
5682
  workflow?: string | undefined;
5321
5683
  inputs?: Record<string, string> | undefined;
5322
5684
  skip_confirmation?: boolean | undefined;
5323
- kind?: "workflow" | "action" | undefined;
5685
+ kind?: "agent" | "workflow" | "action" | "intent" | "link" | undefined;
5324
5686
  action?: string | undefined;
5687
+ intent?: "create_record" | "update_record" | undefined;
5688
+ entity?: string | undefined;
5689
+ record?: string | undefined;
5690
+ url?: string | undefined;
5691
+ prompt?: string | undefined;
5692
+ context?: string | undefined;
5325
5693
  }, {
5326
5694
  label: string;
5327
5695
  icon: string;
5328
5696
  params?: Record<string, string> | undefined;
5697
+ agent?: string | undefined;
5329
5698
  extension_key?: string | undefined;
5699
+ visible_when?: FilterGroup | undefined;
5330
5700
  workflow?: string | undefined;
5331
5701
  inputs?: Record<string, string> | undefined;
5332
5702
  skip_confirmation?: boolean | undefined;
5333
- kind?: "workflow" | "action" | undefined;
5703
+ kind?: "agent" | "workflow" | "action" | "intent" | "link" | undefined;
5334
5704
  action?: string | undefined;
5705
+ intent?: "create_record" | "update_record" | undefined;
5706
+ entity?: string | undefined;
5707
+ record?: string | undefined;
5708
+ url?: string | undefined;
5709
+ prompt?: string | undefined;
5710
+ context?: string | undefined;
5335
5711
  }>, "many">;
5336
5712
  }, "strip", z.ZodTypeAny, {
5337
5713
  key: string;
@@ -5363,12 +5739,20 @@ declare const ListExtensionSchema: z.ZodObject<{
5363
5739
  label: string;
5364
5740
  icon: string;
5365
5741
  params?: Record<string, string> | undefined;
5742
+ agent?: string | undefined;
5366
5743
  extension_key?: string | undefined;
5744
+ visible_when?: FilterGroup | undefined;
5367
5745
  workflow?: string | undefined;
5368
5746
  inputs?: Record<string, string> | undefined;
5369
5747
  skip_confirmation?: boolean | undefined;
5370
- kind?: "workflow" | "action" | undefined;
5748
+ kind?: "agent" | "workflow" | "action" | "intent" | "link" | undefined;
5371
5749
  action?: string | undefined;
5750
+ intent?: "create_record" | "update_record" | undefined;
5751
+ entity?: string | undefined;
5752
+ record?: string | undefined;
5753
+ url?: string | undefined;
5754
+ prompt?: string | undefined;
5755
+ context?: string | undefined;
5372
5756
  }[];
5373
5757
  org_id: string;
5374
5758
  }, {
@@ -5401,12 +5785,20 @@ declare const ListExtensionSchema: z.ZodObject<{
5401
5785
  label: string;
5402
5786
  icon: string;
5403
5787
  params?: Record<string, string> | undefined;
5788
+ agent?: string | undefined;
5404
5789
  extension_key?: string | undefined;
5790
+ visible_when?: FilterGroup | undefined;
5405
5791
  workflow?: string | undefined;
5406
5792
  inputs?: Record<string, string> | undefined;
5407
5793
  skip_confirmation?: boolean | undefined;
5408
- kind?: "workflow" | "action" | undefined;
5794
+ kind?: "agent" | "workflow" | "action" | "intent" | "link" | undefined;
5409
5795
  action?: string | undefined;
5796
+ intent?: "create_record" | "update_record" | undefined;
5797
+ entity?: string | undefined;
5798
+ record?: string | undefined;
5799
+ url?: string | undefined;
5800
+ prompt?: string | undefined;
5801
+ context?: string | undefined;
5410
5802
  }[];
5411
5803
  org_id: string;
5412
5804
  }>;
@@ -5456,6 +5848,53 @@ declare const AppHomeSchema: z.ZodObject<{
5456
5848
  type: "page" | "list";
5457
5849
  reference: string;
5458
5850
  }>;
5851
+ /**
5852
+ * The record pages one entity opens in, per mode (`PageMode`). Every key
5853
+ * optional; the web falls back create → edit → view → the entity's first
5854
+ * record page. Strict object on the wire — no string shorthand.
5855
+ */
5856
+ interface RecordPageBinding {
5857
+ view?: string;
5858
+ create?: string;
5859
+ edit?: string;
5860
+ }
5861
+ declare const RecordPageBindingSchema: z.ZodObject<{
5862
+ view: z.ZodOptional<z.ZodString>;
5863
+ create: z.ZodOptional<z.ZodString>;
5864
+ edit: z.ZodOptional<z.ZodString>;
5865
+ }, "strict", z.ZodTypeAny, {
5866
+ view?: string | undefined;
5867
+ create?: string | undefined;
5868
+ edit?: string | undefined;
5869
+ }, {
5870
+ view?: string | undefined;
5871
+ create?: string | undefined;
5872
+ edit?: string | undefined;
5873
+ }>;
5874
+ /**
5875
+ * The trigger pages one action / workflow opens, per dialog phase
5876
+ * (`TriggerPhase`). Every key optional; an unbound phase falls back to the
5877
+ * invocable's first trigger page, then to the dialog's generated layout. One
5878
+ * page may serve every phase. Strict object on the wire.
5879
+ */
5880
+ interface TriggerPageBinding {
5881
+ input?: string;
5882
+ running?: string;
5883
+ result?: string;
5884
+ }
5885
+ declare const TriggerPageBindingSchema: z.ZodObject<{
5886
+ input: z.ZodOptional<z.ZodString>;
5887
+ running: z.ZodOptional<z.ZodString>;
5888
+ result: z.ZodOptional<z.ZodString>;
5889
+ }, "strict", z.ZodTypeAny, {
5890
+ input?: string | undefined;
5891
+ running?: string | undefined;
5892
+ result?: string | undefined;
5893
+ }, {
5894
+ input?: string | undefined;
5895
+ running?: string | undefined;
5896
+ result?: string | undefined;
5897
+ }>;
5459
5898
  /**
5460
5899
  * AppConfiguration — a TYPED binding row: "how app X presents itself" to
5461
5900
  * everyone (`profile_slug: ''` = the app's default configuration) or to one
@@ -5479,8 +5918,12 @@ interface AppConfiguration extends AuditFields {
5479
5918
  default_agent_key?: string;
5480
5919
  /** Agents offered in this app; empty = every org agent. */
5481
5920
  agent_keys?: string[];
5482
- /** entity_slug → record page slug opened from this app. */
5483
- record_pages?: Record<string, string>;
5921
+ /** entity_slug → the record pages opened from this app, per mode. */
5922
+ record_pages?: Record<string, RecordPageBinding>;
5923
+ /** action slug → the trigger pages its invoke dialog renders, per phase. */
5924
+ action_pages?: Record<string, TriggerPageBinding>;
5925
+ /** workflow key → the trigger pages its invoke dialog renders, per phase. */
5926
+ workflow_pages?: Record<string, TriggerPageBinding>;
5484
5927
  /** Entity slugs the command palette searches (by record title) inside
5485
5928
  * this app; empty = no record search. */
5486
5929
  searchable_entities?: string[];
@@ -5527,7 +5970,45 @@ declare const AppConfigurationSchema: z.ZodObject<{
5527
5970
  menu_slug: z.ZodOptional<z.ZodString>;
5528
5971
  default_agent_key: z.ZodOptional<z.ZodString>;
5529
5972
  agent_keys: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
5530
- record_pages: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
5973
+ record_pages: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
5974
+ view: z.ZodOptional<z.ZodString>;
5975
+ create: z.ZodOptional<z.ZodString>;
5976
+ edit: z.ZodOptional<z.ZodString>;
5977
+ }, "strict", z.ZodTypeAny, {
5978
+ view?: string | undefined;
5979
+ create?: string | undefined;
5980
+ edit?: string | undefined;
5981
+ }, {
5982
+ view?: string | undefined;
5983
+ create?: string | undefined;
5984
+ edit?: string | undefined;
5985
+ }>>>;
5986
+ action_pages: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
5987
+ input: z.ZodOptional<z.ZodString>;
5988
+ running: z.ZodOptional<z.ZodString>;
5989
+ result: z.ZodOptional<z.ZodString>;
5990
+ }, "strict", z.ZodTypeAny, {
5991
+ input?: string | undefined;
5992
+ running?: string | undefined;
5993
+ result?: string | undefined;
5994
+ }, {
5995
+ input?: string | undefined;
5996
+ running?: string | undefined;
5997
+ result?: string | undefined;
5998
+ }>>>;
5999
+ workflow_pages: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
6000
+ input: z.ZodOptional<z.ZodString>;
6001
+ running: z.ZodOptional<z.ZodString>;
6002
+ result: z.ZodOptional<z.ZodString>;
6003
+ }, "strict", z.ZodTypeAny, {
6004
+ input?: string | undefined;
6005
+ running?: string | undefined;
6006
+ result?: string | undefined;
6007
+ }, {
6008
+ input?: string | undefined;
6009
+ running?: string | undefined;
6010
+ result?: string | undefined;
6011
+ }>>>;
5531
6012
  searchable_entities: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
5532
6013
  }, "strip", z.ZodTypeAny, {
5533
6014
  created_at: string;
@@ -5552,7 +6033,21 @@ declare const AppConfigurationSchema: z.ZodObject<{
5552
6033
  } | null | undefined;
5553
6034
  default_agent_key?: string | undefined;
5554
6035
  agent_keys?: string[] | undefined;
5555
- record_pages?: Record<string, string> | undefined;
6036
+ record_pages?: Record<string, {
6037
+ view?: string | undefined;
6038
+ create?: string | undefined;
6039
+ edit?: string | undefined;
6040
+ }> | undefined;
6041
+ action_pages?: Record<string, {
6042
+ input?: string | undefined;
6043
+ running?: string | undefined;
6044
+ result?: string | undefined;
6045
+ }> | undefined;
6046
+ workflow_pages?: Record<string, {
6047
+ input?: string | undefined;
6048
+ running?: string | undefined;
6049
+ result?: string | undefined;
6050
+ }> | undefined;
5556
6051
  searchable_entities?: string[] | undefined;
5557
6052
  }, {
5558
6053
  created_at: string;
@@ -5577,7 +6072,21 @@ declare const AppConfigurationSchema: z.ZodObject<{
5577
6072
  } | null | undefined;
5578
6073
  default_agent_key?: string | undefined;
5579
6074
  agent_keys?: string[] | undefined;
5580
- record_pages?: Record<string, string> | undefined;
6075
+ record_pages?: Record<string, {
6076
+ view?: string | undefined;
6077
+ create?: string | undefined;
6078
+ edit?: string | undefined;
6079
+ }> | undefined;
6080
+ action_pages?: Record<string, {
6081
+ input?: string | undefined;
6082
+ running?: string | undefined;
6083
+ result?: string | undefined;
6084
+ }> | undefined;
6085
+ workflow_pages?: Record<string, {
6086
+ input?: string | undefined;
6087
+ running?: string | undefined;
6088
+ result?: string | undefined;
6089
+ }> | undefined;
5581
6090
  searchable_entities?: string[] | undefined;
5582
6091
  }>;
5583
6092
  interface ListAppConfigurationsOptions extends MetaListOptions {
@@ -5600,7 +6109,9 @@ interface CreateAppConfigurationRequest {
5600
6109
  menu_slug?: string;
5601
6110
  default_agent_key?: string;
5602
6111
  agent_keys?: string[];
5603
- record_pages?: Record<string, string>;
6112
+ record_pages?: Record<string, RecordPageBinding>;
6113
+ action_pages?: Record<string, TriggerPageBinding>;
6114
+ workflow_pages?: Record<string, TriggerPageBinding>;
5604
6115
  searchable_entities?: string[];
5605
6116
  }
5606
6117
  /**
@@ -5613,7 +6124,9 @@ interface UpdateAppConfigurationRequest {
5613
6124
  menu_slug?: string;
5614
6125
  default_agent_key?: string;
5615
6126
  agent_keys?: string[];
5616
- record_pages?: Record<string, string>;
6127
+ record_pages?: Record<string, RecordPageBinding>;
6128
+ action_pages?: Record<string, TriggerPageBinding>;
6129
+ workflow_pages?: Record<string, TriggerPageBinding>;
5617
6130
  searchable_entities?: string[];
5618
6131
  }
5619
6132
  /**
@@ -5865,4 +6378,4 @@ declare function isCurrentUserDefault(value: unknown): value is CurrentUserDefau
5865
6378
  /** Only the identity-valued attribute types can carry the sentinel. */
5866
6379
  declare function acceptsCurrentUserDefault(type: AttributeType): boolean;
5867
6380
 
5868
- export { type CurrencyAttributeMeta as $, type AuditFields as A, ComponentSchema as B, CURRENT_USER as C, type ComponentService as D, type ContactAddressAttributeKind as E, type FileRef as F, type ContactAddressAttributeMeta as G, ContactAddressAttributeMetaSchema as H, type ContactBindingDuplicatePolicy as I, type CreateAppConfigurationRequest as J, type CreateAppRequest as K, type ListOptions as L, type CreateComponentRequest as M, type CreateDesignReferenceRequest as N, type CreateEntityExtensionRequest as O, PageIterator as P, type CreateEntityRequest as Q, type ResponseMeta as R, type CreateListExtensionRequest as S, type CreateListRequest as T, type UserRef as U, type CreateListViewRequest as V, type CreateMenuConfigurationExtensionRequest as W, type CreateMenuConfigurationRequest as X, type CreatePageExtensionRequest as Y, type CreatePageRequest as Z, type CreateVariableRequest as _, type Attribute as a, type MenuConfigurationExtension as a$, CurrencyAttributeMetaSchema as a0, type CurrencySymbolSide as a1, type CurrencyValue as a2, type CurrentUserDefault as a3, DEFAULT_OPTIONS as a4, DEFAULT_PAGE_SIZE as a5, DONE as a6, type DeployModuleRequest as a7, type DesignReference as a8, type DesignReferenceContent as a9, type ListComponentsOptions as aA, type ListDesignReferencesOptions as aB, type ListEntitiesOptions as aC, type ListEntityExtensionsOptions as aD, type ListExtension as aE, type ListExtensionColumnPlacement as aF, ListExtensionColumnPlacementSchema as aG, ListExtensionSchema as aH, type ListExtensionService as aI, type ListFn as aJ, type ListListExtensionsOptions as aK, type ListListViewsOptions as aL, type ListListsOptions as aM, type ListMenuConfigurationExtensionsOptions as aN, type ListMenuConfigurationsOptions as aO, type ListModulesOptions as aP, type ListPageExtensionsOptions as aQ, type ListPagesOptions as aR, ListSchema as aS, type ListService as aT, type ListVariablesOptions as aU, type ListView as aV, ListViewSchema as aW, type ListViewService as aX, type LogicalOperator as aY, MENU_CONFIGURATION_EXTENSION_ANCHOR_ITEMS as aZ, type MenuConfiguration as a_, DesignReferenceSchema as aa, type DesignReferenceService as ab, type Done as ac, type Entity as ad, type EntityContactBinding as ae, EntityContactBindingSchema as af, type EntityExtension as ag, EntityExtensionSchema as ah, type EntityExtensionService as ai, EntitySchema as aj, type EntityService as ak, type EntityWithSchema as al, EntityWithSchemaSchema as am, type EnumAttributeMeta as an, type EnumValue as ao, type ExtensionPosition as ap, ExtensionPositionSchema as aq, type FileAttributeMeta as ar, FileRefSchema as as, type FilterElement as at, FilterElementSchema as au, type FilterGroup as av, FilterGroupSchema as aw, type List as ax, type ListAppConfigurationsOptions as ay, type ListAppsOptions as az, type ListResult as b, UserRefSchema as b$, type MenuConfigurationExtensionPlacement as b0, MenuConfigurationExtensionPlacementSchema as b1, type MenuConfigurationExtensionPosition as b2, MenuConfigurationExtensionPositionSchema as b3, MenuConfigurationExtensionSchema as b4, type MenuConfigurationExtensionService as b5, MenuConfigurationSchema as b6, type MenuConfigurationService as b7, type MenuItem as b8, MenuItemSchema as b9, type PageType as bA, type PublicPageComponent as bB, type PublicPageResponse as bC, type RelationAttributeMeta as bD, RelationAttributeMetaSchema as bE, type RequestOptions as bF, type ResolvedClientOptions as bG, ResponseMetaSchema as bH, type SortConfig as bI, SortConfigSchema as bJ, type SortDirection as bK, type Timestamps as bL, type TokenProvider as bM, type UpdateAppConfigurationRequest as bN, type UpdateAppRequest as bO, type UpdateComponentRequest as bP, type UpdateDesignReferenceRequest as bQ, type UpdateEntityExtensionRequest as bR, type UpdateEntityRequest as bS, type UpdateListExtensionRequest as bT, type UpdateListRequest as bU, type UpdateListViewRequest as bV, type UpdateMenuConfigurationExtensionRequest as bW, type UpdateMenuConfigurationRequest as bX, type UpdatePageExtensionRequest as bY, type UpdatePageRequest as bZ, type UpdateVariableRequest as b_, MenuItemType as ba, MetaClient as bb, type MetaListOptions as bc, type Module as bd, ModuleSchema as be, type ModuleService as bf, type ModuleStatus as bg, type OnDeleteAction as bh, OnDeleteActionSchema as bi, PAGE_EXTENSION_ANCHOR_MAIN as bj, PAGE_EXTENSION_ANCHOR_SIDE_PANEL as bk, PLATFORM_ATTRIBUTE_NAMES as bl, PLATFORM_USER_ID as bm, type Page as bn, type PageAction as bo, type PageActionKind as bp, PageActionSchema as bq, type PageExtension as br, type PageExtensionPlacement as bs, PageExtensionPlacementSchema as bt, PageExtensionSchema as bu, type PageExtensionService as bv, type PageLayout as bw, PageLayoutSchema as bx, PageSchema as by, type PageService as bz, ProteosClient as c, type PrincipalType as c$, type UserType as c0, type Variable as c1, VariableSchema as c2, type VariableService as c3, acceptsCurrentUserDefault as c4, allCurrencyCodes as c5, createIterator as c6, createListResultSchema as c7, currencyLabel as c8, currencySymbol as c9, type ControlBucket as cA, type DatetimeAttributeMeta as cB, type DatetimeFormat as cC, type DividerElement as cD, type FieldElement as cE, FileAttributeMetaSchema as cF, type LayoutAlign as cG, type LayoutElement as cH, LayoutElementSchema as cI, LayoutElementType as cJ, type LayoutGap as cK, type LayoutJustify as cL, type LayoutTab as cM, LayoutTabSchema as cN, type LengthValue as cO, LengthValueSchema as cP, type ListElement as cQ, type NumberAttributeMeta as cR, type ObjectAttributeMeta as cS, PAGE_BACKGROUND_COLOR_RE as cT, PAGE_BACKGROUND_TOKENS as cU, type PageBackgroundToken as cV, type PageLayoutSidePanel as cW, PageLayoutSidePanelSchema as cX, type PageStyle as cY, PageStyleSchema as cZ, type PrincipalAttributeMeta as c_, currencySymbolSide as ca, formatAmount as cb, formatMoney as cc, isCurrentUser as cd, isCurrentUserDefault as ce, isPlatformAttributeName as cf, localeNumberSeparators as cg, parseAmount as ch, parseContactAddressMeta as ci, parseCurrencyMeta as cj, parseFileMeta as ck, parseRelationMeta as cl, platformAttributes as cm, resolveOptions as cn, type AttributeForLookup as co, type AttributeMeta as cp, BUILT_IN_CONTROLS as cq, type BuiltInControlSlug as cr, CALENDAR_MAX_OVERLAY_USERS as cs, CALENDAR_VIEW_KINDS as ct, type CalendarElement as cu, type CalendarViewKind as cv, type CardElement as cw, type ColumnElement as cx, type CommonProps as cy, type ComponentElement as cz, type PrincipalRef as d, RECORD_TITLE_FIELD as d0, type RecordFilterElement as d1, type RelatedListElement as d2, type RelatedRecordElement as d3, type ResponsiveSizing as d4, type RowElement as d5, type SchedulingPickerElement as d6, type SectionElement as d7, type SizeValue as d8, SizeValueSchema as d9, type SizingProps as da, type StringAttributeMeta as db, type StringFormat as dc, type StyleSizeValue as dd, StyleSizeValueSchema as de, type TabsElement as df, type TextElement as dg, type TextVariant as dh, type UserAttributeMeta as di, UserAttributeMetaSchema as dj, type WorkflowTriggerElement as dk, isBuiltInControl as dl, isLengthValue as dm, isPageBackground as dn, isReservedAttributeName as dp, isStyleSizeValue as dq, isTitleQueryable as dr, lookupCompatibleControls as ds, lookupControls as dt, lookupPrimaryControl as du, parsePrincipalMeta as dv, parseUserMeta as dw, titleTemplateVariables as dx, type PublicAccessOperation as e, type App as f, type AppConfiguration as g, AppConfigurationSchema as h, type AppConfigurationService as i, type AppHome as j, AppHomeSchema as k, type AppHomeType as l, AppSchema as m, type AppService as n, type ArrayAttributeMeta as o, type AttributeAccessRule as p, type AttributeRestrictions as q, AttributeSchema as r, type AttributeType as s, AuditFieldsSchema as t, CURRENT_USER_DEFAULT as u, type ClientOptions as v, type Column as w, ColumnSchema as x, type ComparisonOperator as y, type Component as z };
6381
+ export { type CreateVariableRequest as $, type AuditFields as A, type Component as B, CURRENT_USER as C, ComponentSchema as D, type ComponentService as E, type FileRef as F, type ContactAddressAttributeKind as G, type ContactAddressAttributeMeta as H, ContactAddressAttributeMetaSchema as I, type ContactBindingDuplicatePolicy as J, type CreateAppConfigurationRequest as K, type ListOptions as L, type CreateAppRequest as M, type CreateComponentRequest as N, type CreateDesignReferenceRequest as O, PageIterator as P, type CreateEntityExtensionRequest as Q, type ResponseMeta as R, type CreateEntityRequest as S, type CreateListExtensionRequest as T, type UserRef as U, type CreateListRequest as V, type CreateListViewRequest as W, type CreateMenuConfigurationExtensionRequest as X, type CreateMenuConfigurationRequest as Y, type CreatePageExtensionRequest as Z, type CreatePageRequest as _, type Attribute as a, type MenuConfiguration as a$, type CurrencyAttributeMeta as a0, CurrencyAttributeMetaSchema as a1, type CurrencySymbolSide as a2, type CurrencyValue as a3, type CurrentUserDefault as a4, DEFAULT_OPTIONS as a5, DEFAULT_PAGE_SIZE as a6, DONE as a7, type DeployModuleRequest as a8, type DesignReference as a9, type ListAppsOptions as aA, type ListComponentsOptions as aB, type ListDesignReferencesOptions as aC, type ListEntitiesOptions as aD, type ListEntityExtensionsOptions as aE, type ListExtension as aF, type ListExtensionColumnPlacement as aG, ListExtensionColumnPlacementSchema as aH, ListExtensionSchema as aI, type ListExtensionService as aJ, type ListFn as aK, type ListListExtensionsOptions as aL, type ListListViewsOptions as aM, type ListListsOptions as aN, type ListMenuConfigurationExtensionsOptions as aO, type ListMenuConfigurationsOptions as aP, type ListModulesOptions as aQ, type ListPageExtensionsOptions as aR, type ListPagesOptions as aS, ListSchema as aT, type ListService as aU, type ListVariablesOptions as aV, type ListView as aW, ListViewSchema as aX, type ListViewService as aY, type LogicalOperator as aZ, MENU_CONFIGURATION_EXTENSION_ANCHOR_ITEMS as a_, type DesignReferenceContent as aa, DesignReferenceSchema as ab, type DesignReferenceService as ac, type Done as ad, type Entity as ae, type EntityContactBinding as af, EntityContactBindingSchema as ag, type EntityExtension as ah, EntityExtensionSchema as ai, type EntityExtensionService as aj, EntitySchema as ak, type EntityService as al, type EntityWithSchema as am, EntityWithSchemaSchema as an, type EnumAttributeMeta as ao, type EnumValue as ap, type ExtensionPosition as aq, ExtensionPositionSchema as ar, type FileAttributeMeta as as, FileRefSchema as at, type FilterElement as au, FilterElementSchema as av, type FilterGroup as aw, FilterGroupSchema as ax, type List as ay, type ListAppConfigurationsOptions as az, type ListResult as b, type UpdateListRequest as b$, type MenuConfigurationExtension as b0, type MenuConfigurationExtensionPlacement as b1, MenuConfigurationExtensionPlacementSchema as b2, type MenuConfigurationExtensionPosition as b3, MenuConfigurationExtensionPositionSchema as b4, MenuConfigurationExtensionSchema as b5, type MenuConfigurationExtensionService as b6, MenuConfigurationSchema as b7, type MenuConfigurationService as b8, type MenuItem as b9, PageSchema as bA, type PageService as bB, type PageType as bC, type PublicPageComponent as bD, type PublicPageResponse as bE, type RecordPageBinding as bF, RecordPageBindingSchema as bG, type RelationAttributeMeta as bH, RelationAttributeMetaSchema as bI, type RequestOptions as bJ, type ResolvedClientOptions as bK, ResponseMetaSchema as bL, type SortConfig as bM, SortConfigSchema as bN, type SortDirection as bO, type Timestamps as bP, type TokenProvider as bQ, type TriggerPageBinding as bR, TriggerPageBindingSchema as bS, type TriggerPhase as bT, type UpdateAppConfigurationRequest as bU, type UpdateAppRequest as bV, type UpdateComponentRequest as bW, type UpdateDesignReferenceRequest as bX, type UpdateEntityExtensionRequest as bY, type UpdateEntityRequest as bZ, type UpdateListExtensionRequest as b_, MenuItemSchema as ba, MenuItemType as bb, MetaClient as bc, type MetaListOptions as bd, type Module as be, ModuleSchema as bf, type ModuleService as bg, type ModuleStatus as bh, type OnDeleteAction as bi, OnDeleteActionSchema as bj, PAGE_EXTENSION_ANCHOR_MAIN as bk, PAGE_EXTENSION_ANCHOR_SIDE_PANEL as bl, PLATFORM_ATTRIBUTE_NAMES as bm, PLATFORM_USER_ID as bn, type Page as bo, type PageActionIntent as bp, type PageActionKind as bq, PageActionSchema as br, type PageExtension as bs, type PageExtensionPlacement as bt, PageExtensionPlacementSchema as bu, PageExtensionSchema as bv, type PageExtensionService as bw, type PageLayout as bx, PageLayoutSchema as by, type PageMode as bz, ProteosClient as c, type NumberAttributeMeta as c$, type UpdateListViewRequest as c0, type UpdateMenuConfigurationExtensionRequest as c1, type UpdateMenuConfigurationRequest as c2, type UpdatePageExtensionRequest as c3, type UpdatePageRequest as c4, type UpdateVariableRequest as c5, UserRefSchema as c6, type UserType as c7, type Variable as c8, VariableSchema as c9, CALENDAR_MAX_OVERLAY_USERS as cA, CALENDAR_VIEW_KINDS as cB, type CalendarElement as cC, type CalendarViewKind as cD, type CardElement as cE, type ColumnElement as cF, type CommonProps as cG, type ComponentElement as cH, type ControlBucket as cI, type DatetimeAttributeMeta as cJ, type DatetimeFormat as cK, type DividerElement as cL, type FieldElement as cM, FileAttributeMetaSchema as cN, type LayoutAlign as cO, type LayoutElement as cP, LayoutElementSchema as cQ, LayoutElementType as cR, type LayoutGap as cS, type LayoutJustify as cT, type LayoutStep as cU, LayoutStepSchema as cV, type LayoutTab as cW, LayoutTabSchema as cX, type LengthValue as cY, LengthValueSchema as cZ, type ListElement as c_, type VariableService as ca, acceptsCurrentUserDefault as cb, allCurrencyCodes as cc, bundleVersionOf as cd, createIterator as ce, createListResultSchema as cf, currencyLabel as cg, currencySymbol as ch, currencySymbolSide as ci, formatAmount as cj, formatMoney as ck, isCurrentUser as cl, isCurrentUserDefault as cm, isPlatformAttributeName as cn, localeNumberSeparators as co, parseAmount as cp, parseContactAddressMeta as cq, parseCurrencyMeta as cr, parseFileMeta as cs, parseRelationMeta as ct, platformAttributes as cu, resolveOptions as cv, type AttributeForLookup as cw, type AttributeMeta as cx, BUILT_IN_CONTROLS as cy, type BuiltInControlSlug as cz, type PrincipalRef as d, type ObjectAttributeMeta as d0, PAGE_BACKGROUND_COLOR_RE as d1, PAGE_BACKGROUND_TOKENS as d2, PAGE_HEADERS as d3, type PageBackgroundToken as d4, type PageHeader as d5, type PageLayoutSidePanel as d6, PageLayoutSidePanelSchema as d7, type PageStyle as d8, PageStyleSchema as d9, isLengthValue as dA, isPageBackground as dB, isReservedAttributeName as dC, isStyleSizeValue as dD, isTitleQueryable as dE, lookupCompatibleControls as dF, lookupControls as dG, lookupPrimaryControl as dH, parsePrincipalMeta as dI, parseUserMeta as dJ, titleTemplateVariables as dK, type PrincipalAttributeMeta as da, type PrincipalType as db, RECORD_TITLE_FIELD as dc, type RecordFilterElement as dd, type RelatedListElement as de, type RelatedRecordElement as df, type ResponsiveSizing as dg, type RowElement as dh, type SchedulingPickerElement as di, type SectionElement as dj, type SizeValue as dk, SizeValueSchema as dl, type SizingProps as dm, type StepperElement as dn, type StringAttributeMeta as dp, type StringFormat as dq, type StyleSizeValue as dr, StyleSizeValueSchema as ds, type TabsElement as dt, type TextElement as du, type TextVariant as dv, type UserAttributeMeta as dw, UserAttributeMetaSchema as dx, type WorkflowTriggerElement as dy, isBuiltInControl as dz, type PageAction as e, type PublicAccessOperation as f, type App as g, type AppConfiguration as h, AppConfigurationSchema as i, type AppConfigurationService as j, type AppHome as k, AppHomeSchema as l, type AppHomeType as m, AppSchema as n, type AppService as o, type ArrayAttributeMeta as p, type AttributeAccessRule as q, type AttributeRestrictions as r, AttributeSchema as s, type AttributeType as t, AuditFieldsSchema as u, CURRENT_USER_DEFAULT as v, type ClientOptions as w, type Column as x, ColumnSchema as y, type ComparisonOperator as z };