@elevasis/sdk 1.45.0 → 1.46.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 (38) hide show
  1. package/dist/cli.cjs +36046 -31587
  2. package/dist/index.d.ts +833 -391
  3. package/dist/index.js +59 -59
  4. package/dist/node/index.d.ts +0 -84
  5. package/dist/node/index.js +2 -2
  6. package/dist/test-utils/index.d.ts +859 -331
  7. package/dist/test-utils/index.js +166 -134
  8. package/dist/worker/index.d.ts +897 -324
  9. package/dist/worker/index.js +68 -35
  10. package/package.json +4 -4
  11. package/reference/_navigation.md +11 -2
  12. package/reference/_reference-manifest.json +42 -0
  13. package/reference/core/exports.mdx +2 -0
  14. package/reference/packages/core/src/business/README.md +4 -1
  15. package/reference/packages/core/src/content/README.md +19 -0
  16. package/reference/packages/core/src/organization-model/README.md +148 -149
  17. package/reference/packages/core/src/organization-model/readiness/README.md +42 -0
  18. package/reference/packages/ui/src/features/README.md +28 -28
  19. package/reference/rules/shared-types.md +21 -0
  20. package/reference/scaffold/core/organization-graph.mdx +2 -3
  21. package/reference/scaffold/core/organization-model.mdx +2 -6
  22. package/reference/scaffold/operations/propagation-pipeline.md +15 -16
  23. package/reference/scaffold/operations/scaffold-maintenance.md +3 -2
  24. package/reference/scaffold/operations/workflow-recipes.md +2 -2
  25. package/reference/scaffold/recipes/customize-crm-actions.md +5 -5
  26. package/reference/scaffold/recipes/extend-content.md +265 -0
  27. package/reference/scaffold/recipes/extend-lead-gen.md +14 -16
  28. package/reference/scaffold/recipes/index.md +4 -1
  29. package/reference/scaffold/reference/contracts.md +18 -55
  30. package/reference/scaffold/reference/feature-registry.md +3 -0
  31. package/reference/scaffold/reference/glossary.md +1 -1
  32. package/reference/scaffold/ui/customization.md +2 -2
  33. package/reference/scaffold/ui/feature-shell.mdx +1 -3
  34. package/reference/sdk/cli-management.mdx +90 -5
  35. package/reference/sdk/cli.mdx +90 -13
  36. package/reference/sdk/framework/agent.mdx +6 -0
  37. package/reference/sdk/platform-tools/adapters-platform.mdx +3 -1
  38. package/reference/ui/exports.mdx +1 -0
package/dist/index.d.ts CHANGED
@@ -1578,53 +1578,6 @@ type Json = string | number | boolean | null | {
1578
1578
  type Database = {
1579
1579
  public: {
1580
1580
  Tables: {
1581
- acq_artifacts: {
1582
- Row: {
1583
- content: Json;
1584
- created_at: string;
1585
- created_by: string | null;
1586
- id: string;
1587
- kind: string;
1588
- organization_id: string;
1589
- owner_id: string;
1590
- owner_kind: string;
1591
- source_execution_id: string | null;
1592
- version: number;
1593
- };
1594
- Insert: {
1595
- content: Json;
1596
- created_at?: string;
1597
- created_by?: string | null;
1598
- id?: string;
1599
- kind: string;
1600
- organization_id: string;
1601
- owner_id: string;
1602
- owner_kind: string;
1603
- source_execution_id?: string | null;
1604
- version?: number;
1605
- };
1606
- Update: {
1607
- content?: Json;
1608
- created_at?: string;
1609
- created_by?: string | null;
1610
- id?: string;
1611
- kind?: string;
1612
- organization_id?: string;
1613
- owner_id?: string;
1614
- owner_kind?: string;
1615
- source_execution_id?: string | null;
1616
- version?: number;
1617
- };
1618
- Relationships: [
1619
- {
1620
- foreignKeyName: "acq_artifacts_organization_id_fkey";
1621
- columns: ["organization_id"];
1622
- isOneToOne: false;
1623
- referencedRelation: "organizations";
1624
- referencedColumns: ["id"];
1625
- }
1626
- ];
1627
- };
1628
1581
  acq_companies: {
1629
1582
  Row: {
1630
1583
  batch_id: string | null;
@@ -1836,122 +1789,6 @@ type Database = {
1836
1789
  }
1837
1790
  ];
1838
1791
  };
1839
- acq_content: {
1840
- Row: {
1841
- body: string | null;
1842
- created_at: string;
1843
- id: string;
1844
- organization_id: string;
1845
- pillar: string;
1846
- status: string;
1847
- title: string;
1848
- updated_at: string;
1849
- };
1850
- Insert: {
1851
- body?: string | null;
1852
- created_at?: string;
1853
- id?: string;
1854
- organization_id: string;
1855
- pillar: string;
1856
- status?: string;
1857
- title: string;
1858
- updated_at?: string;
1859
- };
1860
- Update: {
1861
- body?: string | null;
1862
- created_at?: string;
1863
- id?: string;
1864
- organization_id?: string;
1865
- pillar?: string;
1866
- status?: string;
1867
- title?: string;
1868
- updated_at?: string;
1869
- };
1870
- Relationships: [
1871
- {
1872
- foreignKeyName: "acq_content_organization_id_fkey";
1873
- columns: ["organization_id"];
1874
- isOneToOne: false;
1875
- referencedRelation: "organizations";
1876
- referencedColumns: ["id"];
1877
- }
1878
- ];
1879
- };
1880
- acq_content_distributions: {
1881
- Row: {
1882
- adapted_body: string | null;
1883
- checklist: Json | null;
1884
- content_id: string;
1885
- created_at: string;
1886
- format: string;
1887
- id: string;
1888
- media_urls: Json;
1889
- metrics: Json;
1890
- metrics_updated_at: string | null;
1891
- organization_id: string;
1892
- platform: string;
1893
- platform_content: Json | null;
1894
- platform_post_id: string | null;
1895
- platform_url: string | null;
1896
- published_at: string | null;
1897
- status: string;
1898
- updated_at: string;
1899
- };
1900
- Insert: {
1901
- adapted_body?: string | null;
1902
- checklist?: Json | null;
1903
- content_id: string;
1904
- created_at?: string;
1905
- format: string;
1906
- id?: string;
1907
- media_urls?: Json;
1908
- metrics?: Json;
1909
- metrics_updated_at?: string | null;
1910
- organization_id: string;
1911
- platform: string;
1912
- platform_content?: Json | null;
1913
- platform_post_id?: string | null;
1914
- platform_url?: string | null;
1915
- published_at?: string | null;
1916
- status?: string;
1917
- updated_at?: string;
1918
- };
1919
- Update: {
1920
- adapted_body?: string | null;
1921
- checklist?: Json | null;
1922
- content_id?: string;
1923
- created_at?: string;
1924
- format?: string;
1925
- id?: string;
1926
- media_urls?: Json;
1927
- metrics?: Json;
1928
- metrics_updated_at?: string | null;
1929
- organization_id?: string;
1930
- platform?: string;
1931
- platform_content?: Json | null;
1932
- platform_post_id?: string | null;
1933
- platform_url?: string | null;
1934
- published_at?: string | null;
1935
- status?: string;
1936
- updated_at?: string;
1937
- };
1938
- Relationships: [
1939
- {
1940
- foreignKeyName: "acq_content_distributions_content_id_fkey";
1941
- columns: ["content_id"];
1942
- isOneToOne: false;
1943
- referencedRelation: "acq_content";
1944
- referencedColumns: ["id"];
1945
- },
1946
- {
1947
- foreignKeyName: "acq_content_distributions_organization_id_fkey";
1948
- columns: ["organization_id"];
1949
- isOneToOne: false;
1950
- referencedRelation: "organizations";
1951
- referencedColumns: ["id"];
1952
- }
1953
- ];
1954
- };
1955
1792
  acq_deal_notes: {
1956
1793
  Row: {
1957
1794
  author_user_id: string | null;
@@ -1981,6 +1818,13 @@ type Database = {
1981
1818
  updated_at?: string;
1982
1819
  };
1983
1820
  Relationships: [
1821
+ {
1822
+ foreignKeyName: "acq_deal_notes_author_user_id_fkey";
1823
+ columns: ["author_user_id"];
1824
+ isOneToOne: false;
1825
+ referencedRelation: "users";
1826
+ referencedColumns: ["id"];
1827
+ },
1984
1828
  {
1985
1829
  foreignKeyName: "acq_deal_notes_deal_id_fkey";
1986
1830
  columns: ["deal_id"];
@@ -2044,6 +1888,27 @@ type Database = {
2044
1888
  updated_at?: string;
2045
1889
  };
2046
1890
  Relationships: [
1891
+ {
1892
+ foreignKeyName: "acq_deal_tasks_assignee_user_id_fkey";
1893
+ columns: ["assignee_user_id"];
1894
+ isOneToOne: false;
1895
+ referencedRelation: "users";
1896
+ referencedColumns: ["id"];
1897
+ },
1898
+ {
1899
+ foreignKeyName: "acq_deal_tasks_completed_by_user_id_fkey";
1900
+ columns: ["completed_by_user_id"];
1901
+ isOneToOne: false;
1902
+ referencedRelation: "users";
1903
+ referencedColumns: ["id"];
1904
+ },
1905
+ {
1906
+ foreignKeyName: "acq_deal_tasks_created_by_user_id_fkey";
1907
+ columns: ["created_by_user_id"];
1908
+ isOneToOne: false;
1909
+ referencedRelation: "users";
1910
+ referencedColumns: ["id"];
1911
+ },
2047
1912
  {
2048
1913
  foreignKeyName: "acq_deal_tasks_deal_id_fkey";
2049
1914
  columns: ["deal_id"];
@@ -2200,6 +2065,13 @@ type Database = {
2200
2065
  referencedRelation: "acq_contacts";
2201
2066
  referencedColumns: ["id"];
2202
2067
  },
2068
+ {
2069
+ foreignKeyName: "acq_deals_discovery_submitted_by_fkey";
2070
+ columns: ["discovery_submitted_by"];
2071
+ isOneToOne: false;
2072
+ referencedRelation: "users";
2073
+ referencedColumns: ["id"];
2074
+ },
2203
2075
  {
2204
2076
  foreignKeyName: "acq_deals_organization_id_fkey";
2205
2077
  columns: ["organization_id"];
@@ -2207,6 +2079,13 @@ type Database = {
2207
2079
  referencedRelation: "organizations";
2208
2080
  referencedColumns: ["id"];
2209
2081
  },
2082
+ {
2083
+ foreignKeyName: "acq_deals_proposal_reviewed_by_fkey";
2084
+ columns: ["proposal_reviewed_by"];
2085
+ isOneToOne: false;
2086
+ referencedRelation: "users";
2087
+ referencedColumns: ["id"];
2088
+ },
2210
2089
  {
2211
2090
  foreignKeyName: "acq_deals_source_list_id_fkey";
2212
2091
  columns: ["source_list_id"];
@@ -2260,6 +2139,13 @@ type Database = {
2260
2139
  state_key?: string;
2261
2140
  };
2262
2141
  Relationships: [
2142
+ {
2143
+ foreignKeyName: "acq_list_companies_added_by_fkey";
2144
+ columns: ["added_by"];
2145
+ isOneToOne: false;
2146
+ referencedRelation: "users";
2147
+ referencedColumns: ["id"];
2148
+ },
2263
2149
  {
2264
2150
  foreignKeyName: "acq_list_companies_company_id_fkey";
2265
2151
  columns: ["company_id"];
@@ -2366,6 +2252,13 @@ type Database = {
2366
2252
  state_key?: string;
2367
2253
  };
2368
2254
  Relationships: [
2255
+ {
2256
+ foreignKeyName: "acq_list_members_added_by_fkey";
2257
+ columns: ["added_by"];
2258
+ isOneToOne: false;
2259
+ referencedRelation: "users";
2260
+ referencedColumns: ["id"];
2261
+ },
2369
2262
  {
2370
2263
  foreignKeyName: "acq_list_members_contact_id_fkey";
2371
2264
  columns: ["contact_id"];
@@ -2766,6 +2659,13 @@ type Database = {
2766
2659
  title?: string;
2767
2660
  };
2768
2661
  Relationships: [
2662
+ {
2663
+ foreignKeyName: "activities_actor_id_fkey";
2664
+ columns: ["actor_id"];
2665
+ isOneToOne: false;
2666
+ referencedRelation: "users";
2667
+ referencedColumns: ["id"];
2668
+ },
2769
2669
  {
2770
2670
  foreignKeyName: "activities_organization_id_fkey";
2771
2671
  columns: ["organization_id"];
@@ -2878,6 +2778,62 @@ type Database = {
2878
2778
  }
2879
2779
  ];
2880
2780
  };
2781
+ artifacts: {
2782
+ Row: {
2783
+ content: Json;
2784
+ created_at: string;
2785
+ created_by: string | null;
2786
+ id: string;
2787
+ is_active: boolean;
2788
+ kind: string;
2789
+ organization_id: string;
2790
+ owner_id: string | null;
2791
+ owner_kind: string;
2792
+ pipeline_id: string | null;
2793
+ source_execution_id: string | null;
2794
+ updated_at: string;
2795
+ version: number;
2796
+ };
2797
+ Insert: {
2798
+ content: Json;
2799
+ created_at?: string;
2800
+ created_by?: string | null;
2801
+ id?: string;
2802
+ is_active?: boolean;
2803
+ kind: string;
2804
+ organization_id: string;
2805
+ owner_id?: string | null;
2806
+ owner_kind: string;
2807
+ pipeline_id?: string | null;
2808
+ source_execution_id?: string | null;
2809
+ updated_at?: string;
2810
+ version?: number;
2811
+ };
2812
+ Update: {
2813
+ content?: Json;
2814
+ created_at?: string;
2815
+ created_by?: string | null;
2816
+ id?: string;
2817
+ is_active?: boolean;
2818
+ kind?: string;
2819
+ organization_id?: string;
2820
+ owner_id?: string | null;
2821
+ owner_kind?: string;
2822
+ pipeline_id?: string | null;
2823
+ source_execution_id?: string | null;
2824
+ updated_at?: string;
2825
+ version?: number;
2826
+ };
2827
+ Relationships: [
2828
+ {
2829
+ foreignKeyName: "artifacts_organization_id_fkey";
2830
+ columns: ["organization_id"];
2831
+ isOneToOne: false;
2832
+ referencedRelation: "organizations";
2833
+ referencedColumns: ["id"];
2834
+ }
2835
+ ];
2836
+ };
2881
2837
  clients: {
2882
2838
  Row: {
2883
2839
  converted_at: string | null;
@@ -3002,50 +2958,355 @@ type Database = {
3002
2958
  target_resource_type?: string | null;
3003
2959
  };
3004
2960
  Update: {
3005
- action_payload?: Json | null;
3006
- actions?: Json;
3007
- completed_at?: string | null;
3008
- completed_by?: string | null;
3009
- context?: Json;
2961
+ action_payload?: Json | null;
2962
+ actions?: Json;
2963
+ completed_at?: string | null;
2964
+ completed_by?: string | null;
2965
+ context?: Json;
2966
+ created_at?: string;
2967
+ description?: string | null;
2968
+ expires_at?: string | null;
2969
+ human_checkpoint?: string | null;
2970
+ id?: string;
2971
+ idempotency_key?: string | null;
2972
+ metadata?: Json | null;
2973
+ organization_id?: string;
2974
+ origin_execution_id?: string;
2975
+ origin_resource_id?: string;
2976
+ origin_resource_type?: string;
2977
+ priority?: number;
2978
+ selected_action?: string | null;
2979
+ status?: string;
2980
+ target_execution_id?: string | null;
2981
+ target_resource_id?: string | null;
2982
+ target_resource_type?: string | null;
2983
+ };
2984
+ Relationships: [
2985
+ {
2986
+ foreignKeyName: "command_queue_completed_by_fkey";
2987
+ columns: ["completed_by"];
2988
+ isOneToOne: false;
2989
+ referencedRelation: "users";
2990
+ referencedColumns: ["id"];
2991
+ },
2992
+ {
2993
+ foreignKeyName: "command_queue_organization_id_fkey";
2994
+ columns: ["organization_id"];
2995
+ isOneToOne: false;
2996
+ referencedRelation: "organizations";
2997
+ referencedColumns: ["id"];
2998
+ },
2999
+ {
3000
+ foreignKeyName: "command_queue_target_execution_id_fkey";
3001
+ columns: ["target_execution_id"];
3002
+ isOneToOne: false;
3003
+ referencedRelation: "execution_logs";
3004
+ referencedColumns: ["execution_id"];
3005
+ }
3006
+ ];
3007
+ };
3008
+ content_distributions: {
3009
+ Row: {
3010
+ adapted_body: string | null;
3011
+ checklist: Json | null;
3012
+ content_item_id: string;
3013
+ created_at: string;
3014
+ format: string;
3015
+ id: string;
3016
+ media_urls: Json;
3017
+ metrics: Json;
3018
+ metrics_updated_at: string | null;
3019
+ organization_id: string;
3020
+ platform: string;
3021
+ platform_content: Json | null;
3022
+ platform_post_id: string | null;
3023
+ platform_url: string | null;
3024
+ processing_state: Json;
3025
+ publish_method: string | null;
3026
+ published_at: string | null;
3027
+ status: string;
3028
+ updated_at: string;
3029
+ };
3030
+ Insert: {
3031
+ adapted_body?: string | null;
3032
+ checklist?: Json | null;
3033
+ content_item_id: string;
3034
+ created_at?: string;
3035
+ format: string;
3036
+ id?: string;
3037
+ media_urls?: Json;
3038
+ metrics?: Json;
3039
+ metrics_updated_at?: string | null;
3040
+ organization_id: string;
3041
+ platform: string;
3042
+ platform_content?: Json | null;
3043
+ platform_post_id?: string | null;
3044
+ platform_url?: string | null;
3045
+ processing_state?: Json;
3046
+ publish_method?: string | null;
3047
+ published_at?: string | null;
3048
+ status?: string;
3049
+ updated_at?: string;
3050
+ };
3051
+ Update: {
3052
+ adapted_body?: string | null;
3053
+ checklist?: Json | null;
3054
+ content_item_id?: string;
3055
+ created_at?: string;
3056
+ format?: string;
3057
+ id?: string;
3058
+ media_urls?: Json;
3059
+ metrics?: Json;
3060
+ metrics_updated_at?: string | null;
3061
+ organization_id?: string;
3062
+ platform?: string;
3063
+ platform_content?: Json | null;
3064
+ platform_post_id?: string | null;
3065
+ platform_url?: string | null;
3066
+ processing_state?: Json;
3067
+ publish_method?: string | null;
3068
+ published_at?: string | null;
3069
+ status?: string;
3070
+ updated_at?: string;
3071
+ };
3072
+ Relationships: [
3073
+ {
3074
+ foreignKeyName: "content_distributions_content_item_id_fkey";
3075
+ columns: ["content_item_id"];
3076
+ isOneToOne: false;
3077
+ referencedRelation: "content_items";
3078
+ referencedColumns: ["id"];
3079
+ },
3080
+ {
3081
+ foreignKeyName: "content_distributions_organization_id_fkey";
3082
+ columns: ["organization_id"];
3083
+ isOneToOne: false;
3084
+ referencedRelation: "organizations";
3085
+ referencedColumns: ["id"];
3086
+ }
3087
+ ];
3088
+ };
3089
+ content_item_attempts: {
3090
+ Row: {
3091
+ attempt_number: number;
3092
+ content_item_id: string;
3093
+ created_at: string;
3094
+ created_by: string | null;
3095
+ id: string;
3096
+ organization_id: string;
3097
+ payload: Json;
3098
+ source_execution_id: string | null;
3099
+ step_key: string | null;
3100
+ };
3101
+ Insert: {
3102
+ attempt_number: number;
3103
+ content_item_id: string;
3104
+ created_at?: string;
3105
+ created_by?: string | null;
3106
+ id?: string;
3107
+ organization_id: string;
3108
+ payload?: Json;
3109
+ source_execution_id?: string | null;
3110
+ step_key?: string | null;
3111
+ };
3112
+ Update: {
3113
+ attempt_number?: number;
3114
+ content_item_id?: string;
3115
+ created_at?: string;
3116
+ created_by?: string | null;
3117
+ id?: string;
3118
+ organization_id?: string;
3119
+ payload?: Json;
3120
+ source_execution_id?: string | null;
3121
+ step_key?: string | null;
3122
+ };
3123
+ Relationships: [
3124
+ {
3125
+ foreignKeyName: "content_item_attempts_content_item_id_fkey";
3126
+ columns: ["content_item_id"];
3127
+ isOneToOne: false;
3128
+ referencedRelation: "content_items";
3129
+ referencedColumns: ["id"];
3130
+ },
3131
+ {
3132
+ foreignKeyName: "content_item_attempts_created_by_fkey";
3133
+ columns: ["created_by"];
3134
+ isOneToOne: false;
3135
+ referencedRelation: "users";
3136
+ referencedColumns: ["id"];
3137
+ },
3138
+ {
3139
+ foreignKeyName: "content_item_attempts_organization_id_fkey";
3140
+ columns: ["organization_id"];
3141
+ isOneToOne: false;
3142
+ referencedRelation: "organizations";
3143
+ referencedColumns: ["id"];
3144
+ },
3145
+ {
3146
+ foreignKeyName: "content_item_attempts_source_execution_id_fkey";
3147
+ columns: ["source_execution_id"];
3148
+ isOneToOne: false;
3149
+ referencedRelation: "execution_logs";
3150
+ referencedColumns: ["execution_id"];
3151
+ }
3152
+ ];
3153
+ };
3154
+ content_items: {
3155
+ Row: {
3156
+ body: string | null;
3157
+ client_id: string | null;
3158
+ created_at: string;
3159
+ created_by: string | null;
3160
+ id: string;
3161
+ organization_id: string;
3162
+ payload: Json;
3163
+ pillar: string | null;
3164
+ pipeline_id: string | null;
3165
+ processing_state: Json;
3166
+ reject_reason: string | null;
3167
+ reviewed_at: string | null;
3168
+ reviewed_by: string | null;
3169
+ reviewer_feedback: string | null;
3170
+ source_asset_id: string | null;
3171
+ status: string;
3172
+ title: string;
3173
+ updated_at: string;
3174
+ updated_by: string | null;
3175
+ };
3176
+ Insert: {
3177
+ body?: string | null;
3178
+ client_id?: string | null;
3179
+ created_at?: string;
3180
+ created_by?: string | null;
3181
+ id?: string;
3182
+ organization_id: string;
3183
+ payload?: Json;
3184
+ pillar?: string | null;
3185
+ pipeline_id?: string | null;
3186
+ processing_state?: Json;
3187
+ reject_reason?: string | null;
3188
+ reviewed_at?: string | null;
3189
+ reviewed_by?: string | null;
3190
+ reviewer_feedback?: string | null;
3191
+ source_asset_id?: string | null;
3192
+ status?: string;
3193
+ title: string;
3194
+ updated_at?: string;
3195
+ updated_by?: string | null;
3196
+ };
3197
+ Update: {
3198
+ body?: string | null;
3199
+ client_id?: string | null;
3200
+ created_at?: string;
3201
+ created_by?: string | null;
3202
+ id?: string;
3203
+ organization_id?: string;
3204
+ payload?: Json;
3205
+ pillar?: string | null;
3206
+ pipeline_id?: string | null;
3207
+ processing_state?: Json;
3208
+ reject_reason?: string | null;
3209
+ reviewed_at?: string | null;
3210
+ reviewed_by?: string | null;
3211
+ reviewer_feedback?: string | null;
3212
+ source_asset_id?: string | null;
3213
+ status?: string;
3214
+ title?: string;
3215
+ updated_at?: string;
3216
+ updated_by?: string | null;
3217
+ };
3218
+ Relationships: [
3219
+ {
3220
+ foreignKeyName: "content_items_client_id_fkey";
3221
+ columns: ["client_id"];
3222
+ isOneToOne: false;
3223
+ referencedRelation: "clients";
3224
+ referencedColumns: ["id"];
3225
+ },
3226
+ {
3227
+ foreignKeyName: "content_items_created_by_fkey";
3228
+ columns: ["created_by"];
3229
+ isOneToOne: false;
3230
+ referencedRelation: "users";
3231
+ referencedColumns: ["id"];
3232
+ },
3233
+ {
3234
+ foreignKeyName: "content_items_organization_id_fkey";
3235
+ columns: ["organization_id"];
3236
+ isOneToOne: false;
3237
+ referencedRelation: "organizations";
3238
+ referencedColumns: ["id"];
3239
+ },
3240
+ {
3241
+ foreignKeyName: "content_items_reviewed_by_fkey";
3242
+ columns: ["reviewed_by"];
3243
+ isOneToOne: false;
3244
+ referencedRelation: "users";
3245
+ referencedColumns: ["id"];
3246
+ },
3247
+ {
3248
+ foreignKeyName: "content_items_source_asset_id_fkey";
3249
+ columns: ["source_asset_id"];
3250
+ isOneToOne: false;
3251
+ referencedRelation: "content_source_assets";
3252
+ referencedColumns: ["id"];
3253
+ },
3254
+ {
3255
+ foreignKeyName: "content_items_updated_by_fkey";
3256
+ columns: ["updated_by"];
3257
+ isOneToOne: false;
3258
+ referencedRelation: "users";
3259
+ referencedColumns: ["id"];
3260
+ }
3261
+ ];
3262
+ };
3263
+ content_source_assets: {
3264
+ Row: {
3265
+ created_at: string;
3266
+ duration_seconds: number | null;
3267
+ external_url: string | null;
3268
+ id: string;
3269
+ kind: string;
3270
+ metadata: Json;
3271
+ organization_id: string;
3272
+ processing_state: Json;
3273
+ storage_path: string | null;
3274
+ title: string;
3275
+ updated_at: string;
3276
+ };
3277
+ Insert: {
3278
+ created_at?: string;
3279
+ duration_seconds?: number | null;
3280
+ external_url?: string | null;
3281
+ id?: string;
3282
+ kind: string;
3283
+ metadata?: Json;
3284
+ organization_id: string;
3285
+ processing_state?: Json;
3286
+ storage_path?: string | null;
3287
+ title: string;
3288
+ updated_at?: string;
3289
+ };
3290
+ Update: {
3010
3291
  created_at?: string;
3011
- description?: string | null;
3012
- expires_at?: string | null;
3013
- human_checkpoint?: string | null;
3292
+ duration_seconds?: number | null;
3293
+ external_url?: string | null;
3014
3294
  id?: string;
3015
- idempotency_key?: string | null;
3016
- metadata?: Json | null;
3295
+ kind?: string;
3296
+ metadata?: Json;
3017
3297
  organization_id?: string;
3018
- origin_execution_id?: string;
3019
- origin_resource_id?: string;
3020
- origin_resource_type?: string;
3021
- priority?: number;
3022
- selected_action?: string | null;
3023
- status?: string;
3024
- target_execution_id?: string | null;
3025
- target_resource_id?: string | null;
3026
- target_resource_type?: string | null;
3298
+ processing_state?: Json;
3299
+ storage_path?: string | null;
3300
+ title?: string;
3301
+ updated_at?: string;
3027
3302
  };
3028
3303
  Relationships: [
3029
3304
  {
3030
- foreignKeyName: "command_queue_completed_by_fkey";
3031
- columns: ["completed_by"];
3032
- isOneToOne: false;
3033
- referencedRelation: "users";
3034
- referencedColumns: ["id"];
3035
- },
3036
- {
3037
- foreignKeyName: "command_queue_organization_id_fkey";
3305
+ foreignKeyName: "content_source_assets_organization_id_fkey";
3038
3306
  columns: ["organization_id"];
3039
3307
  isOneToOne: false;
3040
3308
  referencedRelation: "organizations";
3041
3309
  referencedColumns: ["id"];
3042
- },
3043
- {
3044
- foreignKeyName: "command_queue_target_execution_id_fkey";
3045
- columns: ["target_execution_id"];
3046
- isOneToOne: false;
3047
- referencedRelation: "execution_logs";
3048
- referencedColumns: ["execution_id"];
3049
3310
  }
3050
3311
  ];
3051
3312
  };
@@ -4665,6 +4926,33 @@ type Database = {
4665
4926
  };
4666
4927
  Returns: boolean;
4667
4928
  };
4929
+ create_artifact_version: {
4930
+ Args: {
4931
+ p_content: Json;
4932
+ p_created_by?: string;
4933
+ p_kind: string;
4934
+ p_organization_id: string;
4935
+ p_owner_id?: string;
4936
+ p_owner_kind: string;
4937
+ p_pipeline_id?: string;
4938
+ p_source_execution_id?: string;
4939
+ };
4940
+ Returns: {
4941
+ content: Json;
4942
+ created_at: string;
4943
+ created_by: string | null;
4944
+ id: string;
4945
+ is_active: boolean;
4946
+ kind: string;
4947
+ organization_id: string;
4948
+ owner_id: string | null;
4949
+ owner_kind: string;
4950
+ pipeline_id: string | null;
4951
+ source_execution_id: string | null;
4952
+ updated_at: string;
4953
+ version: number;
4954
+ };
4955
+ };
4668
4956
  current_user_is_platform_admin: {
4669
4957
  Args: Record<PropertyKey, never>;
4670
4958
  Returns: boolean;
@@ -4771,6 +5059,12 @@ type Database = {
4771
5059
  Args: Record<PropertyKey, never>;
4772
5060
  Returns: Json;
4773
5061
  };
5062
+ purge_stale_test_data: {
5063
+ Args: {
5064
+ p_max_age?: unknown;
5065
+ };
5066
+ Returns: Json;
5067
+ };
4774
5068
  recompute_all_memberships: {
4775
5069
  Args: Record<PropertyKey, never>;
4776
5070
  Returns: undefined;
@@ -5794,6 +6088,31 @@ declare const BuildPlanSnapshotStepSchema: z.ZodObject<{
5794
6088
  verifyOnRun: z.ZodOptional<z.ZodBoolean>;
5795
6089
  }, z.core.$strip>>>;
5796
6090
  }, z.core.$strip>;
6091
+ declare const AcqArtifactOwnerKindSchema: z.ZodEnum<{
6092
+ company: "company";
6093
+ contact: "contact";
6094
+ list: "list";
6095
+ organization: "organization";
6096
+ deal: "deal";
6097
+ list_member: "list_member";
6098
+ }>;
6099
+ declare const AcqArtifactResponseSchema: z.ZodObject<{
6100
+ id: z.ZodString;
6101
+ organizationId: z.ZodString;
6102
+ ownerKind: z.ZodString;
6103
+ ownerId: z.ZodNullable<z.ZodString>;
6104
+ kind: z.ZodString;
6105
+ pipelineId: z.ZodNullable<z.ZodString>;
6106
+ content: z.ZodRecord<z.ZodString, z.ZodUnknown>;
6107
+ sourceExecutionId: z.ZodNullable<z.ZodString>;
6108
+ createdBy: z.ZodNullable<z.ZodString>;
6109
+ createdAt: z.ZodString;
6110
+ updatedAt: z.ZodString;
6111
+ isActive: z.ZodBoolean;
6112
+ version: z.ZodNumber;
6113
+ }, z.core.$strip>;
6114
+ type AcqArtifactOwnerKind = z.infer<typeof AcqArtifactOwnerKindSchema>;
6115
+ type AcqArtifactResponse = z.infer<typeof AcqArtifactResponseSchema>;
5797
6116
  type PipelineStage = z.infer<typeof PipelineStageSchema>;
5798
6117
  type DataMode = z.infer<typeof DataModeSchema>;
5799
6118
  type ProcessingStageStatus = z.infer<typeof ProcessingStageStatusSchema>;
@@ -7006,22 +7325,31 @@ interface ReadinessProfileEntry {
7006
7325
  /**
7007
7326
  * Look up a readiness profile entry by id.
7008
7327
  *
7009
- * Returns `undefined` for unknown ids (not in the built-in list and not
7010
- * registered via `registerReadinessProfile`). Unknown profiles are validated
7011
- * structurally through the system's `readinessContract` unknown-profile is
7012
- * NOT a schema-layer rejection.
7328
+ * `kind: 'built-in'` reflects either a platform-reserved id or a registered
7329
+ * validator (`registerBuiltInReadinessProfile`) the single source of truth
7330
+ * for anything beyond the reserved 3 this can never disagree with. `kind:
7331
+ * 'custom'` reflects an id acknowledged via `registerReadinessProfile` below.
7332
+ * Returns `undefined` for ids that are neither; unknown profiles are
7333
+ * validated structurally through the system's `readinessContract` —
7334
+ * unknown-profile is NOT a schema-layer rejection.
7013
7335
  */
7014
7336
  declare function lookupReadinessProfile(profileId: string): ReadinessProfileEntry | undefined;
7015
7337
  /**
7016
- * Register a custom readiness profile preset.
7338
+ * Acknowledge a custom (non-built-in) readiness profile id.
7017
7339
  *
7018
- * Tenant tooling or SDK extensions may call this during startup to register
7019
- * named presets. Registered presets are then resolvable via `lookupReadinessProfile`.
7020
- * Built-in profile ids cannot be overwritten.
7340
+ * This does NOT register validation logic. Tenant tooling or SDK extensions
7341
+ * that want real structural readiness checks must call
7342
+ * `registerBuiltInReadinessProfile` (from `../readiness`) instead that is
7343
+ * the actual extension point this function was previously, incorrectly,
7344
+ * documented as an alternative to. Built-in profile ids cannot be
7345
+ * overwritten: calling this with an id that already has a registered
7346
+ * validator returns the existing built-in entry unchanged.
7021
7347
  */
7022
7348
  declare function registerReadinessProfile(profileId: string): ReadinessProfileEntry;
7023
7349
  /**
7024
- * Return true if the given profile id is a built-in platform preset.
7350
+ * Return true if the given profile id is a platform-reserved preset or has a
7351
+ * registered built-in validator (`registerBuiltInReadinessProfile`). See
7352
+ * `isReservedPlatformProfileId` and the module note above.
7025
7353
  */
7026
7354
  declare function isBuiltInReadinessProfile(profileId: string): boolean;
7027
7355
  type JsonPrimitive = string | number | boolean | null;
@@ -7040,7 +7368,6 @@ interface SystemEntry {
7040
7368
  path: string;
7041
7369
  surfaces: string[];
7042
7370
  icon?: string;
7043
- order?: number;
7044
7371
  };
7045
7372
  lifecycle?: 'draft' | 'beta' | 'active' | 'deprecated' | 'archived';
7046
7373
  responsibleRoleId?: string;
@@ -7050,17 +7377,12 @@ interface SystemEntry {
7050
7377
  intent: 'exposes' | 'consumes';
7051
7378
  invocation?: unknown;
7052
7379
  }[];
7053
- policies?: string[];
7054
7380
  drivesGoals?: string[];
7055
7381
  apiInterface?: z.infer<typeof SystemApiInterfaceSchema>;
7056
- /** @deprecated Use lifecycle. Accepted for one publish cycle. */
7057
- status?: 'active' | 'deprecated' | 'archived';
7058
7382
  path?: string;
7059
7383
  icon?: string;
7060
7384
  uiPosition?: 'sidebar-primary' | 'sidebar-bottom';
7061
7385
  enabled?: boolean;
7062
- devOnly?: boolean;
7063
- requiresAdmin?: boolean;
7064
7386
  order: number;
7065
7387
  config?: Record<string, JsonValue>;
7066
7388
  ontology?: OntologyScope;
@@ -7113,9 +7435,6 @@ declare const OmTopologyNodeRefSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
7113
7435
  }, z.core.$strip>, z.ZodObject<{
7114
7436
  kind: z.ZodLiteral<"ontology">;
7115
7437
  id: z.ZodString;
7116
- }, z.core.$strip>, z.ZodObject<{
7117
- kind: z.ZodLiteral<"policy">;
7118
- id: z.ZodString;
7119
7438
  }, z.core.$strip>, z.ZodObject<{
7120
7439
  kind: z.ZodLiteral<"role">;
7121
7440
  id: z.ZodString;
@@ -7139,9 +7458,6 @@ declare const OmTopologyRelationshipSchema: z.ZodObject<{
7139
7458
  }, z.core.$strip>, z.ZodObject<{
7140
7459
  kind: z.ZodLiteral<"ontology">;
7141
7460
  id: z.ZodString;
7142
- }, z.core.$strip>, z.ZodObject<{
7143
- kind: z.ZodLiteral<"policy">;
7144
- id: z.ZodString;
7145
7461
  }, z.core.$strip>, z.ZodObject<{
7146
7462
  kind: z.ZodLiteral<"role">;
7147
7463
  id: z.ZodString;
@@ -7169,9 +7485,6 @@ declare const OmTopologyRelationshipSchema: z.ZodObject<{
7169
7485
  }, z.core.$strip>, z.ZodObject<{
7170
7486
  kind: z.ZodLiteral<"ontology">;
7171
7487
  id: z.ZodString;
7172
- }, z.core.$strip>, z.ZodObject<{
7173
- kind: z.ZodLiteral<"policy">;
7174
- id: z.ZodString;
7175
7488
  }, z.core.$strip>, z.ZodObject<{
7176
7489
  kind: z.ZodLiteral<"role">;
7177
7490
  id: z.ZodString;
@@ -7201,9 +7514,6 @@ declare const OmTopologyDomainSchema: z.ZodDefault<z.ZodObject<{
7201
7514
  }, z.core.$strip>, z.ZodObject<{
7202
7515
  kind: z.ZodLiteral<"ontology">;
7203
7516
  id: z.ZodString;
7204
- }, z.core.$strip>, z.ZodObject<{
7205
- kind: z.ZodLiteral<"policy">;
7206
- id: z.ZodString;
7207
7517
  }, z.core.$strip>, z.ZodObject<{
7208
7518
  kind: z.ZodLiteral<"role">;
7209
7519
  id: z.ZodString;
@@ -7231,9 +7541,6 @@ declare const OmTopologyDomainSchema: z.ZodDefault<z.ZodObject<{
7231
7541
  }, z.core.$strip>, z.ZodObject<{
7232
7542
  kind: z.ZodLiteral<"ontology">;
7233
7543
  id: z.ZodString;
7234
- }, z.core.$strip>, z.ZodObject<{
7235
- kind: z.ZodLiteral<"policy">;
7236
- id: z.ZodString;
7237
7544
  }, z.core.$strip>, z.ZodObject<{
7238
7545
  kind: z.ZodLiteral<"role">;
7239
7546
  id: z.ZodString;
@@ -7275,9 +7582,6 @@ declare const topologyRef: {
7275
7582
  } | {
7276
7583
  kind: "ontology";
7277
7584
  id: string;
7278
- } | {
7279
- kind: "policy";
7280
- id: string;
7281
7585
  } | {
7282
7586
  kind: "role";
7283
7587
  id: string;
@@ -7300,9 +7604,6 @@ declare const topologyRef: {
7300
7604
  } | {
7301
7605
  kind: "ontology";
7302
7606
  id: string;
7303
- } | {
7304
- kind: "policy";
7305
- id: string;
7306
7607
  } | {
7307
7608
  kind: "role";
7308
7609
  id: string;
@@ -7325,34 +7626,6 @@ declare const topologyRef: {
7325
7626
  } | {
7326
7627
  kind: "ontology";
7327
7628
  id: string;
7328
- } | {
7329
- kind: "policy";
7330
- id: string;
7331
- } | {
7332
- kind: "role";
7333
- id: string;
7334
- } | {
7335
- kind: "trigger";
7336
- id: string;
7337
- } | {
7338
- kind: "humanCheckpoint";
7339
- id: string;
7340
- } | {
7341
- kind: "externalResource";
7342
- id: string;
7343
- };
7344
- readonly policy: (policy: TopologyRefFactoryInput) => {
7345
- kind: "system";
7346
- id: string;
7347
- } | {
7348
- kind: "resource";
7349
- id: string;
7350
- } | {
7351
- kind: "ontology";
7352
- id: string;
7353
- } | {
7354
- kind: "policy";
7355
- id: string;
7356
7629
  } | {
7357
7630
  kind: "role";
7358
7631
  id: string;
@@ -7375,9 +7648,6 @@ declare const topologyRef: {
7375
7648
  } | {
7376
7649
  kind: "ontology";
7377
7650
  id: string;
7378
- } | {
7379
- kind: "policy";
7380
- id: string;
7381
7651
  } | {
7382
7652
  kind: "role";
7383
7653
  id: string;
@@ -7400,9 +7670,6 @@ declare const topologyRef: {
7400
7670
  } | {
7401
7671
  kind: "ontology";
7402
7672
  id: string;
7403
- } | {
7404
- kind: "policy";
7405
- id: string;
7406
7673
  } | {
7407
7674
  kind: "role";
7408
7675
  id: string;
@@ -7425,9 +7692,6 @@ declare const topologyRef: {
7425
7692
  } | {
7426
7693
  kind: "ontology";
7427
7694
  id: string;
7428
- } | {
7429
- kind: "policy";
7430
- id: string;
7431
7695
  } | {
7432
7696
  kind: "role";
7433
7697
  id: string;
@@ -7450,9 +7714,6 @@ declare const topologyRef: {
7450
7714
  } | {
7451
7715
  kind: "ontology";
7452
7716
  id: string;
7453
- } | {
7454
- kind: "policy";
7455
- id: string;
7456
7717
  } | {
7457
7718
  kind: "role";
7458
7719
  id: string;
@@ -7478,9 +7739,6 @@ declare const topologyRelationship: {
7478
7739
  } | {
7479
7740
  kind: "ontology";
7480
7741
  id: string;
7481
- } | {
7482
- kind: "policy";
7483
- id: string;
7484
7742
  } | {
7485
7743
  kind: "role";
7486
7744
  id: string;
@@ -7504,9 +7762,6 @@ declare const topologyRelationship: {
7504
7762
  } | {
7505
7763
  kind: "ontology";
7506
7764
  id: string;
7507
- } | {
7508
- kind: "policy";
7509
- id: string;
7510
7765
  } | {
7511
7766
  kind: "role";
7512
7767
  id: string;
@@ -7534,9 +7789,6 @@ declare const topologyRelationship: {
7534
7789
  } | {
7535
7790
  kind: "ontology";
7536
7791
  id: string;
7537
- } | {
7538
- kind: "policy";
7539
- id: string;
7540
7792
  } | {
7541
7793
  kind: "role";
7542
7794
  id: string;
@@ -7560,9 +7812,6 @@ declare const topologyRelationship: {
7560
7812
  } | {
7561
7813
  kind: "ontology";
7562
7814
  id: string;
7563
- } | {
7564
- kind: "policy";
7565
- id: string;
7566
7815
  } | {
7567
7816
  kind: "role";
7568
7817
  id: string;
@@ -7590,9 +7839,6 @@ declare const topologyRelationship: {
7590
7839
  } | {
7591
7840
  kind: "ontology";
7592
7841
  id: string;
7593
- } | {
7594
- kind: "policy";
7595
- id: string;
7596
7842
  } | {
7597
7843
  kind: "role";
7598
7844
  id: string;
@@ -7616,9 +7862,6 @@ declare const topologyRelationship: {
7616
7862
  } | {
7617
7863
  kind: "ontology";
7618
7864
  id: string;
7619
- } | {
7620
- kind: "policy";
7621
- id: string;
7622
7865
  } | {
7623
7866
  kind: "role";
7624
7867
  id: string;
@@ -7646,9 +7889,6 @@ declare const topologyRelationship: {
7646
7889
  } | {
7647
7890
  kind: "ontology";
7648
7891
  id: string;
7649
- } | {
7650
- kind: "policy";
7651
- id: string;
7652
7892
  } | {
7653
7893
  kind: "role";
7654
7894
  id: string;
@@ -7672,9 +7912,6 @@ declare const topologyRelationship: {
7672
7912
  } | {
7673
7913
  kind: "ontology";
7674
7914
  id: string;
7675
- } | {
7676
- kind: "policy";
7677
- id: string;
7678
7915
  } | {
7679
7916
  kind: "role";
7680
7917
  id: string;
@@ -7702,9 +7939,6 @@ declare const topologyRelationship: {
7702
7939
  } | {
7703
7940
  kind: "ontology";
7704
7941
  id: string;
7705
- } | {
7706
- kind: "policy";
7707
- id: string;
7708
7942
  } | {
7709
7943
  kind: "role";
7710
7944
  id: string;
@@ -7728,9 +7962,6 @@ declare const topologyRelationship: {
7728
7962
  } | {
7729
7963
  kind: "ontology";
7730
7964
  id: string;
7731
- } | {
7732
- kind: "policy";
7733
- id: string;
7734
7965
  } | {
7735
7966
  kind: "role";
7736
7967
  id: string;
@@ -7758,9 +7989,6 @@ declare const topologyRelationship: {
7758
7989
  } | {
7759
7990
  kind: "ontology";
7760
7991
  id: string;
7761
- } | {
7762
- kind: "policy";
7763
- id: string;
7764
7992
  } | {
7765
7993
  kind: "role";
7766
7994
  id: string;
@@ -7784,9 +8012,6 @@ declare const topologyRelationship: {
7784
8012
  } | {
7785
8013
  kind: "ontology";
7786
8014
  id: string;
7787
- } | {
7788
- kind: "policy";
7789
- id: string;
7790
8015
  } | {
7791
8016
  kind: "role";
7792
8017
  id: string;
@@ -7842,6 +8067,11 @@ type Link = z.infer<typeof LinkSchema>;
7842
8067
  * - `registerBuiltInReadinessProfile` — a profile id (e.g. `sales.lead-gen.api`)
7843
8068
  * maps to structural validation logic plus an optional model-preparation
7844
8069
  * hook run before ontology compilation (e.g. injecting a derived catalog).
8070
+ * This is the ONE readiness-profile registry (`_builtInProfileValidators`
8071
+ * below) — `../domains/systems`'s `isBuiltInReadinessProfile` /
8072
+ * `lookupReadinessProfile` read it directly via `getBuiltInReadinessProfile`
8073
+ * rather than mirroring registrations into a second map, so a profile id
8074
+ * can never read as built-in without an actual registered validator.
7845
8075
  * - `registerReadinessInterfaceMarker` — a `(systemPath, interfaceKey)` pair
7846
8076
  * maps to a synthesized interface marker for interfaces that are not
7847
8077
  * authored on `system.apiInterface` (e.g. the lead-gen/CRM handoff bridge,
@@ -7849,8 +8079,8 @@ type Link = z.infer<typeof LinkSchema>;
7849
8079
  *
7850
8080
  * `business/acquisition/ontology-validation.ts` calls both at module load to
7851
8081
  * register its three built-in profiles. Both registries are module-level
7852
- * mutable maps with no reset function, matching the existing
7853
- * `domains/systems.ts` profile registry's shape.
8082
+ * mutable maps with no reset function. Reachable by a tenant via the
8083
+ * `./organization-model/readiness` subpath (see `./index`).
7854
8084
  */
7855
8085
 
7856
8086
  type SystemInterfaceReadinessIssueFamily = 'SYSTEM_INTERFACE_MISSING' | 'SYSTEM_INTERFACE_DISABLED' | 'SYSTEM_INTERFACE_INVALID' | 'SYSTEM_INTERFACE_NOT_READY' | 'SYSTEM_BRIDGE_NOT_READY'
@@ -7916,10 +8146,6 @@ declare const OrganizationModelSchema: z.ZodObject<{
7916
8146
  version: z.ZodDefault<z.ZodLiteral<1>>;
7917
8147
  lastModified: z.ZodString;
7918
8148
  }, z.core.$strip>>;
7919
- policies: z.ZodOptional<z.ZodObject<{
7920
- version: z.ZodDefault<z.ZodLiteral<1>>;
7921
- lastModified: z.ZodString;
7922
- }, z.core.$strip>>;
7923
8149
  knowledge: z.ZodOptional<z.ZodObject<{
7924
8150
  version: z.ZodDefault<z.ZodLiteral<1>>;
7925
8151
  lastModified: z.ZodString;
@@ -7977,10 +8203,6 @@ declare const OrganizationModelSchema: z.ZodObject<{
7977
8203
  version: 1;
7978
8204
  lastModified: string;
7979
8205
  };
7980
- policies: {
7981
- version: 1;
7982
- lastModified: string;
7983
- };
7984
8206
  knowledge: {
7985
8207
  version: 1;
7986
8208
  lastModified: string;
@@ -8038,10 +8260,6 @@ declare const OrganizationModelSchema: z.ZodObject<{
8038
8260
  version: 1;
8039
8261
  lastModified: string;
8040
8262
  } | undefined;
8041
- policies?: {
8042
- version: 1;
8043
- lastModified: string;
8044
- } | undefined;
8045
8263
  knowledge?: {
8046
8264
  version: 1;
8047
8265
  lastModified: string;
@@ -8635,9 +8853,6 @@ declare const OrganizationModelSchema: z.ZodObject<{
8635
8853
  }, z.core.$strip>, z.ZodObject<{
8636
8854
  kind: z.ZodLiteral<"ontology">;
8637
8855
  id: z.ZodString;
8638
- }, z.core.$strip>, z.ZodObject<{
8639
- kind: z.ZodLiteral<"policy">;
8640
- id: z.ZodString;
8641
8856
  }, z.core.$strip>, z.ZodObject<{
8642
8857
  kind: z.ZodLiteral<"role">;
8643
8858
  id: z.ZodString;
@@ -8665,9 +8880,6 @@ declare const OrganizationModelSchema: z.ZodObject<{
8665
8880
  }, z.core.$strip>, z.ZodObject<{
8666
8881
  kind: z.ZodLiteral<"ontology">;
8667
8882
  id: z.ZodString;
8668
- }, z.core.$strip>, z.ZodObject<{
8669
- kind: z.ZodLiteral<"policy">;
8670
- id: z.ZodString;
8671
8883
  }, z.core.$strip>, z.ZodObject<{
8672
8884
  kind: z.ZodLiteral<"role">;
8673
8885
  id: z.ZodString;
@@ -8749,66 +8961,6 @@ declare const OrganizationModelSchema: z.ZodObject<{
8749
8961
  label: z.ZodOptional<z.ZodString>;
8750
8962
  }, z.core.$strip>>>;
8751
8963
  }, z.core.$strip>>>>;
8752
- policies: z.ZodDefault<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodObject<{
8753
- id: z.ZodString;
8754
- order: z.ZodNumber;
8755
- label: z.ZodString;
8756
- description: z.ZodOptional<z.ZodString>;
8757
- trigger: z.ZodDiscriminatedUnion<[z.ZodObject<{
8758
- kind: z.ZodLiteral<"event">;
8759
- eventId: z.ZodString;
8760
- }, z.core.$strip>, z.ZodObject<{
8761
- kind: z.ZodLiteral<"action-invocation">;
8762
- actionId: z.ZodString;
8763
- }, z.core.$strip>, z.ZodObject<{
8764
- kind: z.ZodLiteral<"schedule">;
8765
- cron: z.ZodString;
8766
- }, z.core.$strip>, z.ZodObject<{
8767
- kind: z.ZodLiteral<"manual">;
8768
- }, z.core.$strip>], "kind">;
8769
- predicate: z.ZodDefault<z.ZodDiscriminatedUnion<[z.ZodObject<{
8770
- kind: z.ZodLiteral<"always">;
8771
- }, z.core.$strip>, z.ZodObject<{
8772
- kind: z.ZodLiteral<"expression">;
8773
- expression: z.ZodString;
8774
- }, z.core.$strip>, z.ZodObject<{
8775
- kind: z.ZodLiteral<"threshold">;
8776
- metric: z.ZodString;
8777
- operator: z.ZodEnum<{
8778
- lt: "lt";
8779
- lte: "lte";
8780
- eq: "eq";
8781
- gte: "gte";
8782
- gt: "gt";
8783
- }>;
8784
- value: z.ZodNumber;
8785
- }, z.core.$strip>], "kind">>;
8786
- actions: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
8787
- kind: z.ZodLiteral<"require-approval">;
8788
- roleId: z.ZodOptional<z.ZodString>;
8789
- }, z.core.$strip>, z.ZodObject<{
8790
- kind: z.ZodLiteral<"invoke-action">;
8791
- actionId: z.ZodString;
8792
- }, z.core.$strip>, z.ZodObject<{
8793
- kind: z.ZodLiteral<"notify-role">;
8794
- roleId: z.ZodString;
8795
- }, z.core.$strip>, z.ZodObject<{
8796
- kind: z.ZodLiteral<"block">;
8797
- }, z.core.$strip>], "kind">>;
8798
- appliesTo: z.ZodDefault<z.ZodObject<{
8799
- systemIds: z.ZodDefault<z.ZodArray<z.ZodString>>;
8800
- actionIds: z.ZodDefault<z.ZodArray<z.ZodString>>;
8801
- resourceIds: z.ZodDefault<z.ZodArray<z.ZodString>>;
8802
- roleIds: z.ZodDefault<z.ZodArray<z.ZodString>>;
8803
- }, z.core.$strip>>;
8804
- lifecycle: z.ZodDefault<z.ZodEnum<{
8805
- active: "active";
8806
- deprecated: "deprecated";
8807
- draft: "draft";
8808
- beta: "beta";
8809
- archived: "archived";
8810
- }>>;
8811
- }, z.core.$strip>>>>;
8812
8964
  knowledge: z.ZodDefault<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodObject<{
8813
8965
  id: z.ZodString;
8814
8966
  kind: z.ZodEnum<{
@@ -11002,6 +11154,154 @@ declare const ProjectSchemas: {
11002
11154
  }, z.core.$strip>;
11003
11155
  };
11004
11156
 
11157
+ /** D18: `pipeline_id` is an OM ontology id (free text), not a UUID. */
11158
+ declare const ContentPipelineIdSchema: z.ZodString;
11159
+ /** `content:catalog/status` entries. Free text, model-owned. */
11160
+ declare const ContentItemStatusSchema: z.ZodString;
11161
+ /** `content:catalog/pillar` entries. */
11162
+ declare const ContentPillarSchema: z.ZodString;
11163
+ /** `content:catalog/platform` entries, applied to `content_distributions.platform` / `.format`. */
11164
+ declare const ContentDistributionPlatformSchema: z.ZodString;
11165
+ declare const ContentDistributionFormatSchema: z.ZodString;
11166
+ declare const ContentDistributionStatusSchema: z.ZodString;
11167
+ /**
11168
+ * D12: the payload gets its own column (`content_items.payload` /
11169
+ * `content_item_attempts.payload`). This is the producer's immutable
11170
+ * emission — never edited; `body` is the human's canonical text and
11171
+ * diverges from it on first edit. The field list within the envelope is
11172
+ * declared per-step by the (not-yet-authored) step catalog; this transport
11173
+ * schema validates JSON-object shape and size only, not field membership.
11174
+ */
11175
+ declare const ContentPayloadEnvelopeSchema: z.ZodRecord<z.ZodString, z.ZodUnknown>;
11176
+ declare const ContentItemResponseSchema: z.ZodObject<{
11177
+ id: z.ZodString;
11178
+ organizationId: z.ZodString;
11179
+ title: z.ZodString;
11180
+ body: z.ZodNullable<z.ZodString>;
11181
+ payload: z.ZodUnknown;
11182
+ status: z.ZodString;
11183
+ pillar: z.ZodNullable<z.ZodString>;
11184
+ pipelineId: z.ZodNullable<z.ZodString>;
11185
+ clientId: z.ZodNullable<z.ZodString>;
11186
+ sourceAssetId: z.ZodNullable<z.ZodString>;
11187
+ processingState: z.ZodRecord<z.ZodString, z.ZodObject<{
11188
+ status: z.ZodEnum<{
11189
+ error: "error";
11190
+ success: "success";
11191
+ no_result: "no_result";
11192
+ skipped: "skipped";
11193
+ }>;
11194
+ data: z.ZodOptional<z.ZodUnknown>;
11195
+ }, z.core.$loose>>;
11196
+ reviewedAt: z.ZodNullable<z.ZodString>;
11197
+ reviewedBy: z.ZodNullable<z.ZodString>;
11198
+ reviewerFeedback: z.ZodNullable<z.ZodString>;
11199
+ rejectReason: z.ZodNullable<z.ZodString>;
11200
+ createdBy: z.ZodNullable<z.ZodString>;
11201
+ updatedBy: z.ZodNullable<z.ZodString>;
11202
+ createdAt: z.ZodString;
11203
+ updatedAt: z.ZodString;
11204
+ }, z.core.$strip>;
11205
+ declare const ContentItemListResponseSchema: z.ZodObject<{
11206
+ data: z.ZodArray<z.ZodObject<{
11207
+ id: z.ZodString;
11208
+ organizationId: z.ZodString;
11209
+ title: z.ZodString;
11210
+ body: z.ZodNullable<z.ZodString>;
11211
+ payload: z.ZodUnknown;
11212
+ status: z.ZodString;
11213
+ pillar: z.ZodNullable<z.ZodString>;
11214
+ pipelineId: z.ZodNullable<z.ZodString>;
11215
+ clientId: z.ZodNullable<z.ZodString>;
11216
+ sourceAssetId: z.ZodNullable<z.ZodString>;
11217
+ processingState: z.ZodRecord<z.ZodString, z.ZodObject<{
11218
+ status: z.ZodEnum<{
11219
+ error: "error";
11220
+ success: "success";
11221
+ no_result: "no_result";
11222
+ skipped: "skipped";
11223
+ }>;
11224
+ data: z.ZodOptional<z.ZodUnknown>;
11225
+ }, z.core.$loose>>;
11226
+ reviewedAt: z.ZodNullable<z.ZodString>;
11227
+ reviewedBy: z.ZodNullable<z.ZodString>;
11228
+ reviewerFeedback: z.ZodNullable<z.ZodString>;
11229
+ rejectReason: z.ZodNullable<z.ZodString>;
11230
+ createdBy: z.ZodNullable<z.ZodString>;
11231
+ updatedBy: z.ZodNullable<z.ZodString>;
11232
+ createdAt: z.ZodString;
11233
+ updatedAt: z.ZodString;
11234
+ }, z.core.$strip>>;
11235
+ total: z.ZodNumber;
11236
+ limit: z.ZodNumber;
11237
+ offset: z.ZodNumber;
11238
+ }, z.core.$strip>;
11239
+ declare const ContentItemAttemptResponseSchema: z.ZodObject<{
11240
+ id: z.ZodString;
11241
+ organizationId: z.ZodString;
11242
+ contentItemId: z.ZodString;
11243
+ attemptNumber: z.ZodNumber;
11244
+ stepKey: z.ZodNullable<z.ZodString>;
11245
+ payload: z.ZodUnknown;
11246
+ sourceExecutionId: z.ZodNullable<z.ZodString>;
11247
+ createdBy: z.ZodNullable<z.ZodString>;
11248
+ createdAt: z.ZodString;
11249
+ }, z.core.$strip>;
11250
+ declare const ContentItemAttemptListResponseSchema: z.ZodObject<{
11251
+ data: z.ZodArray<z.ZodObject<{
11252
+ id: z.ZodString;
11253
+ organizationId: z.ZodString;
11254
+ contentItemId: z.ZodString;
11255
+ attemptNumber: z.ZodNumber;
11256
+ stepKey: z.ZodNullable<z.ZodString>;
11257
+ payload: z.ZodUnknown;
11258
+ sourceExecutionId: z.ZodNullable<z.ZodString>;
11259
+ createdBy: z.ZodNullable<z.ZodString>;
11260
+ createdAt: z.ZodString;
11261
+ }, z.core.$strip>>;
11262
+ }, z.core.$strip>;
11263
+ declare const ContentDistributionResponseSchema: z.ZodObject<{
11264
+ id: z.ZodString;
11265
+ organizationId: z.ZodString;
11266
+ contentItemId: z.ZodString;
11267
+ platform: z.ZodString;
11268
+ format: z.ZodString;
11269
+ status: z.ZodString;
11270
+ adaptedBody: z.ZodNullable<z.ZodString>;
11271
+ platformContent: z.ZodNullable<z.ZodUnknown>;
11272
+ checklist: z.ZodNullable<z.ZodUnknown>;
11273
+ mediaUrls: z.ZodArray<z.ZodUnknown>;
11274
+ processingState: z.ZodRecord<z.ZodString, z.ZodObject<{
11275
+ status: z.ZodEnum<{
11276
+ error: "error";
11277
+ success: "success";
11278
+ no_result: "no_result";
11279
+ skipped: "skipped";
11280
+ }>;
11281
+ data: z.ZodOptional<z.ZodUnknown>;
11282
+ }, z.core.$loose>>;
11283
+ publishMethod: z.ZodNullable<z.ZodString>;
11284
+ publishedAt: z.ZodNullable<z.ZodString>;
11285
+ platformPostId: z.ZodNullable<z.ZodString>;
11286
+ platformUrl: z.ZodNullable<z.ZodString>;
11287
+ metrics: z.ZodUnknown;
11288
+ metricsUpdatedAt: z.ZodNullable<z.ZodString>;
11289
+ createdAt: z.ZodString;
11290
+ updatedAt: z.ZodString;
11291
+ }, z.core.$strip>;
11292
+ type ContentPipelineId = z.infer<typeof ContentPipelineIdSchema>;
11293
+ type ContentItemStatus = z.infer<typeof ContentItemStatusSchema>;
11294
+ type ContentPillar = z.infer<typeof ContentPillarSchema>;
11295
+ type ContentDistributionPlatform = z.infer<typeof ContentDistributionPlatformSchema>;
11296
+ type ContentDistributionFormat = z.infer<typeof ContentDistributionFormatSchema>;
11297
+ type ContentDistributionStatus = z.infer<typeof ContentDistributionStatusSchema>;
11298
+ type ContentPayloadEnvelope = z.infer<typeof ContentPayloadEnvelopeSchema>;
11299
+ type ContentItemResponse = z.infer<typeof ContentItemResponseSchema>;
11300
+ type ContentItemListResponse = z.infer<typeof ContentItemListResponseSchema>;
11301
+ type ContentItemAttemptResponse = z.infer<typeof ContentItemAttemptResponseSchema>;
11302
+ type ContentItemAttemptListResponse = z.infer<typeof ContentItemAttemptListResponseSchema>;
11303
+ type ContentDistributionResponse = z.infer<typeof ContentDistributionResponseSchema>;
11304
+
11005
11305
  /**
11006
11306
  * Tool Method Maps
11007
11307
  *
@@ -11939,6 +12239,149 @@ type ListToolMap = {
11939
12239
  result: string[];
11940
12240
  };
11941
12241
  };
12242
+ type ArtifactsToolMap = {
12243
+ listArtifacts: {
12244
+ params: {
12245
+ ownerKind: AcqArtifactOwnerKind;
12246
+ ownerId?: string | null;
12247
+ };
12248
+ result: {
12249
+ artifacts: AcqArtifactResponse[];
12250
+ };
12251
+ };
12252
+ createArtifact: {
12253
+ params: {
12254
+ ownerKind: AcqArtifactOwnerKind;
12255
+ ownerId?: string | null;
12256
+ kind: string;
12257
+ content: Record<string, unknown>;
12258
+ sourceExecutionId?: string;
12259
+ pipelineId?: string | null;
12260
+ };
12261
+ result: AcqArtifactResponse;
12262
+ };
12263
+ /**
12264
+ * The active governing document for a given pipeline and kind -- the
12265
+ * two-key lookup (pipeline_id, kind) every producer would otherwise
12266
+ * re-implement. Scoped per (organization, pipelineId, kind); a tenant runs
12267
+ * many pipelines at once, so this is never "the active artifact for the org."
12268
+ */
12269
+ getActive: {
12270
+ params: {
12271
+ pipelineId: string;
12272
+ kind: string;
12273
+ };
12274
+ result: {
12275
+ artifact: AcqArtifactResponse | null;
12276
+ };
12277
+ };
12278
+ };
12279
+ type ContentToolMap = {
12280
+ /** Insert a new `content_items` row -- a producer's entry point for a new piece. */
12281
+ createItem: {
12282
+ params: {
12283
+ title: string;
12284
+ body?: string | null;
12285
+ payload?: ContentPayloadEnvelope;
12286
+ status?: ContentItemStatus;
12287
+ pillar?: ContentPillar | null;
12288
+ pipelineId?: ContentPipelineId | null;
12289
+ clientId?: string | null;
12290
+ sourceAssetId?: string | null;
12291
+ };
12292
+ result: ContentItemResponse;
12293
+ };
12294
+ /** Fetch a single item by id, org-scoped -- read before advancing or reviewing a piece. */
12295
+ getItem: {
12296
+ params: {
12297
+ itemId: string;
12298
+ };
12299
+ result: ContentItemResponse | null;
12300
+ };
12301
+ /** Query items -- how a producer finds pieces awaiting a given step or status. */
12302
+ listItems: {
12303
+ params: {
12304
+ status?: ContentItemStatus;
12305
+ pillar?: ContentPillar;
12306
+ pipelineId?: ContentPipelineId;
12307
+ clientId?: string;
12308
+ limit?: number;
12309
+ offset?: number;
12310
+ };
12311
+ result: ContentItemListResponse;
12312
+ };
12313
+ /**
12314
+ * Update an item's mutable fields as it advances through the pipeline.
12315
+ * Does NOT accept a `processingState` field -- see Decision 4 above.
12316
+ */
12317
+ updateItem: {
12318
+ params: {
12319
+ itemId: string;
12320
+ title?: string;
12321
+ body?: string | null;
12322
+ status?: ContentItemStatus;
12323
+ pillar?: ContentPillar | null;
12324
+ pipelineId?: ContentPipelineId | null;
12325
+ clientId?: string | null;
12326
+ sourceAssetId?: string | null;
12327
+ };
12328
+ result: ContentItemResponse;
12329
+ };
12330
+ /**
12331
+ * Record a pipeline-step attempt against an item. `attemptNumber` is
12332
+ * assigned server-side inside the write (Decision 6) -- never
12333
+ * client-supplied, and never accepted here.
12334
+ */
12335
+ createAttempt: {
12336
+ params: {
12337
+ contentItemId: string;
12338
+ payload: ContentPayloadEnvelope;
12339
+ /** Which step this attempt implements. Stored as-is; NULL when omitted. */
12340
+ stepKey?: string | null;
12341
+ sourceExecutionId?: string | null;
12342
+ };
12343
+ result: ContentItemAttemptResponse;
12344
+ };
12345
+ /** List attempt history for an item -- a producer checks this before retrying a step. */
12346
+ listAttempts: {
12347
+ params: {
12348
+ contentItemId: string;
12349
+ };
12350
+ result: ContentItemAttemptListResponse;
12351
+ };
12352
+ /** Insert a `content_distributions` row for one platform/format target. */
12353
+ createDistribution: {
12354
+ params: {
12355
+ contentItemId: string;
12356
+ platform: ContentDistributionPlatform;
12357
+ format: ContentDistributionFormat;
12358
+ status?: ContentDistributionStatus;
12359
+ adaptedBody?: string | null;
12360
+ platformContent?: unknown;
12361
+ checklist?: unknown;
12362
+ mediaUrls?: unknown[];
12363
+ };
12364
+ result: ContentDistributionResponse;
12365
+ };
12366
+ /** Update a distribution's status, adapted content, or publish metadata. */
12367
+ updateDistribution: {
12368
+ params: {
12369
+ distributionId: string;
12370
+ status?: ContentDistributionStatus;
12371
+ adaptedBody?: string | null;
12372
+ platformContent?: unknown;
12373
+ checklist?: unknown;
12374
+ mediaUrls?: unknown[];
12375
+ publishMethod?: string | null;
12376
+ publishedAt?: string | null;
12377
+ platformPostId?: string | null;
12378
+ platformUrl?: string | null;
12379
+ metrics?: unknown;
12380
+ metricsUpdatedAt?: string | null;
12381
+ };
12382
+ result: ContentDistributionResponse;
12383
+ };
12384
+ };
11942
12385
  type PdfToolMap = {
11943
12386
  render: {
11944
12387
  params: {
@@ -13531,7 +13974,6 @@ interface ResourceGovernanceModel {
13531
13974
  ontology?: OrganizationModel['ontology'];
13532
13975
  topology?: OrganizationModel['topology'];
13533
13976
  roles?: OrganizationModel['roles'];
13534
- policies?: OrganizationModel['policies'];
13535
13977
  entities?: OrganizationModel['entities'];
13536
13978
  actions?: OrganizationModel['actions'];
13537
13979
  }
@@ -13795,4 +14237,4 @@ declare const ListBuilderStageKeySchema: z.ZodString;
13795
14237
  type ListBuilderStageKey = z.infer<typeof ListBuilderStageKeySchema>;
13796
14238
 
13797
14239
  export { ActivityEventSchema, BuildPlanSnapshotStepSchema, ProspectingBuildTemplateSchema as BuildTemplateSchema, ContractRefResolutionError, CrmStageKeySchema, CrmStateKeySchema, EmailSchema, ExecutionError, ListBuilderStageKeySchema, ProcessingStageStatusSchema, RegistryValidationError, ResourceRegistry, StepType, ToolingError, bindResourceDescriptor, compileBusinessOntologyValidationIndex, concurrentPool, createLeadGenStageValidators, defineContract, defineResource, defineResourceOntology, defineResources, defineStep, defineTopology, defineTopologyRelationship, defineWorkflow, defineWorkflowConfig, deriveActions, diagnosticOutput, integrationInput, isBuiltInReadinessProfile, isZodType, lookupReadinessProfile, parseTopologyNodeRef, projectDeploymentSpec, projectTopologyRelationships, registerReadinessProfile, resolveContractRef, runDiagnostic, splitName, toSdkResourceDescriptor, topologyRef, topologyRelationship, validateDeclaredSystemInterfaceReadiness, validateResourceGovernance, withPlatformAgentResourceDescriptor, withPlatformAgentResourceDescriptors, withPlatformIntegrationResourceDescriptor, withPlatformIntegrationResourceDescriptors, withPlatformResourceDescriptor, withPlatformResourceDescriptors };
13798
- export type { AbsoluteScheduleConfig, AcqCompany, AcqContact, AcqDeal, AcqDealRow, AcqList, Action, ActionDef, ActivityEvent, AddToCampaignLead, AddToCampaignParams, AddToCampaignResult, AgentConfig, AgentConstraints, AgentDefinition, AgentMemory, AgentResourceDescriptorResolver, FindCompanyEmailParams as AnymailfinderFindCompanyEmailParams, FindCompanyEmailResult as AnymailfinderFindCompanyEmailResult, FindDecisionMakerEmailParams as AnymailfinderFindDecisionMakerEmailParams, FindDecisionMakerEmailResult as AnymailfinderFindDecisionMakerEmailResult, FindPersonEmailParams as AnymailfinderFindPersonEmailParams, FindPersonEmailResult as AnymailfinderFindPersonEmailResult, AnymailfinderToolMap, VerifyEmailParams as AnymailfinderVerifyEmailParams, VerifyEmailResult as AnymailfinderVerifyEmailResult, ApifyToolMap, ApifyWebhookConfig, AppendRowsParams, AppendRowsResult, ApprovalToolMap, AttioToolMap, BatchUpdateParams, BatchUpdateResult, BuildPlanSnapshotStep, BulkDeleteLeadsParams, BulkDeleteLeadsResult, BulkImportParams, BulkImportResult, BusinessOntologyValidationIndex, CancelHitlByDealIdParams, CancelSchedulesAndHitlByEmailParams, ClearDealFieldsParams, ClearRangeParams, ClearRangeResult, ClickUpToolMap, CompanyFilters, ConcurrentPoolOptions, ConcurrentPoolResult, ConditionalNext, ContactFilters, Contract, ContractRefResolutionErrorCode, ContractRegistry, CreateAttributeParams, CreateAttributeResult, CreateAutoPaymentLinkParams, CreateAutoPaymentLinkResult, CreateCheckoutSessionParams, CreateCheckoutSessionResult, CreateCompanyParams, CreateContactParams, CreateEnvelopeParams, CreateEnvelopeResult, CreateFolderParams, CreateFolderResult, CreateListParams, CreateNoteParams, CreateNoteResult, CreatePaymentLinkParams, CreatePaymentLinkResult, CreateRecordParams, CreateRecordResult, CreateScheduleInput, CrmStageKey, CrmStateKey, CrmToolMap, DeleteDealParams, DeleteNoteParams, DeleteNoteResult, DeleteRecordParams, DeleteRecordResult, DeleteRowByValueParams, DeleteRowByValueResult, DeploymentSpec, DiagnosticOutput, DownloadDocumentParams, DownloadDocumentResult, DropboxToolMap, ElevasConfig, EmailToolMap, EnvelopeDocument, EventTriggerConfig, ExecutionContext, ExecutionInterface, ExecutionMetadata, ExecutionToolMap, FilterExpression, FilterRowsParams, FilterRowsResult, FormField, FormFieldType, FormSchema, GetDailyCampaignAnalyticsParams, GetDailyCampaignAnalyticsResult, GetEmailsParams, GetEmailsResult, GetEnvelopeParams, GetEnvelopeResult, GetHeadersParams, GetHeadersResult, GetLastRowParams, GetLastRowResult, GetPaymentLinkParams, GetPaymentLinkResult, GetRecordParams, GetRecordResult, GetRowByValueParams, GetRowByValueResult, GetSpreadsheetMetadataParams, GetSpreadsheetMetadataResult, GmailSendEmailParams, GmailSendEmailResult, GmailToolMap, GoogleSheetsToolMap, HumanCheckpointDefinition, InstantlyToolMap, IntegrationDefinition, IntegrationResourceDescriptorResolver, JsonSchema, LLMAdapterFactory, LLMGenerateRequest, LLMGenerateResponse, LLMMessage, LLMModel, LeadGenStageValidators, LeadToolMap, LinearNext, ListAttributesParams, ListAttributesResult, ListBuilderStageKey, ListBuilderStep, ListLeadsParams, ListLeadsResult, ListNotesParams, ListNotesResult, ListObjectsResult, ListPaymentLinksParams, ListPaymentLinksResult, ListToolMap, MarkProposalReviewedParams, MarkProposalSentParams, MethodEntry, MillionVerifierToolMap, ModelConfig, NextConfig, NotificationSDKInput, NotificationToolMap, OrganizationModelAgentResourceEntry, OrganizationModelIntegrationResourceEntry, OrganizationModelResourceEntry, OrganizationModelResourceOntologyBinding, OrganizationModelTopology, OrganizationModelTopologyNodeRef, OrganizationModelTopologyRelationship, OrganizationModelWorkflowResourceEntry, PaginatedResult, PaginationParams, PdfToolMap, ProcessingStageStatus, ProjectDeploymentSpecOptions, ProjectsToolMap, QueryRecordsParams, QueryRecordsResult, ReadSheetParams, ReadSheetResult, ReadinessProfileEntry, ReadinessProfileKind, Recipient, RecurringScheduleConfig, RelationshipDeclaration, RelativeScheduleConfig, RemoveFromSubsequenceParams, RemoveFromSubsequenceResult, ResendGetEmailParams, ResendGetEmailResult, ResendSendEmailParams, ResendSendEmailResult, ResendToolMap, ResolvedContractRef, ResourceCategory, ResourceDefinition, ResourceLink, ResourceMetricsConfig, ResourceOntologyBindingResolver, ResourceRelationships, ResourceStatus$1 as ResourceStatus, ResourceType, RunActorParams, RunActorResult, SDKLLMGenerateParams, ScheduleOriginTracking, ScheduleTarget, ScheduleTriggerConfig, SchedulerToolMap, SendReplyParams, SendReplyResult, SetContactNurtureParams, SheetInfo, SignatureApiFieldType, SignatureApiToolMap, SigningPlace, SortCriteria, StartActorParams, StartActorResult, StepHandler, StorageDeleteInput, StorageDeleteOutput, StorageDownloadInput, StorageDownloadOutput, StorageListInput, StorageListOutput, StorageSignedUrlInput, StorageSignedUrlOutput, StorageToolMap, StorageUploadInput, StorageUploadOutput, StripeToolMap, SystemApiInterfaceReadinessContract, TaskSchedule, TaskScheduleConfig, TombaToolMap, Tool, ToolExecutionOptions, ToolMethodMap, ToolingErrorType, TransitionItemParams, TriggerConfig, TriggerDefinition, UpdateAttributeParams, UpdateAttributeResult, UpdateCloseLostReasonParams, UpdateCompanyParams, UpdateContactParams, UpdateDiscoveryDataParams, UpdateFeesParams, UpdateInterestStatusParams, UpdateInterestStatusResult, UpdateListParams, UpdatePaymentLinkParams, UpdatePaymentLinkResult, UpdateProposalDataParams, UpdateRecordParams, UpdateRecordResult, UpdateRowByValueParams, UpdateRowByValueResult, UploadFileParams, UploadFileResult, UpsertCompanyParams, UpsertContactParams, UpsertDealParams, UpsertRowParams, UpsertRowResult, VoidEnvelopeParams, VoidEnvelopeResult, WebhookProviderType, WebhookTriggerConfig, WorkflowConfig, WorkflowConfigActionRegistry, WorkflowDefinition, WorkflowLogger, WorkflowResourceDescriptorMap, WorkflowResourceDescriptorResolver, WorkflowStep, WriteSheetParams, WriteSheetResult };
14240
+ export type { AbsoluteScheduleConfig, AcqCompany, AcqContact, AcqDeal, AcqDealRow, AcqList, Action, ActionDef, ActivityEvent, AddToCampaignLead, AddToCampaignParams, AddToCampaignResult, AgentConfig, AgentConstraints, AgentDefinition, AgentMemory, AgentResourceDescriptorResolver, FindCompanyEmailParams as AnymailfinderFindCompanyEmailParams, FindCompanyEmailResult as AnymailfinderFindCompanyEmailResult, FindDecisionMakerEmailParams as AnymailfinderFindDecisionMakerEmailParams, FindDecisionMakerEmailResult as AnymailfinderFindDecisionMakerEmailResult, FindPersonEmailParams as AnymailfinderFindPersonEmailParams, FindPersonEmailResult as AnymailfinderFindPersonEmailResult, AnymailfinderToolMap, VerifyEmailParams as AnymailfinderVerifyEmailParams, VerifyEmailResult as AnymailfinderVerifyEmailResult, ApifyToolMap, ApifyWebhookConfig, AppendRowsParams, AppendRowsResult, ApprovalToolMap, ArtifactsToolMap, AttioToolMap, BatchUpdateParams, BatchUpdateResult, BuildPlanSnapshotStep, BulkDeleteLeadsParams, BulkDeleteLeadsResult, BulkImportParams, BulkImportResult, BusinessOntologyValidationIndex, CancelHitlByDealIdParams, CancelSchedulesAndHitlByEmailParams, ClearDealFieldsParams, ClearRangeParams, ClearRangeResult, ClickUpToolMap, CompanyFilters, ConcurrentPoolOptions, ConcurrentPoolResult, ConditionalNext, ContactFilters, ContentToolMap, Contract, ContractRefResolutionErrorCode, ContractRegistry, CreateAttributeParams, CreateAttributeResult, CreateAutoPaymentLinkParams, CreateAutoPaymentLinkResult, CreateCheckoutSessionParams, CreateCheckoutSessionResult, CreateCompanyParams, CreateContactParams, CreateEnvelopeParams, CreateEnvelopeResult, CreateFolderParams, CreateFolderResult, CreateListParams, CreateNoteParams, CreateNoteResult, CreatePaymentLinkParams, CreatePaymentLinkResult, CreateRecordParams, CreateRecordResult, CreateScheduleInput, CrmStageKey, CrmStateKey, CrmToolMap, DeleteDealParams, DeleteNoteParams, DeleteNoteResult, DeleteRecordParams, DeleteRecordResult, DeleteRowByValueParams, DeleteRowByValueResult, DeploymentSpec, DiagnosticOutput, DownloadDocumentParams, DownloadDocumentResult, DropboxToolMap, ElevasConfig, EmailToolMap, EnvelopeDocument, EventTriggerConfig, ExecutionContext, ExecutionInterface, ExecutionMetadata, ExecutionToolMap, FilterExpression, FilterRowsParams, FilterRowsResult, FormField, FormFieldType, FormSchema, GetDailyCampaignAnalyticsParams, GetDailyCampaignAnalyticsResult, GetEmailsParams, GetEmailsResult, GetEnvelopeParams, GetEnvelopeResult, GetHeadersParams, GetHeadersResult, GetLastRowParams, GetLastRowResult, GetPaymentLinkParams, GetPaymentLinkResult, GetRecordParams, GetRecordResult, GetRowByValueParams, GetRowByValueResult, GetSpreadsheetMetadataParams, GetSpreadsheetMetadataResult, GmailSendEmailParams, GmailSendEmailResult, GmailToolMap, GoogleSheetsToolMap, HumanCheckpointDefinition, InstantlyToolMap, IntegrationDefinition, IntegrationResourceDescriptorResolver, JsonSchema, LLMAdapterFactory, LLMGenerateRequest, LLMGenerateResponse, LLMMessage, LLMModel, LeadGenStageValidators, LeadToolMap, LinearNext, ListAttributesParams, ListAttributesResult, ListBuilderStageKey, ListBuilderStep, ListLeadsParams, ListLeadsResult, ListNotesParams, ListNotesResult, ListObjectsResult, ListPaymentLinksParams, ListPaymentLinksResult, ListToolMap, MarkProposalReviewedParams, MarkProposalSentParams, MethodEntry, MillionVerifierToolMap, ModelConfig, NextConfig, NotificationSDKInput, NotificationToolMap, OrganizationModelAgentResourceEntry, OrganizationModelIntegrationResourceEntry, OrganizationModelResourceEntry, OrganizationModelResourceOntologyBinding, OrganizationModelTopology, OrganizationModelTopologyNodeRef, OrganizationModelTopologyRelationship, OrganizationModelWorkflowResourceEntry, PaginatedResult, PaginationParams, PdfToolMap, ProcessingStageStatus, ProjectDeploymentSpecOptions, ProjectsToolMap, QueryRecordsParams, QueryRecordsResult, ReadSheetParams, ReadSheetResult, ReadinessProfileEntry, ReadinessProfileKind, Recipient, RecurringScheduleConfig, RelationshipDeclaration, RelativeScheduleConfig, RemoveFromSubsequenceParams, RemoveFromSubsequenceResult, ResendGetEmailParams, ResendGetEmailResult, ResendSendEmailParams, ResendSendEmailResult, ResendToolMap, ResolvedContractRef, ResourceCategory, ResourceDefinition, ResourceLink, ResourceMetricsConfig, ResourceOntologyBindingResolver, ResourceRelationships, ResourceStatus$1 as ResourceStatus, ResourceType, RunActorParams, RunActorResult, SDKLLMGenerateParams, ScheduleOriginTracking, ScheduleTarget, ScheduleTriggerConfig, SchedulerToolMap, SendReplyParams, SendReplyResult, SetContactNurtureParams, SheetInfo, SignatureApiFieldType, SignatureApiToolMap, SigningPlace, SortCriteria, StartActorParams, StartActorResult, StepHandler, StorageDeleteInput, StorageDeleteOutput, StorageDownloadInput, StorageDownloadOutput, StorageListInput, StorageListOutput, StorageSignedUrlInput, StorageSignedUrlOutput, StorageToolMap, StorageUploadInput, StorageUploadOutput, StripeToolMap, SystemApiInterfaceReadinessContract, TaskSchedule, TaskScheduleConfig, TombaToolMap, Tool, ToolExecutionOptions, ToolMethodMap, ToolingErrorType, TransitionItemParams, TriggerConfig, TriggerDefinition, UpdateAttributeParams, UpdateAttributeResult, UpdateCloseLostReasonParams, UpdateCompanyParams, UpdateContactParams, UpdateDiscoveryDataParams, UpdateFeesParams, UpdateInterestStatusParams, UpdateInterestStatusResult, UpdateListParams, UpdatePaymentLinkParams, UpdatePaymentLinkResult, UpdateProposalDataParams, UpdateRecordParams, UpdateRecordResult, UpdateRowByValueParams, UpdateRowByValueResult, UploadFileParams, UploadFileResult, UpsertCompanyParams, UpsertContactParams, UpsertDealParams, UpsertRowParams, UpsertRowResult, VoidEnvelopeParams, VoidEnvelopeResult, WebhookProviderType, WebhookTriggerConfig, WorkflowConfig, WorkflowConfigActionRegistry, WorkflowDefinition, WorkflowLogger, WorkflowResourceDescriptorMap, WorkflowResourceDescriptorResolver, WorkflowStep, WriteSheetParams, WriteSheetResult };