@nivaro/sdk 0.1.27 → 0.1.28
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.ts +313 -9
- package/dist/index.js +74 -3
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -2619,6 +2619,15 @@ interface ChatMessage {
|
|
|
2619
2619
|
deleted_at?: ISODate | null;
|
|
2620
2620
|
attachments: string[];
|
|
2621
2621
|
reactions: ChatReaction[];
|
|
2622
|
+
/** Thread reply: the root it answers. */
|
|
2623
|
+
parent_id?: number | null;
|
|
2624
|
+
/** Thread summary on a root. */
|
|
2625
|
+
thread?: {
|
|
2626
|
+
count: number;
|
|
2627
|
+
last_reply_at: ISODate | null;
|
|
2628
|
+
} | null;
|
|
2629
|
+
/** The connected app (an AI assistant over MCP) that posted it for the sender. */
|
|
2630
|
+
via_app?: string | null;
|
|
2622
2631
|
}
|
|
2623
2632
|
interface ChatPin {
|
|
2624
2633
|
pin_id: number;
|
|
@@ -2658,19 +2667,33 @@ declare function listChatRooms(): Command<{
|
|
|
2658
2667
|
declare function readChatDirectory(search?: string): Command<{
|
|
2659
2668
|
data: ChatDirectoryChannel[];
|
|
2660
2669
|
}>;
|
|
2661
|
-
/**
|
|
2670
|
+
/**
|
|
2671
|
+
* Newest messages in a room, ascending for rendering. `before` = message id cursor;
|
|
2672
|
+
* `thread` = a root message id (its replies instead of the timeline).
|
|
2673
|
+
*/
|
|
2662
2674
|
declare function listChatMessages(room: string, options?: {
|
|
2663
2675
|
before?: number;
|
|
2664
2676
|
limit?: number;
|
|
2677
|
+
thread?: number;
|
|
2665
2678
|
}): Command<{
|
|
2666
2679
|
data: ChatMessage[];
|
|
2680
|
+
meta?: {
|
|
2681
|
+
has_older: boolean;
|
|
2682
|
+
has_newer: boolean;
|
|
2683
|
+
anchor: number | null;
|
|
2684
|
+
};
|
|
2667
2685
|
}>;
|
|
2668
|
-
/**
|
|
2686
|
+
/**
|
|
2687
|
+
* Send a message. `attachments` = uploaded nivaro_files ids; mentions notify explicitly;
|
|
2688
|
+
* `parent_id` replies in a thread; `client_id` makes a retry return the first send.
|
|
2689
|
+
*/
|
|
2669
2690
|
declare function sendChatMessage(body: {
|
|
2670
2691
|
room: string;
|
|
2671
2692
|
message?: string;
|
|
2672
2693
|
mentions?: string[];
|
|
2673
2694
|
attachments?: string[];
|
|
2695
|
+
parent_id?: number | null;
|
|
2696
|
+
client_id?: string | null;
|
|
2674
2697
|
}): Command<{
|
|
2675
2698
|
data: ChatMessage;
|
|
2676
2699
|
}>;
|
|
@@ -3013,7 +3036,9 @@ interface AccessReason {
|
|
|
3013
3036
|
}
|
|
3014
3037
|
/** Why a record is (in)visible to the current user — each access gate re-run
|
|
3015
3038
|
* separately, reasons only, never record data. */
|
|
3016
|
-
declare function explainRecordAccess(collection: string, id: string | number
|
|
3039
|
+
declare function explainRecordAccess(collection: string, id: string | number, opts?: {
|
|
3040
|
+
user_id?: string;
|
|
3041
|
+
}): Command<{
|
|
3017
3042
|
data: {
|
|
3018
3043
|
access: boolean;
|
|
3019
3044
|
reasons: AccessReason[];
|
|
@@ -3677,6 +3702,72 @@ declare function readDistinctValues(collection: string, field: string, options?:
|
|
|
3677
3702
|
data: unknown[];
|
|
3678
3703
|
}>;
|
|
3679
3704
|
|
|
3705
|
+
/**
|
|
3706
|
+
* Dashboard commands: the Dashboards builder's boards and their widget figures.
|
|
3707
|
+
* Every figure computes AS THE CALLER — read permission, the role's row filter,
|
|
3708
|
+
* User Scopes and the role's field list bind it, exactly as for the person in
|
|
3709
|
+
* the app. Report Studio reports are in commands/admin (`listReports`).
|
|
3710
|
+
*/
|
|
3711
|
+
|
|
3712
|
+
type DashboardWidgetType = 'count' | 'sum' | 'avg' | 'latest' | 'bar_chart' | 'line_chart' | 'saved_view' | (string & {});
|
|
3713
|
+
/** A dashboard filter: binds only widgets whose collection has the field. */
|
|
3714
|
+
interface DashboardFilter {
|
|
3715
|
+
field: string;
|
|
3716
|
+
value: unknown;
|
|
3717
|
+
op?: 'eq' | 'neq' | 'gt' | 'gte' | 'lt' | 'lte' | 'contains' | 'in';
|
|
3718
|
+
}
|
|
3719
|
+
interface DashboardWidget {
|
|
3720
|
+
id: UUID;
|
|
3721
|
+
dashboard: UUID;
|
|
3722
|
+
type: DashboardWidgetType;
|
|
3723
|
+
title: string;
|
|
3724
|
+
collection: string | null;
|
|
3725
|
+
/** The summed/averaged field, the `latest` column list, or a saved view id. */
|
|
3726
|
+
field: string | null;
|
|
3727
|
+
filters: unknown;
|
|
3728
|
+
col: number;
|
|
3729
|
+
row: number;
|
|
3730
|
+
width: number;
|
|
3731
|
+
height: number;
|
|
3732
|
+
refresh_seconds?: number | null;
|
|
3733
|
+
}
|
|
3734
|
+
interface Dashboard {
|
|
3735
|
+
id: UUID;
|
|
3736
|
+
name: string;
|
|
3737
|
+
user: UUID | null;
|
|
3738
|
+
is_shared: boolean;
|
|
3739
|
+
role_id: UUID | null;
|
|
3740
|
+
/** The saved filter bar the board opens with. */
|
|
3741
|
+
global_filters: DashboardFilter[] | null;
|
|
3742
|
+
widgets: DashboardWidget[];
|
|
3743
|
+
created_at: ISODate;
|
|
3744
|
+
updated_at: ISODate;
|
|
3745
|
+
}
|
|
3746
|
+
/** count / sum / avg / saved_view → value; latest → rows; bar/line charts → daily rows. */
|
|
3747
|
+
interface DashboardWidgetData {
|
|
3748
|
+
value?: number | null;
|
|
3749
|
+
rows?: Array<Record<string, unknown>>;
|
|
3750
|
+
sum_field?: string | null;
|
|
3751
|
+
view?: {
|
|
3752
|
+
id: number;
|
|
3753
|
+
name: string;
|
|
3754
|
+
collection: string;
|
|
3755
|
+
};
|
|
3756
|
+
reason?: string;
|
|
3757
|
+
}
|
|
3758
|
+
/** The caller's own dashboards plus those shared with everyone or with their role. */
|
|
3759
|
+
declare function listDashboards(): Command<{
|
|
3760
|
+
data: Dashboard[];
|
|
3761
|
+
}>;
|
|
3762
|
+
/** One dashboard with its widgets (403 when it is neither the caller's nor shared with them). */
|
|
3763
|
+
declare function readDashboard(id: UUID): Command<{
|
|
3764
|
+
data: Dashboard;
|
|
3765
|
+
}>;
|
|
3766
|
+
/** One widget's figure, computed as the caller; `filters` = the dashboard filter bar. */
|
|
3767
|
+
declare function readDashboardWidgetData(widgetId: UUID, filters?: DashboardFilter[] | null): Command<{
|
|
3768
|
+
data: DashboardWidgetData | null;
|
|
3769
|
+
}>;
|
|
3770
|
+
|
|
3680
3771
|
/**
|
|
3681
3772
|
* Layout editor commands: the bundle + atomic ops save model, the overview and
|
|
3682
3773
|
* "which form opens" explain reads, the editor's read-only canvas projection,
|
|
@@ -3831,6 +3922,10 @@ type LayoutPatch = Partial<{
|
|
|
3831
3922
|
hide_empty: boolean;
|
|
3832
3923
|
/** Required change note (#2654): null = off, 'note' = a reason, 'note_ticket' = reason + ticket. */
|
|
3833
3924
|
change_note: 'note' | 'note_ticket' | null;
|
|
3925
|
+
/** How people enter data on the form (#2702 #2707 #2708 #2710 #2728): presets, keyboard, tab order, mode, badge. */
|
|
3926
|
+
entry_config: Record<string, unknown> | null;
|
|
3927
|
+
/** A section as an email body (#2725): the group key whose fields notification emails show. */
|
|
3928
|
+
email_summary_group: string | null;
|
|
3834
3929
|
}>;
|
|
3835
3930
|
type LayoutRow = Record<string, unknown> & {
|
|
3836
3931
|
id: number;
|
|
@@ -3889,10 +3984,10 @@ declare const PLACEMENT_PATCH_KEYS: readonly ["label_override", "is_visible", "d
|
|
|
3889
3984
|
/** #2608: the longest stored editor note (the JSON around its text included). */
|
|
3890
3985
|
declare const EDITOR_NOTE_MAX = 4000;
|
|
3891
3986
|
declare const GROUP_PATCH_KEYS: readonly ["label", "type", "icon", "is_collapsed", "tab_mode", "hide_when_empty", "visibility_mode", "summary_fields", "summary_hide_empty", "swap_config", "skip_if_filled", "content", "content_tone", "visible_when", "hidden_for_roles", "locked_for_roles", "read_width", "editor_note", "i18n"];
|
|
3892
|
-
declare const LAYOUT_PATCH_KEYS: readonly ["name", "slug", "create_label", "create_hidden", "sort", "is_active", "disable_comments", "disable_tasks", "tab_mode", "validate_before_next", "summary_enabled", "summary_hide_empty", "ai_enabled", "accordion_mode", "disable_revisions", "disable_clone", "disable_delete", "row_order_field", "pdf_theme", "pdf_template_id", "pdf_cover_enabled", "pdf_cover_title_field", "pdf_cover_subtitle", "pdf_show_logo", "pdf_page_size", "pdf_orientation", "pdf_button_label", "conditions", "allow_schedule", "allow_disable_pickers", "layout_type", "addendum_layout_id", "workflow_template_id", "single_active_addendum", "addendum_default_view", "record_conditions", "default_values", "display_mode", "parent_layout_id", "hide_integrity_banner", "hide_sla_banner", "changes_tray", "dossier_enabled", "dossier_label", "quick_picker", "sheet_width", "header_fields", "hide_empty", "change_note"];
|
|
3987
|
+
declare const LAYOUT_PATCH_KEYS: readonly ["name", "slug", "create_label", "create_hidden", "sort", "is_active", "disable_comments", "disable_tasks", "tab_mode", "validate_before_next", "summary_enabled", "summary_hide_empty", "ai_enabled", "accordion_mode", "disable_revisions", "disable_clone", "disable_delete", "row_order_field", "pdf_theme", "pdf_template_id", "pdf_cover_enabled", "pdf_cover_title_field", "pdf_cover_subtitle", "pdf_show_logo", "pdf_page_size", "pdf_orientation", "pdf_button_label", "conditions", "allow_schedule", "allow_disable_pickers", "layout_type", "addendum_layout_id", "workflow_template_id", "single_active_addendum", "addendum_default_view", "record_conditions", "default_values", "display_mode", "parent_layout_id", "hide_integrity_banner", "hide_sla_banner", "changes_tray", "dossier_enabled", "dossier_label", "quick_picker", "sheet_width", "header_fields", "hide_empty", "change_note", "entry_config", "email_summary_group"];
|
|
3893
3988
|
/** Why a layout won resolution. */
|
|
3894
3989
|
interface LayoutPickReason {
|
|
3895
|
-
kind: 'record_rule' | 'role' | 'default' | 'fallback' | 'slug' | 'type_use';
|
|
3990
|
+
kind: 'record_rule' | 'role' | 'default' | 'fallback' | 'slug' | 'type_use' | 'phone';
|
|
3896
3991
|
rules?: Array<{
|
|
3897
3992
|
field: string;
|
|
3898
3993
|
op: string;
|
|
@@ -3901,6 +3996,10 @@ interface LayoutPickReason {
|
|
|
3901
3996
|
role_ids?: string[];
|
|
3902
3997
|
role_names?: string[];
|
|
3903
3998
|
type_use?: string;
|
|
3999
|
+
/** kind 'phone': the desktop form this phone version stands in for, and why that won. */
|
|
4000
|
+
phone_of?: number;
|
|
4001
|
+
phone_of_name?: string;
|
|
4002
|
+
desktop_kind?: LayoutPickReason['kind'];
|
|
3904
4003
|
}
|
|
3905
4004
|
interface LayoutOverviewRow {
|
|
3906
4005
|
layout_id: number;
|
|
@@ -3926,6 +4025,23 @@ interface LayoutOverviewRow {
|
|
|
3926
4025
|
label: string;
|
|
3927
4026
|
}>;
|
|
3928
4027
|
warnings: string[];
|
|
4028
|
+
/** The days the form resolves on, and where today falls. */
|
|
4029
|
+
active_window?: {
|
|
4030
|
+
from: string | null;
|
|
4031
|
+
until: string | null;
|
|
4032
|
+
state: 'before' | 'open' | 'after';
|
|
4033
|
+
};
|
|
4034
|
+
/** This form's phone version / the form this one is the phone version of. */
|
|
4035
|
+
phone_version?: {
|
|
4036
|
+
layout_id: number;
|
|
4037
|
+
name: string;
|
|
4038
|
+
} | null;
|
|
4039
|
+
phone_of?: number | null;
|
|
4040
|
+
/** Edits refused until this day. */
|
|
4041
|
+
frozen?: {
|
|
4042
|
+
until: string;
|
|
4043
|
+
reason: string;
|
|
4044
|
+
} | null;
|
|
3929
4045
|
}
|
|
3930
4046
|
/**
|
|
3931
4047
|
* "Which form does each kind of record get?" Every layout of a collection,
|
|
@@ -3940,13 +4056,17 @@ declare function readLayoutOverview(collection: string): Command<{
|
|
|
3940
4056
|
/**
|
|
3941
4057
|
* Which layout a saved record opens with, and why: the resolution itself, with
|
|
3942
4058
|
* each candidate's check. `role_id` tests as that role (none = as an admin);
|
|
3943
|
-
* `slug` pins a layout by its link name
|
|
4059
|
+
* `slug` pins a layout by its link name; `viewport: 'phone'` answers as on a
|
|
4060
|
+
* small screen (phone versions); `at` (yyyy-mm-dd) as on that day (active
|
|
4061
|
+
* dates). Admin only.
|
|
3944
4062
|
*/
|
|
3945
4063
|
declare function explainLayout(query: {
|
|
3946
4064
|
collection: string;
|
|
3947
4065
|
item?: string | number;
|
|
3948
4066
|
role_id?: string;
|
|
3949
4067
|
slug?: string;
|
|
4068
|
+
viewport?: 'phone';
|
|
4069
|
+
at?: string;
|
|
3950
4070
|
}): Command<{
|
|
3951
4071
|
data: {
|
|
3952
4072
|
layout_id: number | null;
|
|
@@ -3956,6 +4076,8 @@ declare function explainLayout(query: {
|
|
|
3956
4076
|
matched: boolean;
|
|
3957
4077
|
why: string;
|
|
3958
4078
|
}>;
|
|
4079
|
+
at: string;
|
|
4080
|
+
viewport: 'phone' | null;
|
|
3959
4081
|
};
|
|
3960
4082
|
}>;
|
|
3961
4083
|
/**
|
|
@@ -3969,7 +4091,9 @@ declare function readLayoutBundle(layoutId: number): Command<LayoutBundle>;
|
|
|
3969
4091
|
* 409 `{ error: 'stale', bundle }` when the layout changed since `base_rev`
|
|
3970
4092
|
* (re-apply on `response.bundle`), 400 `{ error, op_index }` when an op is
|
|
3971
4093
|
* refused, 400 `{ error, code: 'CHANGE_NOTE_REQUIRED' }` when the layout's
|
|
3972
|
-
* `change_note` asks for a `reason` (and `ticket`) the batch lacks
|
|
4094
|
+
* `change_note` asks for a `reason` (and `ticket`) the batch lacks, 400
|
|
4095
|
+
* `{ error, code: 'LAYOUT_FROZEN', freeze }` while the layout is frozen and
|
|
4096
|
+
* the batch carries no `freeze_override` note. Admin only.
|
|
3973
4097
|
*/
|
|
3974
4098
|
declare function submitLayoutOps(layoutId: number, body: {
|
|
3975
4099
|
ops: LayoutOp[];
|
|
@@ -3977,6 +4101,7 @@ declare function submitLayoutOps(layoutId: number, body: {
|
|
|
3977
4101
|
note?: string | null;
|
|
3978
4102
|
reason?: string | null;
|
|
3979
4103
|
ticket?: string | null;
|
|
4104
|
+
freeze_override?: string | null;
|
|
3980
4105
|
}): Command<LayoutBundle>;
|
|
3981
4106
|
/** One saved version of a layout (the snapshot itself). Admin only. */
|
|
3982
4107
|
declare function readLayoutVersion(layoutId: number, versionId: number): Command<{
|
|
@@ -4451,10 +4576,12 @@ declare function readCollectionLayouts(collection: string): Command<{
|
|
|
4451
4576
|
}>;
|
|
4452
4577
|
/** Read the active layout for a collection with groups + assignments. */
|
|
4453
4578
|
declare function readActiveLayout(collection: string,
|
|
4454
|
-
/** `slug` pins a layout by link name; `item` resolves record-conditional layouts
|
|
4579
|
+
/** `slug` pins a layout by link name; `item` resolves record-conditional layouts;
|
|
4580
|
+
* `viewport: 'phone'` gets a form's phone version where it has one. */
|
|
4455
4581
|
opts?: {
|
|
4456
4582
|
slug?: string;
|
|
4457
4583
|
item?: string | number;
|
|
4584
|
+
viewport?: 'phone';
|
|
4458
4585
|
}): Command<{
|
|
4459
4586
|
data: {
|
|
4460
4587
|
layout: CollectionLayout;
|
|
@@ -4860,6 +4987,82 @@ declare function startMasquerade(userId: string): Command<{
|
|
|
4860
4987
|
declare function stopMasquerade(): Command<{
|
|
4861
4988
|
ok: boolean;
|
|
4862
4989
|
}>;
|
|
4990
|
+
/** A tool this instance adds to MCP: an extension's, or a custom query / flow
|
|
4991
|
+
* an administrator exposed under its own name. */
|
|
4992
|
+
interface InstanceToolEntry {
|
|
4993
|
+
name: string;
|
|
4994
|
+
title: string;
|
|
4995
|
+
description: string;
|
|
4996
|
+
/** JSON Schema object for the tool's input. */
|
|
4997
|
+
input_schema: Record<string, unknown>;
|
|
4998
|
+
read_only: boolean;
|
|
4999
|
+
source: {
|
|
5000
|
+
kind: 'extension';
|
|
5001
|
+
extension: string;
|
|
5002
|
+
} | {
|
|
5003
|
+
kind: 'custom_query';
|
|
5004
|
+
slug: string;
|
|
5005
|
+
} | {
|
|
5006
|
+
kind: 'flow';
|
|
5007
|
+
flow_id: string;
|
|
5008
|
+
};
|
|
5009
|
+
}
|
|
5010
|
+
/** The instance tools the caller may use. */
|
|
5011
|
+
declare function listInstanceTools(): Command<{
|
|
5012
|
+
data: InstanceToolEntry[];
|
|
5013
|
+
}>;
|
|
5014
|
+
/** Run one instance tool as the caller. */
|
|
5015
|
+
declare function callInstanceTool(name: string, input?: Record<string, unknown>): Command<{
|
|
5016
|
+
data: unknown;
|
|
5017
|
+
}>;
|
|
5018
|
+
/** A custom query or flow an administrator exposed as a named MCP tool. */
|
|
5019
|
+
interface NamedMcpToolConfig {
|
|
5020
|
+
name: string;
|
|
5021
|
+
title?: string;
|
|
5022
|
+
description: string;
|
|
5023
|
+
kind: 'custom_query' | 'flow';
|
|
5024
|
+
/** The query's slug, or the flow's id. */
|
|
5025
|
+
ref: string;
|
|
5026
|
+
access: 'admin' | 'authenticated';
|
|
5027
|
+
read_only: boolean;
|
|
5028
|
+
enabled: boolean;
|
|
5029
|
+
params?: Array<{
|
|
5030
|
+
name: string;
|
|
5031
|
+
type: 'string' | 'number' | 'integer' | 'boolean' | 'date';
|
|
5032
|
+
required?: boolean;
|
|
5033
|
+
description?: string;
|
|
5034
|
+
}>;
|
|
5035
|
+
}
|
|
5036
|
+
interface McpToolsConfig {
|
|
5037
|
+
/** False until the database has migration 473. */
|
|
5038
|
+
ready: boolean;
|
|
5039
|
+
tools: NamedMcpToolConfig[];
|
|
5040
|
+
extension_tools: Array<{
|
|
5041
|
+
name: string;
|
|
5042
|
+
title: string;
|
|
5043
|
+
extension: string;
|
|
5044
|
+
description: string;
|
|
5045
|
+
read_only: boolean;
|
|
5046
|
+
enabled: boolean;
|
|
5047
|
+
stats: {
|
|
5048
|
+
calls: number;
|
|
5049
|
+
errors: number;
|
|
5050
|
+
last_used_at: string | null;
|
|
5051
|
+
last_error: string | null;
|
|
5052
|
+
};
|
|
5053
|
+
}>;
|
|
5054
|
+
builtin_names: string[];
|
|
5055
|
+
}
|
|
5056
|
+
/** Named MCP tools + extension tools (admin). */
|
|
5057
|
+
declare function readMcpToolsConfig(): Command<{
|
|
5058
|
+
data: McpToolsConfig;
|
|
5059
|
+
}>;
|
|
5060
|
+
/** Replace the named MCP tools (admin). */
|
|
5061
|
+
declare function saveMcpToolsConfig(tools: NamedMcpToolConfig[]): Command<{
|
|
5062
|
+
data: {
|
|
5063
|
+
tools: NamedMcpToolConfig[];
|
|
5064
|
+
};
|
|
5065
|
+
}>;
|
|
4863
5066
|
|
|
4864
5067
|
/**
|
|
4865
5068
|
* File manager commands: listing, metadata, presigned uploads, updates,
|
|
@@ -6015,6 +6218,21 @@ declare function resolveLayoutProposal(layoutId: number, proposalId: string, out
|
|
|
6015
6218
|
};
|
|
6016
6219
|
}>;
|
|
6017
6220
|
|
|
6221
|
+
/**
|
|
6222
|
+
* MCP server support: which optional tool sets a credential gets.
|
|
6223
|
+
*/
|
|
6224
|
+
|
|
6225
|
+
interface McpCapabilities {
|
|
6226
|
+
/** The read-only admin/ops and layout tools (an administrator not on a collection-scoped key). */
|
|
6227
|
+
admin_tools: boolean;
|
|
6228
|
+
/** Chat tools (#2492): none, reading only, or reading and posting. */
|
|
6229
|
+
chat: 'none' | 'read' | 'post';
|
|
6230
|
+
}
|
|
6231
|
+
/** What the MCP server may offer this credential (GET /api/mcp/capabilities). */
|
|
6232
|
+
declare function readMcpCapabilities(): Command<{
|
|
6233
|
+
data: McpCapabilities;
|
|
6234
|
+
}>;
|
|
6235
|
+
|
|
6018
6236
|
/**
|
|
6019
6237
|
* Operations reads (admin): readiness, detailed health, this process's runtime
|
|
6020
6238
|
* stats, the instance roster, the DB connection pool, expensive SQL, the
|
|
@@ -6562,6 +6780,92 @@ declare function setQueueDefaultView(id: UUID, viewId: number | null): Command<{
|
|
|
6562
6780
|
};
|
|
6563
6781
|
}>;
|
|
6564
6782
|
|
|
6783
|
+
/**
|
|
6784
|
+
* Support desk commands (/api/support) — tickets live on Tasks (kind 'support').
|
|
6785
|
+
* Requesters see their own; desk members (a routed team) and administrators the
|
|
6786
|
+
* desk. Every gate is the API's, not the SDK's.
|
|
6787
|
+
*/
|
|
6788
|
+
|
|
6789
|
+
type SupportTicketStatus = 'open' | 'in_progress' | 'done' | 'cancelled';
|
|
6790
|
+
interface SupportTicket {
|
|
6791
|
+
id: number;
|
|
6792
|
+
title: string;
|
|
6793
|
+
description: string | null;
|
|
6794
|
+
status: SupportTicketStatus;
|
|
6795
|
+
status_label: string;
|
|
6796
|
+
priority: string;
|
|
6797
|
+
collection: string | null;
|
|
6798
|
+
item: string | null;
|
|
6799
|
+
record_label: string | null;
|
|
6800
|
+
category_id: number | null;
|
|
6801
|
+
category_name: string | null;
|
|
6802
|
+
team_id: number | null;
|
|
6803
|
+
team_name: string | null;
|
|
6804
|
+
assignee: string | null;
|
|
6805
|
+
assignee_name: string | null;
|
|
6806
|
+
created_by: string;
|
|
6807
|
+
requester_name: string | null;
|
|
6808
|
+
[key: string]: unknown;
|
|
6809
|
+
}
|
|
6810
|
+
interface SupportTicketDetail extends SupportTicket {
|
|
6811
|
+
thread: Array<{
|
|
6812
|
+
id: string;
|
|
6813
|
+
text: string;
|
|
6814
|
+
user: string;
|
|
6815
|
+
user_name: string | null;
|
|
6816
|
+
created_at: string;
|
|
6817
|
+
from_requester: boolean;
|
|
6818
|
+
}>;
|
|
6819
|
+
history: Array<{
|
|
6820
|
+
id: number;
|
|
6821
|
+
text: string;
|
|
6822
|
+
user: string;
|
|
6823
|
+
user_name: string | null;
|
|
6824
|
+
at: string;
|
|
6825
|
+
}>;
|
|
6826
|
+
can: {
|
|
6827
|
+
work: boolean;
|
|
6828
|
+
reply: boolean;
|
|
6829
|
+
cancel: boolean;
|
|
6830
|
+
reopen: boolean;
|
|
6831
|
+
};
|
|
6832
|
+
}
|
|
6833
|
+
/** Tickets the caller may see. scope 'desk' = the desk (403 unless a desk worker). */
|
|
6834
|
+
declare function listSupportTickets(query?: {
|
|
6835
|
+
scope?: 'mine' | 'desk';
|
|
6836
|
+
status?: string;
|
|
6837
|
+
category?: number;
|
|
6838
|
+
assignee?: 'me' | 'unassigned';
|
|
6839
|
+
q?: string;
|
|
6840
|
+
collection?: string;
|
|
6841
|
+
item?: string;
|
|
6842
|
+
page?: number;
|
|
6843
|
+
limit?: number;
|
|
6844
|
+
}): Command<{
|
|
6845
|
+
data: SupportTicket[];
|
|
6846
|
+
total: number;
|
|
6847
|
+
page: number;
|
|
6848
|
+
limit: number;
|
|
6849
|
+
}>;
|
|
6850
|
+
/** One ticket with its thread, history and what the caller may do (`can`). */
|
|
6851
|
+
declare function readSupportTicket(id: number): Command<{
|
|
6852
|
+
data: SupportTicketDetail;
|
|
6853
|
+
}>;
|
|
6854
|
+
/** Take a ticket: assigned to the caller, In progress. */
|
|
6855
|
+
declare function claimSupportTicket(id: number): Command<{
|
|
6856
|
+
data: SupportTicket;
|
|
6857
|
+
}>;
|
|
6858
|
+
/** Reply on a ticket's thread. */
|
|
6859
|
+
declare function replySupportTicket(id: number, text: string): Command<{
|
|
6860
|
+
data: {
|
|
6861
|
+
ok: boolean;
|
|
6862
|
+
};
|
|
6863
|
+
}>;
|
|
6864
|
+
/** Change a ticket's status (requesters: cancel or reopen their own only). */
|
|
6865
|
+
declare function setSupportTicketStatus(id: number, status: SupportTicketStatus): Command<{
|
|
6866
|
+
data: SupportTicket;
|
|
6867
|
+
}>;
|
|
6868
|
+
|
|
6565
6869
|
/**
|
|
6566
6870
|
* Nivaro Presence — frontend user tracking.
|
|
6567
6871
|
*
|
|
@@ -8507,4 +8811,4 @@ declare function submitFormItem(collection: string, values: Record<string, unkno
|
|
|
8507
8811
|
data: Record<string, unknown>;
|
|
8508
8812
|
}>;
|
|
8509
8813
|
|
|
8510
|
-
export { type AccessAudit, type AccessAuditFinding, type AccessAuditRun, type AccessAuditSubject, type AccessReason, type ActivityEntry, type ActivityQuery, type ActivityReportQuery, type ActivityReportRow, type ActivityReportSummary, type Addendum, type AddendumStatus, type AggregateQuery, type AggregateRow, type AiChatTraceEntry, type AiCollectionSettings, type AiColumnMapping, type AiDuplicateMatch, type AiQueryFilter, type AiQueryResult, type AiReviewFinding, type AiViolation, type AlertDefinition, type AlertLogEntry, type AlertSubscription, type AnomalyDefinition, type AnomalyRule, type ApiAnalyticsBucket, type ApiAnalyticsCollection, type ApiAnalyticsPath, type ApiAnalyticsSummary, type ApiErrorLog, type ApiKey, type ApiKeyScope, type ApprovalBrief, type ApprovalChain, type ApprovalChainStep, type ApprovalDecision, type ApprovalInstance, type ApprovalInstanceDetail, type ApprovalStatus, type ApprovalStepInput, type AtRiskCondition, type AtRiskOp, type AtRiskResult, type AtRiskRule, type AtRiskSummaryEntry, type AttributeDefinition, type AttributeValue, type BatchRead, type BatchReadResult, type BlackoutDate, type BoolFilterOps, type CMSCollection, type CascadeFilterRule, type ChangeOrder, type ChatChannel, type ChatChannelMember, type ChatDirectoryChannel, type ChatMessage, type ChatPin, type ChatReaction, type ChatRoomKind, type ChatRoomSummary, type ChatRoomType, type ChatSearchHit, type CollectionLayout, type CollectionLayoutType, type CollectionPresetSummary, type Command, type Comment, type CommentVersion, type ConfigSnapshot, type ConfigTableClassification, type ContentBundle, type ContentExportFormat, type ContentExportOptions, type CoverageGapItem, type CoverageGapOwner, type CoverageGapReport, type CpuProfileSummary, type CronJob, type CustomQuery, type CustomQueryCatalogEntry, type DataQualityRule, type DataQualityRuleResult, type DataQualityRuleType, type DataQualityRun, type DataQualitySeverity, type DeadLetter, type DmvResult, type DraftPublishConfig, type DraftStatus, type DryRunReport, EDITOR_NOTE_MAX, type ErpSubmission, type ErpSubmissionStatus, type ExpensiveStatement, type ExtensionManifest, type ExternalApi, type ExternalApiEndpoint, type ExternalApiSchema, type ExternalApiSlotContext, type ExternalApiSpecImportResult, type ExternalApiTestResult, type FieldChangeEntry, type FieldCondition, type FieldConfig, type FieldDependencyConfig, type FieldFilter, type FieldGroup, type FieldTranslations, type FieldVisibilityRules, type FieldWatch, type FileRecord, type FileUploadResult, type FileUsageEntry, type Filter, type FlowReplayResult, type FlowRun, type FlowTestStep, type FormFieldDescriptor, type FormFieldRelation, type FormGroupDescriptor, type FormLockCondition, type FormSchema, type FormValidationRule, type FormVisibilityRule, GROUP_PATCH_KEYS, type GlobalSearchRecord, type GlobalSearchResults, type GraphQLResponse, type GroupPatch, type GroupRow, type HealthDetailed, type HelpVideo, type HelpVideoClick, type HelpVideoContext, type HelpVideoDownloadUrls, type HelpVideoFinalizedUpload, type HelpVideoProgress, type HelpVideoUploadSession, type HelpVideoVersion, type HelpVideoVisibility, type HelpVideoWalkStep, type HelpVideoWhatsNew, type HierarchyConfigDef, type HierarchyFlatNode, type HierarchyLevelDef, type HierarchyNestedNode, type IDFilterOps, type ISODate, type ImportDefinition, type ImportJob, type ImportParseResponse, type ImportPreview, type ImportPreviewDiff, type ImportTemplateSummary, type InstanceOwner, type IntegrationApiHealth, type InternalWidget, type Issue, type IssueSeverity, type IssueStatus, type IssueSummary, type ItemLock, type JobRegistryCron, type JobRun, LAYOUT_PATCH_KEYS, type LastTouch, type LayoutAssignment, type LayoutBundle, type LayoutDescription, type LayoutFieldExplanation, type LayoutGroup, type LayoutOp, type LayoutOverviewRow, type LayoutPatch, type LayoutPickReason, type LayoutProposal, type LayoutRow, type LayoutVersion, type ListResponse, type ManagedUser, type MetricAlertRule, type MetricAlertSubscription, type MetricDefinition, type MyTask, type MyWorkOwnedEntry, type MyWorkSla, type MyWorkSummary, type NivaroClient, type NivaroClientOptions, type NivaroExtensionPlugin, type NivaroRealtime, type NivaroRuntime, type NotificationItem, type NotificationPage, type NotificationSubscription, type NumberFilterOps, type OmniSearchHit, type OnlinePresenceConfig, type OnlinePresenceUser, PLACEMENT_PATCH_KEYS, type Page, type PageLayout, type PageSlotKey, type PageWidget, type PdfTemplate, type PermissionSimulation, type PersistedQuery, type PickerExclusionStatus, type PipelineFlowEdge, type PipelineFlowState, type PipelineImpactResult, type PipelineOwnerGroup, type PipelineOwnerGroupUser, type PipelineSimulation, type PipelineState, type PipelineVersionEntry, type PlacementKey, type PlacementPatch, type PlacementRow, type PluginSlots, type Policy, type PoolStats, type PreflightCheck, type PreflightReport, type PreflightSeverity, type PresenceClient, type PresenceOptions, type PresenceSession, type PresenceSessionInfo, type PresenceViewer, type ProjectedPlacement, type PromotionApplyResult, type PromotionPreview, type Query, type Queue, type QueueColumnPrefs, type QueueCondition, type QueueDetail, type QueueDisplayConfig, type QueueItem, type QueueItemsResult, type QueueOwner, type QueueRowClickMode, type QueueScope, type QueueSource, type QueueSourceType, type QueueStats, type QueueTrendPoint, type QueueView, type QueueViewKind, type QueueWorkloadRow, READ_MANY_MAX, type ReadyReport, type RealtimeEvent, type RecordGraphEdge, type RecordGraphNode, type RecordLink, type RecordLinkType, type RecordTemplate, type RecordViewRecap, type RegisteredAction, type RelatedCommentEntry, type RelationFilter, type RelationOption, type ReportAlert, type ReportAlertCondition, type ReportAlertLogEntry, type ReportAnnotation, type ReportColumnFormat, type ReportDateRange, type ReportDef, type ReportEntityFilter, type ReportFilterPreset, type ReportQueryColumn, type ReportQueryWidgetConfig, type ReportSnapshotEntry, type ReportSubscription, type ReportTemplateEntry, type ReportVersionEntry, type ReportWidget, type ReportWidgetConfig, type ReportWidgetData, type ReportWidgetPreset, type ReportWidgetType, type RequestTrace, type ResolvedOwner, type RetentionPolicy, type RetentionRun, type RetentionRunResult, type Revision, type Role, type Rule, type RuntimeStats, type SavedView, type ScheduledChange, type ScheduledReport, type ScopeDimension, type ScopeDimensionInfo, type SemanticSearchMatch, type SessionRecording, type SessionReplayMasking, type ShareLink, type SlaBatchStatus, type SlaRule, type SlaStatus, type StagedImportRun, type StagedImportStats, type StringFilterOps, type SubRow, type SubRowTemplate, type SyncJob, type Task, type TaskDoneWhenRule, type TaskPriority, type TaskStatus, type TimelineEvent, type TraceSpan, type TrafficSnapshot, type TrafficSnapshotEntity, type TreeFlatNode, type TreeNestedNode, type TreeNodeConfig, type TreePermission, type TreePermissionAction, type UUID, type UserActivityEntry, type UserActivitySummary, type UserScopesInfo, type ViewSubscription, type VirtualCollection, type Webhook, type WebhookDelivery, type WhichLayoutForm, type WidgetFeed, type WorkflowBinding, type WorkflowHistoryEntry, type WorkflowInstance, type WorkflowInstanceData, type WorkflowState, type WorkflowTransition, type Workspace, type WorkspaceQuotas, type WorkspaceTemplate, type WorkspaceUsage, _and, _contains, _ends_with, _eq, _gt, _gte, _in, _lt, _lte, _ncontains, _neq, _nin, _nnull, _none, _null, _or, _some, _starts_with, abandonHelpVideoUpload, acquireItemLock, activateLayout, addChatChannelMember, addInstanceOwner, addSubRow, aggregateItems, aiBrief, aiBuildReport, aiChat, aiCheckDuplicates, aiGenerate, aiMapColumns, aiQuery, aiReportFilters, aiReview, aiSummarize, aiValidate, appendSessionRecordingEvents, applyContentBundle, applyHelpVideoPackageImport, applyRecordTemplate, applySubRowTemplate, approveAddendum, approveAiProposal, archiveHelpVideo, asc, backupExportPath, batchPickerExclusionStatus, bulkPickerExclusion, callExternalApi, callExternalApiEndpoint, cancelScheduledChange, cancelStagedImport, captureCpuProfile, cascadeFieldDependencies, checkBlackoutDate, claimQueueItem, claimTask, clearTraces, cloneItem, cloneLayout, cloneReport, compareConfigSnapshot, completeTask, copyReportWidget, createAccessAudit, createAddendum, createAlertDefinition, createAlertSubscription, createAnomalyRule, createApiKey, createApprovalChain, createAtRiskRule, createAttributeDefinition, createBlackoutDate, createChatChannel, createChatRoomType, createCollectionLayout, createComment, createDataQualityRule, createExternalApi, createExternalApiEndpoint, createFieldGroup, createFieldWatch, createGroupDm, createHelpVideo, createHierarchyConfig, createImportDefinition, createImportJob, createImportJobFromUrl, createInternalWidget, createIssue, createItem, createMetricAlertRule, createNivaro, createNotification, createNotificationSubscription, createPage, createPdfTemplate, createPersistedQuery, createPresence, createQueue, createQueueView, createRealtime, createRecordLink, createRecordTemplate, createReport, createReportAlert, createReportAnnotation, createReportFromTemplate, createReportSnapshot, createReportWidgetPreset, createRetentionPolicy, createRole, createRolePolicy, createRule, createSavedView, createScheduledChange, createScheduledReport, createShareLink, createSlaRule, createSubRowTemplate, createSyncJob, createTask, createTreePermission, createUser, createViewSubscription, createVirtualCollection, createWebhook, createWidgetFeed, createWorkspace, createWorkspaceTemplate, decideApproval, deleteAccessAudit, deleteAddendum, deleteAlertDefinition, deleteAlertSubscription, deleteAnomalyRule, deleteApiKey, deleteApprovalChain, deleteAtRiskRule, deleteAttributeDefinition, deleteBlackoutDate, deleteChatMessage, deleteCollectionLayout, deleteComment, deleteDataQualityRule, deleteExternalApi, deleteExternalApiEndpoint, deleteExternalApiSchema, deleteFieldGroup, deleteFieldTranslations, deleteFieldWatch, deleteFile, deleteHierarchyConfig, deleteImportJob, deleteInternalWidget, deleteIssue, deleteItem, deleteMetricAlertRule, deleteNotification, deleteNotificationSubscription, deletePage, deletePdfTemplate, deletePersistedQuery, deleteQueue, deleteQueueView, deleteRecordLink, deleteRecordTemplate, deleteReport, deleteReportAlert, deleteReportAnnotation, deleteReportFilterPreset, deleteReportSnapshot, deleteReportTemplate, deleteReportWidgetPreset, deleteRetentionPolicy, deleteRole, deleteRolePolicy, deleteRule, deleteSavedView, deleteScheduledReport, deleteSessionRecording, deleteSlaRule, deleteSubRow, deleteSubRowTemplate, deleteSyncJob, deleteTask, deleteTreePermission, deleteUser, deleteViewSubscription, deleteVirtualCollection, deleteWebhook, deleteWidgetFeed, deleteWorkspace, deleteWorkspaceTemplate, deployImportProcedure, desc, describeLayoutForm, diffLayoutVersion, disableTwoFactor, discardHelpVideoPackageImport, drillReportRow, editChatMessage, endSessionRecording, evaluateAlerts, evaluateAtRisk, evaluateFieldDefaults, evaluateFieldLock, evaluateFieldRules, evaluateFieldVisibility, excludeFromPicker, excludeFromPickers, executeBulkAction, executeCustomQuery, executeImportTemplate, executeItemAction, executeScheduledChange, explainLayout, explainLayoutField, explainRecordAccess, explainReportTrend, exportBlueprint, exportConfigSnapshot, exportContent, exportContentBundle, exportHelpVideoPackage, exportSchemaSnapshot, fetchFormSchema, fileDownloadPath, fileTransformPath, finalizeHelpVideoUpload, generateToken, generateUserToken, getAlertDefinition, getAttributeValues, getBrunoCollection, getCommentHistory, getExternalApi, getExternalApiEndpoint, getFieldTranslations, getFlowRun, getLocales, getOpenApi, getPickerExclusionStatus, getPostmanCollection, getPresence, getRetentionPolicy, getSlaRule, getSlaStatus, getTranslations, getTypes, getWebhook, globalSearch, heartbeatItemLock, helpVideosFor, importExternalApiSpec, importSchemaSnapshot, includeInPicker, includeInPickers, installBlueprint, installCollectionPreset, invokeInternalWidgetAction, isPageSlot, joinChatRoom, leaveChatRoom, listAccessAuditRuns, listAccessAudits, listActiveAtRiskRules, listActivePresence, listAddendums, listAlertDefinitions, listAlertSubscriptions, listAllNotificationSubscriptions, listAnomalyDefinitions, listAnomalyRules, listApiKeys, listApprovalChains, listApprovalInstances, listAtRiskRules, listAttributeDefinitions, listBlackoutDates, listBulkActions, listChangeOrders, listChatChannelMembers, listChatMessages, listChatPins, listChatRoles, listChatRoomTypes, listChatRooms, listCollectionPresets, listCollectionRecordTemplates, listComments, listCronJobs, listCustomQueries, listCustomQueryCatalog, listDataQualityRules, listDataQualityRuns, listDeadLetters, listExternalApiEndpoints, listExternalApiSchemas, listExternalApis, listFieldGroups, listFieldWatches, listFiles, listFlowRuns, listHelpVideoPages, listHelpVideoVersions, listHelpVideos, listHierarchyConfigs, listImportDefinitionVersions, listImportDefinitions, listImportJobs, listImportTemplates, listInternalWidgetPlacements, listInternalWidgets, listIssues, listItemActions, listItemScheduledChanges, listJobRuns, listLayoutVersions, listMetricAlertRules, listMetricAlertSubscriptions, listMetricDefinitions, listMyHelpVideoUploads, listMyTasks, listNotificationSubscriptions, listNotifications, listOrphanFiles, listPages, listPdfTemplates, listPersistedQueries, listPinnedItems, listPipelineVersions, listQueueViews, listQueues, listRecordLinks, listRecordTemplates, listRegisteredExtensions, listRegisteredFlowOperations, listRegisteredFlowTriggers, listRelatedComments, listReportAlerts, listReportAnnotations, listReportFilterPresets, listReportSnapshots, listReportTemplates, listReportVersions, listReportWidgetPresets, listReports, listRequestedTasks, listRetentionPolicies, listRetentionRuns, listRolePolicies, listRoleUsers, listRoles, listRules, listSavedViews, listScheduledChanges, listScheduledReports, listScopeDimensions, listSessionRecordings, listShareLinks, listSlaRules, listStagedImports, listSubRowTemplates, listSubRows, listSyncJobs, listTasks, listTeamTasks, listThroughputCollections, listTraces, listTreePermissions, listViewSubscriptions, listVirtualCollections, listWebhookDeliveries, listWebhooks, listWidgetFeeds, listWorkspaceTemplates, listWorkspaces, markAllNotificationsRead, markChatRoomRead, markNotificationRead, markNotificationsRead, moveTreeNode, nudgeTask, omniSearch, openHelpVideoPackageImport, openHelpVideoUpload, presignFileUpload, previewContentBundle, previewHelpVideoPackageImport, previewImportJob, previewReportWidget, projectFieldConfig, proposeLayoutOps, publishHelpVideo, publishItem, queryVirtualCollection, readAccessAuditFindings, readActiveLayout, readActivity, readActivityReportSummary, readAddendum, readAiSettings, readAlertLog, readAllStateOwners, readAnomalyLog, readApiAnalyticsErrors, readApiAnalyticsSummary, readApiAnalyticsTimeseries, readApiAnalyticsTopCollections, readApiAnalyticsTopPaths, readApiKey, readApprovalBrief, readApprovalChain, readAtRiskSummary, readBackupManifest, readChatConfig, readChatDirectory, readChatPeerRead, readCollection, readCollectionLayout, readCollectionLayouts, readCollections, readConfigInventory, readCoverageGaps, readDataQualityRun, readDbPool, readDetailLayout, readDistinctValues, readDraftPublishConfig, readErpSubmissionHistory, readExpensiveSql, readFieldChangeHistory, readFieldConfig, readFieldImpact, readFieldWatch, readFileMeta, readFileUsage, readFilesByIds, readHealthDetailed, readHelpVideo, readHelpVideoAnalytics, readHelpVideoDownloadLink, readHelpVideoDraft, readHelpVideoWalk, readHierarchyConfig, readHierarchyNodeAncestors, readHierarchyNodeChildren, readHierarchyNodes, readHierarchyTree, readImportJob, readImportProcedure, readInstanceOwners, readInstanceRoster, readIntegrationHealth, readInternalWidget, readIssue, readIssueSummary, readItem, readItemLock, readItemLockConfig, readItems, readJobRegistry, readLastTouch, readLayoutAssignments, readLayoutBundle, readLayoutDrift, readLayoutGroups, readLayoutOverview, readLayoutProposals, readLayoutVersion, readMany, readMe, readMetricAlertLog, readMyScopes, readMyWork, readNotificationCount, readNotificationSubscriptionStats, readOnlinePresence, readOwnerGroups, readPage, readPageWidgetData, readPdfTemplate, readPersistedQuery, readPickerExclusion, readPickerExclusions, readPipelineFlowMap, readPipelineReplay, readPipelineTemplate, readPipelineTemplates, readPipelineVersion, readPreflight, readQueue, readQueueCollectionStates, readQueueColumnPrefs, readQueueItems, readQueueTrends, readQueueWorkload, readReadiness, readRecordGraph, readRelationOptions, readReport, readReportAlertLog, readReportAlertsLog, readReportFilterOptions, readReportFiring, readReportSnapshot, readReportSubscription, readReportUsage, readReportWidgetData, readRequiredHelpVideos, readRevision, readRevisions, readRole, readRuntimeStats, readScopeDimensionCoverage, readSessionRecordingEvents, readSettings, readSingleton, readSlaStatusBatch, readStagedImport, readStagedImportStats, readStateOwnerGroups, readStateOwners, readStateOwnersBatch, readSyncJob, readTask, readTaskCounts, readTaskHistory, readThroughputReport, readTimeline, readTrace, readTrafficSnapshot, readTreeAncestors, readTreeChildren, readTreeConfig, readTreeDescendants, readTreeNested, readTreeNodes, readTwoFactorStatus, readUnreadNotificationCount, readUser, readUserActivity, readUserActivitySummary, readUserCard, readUserScopes, readUsers, readWorkflowBindings, readWorkflowInstance, readWorkflowInstances, readWorkspace, readWorkspaceUsage, rebuildTreePaths, recordHelpVideoProgress, registerHelpVideoPage, rehearseCreateItem, reindexSemanticSearch, rejectAddendum, rejectAiProposal, releaseItemLock, releaseQueueItem, rematerializeQueue, removeChatChannelMember, removeInstanceOwner, renderInternalWidget, renderPdfTemplate, reorderFieldGroups, reorderSubRows, reorderTreeSiblings, replaceSubRows, replayActivityEvent, replayFlow, reportClientError, requestRecordAccess, requeueStagedImport, rerecordHelpVideo, rerenderHelpVideo, resetReportCache, resolveLayoutProposal, resolveReportAlert, restoreHelpVideoVersion, restoreImportDefinitionVersion, restoreLayoutVersion, restorePipelineVersion, restoreReportVersion, retryDeadLetter, retryErpSubmission, retryWebhookDelivery, revokeApiKey, revokeShareLink, revokeToken, revokeUserToken, rollbackRevision, rotateWidgetFeedToken, runAccessAudit, runActivityReport, runActivityReportCsv, runCronJob, runDataQuality, runRetentionPolicy, runScheduledReport, runSyncJob, saveHelpVideoDraft, saveMyScopeDefaults, saveReportFilterPreset, saveReportTemplate, saveReportWidgets, saveUserScope, searchChatMessages, semanticSearch, sendBulkNotification, sendChatMessage, sendTestMail, sessionRecordingEnabled, setHelpVideoContexts, setHelpVideoRequirements, setMyDelegate, setQueueDefaultView, setReportSubscription, setTranslations, setupTwoFactor, simulatePermissions, simulatePipeline, simulatePipelineImpact, startApproval, startMasquerade, startSessionRecording, startWorkflow, stopMasquerade, submitAddendum, submitFormItem, submitItemForReview, submitLayoutOps, submitToErp, subscribeFieldWatch, subscribeMetricAlert, suggestImportValidation, suggestQueueLabels, switchWorkspace, testExternalApi, testFlow, testWebhook, toggleChatPin, toggleChatReaction, togglePinnedItem, toggleReportAlert, touchRecordView, transitionWorkflow, unpublishItem, unsubscribeFieldWatch, unsubscribeMetricAlert, updateAccessAudit, updateAddendum, updateAiSettings, updateAlertDefinition, updateAnomalyLogEntry, updateAnomalyRule, updateApiKey, updateApprovalChain, updateAtRiskRule, updateAttributeDefinition, updateAttributeValues, updateChatChannel, updateChatRoom, updateChatRoomType, updateCollectionLayout, updateComment, updateDataQualityRule, updateDraftPublishConfig, updateErpSubmissionStatus, updateExternalApi, updateExternalApiEndpoint, updateFieldConfig, updateFieldGroup, updateFieldWatch, updateFileMeta, updateHelpVideo, updateHierarchyConfig, updateImportDefinition, updateInternalWidget, updateIssue, updateItem, updateItemLockConfig, updateLayoutAssignments, updateLayoutUngroupedSort, updateMe, updateMetricAlertRule, updateMetricAlertSubscription, updateNotificationSubscription, updatePage, updatePdfTemplate, updatePersistedQuery, updateQueue, updateQueueSources, updateQueueView, updateRecordTemplate, updateReport, updateReportAlert, updateReportWidgetPreset, updateRetentionPolicy, updateRole, updateRolePolicy, updateRoleUiPermissions, updateRule, updateSavedView, updateScheduledReport, updateSettings, updateSingleton, updateSlaRule, updateSyncJob, updateTask, updateTreePermission, updateUser, updateVirtualCollection, updateWebhook, updateWidgetFeed, updateWorkflowBinding, updateWorkspace, validateVirtualCollectionSql, verifyTwoFactor, whichLayoutForm };
|
|
8814
|
+
export { type AccessAudit, type AccessAuditFinding, type AccessAuditRun, type AccessAuditSubject, type AccessReason, type ActivityEntry, type ActivityQuery, type ActivityReportQuery, type ActivityReportRow, type ActivityReportSummary, type Addendum, type AddendumStatus, type AggregateQuery, type AggregateRow, type AiChatTraceEntry, type AiCollectionSettings, type AiColumnMapping, type AiDuplicateMatch, type AiQueryFilter, type AiQueryResult, type AiReviewFinding, type AiViolation, type AlertDefinition, type AlertLogEntry, type AlertSubscription, type AnomalyDefinition, type AnomalyRule, type ApiAnalyticsBucket, type ApiAnalyticsCollection, type ApiAnalyticsPath, type ApiAnalyticsSummary, type ApiErrorLog, type ApiKey, type ApiKeyScope, type ApprovalBrief, type ApprovalChain, type ApprovalChainStep, type ApprovalDecision, type ApprovalInstance, type ApprovalInstanceDetail, type ApprovalStatus, type ApprovalStepInput, type AtRiskCondition, type AtRiskOp, type AtRiskResult, type AtRiskRule, type AtRiskSummaryEntry, type AttributeDefinition, type AttributeValue, type BatchRead, type BatchReadResult, type BlackoutDate, type BoolFilterOps, type CMSCollection, type CascadeFilterRule, type ChangeOrder, type ChatChannel, type ChatChannelMember, type ChatDirectoryChannel, type ChatMessage, type ChatPin, type ChatReaction, type ChatRoomKind, type ChatRoomSummary, type ChatRoomType, type ChatSearchHit, type CollectionLayout, type CollectionLayoutType, type CollectionPresetSummary, type Command, type Comment, type CommentVersion, type ConfigSnapshot, type ConfigTableClassification, type ContentBundle, type ContentExportFormat, type ContentExportOptions, type CoverageGapItem, type CoverageGapOwner, type CoverageGapReport, type CpuProfileSummary, type CronJob, type CustomQuery, type CustomQueryCatalogEntry, type Dashboard, type DashboardFilter, type DashboardWidget, type DashboardWidgetData, type DashboardWidgetType, type DataQualityRule, type DataQualityRuleResult, type DataQualityRuleType, type DataQualityRun, type DataQualitySeverity, type DeadLetter, type DmvResult, type DraftPublishConfig, type DraftStatus, type DryRunReport, EDITOR_NOTE_MAX, type ErpSubmission, type ErpSubmissionStatus, type ExpensiveStatement, type ExtensionManifest, type ExternalApi, type ExternalApiEndpoint, type ExternalApiSchema, type ExternalApiSlotContext, type ExternalApiSpecImportResult, type ExternalApiTestResult, type FieldChangeEntry, type FieldCondition, type FieldConfig, type FieldDependencyConfig, type FieldFilter, type FieldGroup, type FieldTranslations, type FieldVisibilityRules, type FieldWatch, type FileRecord, type FileUploadResult, type FileUsageEntry, type Filter, type FlowReplayResult, type FlowRun, type FlowTestStep, type FormFieldDescriptor, type FormFieldRelation, type FormGroupDescriptor, type FormLockCondition, type FormSchema, type FormValidationRule, type FormVisibilityRule, GROUP_PATCH_KEYS, type GlobalSearchRecord, type GlobalSearchResults, type GraphQLResponse, type GroupPatch, type GroupRow, type HealthDetailed, type HelpVideo, type HelpVideoClick, type HelpVideoContext, type HelpVideoDownloadUrls, type HelpVideoFinalizedUpload, type HelpVideoProgress, type HelpVideoUploadSession, type HelpVideoVersion, type HelpVideoVisibility, type HelpVideoWalkStep, type HelpVideoWhatsNew, type HierarchyConfigDef, type HierarchyFlatNode, type HierarchyLevelDef, type HierarchyNestedNode, type IDFilterOps, type ISODate, type ImportDefinition, type ImportJob, type ImportParseResponse, type ImportPreview, type ImportPreviewDiff, type ImportTemplateSummary, type InstanceOwner, type InstanceToolEntry, type IntegrationApiHealth, type InternalWidget, type Issue, type IssueSeverity, type IssueStatus, type IssueSummary, type ItemLock, type JobRegistryCron, type JobRun, LAYOUT_PATCH_KEYS, type LastTouch, type LayoutAssignment, type LayoutBundle, type LayoutDescription, type LayoutFieldExplanation, type LayoutGroup, type LayoutOp, type LayoutOverviewRow, type LayoutPatch, type LayoutPickReason, type LayoutProposal, type LayoutRow, type LayoutVersion, type ListResponse, type ManagedUser, type McpCapabilities, type McpToolsConfig, type MetricAlertRule, type MetricAlertSubscription, type MetricDefinition, type MyTask, type MyWorkOwnedEntry, type MyWorkSla, type MyWorkSummary, type NamedMcpToolConfig, type NivaroClient, type NivaroClientOptions, type NivaroExtensionPlugin, type NivaroRealtime, type NivaroRuntime, type NotificationItem, type NotificationPage, type NotificationSubscription, type NumberFilterOps, type OmniSearchHit, type OnlinePresenceConfig, type OnlinePresenceUser, PLACEMENT_PATCH_KEYS, type Page, type PageLayout, type PageSlotKey, type PageWidget, type PdfTemplate, type PermissionSimulation, type PersistedQuery, type PickerExclusionStatus, type PipelineFlowEdge, type PipelineFlowState, type PipelineImpactResult, type PipelineOwnerGroup, type PipelineOwnerGroupUser, type PipelineSimulation, type PipelineState, type PipelineVersionEntry, type PlacementKey, type PlacementPatch, type PlacementRow, type PluginSlots, type Policy, type PoolStats, type PreflightCheck, type PreflightReport, type PreflightSeverity, type PresenceClient, type PresenceOptions, type PresenceSession, type PresenceSessionInfo, type PresenceViewer, type ProjectedPlacement, type PromotionApplyResult, type PromotionPreview, type Query, type Queue, type QueueColumnPrefs, type QueueCondition, type QueueDetail, type QueueDisplayConfig, type QueueItem, type QueueItemsResult, type QueueOwner, type QueueRowClickMode, type QueueScope, type QueueSource, type QueueSourceType, type QueueStats, type QueueTrendPoint, type QueueView, type QueueViewKind, type QueueWorkloadRow, READ_MANY_MAX, type ReadyReport, type RealtimeEvent, type RecordGraphEdge, type RecordGraphNode, type RecordLink, type RecordLinkType, type RecordTemplate, type RecordViewRecap, type RegisteredAction, type RelatedCommentEntry, type RelationFilter, type RelationOption, type ReportAlert, type ReportAlertCondition, type ReportAlertLogEntry, type ReportAnnotation, type ReportColumnFormat, type ReportDateRange, type ReportDef, type ReportEntityFilter, type ReportFilterPreset, type ReportQueryColumn, type ReportQueryWidgetConfig, type ReportSnapshotEntry, type ReportSubscription, type ReportTemplateEntry, type ReportVersionEntry, type ReportWidget, type ReportWidgetConfig, type ReportWidgetData, type ReportWidgetPreset, type ReportWidgetType, type RequestTrace, type ResolvedOwner, type RetentionPolicy, type RetentionRun, type RetentionRunResult, type Revision, type Role, type Rule, type RuntimeStats, type SavedView, type ScheduledChange, type ScheduledReport, type ScopeDimension, type ScopeDimensionInfo, type SemanticSearchMatch, type SessionRecording, type SessionReplayMasking, type ShareLink, type SlaBatchStatus, type SlaRule, type SlaStatus, type StagedImportRun, type StagedImportStats, type StringFilterOps, type SubRow, type SubRowTemplate, type SupportTicket, type SupportTicketDetail, type SupportTicketStatus, type SyncJob, type Task, type TaskDoneWhenRule, type TaskPriority, type TaskStatus, type TimelineEvent, type TraceSpan, type TrafficSnapshot, type TrafficSnapshotEntity, type TreeFlatNode, type TreeNestedNode, type TreeNodeConfig, type TreePermission, type TreePermissionAction, type UUID, type UserActivityEntry, type UserActivitySummary, type UserScopesInfo, type ViewSubscription, type VirtualCollection, type Webhook, type WebhookDelivery, type WhichLayoutForm, type WidgetFeed, type WorkflowBinding, type WorkflowHistoryEntry, type WorkflowInstance, type WorkflowInstanceData, type WorkflowState, type WorkflowTransition, type Workspace, type WorkspaceQuotas, type WorkspaceTemplate, type WorkspaceUsage, _and, _contains, _ends_with, _eq, _gt, _gte, _in, _lt, _lte, _ncontains, _neq, _nin, _nnull, _none, _null, _or, _some, _starts_with, abandonHelpVideoUpload, acquireItemLock, activateLayout, addChatChannelMember, addInstanceOwner, addSubRow, aggregateItems, aiBrief, aiBuildReport, aiChat, aiCheckDuplicates, aiGenerate, aiMapColumns, aiQuery, aiReportFilters, aiReview, aiSummarize, aiValidate, appendSessionRecordingEvents, applyContentBundle, applyHelpVideoPackageImport, applyRecordTemplate, applySubRowTemplate, approveAddendum, approveAiProposal, archiveHelpVideo, asc, backupExportPath, batchPickerExclusionStatus, bulkPickerExclusion, callExternalApi, callExternalApiEndpoint, callInstanceTool, cancelScheduledChange, cancelStagedImport, captureCpuProfile, cascadeFieldDependencies, checkBlackoutDate, claimQueueItem, claimSupportTicket, claimTask, clearTraces, cloneItem, cloneLayout, cloneReport, compareConfigSnapshot, completeTask, copyReportWidget, createAccessAudit, createAddendum, createAlertDefinition, createAlertSubscription, createAnomalyRule, createApiKey, createApprovalChain, createAtRiskRule, createAttributeDefinition, createBlackoutDate, createChatChannel, createChatRoomType, createCollectionLayout, createComment, createDataQualityRule, createExternalApi, createExternalApiEndpoint, createFieldGroup, createFieldWatch, createGroupDm, createHelpVideo, createHierarchyConfig, createImportDefinition, createImportJob, createImportJobFromUrl, createInternalWidget, createIssue, createItem, createMetricAlertRule, createNivaro, createNotification, createNotificationSubscription, createPage, createPdfTemplate, createPersistedQuery, createPresence, createQueue, createQueueView, createRealtime, createRecordLink, createRecordTemplate, createReport, createReportAlert, createReportAnnotation, createReportFromTemplate, createReportSnapshot, createReportWidgetPreset, createRetentionPolicy, createRole, createRolePolicy, createRule, createSavedView, createScheduledChange, createScheduledReport, createShareLink, createSlaRule, createSubRowTemplate, createSyncJob, createTask, createTreePermission, createUser, createViewSubscription, createVirtualCollection, createWebhook, createWidgetFeed, createWorkspace, createWorkspaceTemplate, decideApproval, deleteAccessAudit, deleteAddendum, deleteAlertDefinition, deleteAlertSubscription, deleteAnomalyRule, deleteApiKey, deleteApprovalChain, deleteAtRiskRule, deleteAttributeDefinition, deleteBlackoutDate, deleteChatMessage, deleteCollectionLayout, deleteComment, deleteDataQualityRule, deleteExternalApi, deleteExternalApiEndpoint, deleteExternalApiSchema, deleteFieldGroup, deleteFieldTranslations, deleteFieldWatch, deleteFile, deleteHierarchyConfig, deleteImportJob, deleteInternalWidget, deleteIssue, deleteItem, deleteMetricAlertRule, deleteNotification, deleteNotificationSubscription, deletePage, deletePdfTemplate, deletePersistedQuery, deleteQueue, deleteQueueView, deleteRecordLink, deleteRecordTemplate, deleteReport, deleteReportAlert, deleteReportAnnotation, deleteReportFilterPreset, deleteReportSnapshot, deleteReportTemplate, deleteReportWidgetPreset, deleteRetentionPolicy, deleteRole, deleteRolePolicy, deleteRule, deleteSavedView, deleteScheduledReport, deleteSessionRecording, deleteSlaRule, deleteSubRow, deleteSubRowTemplate, deleteSyncJob, deleteTask, deleteTreePermission, deleteUser, deleteViewSubscription, deleteVirtualCollection, deleteWebhook, deleteWidgetFeed, deleteWorkspace, deleteWorkspaceTemplate, deployImportProcedure, desc, describeLayoutForm, diffLayoutVersion, disableTwoFactor, discardHelpVideoPackageImport, drillReportRow, editChatMessage, endSessionRecording, evaluateAlerts, evaluateAtRisk, evaluateFieldDefaults, evaluateFieldLock, evaluateFieldRules, evaluateFieldVisibility, excludeFromPicker, excludeFromPickers, executeBulkAction, executeCustomQuery, executeImportTemplate, executeItemAction, executeScheduledChange, explainLayout, explainLayoutField, explainRecordAccess, explainReportTrend, exportBlueprint, exportConfigSnapshot, exportContent, exportContentBundle, exportHelpVideoPackage, exportSchemaSnapshot, fetchFormSchema, fileDownloadPath, fileTransformPath, finalizeHelpVideoUpload, generateToken, generateUserToken, getAlertDefinition, getAttributeValues, getBrunoCollection, getCommentHistory, getExternalApi, getExternalApiEndpoint, getFieldTranslations, getFlowRun, getLocales, getOpenApi, getPickerExclusionStatus, getPostmanCollection, getPresence, getRetentionPolicy, getSlaRule, getSlaStatus, getTranslations, getTypes, getWebhook, globalSearch, heartbeatItemLock, helpVideosFor, importExternalApiSpec, importSchemaSnapshot, includeInPicker, includeInPickers, installBlueprint, installCollectionPreset, invokeInternalWidgetAction, isPageSlot, joinChatRoom, leaveChatRoom, listAccessAuditRuns, listAccessAudits, listActiveAtRiskRules, listActivePresence, listAddendums, listAlertDefinitions, listAlertSubscriptions, listAllNotificationSubscriptions, listAnomalyDefinitions, listAnomalyRules, listApiKeys, listApprovalChains, listApprovalInstances, listAtRiskRules, listAttributeDefinitions, listBlackoutDates, listBulkActions, listChangeOrders, listChatChannelMembers, listChatMessages, listChatPins, listChatRoles, listChatRoomTypes, listChatRooms, listCollectionPresets, listCollectionRecordTemplates, listComments, listCronJobs, listCustomQueries, listCustomQueryCatalog, listDashboards, listDataQualityRules, listDataQualityRuns, listDeadLetters, listExternalApiEndpoints, listExternalApiSchemas, listExternalApis, listFieldGroups, listFieldWatches, listFiles, listFlowRuns, listHelpVideoPages, listHelpVideoVersions, listHelpVideos, listHierarchyConfigs, listImportDefinitionVersions, listImportDefinitions, listImportJobs, listImportTemplates, listInstanceTools, listInternalWidgetPlacements, listInternalWidgets, listIssues, listItemActions, listItemScheduledChanges, listJobRuns, listLayoutVersions, listMetricAlertRules, listMetricAlertSubscriptions, listMetricDefinitions, listMyHelpVideoUploads, listMyTasks, listNotificationSubscriptions, listNotifications, listOrphanFiles, listPages, listPdfTemplates, listPersistedQueries, listPinnedItems, listPipelineVersions, listQueueViews, listQueues, listRecordLinks, listRecordTemplates, listRegisteredExtensions, listRegisteredFlowOperations, listRegisteredFlowTriggers, listRelatedComments, listReportAlerts, listReportAnnotations, listReportFilterPresets, listReportSnapshots, listReportTemplates, listReportVersions, listReportWidgetPresets, listReports, listRequestedTasks, listRetentionPolicies, listRetentionRuns, listRolePolicies, listRoleUsers, listRoles, listRules, listSavedViews, listScheduledChanges, listScheduledReports, listScopeDimensions, listSessionRecordings, listShareLinks, listSlaRules, listStagedImports, listSubRowTemplates, listSubRows, listSupportTickets, listSyncJobs, listTasks, listTeamTasks, listThroughputCollections, listTraces, listTreePermissions, listViewSubscriptions, listVirtualCollections, listWebhookDeliveries, listWebhooks, listWidgetFeeds, listWorkspaceTemplates, listWorkspaces, markAllNotificationsRead, markChatRoomRead, markNotificationRead, markNotificationsRead, moveTreeNode, nudgeTask, omniSearch, openHelpVideoPackageImport, openHelpVideoUpload, presignFileUpload, previewContentBundle, previewHelpVideoPackageImport, previewImportJob, previewReportWidget, projectFieldConfig, proposeLayoutOps, publishHelpVideo, publishItem, queryVirtualCollection, readAccessAuditFindings, readActiveLayout, readActivity, readActivityReportSummary, readAddendum, readAiSettings, readAlertLog, readAllStateOwners, readAnomalyLog, readApiAnalyticsErrors, readApiAnalyticsSummary, readApiAnalyticsTimeseries, readApiAnalyticsTopCollections, readApiAnalyticsTopPaths, readApiKey, readApprovalBrief, readApprovalChain, readAtRiskSummary, readBackupManifest, readChatConfig, readChatDirectory, readChatPeerRead, readCollection, readCollectionLayout, readCollectionLayouts, readCollections, readConfigInventory, readCoverageGaps, readDashboard, readDashboardWidgetData, readDataQualityRun, readDbPool, readDetailLayout, readDistinctValues, readDraftPublishConfig, readErpSubmissionHistory, readExpensiveSql, readFieldChangeHistory, readFieldConfig, readFieldImpact, readFieldWatch, readFileMeta, readFileUsage, readFilesByIds, readHealthDetailed, readHelpVideo, readHelpVideoAnalytics, readHelpVideoDownloadLink, readHelpVideoDraft, readHelpVideoWalk, readHierarchyConfig, readHierarchyNodeAncestors, readHierarchyNodeChildren, readHierarchyNodes, readHierarchyTree, readImportJob, readImportProcedure, readInstanceOwners, readInstanceRoster, readIntegrationHealth, readInternalWidget, readIssue, readIssueSummary, readItem, readItemLock, readItemLockConfig, readItems, readJobRegistry, readLastTouch, readLayoutAssignments, readLayoutBundle, readLayoutDrift, readLayoutGroups, readLayoutOverview, readLayoutProposals, readLayoutVersion, readMany, readMcpCapabilities, readMcpToolsConfig, readMe, readMetricAlertLog, readMyScopes, readMyWork, readNotificationCount, readNotificationSubscriptionStats, readOnlinePresence, readOwnerGroups, readPage, readPageWidgetData, readPdfTemplate, readPersistedQuery, readPickerExclusion, readPickerExclusions, readPipelineFlowMap, readPipelineReplay, readPipelineTemplate, readPipelineTemplates, readPipelineVersion, readPreflight, readQueue, readQueueCollectionStates, readQueueColumnPrefs, readQueueItems, readQueueTrends, readQueueWorkload, readReadiness, readRecordGraph, readRelationOptions, readReport, readReportAlertLog, readReportAlertsLog, readReportFilterOptions, readReportFiring, readReportSnapshot, readReportSubscription, readReportUsage, readReportWidgetData, readRequiredHelpVideos, readRevision, readRevisions, readRole, readRuntimeStats, readScopeDimensionCoverage, readSessionRecordingEvents, readSettings, readSingleton, readSlaStatusBatch, readStagedImport, readStagedImportStats, readStateOwnerGroups, readStateOwners, readStateOwnersBatch, readSupportTicket, readSyncJob, readTask, readTaskCounts, readTaskHistory, readThroughputReport, readTimeline, readTrace, readTrafficSnapshot, readTreeAncestors, readTreeChildren, readTreeConfig, readTreeDescendants, readTreeNested, readTreeNodes, readTwoFactorStatus, readUnreadNotificationCount, readUser, readUserActivity, readUserActivitySummary, readUserCard, readUserScopes, readUsers, readWorkflowBindings, readWorkflowInstance, readWorkflowInstances, readWorkspace, readWorkspaceUsage, rebuildTreePaths, recordHelpVideoProgress, registerHelpVideoPage, rehearseCreateItem, reindexSemanticSearch, rejectAddendum, rejectAiProposal, releaseItemLock, releaseQueueItem, rematerializeQueue, removeChatChannelMember, removeInstanceOwner, renderInternalWidget, renderPdfTemplate, reorderFieldGroups, reorderSubRows, reorderTreeSiblings, replaceSubRows, replayActivityEvent, replayFlow, replySupportTicket, reportClientError, requestRecordAccess, requeueStagedImport, rerecordHelpVideo, rerenderHelpVideo, resetReportCache, resolveLayoutProposal, resolveReportAlert, restoreHelpVideoVersion, restoreImportDefinitionVersion, restoreLayoutVersion, restorePipelineVersion, restoreReportVersion, retryDeadLetter, retryErpSubmission, retryWebhookDelivery, revokeApiKey, revokeShareLink, revokeToken, revokeUserToken, rollbackRevision, rotateWidgetFeedToken, runAccessAudit, runActivityReport, runActivityReportCsv, runCronJob, runDataQuality, runRetentionPolicy, runScheduledReport, runSyncJob, saveHelpVideoDraft, saveMcpToolsConfig, saveMyScopeDefaults, saveReportFilterPreset, saveReportTemplate, saveReportWidgets, saveUserScope, searchChatMessages, semanticSearch, sendBulkNotification, sendChatMessage, sendTestMail, sessionRecordingEnabled, setHelpVideoContexts, setHelpVideoRequirements, setMyDelegate, setQueueDefaultView, setReportSubscription, setSupportTicketStatus, setTranslations, setupTwoFactor, simulatePermissions, simulatePipeline, simulatePipelineImpact, startApproval, startMasquerade, startSessionRecording, startWorkflow, stopMasquerade, submitAddendum, submitFormItem, submitItemForReview, submitLayoutOps, submitToErp, subscribeFieldWatch, subscribeMetricAlert, suggestImportValidation, suggestQueueLabels, switchWorkspace, testExternalApi, testFlow, testWebhook, toggleChatPin, toggleChatReaction, togglePinnedItem, toggleReportAlert, touchRecordView, transitionWorkflow, unpublishItem, unsubscribeFieldWatch, unsubscribeMetricAlert, updateAccessAudit, updateAddendum, updateAiSettings, updateAlertDefinition, updateAnomalyLogEntry, updateAnomalyRule, updateApiKey, updateApprovalChain, updateAtRiskRule, updateAttributeDefinition, updateAttributeValues, updateChatChannel, updateChatRoom, updateChatRoomType, updateCollectionLayout, updateComment, updateDataQualityRule, updateDraftPublishConfig, updateErpSubmissionStatus, updateExternalApi, updateExternalApiEndpoint, updateFieldConfig, updateFieldGroup, updateFieldWatch, updateFileMeta, updateHelpVideo, updateHierarchyConfig, updateImportDefinition, updateInternalWidget, updateIssue, updateItem, updateItemLockConfig, updateLayoutAssignments, updateLayoutUngroupedSort, updateMe, updateMetricAlertRule, updateMetricAlertSubscription, updateNotificationSubscription, updatePage, updatePdfTemplate, updatePersistedQuery, updateQueue, updateQueueSources, updateQueueView, updateRecordTemplate, updateReport, updateReportAlert, updateReportWidgetPreset, updateRetentionPolicy, updateRole, updateRolePolicy, updateRoleUiPermissions, updateRule, updateSavedView, updateScheduledReport, updateSettings, updateSingleton, updateSlaRule, updateSyncJob, updateTask, updateTreePermission, updateUser, updateVirtualCollection, updateWebhook, updateWidgetFeed, updateWorkflowBinding, updateWorkspace, validateVirtualCollectionSql, verifyTwoFactor, whichLayoutForm };
|
package/dist/index.js
CHANGED
|
@@ -748,6 +748,7 @@ function listChatMessages(room, options) {
|
|
|
748
748
|
const params = { room };
|
|
749
749
|
if (options?.before != null) params.before = options.before;
|
|
750
750
|
if (options?.limit != null) params.limit = options.limit;
|
|
751
|
+
if (options?.thread != null) params.thread = options.thread;
|
|
751
752
|
return cmd("GET", "/chat/messages", params);
|
|
752
753
|
}
|
|
753
754
|
function sendChatMessage(body) {
|
|
@@ -858,8 +859,12 @@ function createViewSubscription(body) {
|
|
|
858
859
|
function deleteViewSubscription(id) {
|
|
859
860
|
return cmd("DELETE", `/view-subscriptions/${id}`);
|
|
860
861
|
}
|
|
861
|
-
function explainRecordAccess(collection, id) {
|
|
862
|
-
return cmd(
|
|
862
|
+
function explainRecordAccess(collection, id, opts) {
|
|
863
|
+
return cmd(
|
|
864
|
+
"GET",
|
|
865
|
+
`/access-explain/${collection}/${id}`,
|
|
866
|
+
opts?.user_id ? { user_id: opts.user_id } : void 0
|
|
867
|
+
);
|
|
863
868
|
}
|
|
864
869
|
function requestRecordAccess(body) {
|
|
865
870
|
return cmd("POST", "/access-requests", void 0, body);
|
|
@@ -1101,6 +1106,21 @@ function readDistinctValues(collection, field, options) {
|
|
|
1101
1106
|
return cmd("GET", `/items/${collection}/distinct`, params);
|
|
1102
1107
|
}
|
|
1103
1108
|
|
|
1109
|
+
// src/commands/dashboards.ts
|
|
1110
|
+
function listDashboards() {
|
|
1111
|
+
return cmd("GET", "/dashboards");
|
|
1112
|
+
}
|
|
1113
|
+
function readDashboard(id) {
|
|
1114
|
+
return cmd("GET", `/dashboards/${id}`);
|
|
1115
|
+
}
|
|
1116
|
+
function readDashboardWidgetData(widgetId, filters) {
|
|
1117
|
+
return cmd(
|
|
1118
|
+
"GET",
|
|
1119
|
+
`/dashboards/widgets/${widgetId}/data`,
|
|
1120
|
+
filters?.length ? { extra_filters: JSON.stringify(filters) } : void 0
|
|
1121
|
+
);
|
|
1122
|
+
}
|
|
1123
|
+
|
|
1104
1124
|
// src/commands/devex.ts
|
|
1105
1125
|
function getPostmanCollection() {
|
|
1106
1126
|
return cmd("GET", "/dev-tools/postman.json");
|
|
@@ -1334,6 +1354,20 @@ function startMasquerade(userId) {
|
|
|
1334
1354
|
function stopMasquerade() {
|
|
1335
1355
|
return cmd("DELETE", "/auth/masquerade");
|
|
1336
1356
|
}
|
|
1357
|
+
function listInstanceTools() {
|
|
1358
|
+
return cmd("GET", "/mcp-tools");
|
|
1359
|
+
}
|
|
1360
|
+
function callInstanceTool(name, input) {
|
|
1361
|
+
return cmd("POST", `/mcp-tools/${encodeURIComponent(name)}/call`, void 0, {
|
|
1362
|
+
input: input ?? {}
|
|
1363
|
+
});
|
|
1364
|
+
}
|
|
1365
|
+
function readMcpToolsConfig() {
|
|
1366
|
+
return cmd("GET", "/mcp-tools/config");
|
|
1367
|
+
}
|
|
1368
|
+
function saveMcpToolsConfig(tools) {
|
|
1369
|
+
return cmd("PUT", "/mcp-tools/config", void 0, { tools });
|
|
1370
|
+
}
|
|
1337
1371
|
|
|
1338
1372
|
// src/commands/files.ts
|
|
1339
1373
|
function listFiles(options = {}) {
|
|
@@ -1747,7 +1781,9 @@ var LAYOUT_PATCH_KEYS = [
|
|
|
1747
1781
|
"sheet_width",
|
|
1748
1782
|
"header_fields",
|
|
1749
1783
|
"hide_empty",
|
|
1750
|
-
"change_note"
|
|
1784
|
+
"change_note",
|
|
1785
|
+
"entry_config",
|
|
1786
|
+
"email_summary_group"
|
|
1751
1787
|
];
|
|
1752
1788
|
function readLayoutOverview(collection) {
|
|
1753
1789
|
return cmd("GET", "/collection-layouts/overview", { collection });
|
|
@@ -1793,6 +1829,11 @@ function includeInPickers(body) {
|
|
|
1793
1829
|
return cmd("DELETE", "/picker-exclusions", void 0, body);
|
|
1794
1830
|
}
|
|
1795
1831
|
|
|
1832
|
+
// src/commands/mcp.ts
|
|
1833
|
+
function readMcpCapabilities() {
|
|
1834
|
+
return cmd("GET", "/mcp/capabilities");
|
|
1835
|
+
}
|
|
1836
|
+
|
|
1796
1837
|
// src/commands/ops.ts
|
|
1797
1838
|
function readReadiness() {
|
|
1798
1839
|
return cmd("GET", "/ready");
|
|
@@ -1893,6 +1934,23 @@ function setQueueDefaultView(id, viewId) {
|
|
|
1893
1934
|
return cmd("PUT", `/queues/${id}/default-view`, void 0, { view_id: viewId });
|
|
1894
1935
|
}
|
|
1895
1936
|
|
|
1937
|
+
// src/commands/support.ts
|
|
1938
|
+
function listSupportTickets(query) {
|
|
1939
|
+
return cmd("GET", "/support/tickets", query);
|
|
1940
|
+
}
|
|
1941
|
+
function readSupportTicket(id) {
|
|
1942
|
+
return cmd("GET", `/support/tickets/${id}`);
|
|
1943
|
+
}
|
|
1944
|
+
function claimSupportTicket(id) {
|
|
1945
|
+
return cmd("POST", `/support/tickets/${id}/claim`);
|
|
1946
|
+
}
|
|
1947
|
+
function replySupportTicket(id, text) {
|
|
1948
|
+
return cmd("POST", `/support/tickets/${id}/comments`, void 0, { text });
|
|
1949
|
+
}
|
|
1950
|
+
function setSupportTicketStatus(id, status) {
|
|
1951
|
+
return cmd("PATCH", `/support/tickets/${id}`, void 0, { status });
|
|
1952
|
+
}
|
|
1953
|
+
|
|
1896
1954
|
// src/presence.ts
|
|
1897
1955
|
var STORAGE_KEY = "nvr_presence_sid";
|
|
1898
1956
|
function generateId() {
|
|
@@ -2922,12 +2980,14 @@ export {
|
|
|
2922
2980
|
bulkPickerExclusion,
|
|
2923
2981
|
callExternalApi,
|
|
2924
2982
|
callExternalApiEndpoint,
|
|
2983
|
+
callInstanceTool,
|
|
2925
2984
|
cancelScheduledChange,
|
|
2926
2985
|
cancelStagedImport,
|
|
2927
2986
|
captureCpuProfile,
|
|
2928
2987
|
cascadeFieldDependencies,
|
|
2929
2988
|
checkBlackoutDate,
|
|
2930
2989
|
claimQueueItem,
|
|
2990
|
+
claimSupportTicket,
|
|
2931
2991
|
claimTask,
|
|
2932
2992
|
clearTraces,
|
|
2933
2993
|
cloneItem,
|
|
@@ -3167,6 +3227,7 @@ export {
|
|
|
3167
3227
|
listCronJobs,
|
|
3168
3228
|
listCustomQueries,
|
|
3169
3229
|
listCustomQueryCatalog,
|
|
3230
|
+
listDashboards,
|
|
3170
3231
|
listDataQualityRules,
|
|
3171
3232
|
listDataQualityRuns,
|
|
3172
3233
|
listDeadLetters,
|
|
@@ -3185,6 +3246,7 @@ export {
|
|
|
3185
3246
|
listImportDefinitions,
|
|
3186
3247
|
listImportJobs,
|
|
3187
3248
|
listImportTemplates,
|
|
3249
|
+
listInstanceTools,
|
|
3188
3250
|
listInternalWidgetPlacements,
|
|
3189
3251
|
listInternalWidgets,
|
|
3190
3252
|
listIssues,
|
|
@@ -3238,6 +3300,7 @@ export {
|
|
|
3238
3300
|
listStagedImports,
|
|
3239
3301
|
listSubRowTemplates,
|
|
3240
3302
|
listSubRows,
|
|
3303
|
+
listSupportTickets,
|
|
3241
3304
|
listSyncJobs,
|
|
3242
3305
|
listTasks,
|
|
3243
3306
|
listTeamTasks,
|
|
@@ -3298,6 +3361,8 @@ export {
|
|
|
3298
3361
|
readCollections,
|
|
3299
3362
|
readConfigInventory,
|
|
3300
3363
|
readCoverageGaps,
|
|
3364
|
+
readDashboard,
|
|
3365
|
+
readDashboardWidgetData,
|
|
3301
3366
|
readDataQualityRun,
|
|
3302
3367
|
readDbPool,
|
|
3303
3368
|
readDetailLayout,
|
|
@@ -3345,6 +3410,8 @@ export {
|
|
|
3345
3410
|
readLayoutProposals,
|
|
3346
3411
|
readLayoutVersion,
|
|
3347
3412
|
readMany,
|
|
3413
|
+
readMcpCapabilities,
|
|
3414
|
+
readMcpToolsConfig,
|
|
3348
3415
|
readMe,
|
|
3349
3416
|
readMetricAlertLog,
|
|
3350
3417
|
readMyScopes,
|
|
@@ -3398,6 +3465,7 @@ export {
|
|
|
3398
3465
|
readStateOwnerGroups,
|
|
3399
3466
|
readStateOwners,
|
|
3400
3467
|
readStateOwnersBatch,
|
|
3468
|
+
readSupportTicket,
|
|
3401
3469
|
readSyncJob,
|
|
3402
3470
|
readTask,
|
|
3403
3471
|
readTaskCounts,
|
|
@@ -3445,6 +3513,7 @@ export {
|
|
|
3445
3513
|
replaceSubRows,
|
|
3446
3514
|
replayActivityEvent,
|
|
3447
3515
|
replayFlow,
|
|
3516
|
+
replySupportTicket,
|
|
3448
3517
|
reportClientError,
|
|
3449
3518
|
requestRecordAccess,
|
|
3450
3519
|
requeueStagedImport,
|
|
@@ -3476,6 +3545,7 @@ export {
|
|
|
3476
3545
|
runScheduledReport,
|
|
3477
3546
|
runSyncJob,
|
|
3478
3547
|
saveHelpVideoDraft,
|
|
3548
|
+
saveMcpToolsConfig,
|
|
3479
3549
|
saveMyScopeDefaults,
|
|
3480
3550
|
saveReportFilterPreset,
|
|
3481
3551
|
saveReportTemplate,
|
|
@@ -3492,6 +3562,7 @@ export {
|
|
|
3492
3562
|
setMyDelegate,
|
|
3493
3563
|
setQueueDefaultView,
|
|
3494
3564
|
setReportSubscription,
|
|
3565
|
+
setSupportTicketStatus,
|
|
3495
3566
|
setTranslations,
|
|
3496
3567
|
setupTwoFactor,
|
|
3497
3568
|
simulatePermissions,
|
package/package.json
CHANGED