@gravity-rail/sdk 1.0.0 → 2.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{chat-interaction-BWvViNx-.d.cts → chat-interaction-CGDgA4K_.d.cts} +1130 -308
- package/dist/{chat-interaction-CRGcStD0.d.ts → chat-interaction-DjV6mYaY.d.ts} +1130 -308
- package/dist/{chunk-VBG6XUBN.js → chunk-SVRE6KIM.js} +454 -209
- package/dist/chunk-SVRE6KIM.js.map +1 -0
- package/dist/helpers.d.cts +2 -2
- package/dist/helpers.d.ts +2 -2
- package/dist/index.cjs +460 -210
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +6 -6
- package/dist/index.d.ts +6 -6
- package/dist/index.js +11 -1
- package/dist/index.js.map +1 -1
- package/dist/internal.cjs +454 -208
- package/dist/internal.cjs.map +1 -1
- package/dist/internal.d.cts +5 -5
- package/dist/internal.d.ts +5 -5
- package/dist/internal.js +7 -1
- package/dist/internal.js.map +1 -1
- package/dist/{member-import-fQz-gVmQ.d.cts → member-import-C1IsFkQm.d.cts} +1 -1
- package/dist/{member-import-DcjopLJf.d.ts → member-import-DVHDjWwi.d.ts} +1 -1
- package/dist/{path-C5Cn4Kl7.d.cts → path-Bd99SxC1.d.cts} +21 -2
- package/dist/{path-BKAZ7CTT.d.ts → path-CZxFBfjw.d.ts} +21 -2
- package/dist/schemas.d.cts +36 -36
- package/dist/schemas.d.ts +36 -36
- package/dist/{tasks-DVm54e2a.d.cts → tasks-C8TrcAV8.d.cts} +3 -0
- package/dist/{tasks-DVm54e2a.d.ts → tasks-C8TrcAV8.d.ts} +3 -0
- package/package.json +7 -2
- package/dist/chunk-VBG6XUBN.js.map +0 -1
package/dist/schemas.d.cts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
-
import { b as DataFieldType, b8 as DataTypeRecordScope, b4 as DataSensitivity, aR as DataCategory, bR as IndexStatus } from './tasks-
|
|
2
|
+
import { b as DataFieldType, b8 as DataTypeRecordScope, b4 as DataSensitivity, aR as DataCategory, bR as IndexStatus } from './tasks-C8TrcAV8.cjs';
|
|
3
3
|
import { CalendarScheduleAvailabilityType, CalendarScheduleRecurrence, CalendarEventStatus, AttendeeResponseStatus } from './index.cjs';
|
|
4
|
-
export { gy as AbilityData, gz as AbilityDataSchema, gA as AnonymousInquiryFormSchema, gB as ArchiveTaskInput, gC as ArchiveTaskSchema, gD as ChatTaskConfigurationPatchSchema, gE as ChildTaskFormData, gF as ChildTaskFormDataSchema, gG as CreateInquiryInput, gq as CreateInquirySchema, gH as CreateTaskInput, gI as CreateTaskSchema, gJ as DeleteInquiryInput, gK as DeleteInquirySchema, gL as DeleteTaskInput, gM as DeleteTaskSchema, gN as EnrichInquiryInput, gO as EnrichInquirySchema, gP as GetInquiryInput, gQ as GetInquirySchema, gR as GetTaskInput, gS as GetTaskSchema, gT as ListInquiriesInput, gU as ListInquiriesSchema, gV as ListTasksInput, gW as ListTasksSchema, gX as OutcomeTaskRoutingSchema, gY as TaskFormData, gZ as TaskFormDataSchema, g_ as UnarchiveTaskInput, g$ as UnarchiveTaskSchema, h0 as UpdateInquiryInput, gr as UpdateInquiryRequestSchema, h1 as UpdateInquirySchema, h2 as UpdateTaskInput, h3 as UpdateTaskSchema } from './tasks-
|
|
4
|
+
export { gy as AbilityData, gz as AbilityDataSchema, gA as AnonymousInquiryFormSchema, gB as ArchiveTaskInput, gC as ArchiveTaskSchema, gD as ChatTaskConfigurationPatchSchema, gE as ChildTaskFormData, gF as ChildTaskFormDataSchema, gG as CreateInquiryInput, gq as CreateInquirySchema, gH as CreateTaskInput, gI as CreateTaskSchema, gJ as DeleteInquiryInput, gK as DeleteInquirySchema, gL as DeleteTaskInput, gM as DeleteTaskSchema, gN as EnrichInquiryInput, gO as EnrichInquirySchema, gP as GetInquiryInput, gQ as GetInquirySchema, gR as GetTaskInput, gS as GetTaskSchema, gT as ListInquiriesInput, gU as ListInquiriesSchema, gV as ListTasksInput, gW as ListTasksSchema, gX as OutcomeTaskRoutingSchema, gY as TaskFormData, gZ as TaskFormDataSchema, g_ as UnarchiveTaskInput, g$ as UnarchiveTaskSchema, h0 as UpdateInquiryInput, gr as UpdateInquiryRequestSchema, h1 as UpdateInquirySchema, h2 as UpdateTaskInput, h3 as UpdateTaskSchema } from './tasks-C8TrcAV8.cjs';
|
|
5
5
|
import { Tool } from '@modelcontextprotocol/sdk/types.js';
|
|
6
6
|
|
|
7
7
|
/**
|
|
@@ -1041,24 +1041,24 @@ declare const MessageRoleEnum: z.ZodEnum<{
|
|
|
1041
1041
|
tool: "tool";
|
|
1042
1042
|
}>;
|
|
1043
1043
|
declare const ChatFilterObjectTypeEnum: z.ZodEnum<{
|
|
1044
|
+
paused: "paused";
|
|
1045
|
+
owner: "owner";
|
|
1044
1046
|
title: "title";
|
|
1045
1047
|
participant: "participant";
|
|
1046
1048
|
mode: "mode";
|
|
1047
1049
|
channel: "channel";
|
|
1048
|
-
owner: "owner";
|
|
1049
1050
|
needsResponse: "needsResponse";
|
|
1050
|
-
paused: "paused";
|
|
1051
1051
|
messageCount: "messageCount";
|
|
1052
1052
|
toolCall: "toolCall";
|
|
1053
1053
|
}>;
|
|
1054
1054
|
declare const ChatFilterFilterTypeEnum: z.ZodEnum<{
|
|
1055
|
-
any: "any";
|
|
1056
1055
|
active: "active";
|
|
1056
|
+
any: "any";
|
|
1057
|
+
equals: "equals";
|
|
1057
1058
|
all: "all";
|
|
1058
1059
|
none: "none";
|
|
1059
1060
|
partial: "partial";
|
|
1060
1061
|
exact: "exact";
|
|
1061
|
-
equals: "equals";
|
|
1062
1062
|
notEquals: "notEquals";
|
|
1063
1063
|
onlyMine: "onlyMine";
|
|
1064
1064
|
}>;
|
|
@@ -1075,10 +1075,10 @@ declare const TruncationReasonEnum: z.ZodEnum<{
|
|
|
1075
1075
|
user_cancel: "user_cancel";
|
|
1076
1076
|
}>;
|
|
1077
1077
|
declare const MessageOriginEnum: z.ZodEnum<{
|
|
1078
|
-
tool: "tool";
|
|
1079
1078
|
member: "member";
|
|
1080
|
-
agent: "agent";
|
|
1081
1079
|
operator: "operator";
|
|
1080
|
+
tool: "tool";
|
|
1081
|
+
agent: "agent";
|
|
1082
1082
|
workflow: "workflow";
|
|
1083
1083
|
engine_action: "engine_action";
|
|
1084
1084
|
background_run: "background_run";
|
|
@@ -1398,24 +1398,24 @@ declare const ChatSchema: z.ZodObject<{
|
|
|
1398
1398
|
}, z.core.$strip>;
|
|
1399
1399
|
declare const ChatFilterRuleSchema: z.ZodObject<{
|
|
1400
1400
|
objectType: z.ZodEnum<{
|
|
1401
|
+
paused: "paused";
|
|
1402
|
+
owner: "owner";
|
|
1401
1403
|
title: "title";
|
|
1402
1404
|
participant: "participant";
|
|
1403
1405
|
mode: "mode";
|
|
1404
1406
|
channel: "channel";
|
|
1405
|
-
owner: "owner";
|
|
1406
1407
|
needsResponse: "needsResponse";
|
|
1407
|
-
paused: "paused";
|
|
1408
1408
|
messageCount: "messageCount";
|
|
1409
1409
|
toolCall: "toolCall";
|
|
1410
1410
|
}>;
|
|
1411
1411
|
filterType: z.ZodEnum<{
|
|
1412
|
-
any: "any";
|
|
1413
1412
|
active: "active";
|
|
1413
|
+
any: "any";
|
|
1414
|
+
equals: "equals";
|
|
1414
1415
|
all: "all";
|
|
1415
1416
|
none: "none";
|
|
1416
1417
|
partial: "partial";
|
|
1417
1418
|
exact: "exact";
|
|
1418
|
-
equals: "equals";
|
|
1419
1419
|
notEquals: "notEquals";
|
|
1420
1420
|
onlyMine: "onlyMine";
|
|
1421
1421
|
}>;
|
|
@@ -1424,24 +1424,24 @@ declare const ChatFilterRuleSchema: z.ZodObject<{
|
|
|
1424
1424
|
}, z.core.$strip>;
|
|
1425
1425
|
declare const ChatFilterRuleFormDataSchema: z.ZodObject<{
|
|
1426
1426
|
objectType: z.ZodEnum<{
|
|
1427
|
+
paused: "paused";
|
|
1428
|
+
owner: "owner";
|
|
1427
1429
|
title: "title";
|
|
1428
1430
|
participant: "participant";
|
|
1429
1431
|
mode: "mode";
|
|
1430
1432
|
channel: "channel";
|
|
1431
|
-
owner: "owner";
|
|
1432
1433
|
needsResponse: "needsResponse";
|
|
1433
|
-
paused: "paused";
|
|
1434
1434
|
messageCount: "messageCount";
|
|
1435
1435
|
toolCall: "toolCall";
|
|
1436
1436
|
}>;
|
|
1437
1437
|
filterType: z.ZodEnum<{
|
|
1438
|
-
any: "any";
|
|
1439
1438
|
active: "active";
|
|
1439
|
+
any: "any";
|
|
1440
|
+
equals: "equals";
|
|
1440
1441
|
all: "all";
|
|
1441
1442
|
none: "none";
|
|
1442
1443
|
partial: "partial";
|
|
1443
1444
|
exact: "exact";
|
|
1444
|
-
equals: "equals";
|
|
1445
1445
|
notEquals: "notEquals";
|
|
1446
1446
|
onlyMine: "onlyMine";
|
|
1447
1447
|
}>;
|
|
@@ -1576,10 +1576,10 @@ declare const ChatMessageAPIResponseSchema: z.ZodObject<{
|
|
|
1576
1576
|
smsDeliveryUpdatedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1577
1577
|
smsDeliveryFailureReason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1578
1578
|
origin: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
1579
|
-
tool: "tool";
|
|
1580
1579
|
member: "member";
|
|
1581
|
-
agent: "agent";
|
|
1582
1580
|
operator: "operator";
|
|
1581
|
+
tool: "tool";
|
|
1582
|
+
agent: "agent";
|
|
1583
1583
|
workflow: "workflow";
|
|
1584
1584
|
engine_action: "engine_action";
|
|
1585
1585
|
background_run: "background_run";
|
|
@@ -1668,10 +1668,10 @@ declare const ChatMessageUISchema: z.ZodObject<{
|
|
|
1668
1668
|
smsDeliveryUpdatedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1669
1669
|
smsDeliveryFailureReason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1670
1670
|
origin: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
1671
|
-
tool: "tool";
|
|
1672
1671
|
member: "member";
|
|
1673
|
-
agent: "agent";
|
|
1674
1672
|
operator: "operator";
|
|
1673
|
+
tool: "tool";
|
|
1674
|
+
agent: "agent";
|
|
1675
1675
|
workflow: "workflow";
|
|
1676
1676
|
engine_action: "engine_action";
|
|
1677
1677
|
background_run: "background_run";
|
|
@@ -1757,10 +1757,10 @@ declare const ChatMessageSchema: z.ZodObject<{
|
|
|
1757
1757
|
smsDeliveryUpdatedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1758
1758
|
smsDeliveryFailureReason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1759
1759
|
origin: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
1760
|
-
tool: "tool";
|
|
1761
1760
|
member: "member";
|
|
1762
|
-
agent: "agent";
|
|
1763
1761
|
operator: "operator";
|
|
1762
|
+
tool: "tool";
|
|
1763
|
+
agent: "agent";
|
|
1764
1764
|
workflow: "workflow";
|
|
1765
1765
|
engine_action: "engine_action";
|
|
1766
1766
|
background_run: "background_run";
|
|
@@ -1845,8 +1845,8 @@ declare const InboxRuleSchema: z.ZodObject<{
|
|
|
1845
1845
|
sender_ip: "sender_ip";
|
|
1846
1846
|
}>;
|
|
1847
1847
|
operator: z.ZodEnum<{
|
|
1848
|
-
equals: "equals";
|
|
1849
1848
|
contains: "contains";
|
|
1849
|
+
equals: "equals";
|
|
1850
1850
|
ends_with: "ends_with";
|
|
1851
1851
|
regex: "regex";
|
|
1852
1852
|
ip_in_range: "ip_in_range";
|
|
@@ -1879,8 +1879,8 @@ declare const InboxRulesConfigSchema: z.ZodObject<{
|
|
|
1879
1879
|
sender_ip: "sender_ip";
|
|
1880
1880
|
}>;
|
|
1881
1881
|
operator: z.ZodEnum<{
|
|
1882
|
-
equals: "equals";
|
|
1883
1882
|
contains: "contains";
|
|
1883
|
+
equals: "equals";
|
|
1884
1884
|
ends_with: "ends_with";
|
|
1885
1885
|
regex: "regex";
|
|
1886
1886
|
ip_in_range: "ip_in_range";
|
|
@@ -1893,8 +1893,8 @@ declare const InboxRulesConfigSchema: z.ZodObject<{
|
|
|
1893
1893
|
sender_ip: "sender_ip";
|
|
1894
1894
|
}>;
|
|
1895
1895
|
operator: z.ZodEnum<{
|
|
1896
|
-
equals: "equals";
|
|
1897
1896
|
contains: "contains";
|
|
1897
|
+
equals: "equals";
|
|
1898
1898
|
ends_with: "ends_with";
|
|
1899
1899
|
regex: "regex";
|
|
1900
1900
|
ip_in_range: "ip_in_range";
|
|
@@ -1932,8 +1932,8 @@ declare const InboxFormDataSchema: z.ZodObject<{
|
|
|
1932
1932
|
sender_ip: "sender_ip";
|
|
1933
1933
|
}>;
|
|
1934
1934
|
operator: z.ZodEnum<{
|
|
1935
|
-
equals: "equals";
|
|
1936
1935
|
contains: "contains";
|
|
1936
|
+
equals: "equals";
|
|
1937
1937
|
ends_with: "ends_with";
|
|
1938
1938
|
regex: "regex";
|
|
1939
1939
|
ip_in_range: "ip_in_range";
|
|
@@ -1946,8 +1946,8 @@ declare const InboxFormDataSchema: z.ZodObject<{
|
|
|
1946
1946
|
sender_ip: "sender_ip";
|
|
1947
1947
|
}>;
|
|
1948
1948
|
operator: z.ZodEnum<{
|
|
1949
|
-
equals: "equals";
|
|
1950
1949
|
contains: "contains";
|
|
1950
|
+
equals: "equals";
|
|
1951
1951
|
ends_with: "ends_with";
|
|
1952
1952
|
regex: "regex";
|
|
1953
1953
|
ip_in_range: "ip_in_range";
|
|
@@ -2005,8 +2005,8 @@ declare const CreateInboxSchema: z.ZodObject<{
|
|
|
2005
2005
|
sender_ip: "sender_ip";
|
|
2006
2006
|
}>;
|
|
2007
2007
|
operator: z.ZodEnum<{
|
|
2008
|
-
equals: "equals";
|
|
2009
2008
|
contains: "contains";
|
|
2009
|
+
equals: "equals";
|
|
2010
2010
|
ends_with: "ends_with";
|
|
2011
2011
|
regex: "regex";
|
|
2012
2012
|
ip_in_range: "ip_in_range";
|
|
@@ -2019,8 +2019,8 @@ declare const CreateInboxSchema: z.ZodObject<{
|
|
|
2019
2019
|
sender_ip: "sender_ip";
|
|
2020
2020
|
}>;
|
|
2021
2021
|
operator: z.ZodEnum<{
|
|
2022
|
-
equals: "equals";
|
|
2023
2022
|
contains: "contains";
|
|
2023
|
+
equals: "equals";
|
|
2024
2024
|
ends_with: "ends_with";
|
|
2025
2025
|
regex: "regex";
|
|
2026
2026
|
ip_in_range: "ip_in_range";
|
|
@@ -2067,8 +2067,8 @@ declare const UpdateInboxSchema: z.ZodObject<{
|
|
|
2067
2067
|
sender_ip: "sender_ip";
|
|
2068
2068
|
}>;
|
|
2069
2069
|
operator: z.ZodEnum<{
|
|
2070
|
-
equals: "equals";
|
|
2071
2070
|
contains: "contains";
|
|
2071
|
+
equals: "equals";
|
|
2072
2072
|
ends_with: "ends_with";
|
|
2073
2073
|
regex: "regex";
|
|
2074
2074
|
ip_in_range: "ip_in_range";
|
|
@@ -2081,8 +2081,8 @@ declare const UpdateInboxSchema: z.ZodObject<{
|
|
|
2081
2081
|
sender_ip: "sender_ip";
|
|
2082
2082
|
}>;
|
|
2083
2083
|
operator: z.ZodEnum<{
|
|
2084
|
-
equals: "equals";
|
|
2085
2084
|
contains: "contains";
|
|
2085
|
+
equals: "equals";
|
|
2086
2086
|
ends_with: "ends_with";
|
|
2087
2087
|
regex: "regex";
|
|
2088
2088
|
ip_in_range: "ip_in_range";
|
|
@@ -2792,8 +2792,8 @@ declare const WorkflowCreateFormDataSchema: z.ZodObject<{
|
|
|
2792
2792
|
offlineMessage: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2793
2793
|
pauseOnEscalate: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
2794
2794
|
routingMode: z.ZodOptional<z.ZodEnum<{
|
|
2795
|
-
custom: "custom";
|
|
2796
2795
|
workspace: "workspace";
|
|
2796
|
+
custom: "custom";
|
|
2797
2797
|
}>>;
|
|
2798
2798
|
includeWorkspaceRules: z.ZodOptional<z.ZodBoolean>;
|
|
2799
2799
|
manualToolEnabled: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -2850,8 +2850,8 @@ declare const WorkflowFormDataSchema: z.ZodObject<{
|
|
|
2850
2850
|
offlineMessage: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2851
2851
|
pauseOnEscalate: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
2852
2852
|
routingMode: z.ZodOptional<z.ZodEnum<{
|
|
2853
|
-
custom: "custom";
|
|
2854
2853
|
workspace: "workspace";
|
|
2854
|
+
custom: "custom";
|
|
2855
2855
|
}>>;
|
|
2856
2856
|
includeWorkspaceRules: z.ZodOptional<z.ZodBoolean>;
|
|
2857
2857
|
manualToolEnabled: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -2904,8 +2904,8 @@ declare const CreateWorkflowSchema: z.ZodObject<{
|
|
|
2904
2904
|
offlineMessage: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2905
2905
|
pauseOnEscalate: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
2906
2906
|
routingMode: z.ZodOptional<z.ZodEnum<{
|
|
2907
|
-
custom: "custom";
|
|
2908
2907
|
workspace: "workspace";
|
|
2908
|
+
custom: "custom";
|
|
2909
2909
|
}>>;
|
|
2910
2910
|
includeWorkspaceRules: z.ZodOptional<z.ZodBoolean>;
|
|
2911
2911
|
manualToolEnabled: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -2958,8 +2958,8 @@ declare const UpdateWorkflowSchema: z.ZodObject<{
|
|
|
2958
2958
|
offlineMessage: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2959
2959
|
pauseOnEscalate: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
2960
2960
|
routingMode: z.ZodOptional<z.ZodEnum<{
|
|
2961
|
-
custom: "custom";
|
|
2962
2961
|
workspace: "workspace";
|
|
2962
|
+
custom: "custom";
|
|
2963
2963
|
}>>;
|
|
2964
2964
|
includeWorkspaceRules: z.ZodOptional<z.ZodBoolean>;
|
|
2965
2965
|
manualToolEnabled: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -3021,8 +3021,8 @@ declare const WorkflowEscalationPolicySchema: z.ZodObject<{
|
|
|
3021
3021
|
offlineMessage: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3022
3022
|
pauseOnEscalate: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
3023
3023
|
routingMode: z.ZodOptional<z.ZodEnum<{
|
|
3024
|
-
custom: "custom";
|
|
3025
3024
|
workspace: "workspace";
|
|
3025
|
+
custom: "custom";
|
|
3026
3026
|
}>>;
|
|
3027
3027
|
includeWorkspaceRules: z.ZodOptional<z.ZodBoolean>;
|
|
3028
3028
|
manualToolEnabled: z.ZodOptional<z.ZodBoolean>;
|
package/dist/schemas.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
-
import { b as DataFieldType, b8 as DataTypeRecordScope, b4 as DataSensitivity, aR as DataCategory, bR as IndexStatus } from './tasks-
|
|
2
|
+
import { b as DataFieldType, b8 as DataTypeRecordScope, b4 as DataSensitivity, aR as DataCategory, bR as IndexStatus } from './tasks-C8TrcAV8.js';
|
|
3
3
|
import { CalendarScheduleAvailabilityType, CalendarScheduleRecurrence, CalendarEventStatus, AttendeeResponseStatus } from './index.js';
|
|
4
|
-
export { gy as AbilityData, gz as AbilityDataSchema, gA as AnonymousInquiryFormSchema, gB as ArchiveTaskInput, gC as ArchiveTaskSchema, gD as ChatTaskConfigurationPatchSchema, gE as ChildTaskFormData, gF as ChildTaskFormDataSchema, gG as CreateInquiryInput, gq as CreateInquirySchema, gH as CreateTaskInput, gI as CreateTaskSchema, gJ as DeleteInquiryInput, gK as DeleteInquirySchema, gL as DeleteTaskInput, gM as DeleteTaskSchema, gN as EnrichInquiryInput, gO as EnrichInquirySchema, gP as GetInquiryInput, gQ as GetInquirySchema, gR as GetTaskInput, gS as GetTaskSchema, gT as ListInquiriesInput, gU as ListInquiriesSchema, gV as ListTasksInput, gW as ListTasksSchema, gX as OutcomeTaskRoutingSchema, gY as TaskFormData, gZ as TaskFormDataSchema, g_ as UnarchiveTaskInput, g$ as UnarchiveTaskSchema, h0 as UpdateInquiryInput, gr as UpdateInquiryRequestSchema, h1 as UpdateInquirySchema, h2 as UpdateTaskInput, h3 as UpdateTaskSchema } from './tasks-
|
|
4
|
+
export { gy as AbilityData, gz as AbilityDataSchema, gA as AnonymousInquiryFormSchema, gB as ArchiveTaskInput, gC as ArchiveTaskSchema, gD as ChatTaskConfigurationPatchSchema, gE as ChildTaskFormData, gF as ChildTaskFormDataSchema, gG as CreateInquiryInput, gq as CreateInquirySchema, gH as CreateTaskInput, gI as CreateTaskSchema, gJ as DeleteInquiryInput, gK as DeleteInquirySchema, gL as DeleteTaskInput, gM as DeleteTaskSchema, gN as EnrichInquiryInput, gO as EnrichInquirySchema, gP as GetInquiryInput, gQ as GetInquirySchema, gR as GetTaskInput, gS as GetTaskSchema, gT as ListInquiriesInput, gU as ListInquiriesSchema, gV as ListTasksInput, gW as ListTasksSchema, gX as OutcomeTaskRoutingSchema, gY as TaskFormData, gZ as TaskFormDataSchema, g_ as UnarchiveTaskInput, g$ as UnarchiveTaskSchema, h0 as UpdateInquiryInput, gr as UpdateInquiryRequestSchema, h1 as UpdateInquirySchema, h2 as UpdateTaskInput, h3 as UpdateTaskSchema } from './tasks-C8TrcAV8.js';
|
|
5
5
|
import { Tool } from '@modelcontextprotocol/sdk/types.js';
|
|
6
6
|
|
|
7
7
|
/**
|
|
@@ -1041,24 +1041,24 @@ declare const MessageRoleEnum: z.ZodEnum<{
|
|
|
1041
1041
|
tool: "tool";
|
|
1042
1042
|
}>;
|
|
1043
1043
|
declare const ChatFilterObjectTypeEnum: z.ZodEnum<{
|
|
1044
|
+
paused: "paused";
|
|
1045
|
+
owner: "owner";
|
|
1044
1046
|
title: "title";
|
|
1045
1047
|
participant: "participant";
|
|
1046
1048
|
mode: "mode";
|
|
1047
1049
|
channel: "channel";
|
|
1048
|
-
owner: "owner";
|
|
1049
1050
|
needsResponse: "needsResponse";
|
|
1050
|
-
paused: "paused";
|
|
1051
1051
|
messageCount: "messageCount";
|
|
1052
1052
|
toolCall: "toolCall";
|
|
1053
1053
|
}>;
|
|
1054
1054
|
declare const ChatFilterFilterTypeEnum: z.ZodEnum<{
|
|
1055
|
-
any: "any";
|
|
1056
1055
|
active: "active";
|
|
1056
|
+
any: "any";
|
|
1057
|
+
equals: "equals";
|
|
1057
1058
|
all: "all";
|
|
1058
1059
|
none: "none";
|
|
1059
1060
|
partial: "partial";
|
|
1060
1061
|
exact: "exact";
|
|
1061
|
-
equals: "equals";
|
|
1062
1062
|
notEquals: "notEquals";
|
|
1063
1063
|
onlyMine: "onlyMine";
|
|
1064
1064
|
}>;
|
|
@@ -1075,10 +1075,10 @@ declare const TruncationReasonEnum: z.ZodEnum<{
|
|
|
1075
1075
|
user_cancel: "user_cancel";
|
|
1076
1076
|
}>;
|
|
1077
1077
|
declare const MessageOriginEnum: z.ZodEnum<{
|
|
1078
|
-
tool: "tool";
|
|
1079
1078
|
member: "member";
|
|
1080
|
-
agent: "agent";
|
|
1081
1079
|
operator: "operator";
|
|
1080
|
+
tool: "tool";
|
|
1081
|
+
agent: "agent";
|
|
1082
1082
|
workflow: "workflow";
|
|
1083
1083
|
engine_action: "engine_action";
|
|
1084
1084
|
background_run: "background_run";
|
|
@@ -1398,24 +1398,24 @@ declare const ChatSchema: z.ZodObject<{
|
|
|
1398
1398
|
}, z.core.$strip>;
|
|
1399
1399
|
declare const ChatFilterRuleSchema: z.ZodObject<{
|
|
1400
1400
|
objectType: z.ZodEnum<{
|
|
1401
|
+
paused: "paused";
|
|
1402
|
+
owner: "owner";
|
|
1401
1403
|
title: "title";
|
|
1402
1404
|
participant: "participant";
|
|
1403
1405
|
mode: "mode";
|
|
1404
1406
|
channel: "channel";
|
|
1405
|
-
owner: "owner";
|
|
1406
1407
|
needsResponse: "needsResponse";
|
|
1407
|
-
paused: "paused";
|
|
1408
1408
|
messageCount: "messageCount";
|
|
1409
1409
|
toolCall: "toolCall";
|
|
1410
1410
|
}>;
|
|
1411
1411
|
filterType: z.ZodEnum<{
|
|
1412
|
-
any: "any";
|
|
1413
1412
|
active: "active";
|
|
1413
|
+
any: "any";
|
|
1414
|
+
equals: "equals";
|
|
1414
1415
|
all: "all";
|
|
1415
1416
|
none: "none";
|
|
1416
1417
|
partial: "partial";
|
|
1417
1418
|
exact: "exact";
|
|
1418
|
-
equals: "equals";
|
|
1419
1419
|
notEquals: "notEquals";
|
|
1420
1420
|
onlyMine: "onlyMine";
|
|
1421
1421
|
}>;
|
|
@@ -1424,24 +1424,24 @@ declare const ChatFilterRuleSchema: z.ZodObject<{
|
|
|
1424
1424
|
}, z.core.$strip>;
|
|
1425
1425
|
declare const ChatFilterRuleFormDataSchema: z.ZodObject<{
|
|
1426
1426
|
objectType: z.ZodEnum<{
|
|
1427
|
+
paused: "paused";
|
|
1428
|
+
owner: "owner";
|
|
1427
1429
|
title: "title";
|
|
1428
1430
|
participant: "participant";
|
|
1429
1431
|
mode: "mode";
|
|
1430
1432
|
channel: "channel";
|
|
1431
|
-
owner: "owner";
|
|
1432
1433
|
needsResponse: "needsResponse";
|
|
1433
|
-
paused: "paused";
|
|
1434
1434
|
messageCount: "messageCount";
|
|
1435
1435
|
toolCall: "toolCall";
|
|
1436
1436
|
}>;
|
|
1437
1437
|
filterType: z.ZodEnum<{
|
|
1438
|
-
any: "any";
|
|
1439
1438
|
active: "active";
|
|
1439
|
+
any: "any";
|
|
1440
|
+
equals: "equals";
|
|
1440
1441
|
all: "all";
|
|
1441
1442
|
none: "none";
|
|
1442
1443
|
partial: "partial";
|
|
1443
1444
|
exact: "exact";
|
|
1444
|
-
equals: "equals";
|
|
1445
1445
|
notEquals: "notEquals";
|
|
1446
1446
|
onlyMine: "onlyMine";
|
|
1447
1447
|
}>;
|
|
@@ -1576,10 +1576,10 @@ declare const ChatMessageAPIResponseSchema: z.ZodObject<{
|
|
|
1576
1576
|
smsDeliveryUpdatedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1577
1577
|
smsDeliveryFailureReason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1578
1578
|
origin: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
1579
|
-
tool: "tool";
|
|
1580
1579
|
member: "member";
|
|
1581
|
-
agent: "agent";
|
|
1582
1580
|
operator: "operator";
|
|
1581
|
+
tool: "tool";
|
|
1582
|
+
agent: "agent";
|
|
1583
1583
|
workflow: "workflow";
|
|
1584
1584
|
engine_action: "engine_action";
|
|
1585
1585
|
background_run: "background_run";
|
|
@@ -1668,10 +1668,10 @@ declare const ChatMessageUISchema: z.ZodObject<{
|
|
|
1668
1668
|
smsDeliveryUpdatedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1669
1669
|
smsDeliveryFailureReason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1670
1670
|
origin: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
1671
|
-
tool: "tool";
|
|
1672
1671
|
member: "member";
|
|
1673
|
-
agent: "agent";
|
|
1674
1672
|
operator: "operator";
|
|
1673
|
+
tool: "tool";
|
|
1674
|
+
agent: "agent";
|
|
1675
1675
|
workflow: "workflow";
|
|
1676
1676
|
engine_action: "engine_action";
|
|
1677
1677
|
background_run: "background_run";
|
|
@@ -1757,10 +1757,10 @@ declare const ChatMessageSchema: z.ZodObject<{
|
|
|
1757
1757
|
smsDeliveryUpdatedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1758
1758
|
smsDeliveryFailureReason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1759
1759
|
origin: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
1760
|
-
tool: "tool";
|
|
1761
1760
|
member: "member";
|
|
1762
|
-
agent: "agent";
|
|
1763
1761
|
operator: "operator";
|
|
1762
|
+
tool: "tool";
|
|
1763
|
+
agent: "agent";
|
|
1764
1764
|
workflow: "workflow";
|
|
1765
1765
|
engine_action: "engine_action";
|
|
1766
1766
|
background_run: "background_run";
|
|
@@ -1845,8 +1845,8 @@ declare const InboxRuleSchema: z.ZodObject<{
|
|
|
1845
1845
|
sender_ip: "sender_ip";
|
|
1846
1846
|
}>;
|
|
1847
1847
|
operator: z.ZodEnum<{
|
|
1848
|
-
equals: "equals";
|
|
1849
1848
|
contains: "contains";
|
|
1849
|
+
equals: "equals";
|
|
1850
1850
|
ends_with: "ends_with";
|
|
1851
1851
|
regex: "regex";
|
|
1852
1852
|
ip_in_range: "ip_in_range";
|
|
@@ -1879,8 +1879,8 @@ declare const InboxRulesConfigSchema: z.ZodObject<{
|
|
|
1879
1879
|
sender_ip: "sender_ip";
|
|
1880
1880
|
}>;
|
|
1881
1881
|
operator: z.ZodEnum<{
|
|
1882
|
-
equals: "equals";
|
|
1883
1882
|
contains: "contains";
|
|
1883
|
+
equals: "equals";
|
|
1884
1884
|
ends_with: "ends_with";
|
|
1885
1885
|
regex: "regex";
|
|
1886
1886
|
ip_in_range: "ip_in_range";
|
|
@@ -1893,8 +1893,8 @@ declare const InboxRulesConfigSchema: z.ZodObject<{
|
|
|
1893
1893
|
sender_ip: "sender_ip";
|
|
1894
1894
|
}>;
|
|
1895
1895
|
operator: z.ZodEnum<{
|
|
1896
|
-
equals: "equals";
|
|
1897
1896
|
contains: "contains";
|
|
1897
|
+
equals: "equals";
|
|
1898
1898
|
ends_with: "ends_with";
|
|
1899
1899
|
regex: "regex";
|
|
1900
1900
|
ip_in_range: "ip_in_range";
|
|
@@ -1932,8 +1932,8 @@ declare const InboxFormDataSchema: z.ZodObject<{
|
|
|
1932
1932
|
sender_ip: "sender_ip";
|
|
1933
1933
|
}>;
|
|
1934
1934
|
operator: z.ZodEnum<{
|
|
1935
|
-
equals: "equals";
|
|
1936
1935
|
contains: "contains";
|
|
1936
|
+
equals: "equals";
|
|
1937
1937
|
ends_with: "ends_with";
|
|
1938
1938
|
regex: "regex";
|
|
1939
1939
|
ip_in_range: "ip_in_range";
|
|
@@ -1946,8 +1946,8 @@ declare const InboxFormDataSchema: z.ZodObject<{
|
|
|
1946
1946
|
sender_ip: "sender_ip";
|
|
1947
1947
|
}>;
|
|
1948
1948
|
operator: z.ZodEnum<{
|
|
1949
|
-
equals: "equals";
|
|
1950
1949
|
contains: "contains";
|
|
1950
|
+
equals: "equals";
|
|
1951
1951
|
ends_with: "ends_with";
|
|
1952
1952
|
regex: "regex";
|
|
1953
1953
|
ip_in_range: "ip_in_range";
|
|
@@ -2005,8 +2005,8 @@ declare const CreateInboxSchema: z.ZodObject<{
|
|
|
2005
2005
|
sender_ip: "sender_ip";
|
|
2006
2006
|
}>;
|
|
2007
2007
|
operator: z.ZodEnum<{
|
|
2008
|
-
equals: "equals";
|
|
2009
2008
|
contains: "contains";
|
|
2009
|
+
equals: "equals";
|
|
2010
2010
|
ends_with: "ends_with";
|
|
2011
2011
|
regex: "regex";
|
|
2012
2012
|
ip_in_range: "ip_in_range";
|
|
@@ -2019,8 +2019,8 @@ declare const CreateInboxSchema: z.ZodObject<{
|
|
|
2019
2019
|
sender_ip: "sender_ip";
|
|
2020
2020
|
}>;
|
|
2021
2021
|
operator: z.ZodEnum<{
|
|
2022
|
-
equals: "equals";
|
|
2023
2022
|
contains: "contains";
|
|
2023
|
+
equals: "equals";
|
|
2024
2024
|
ends_with: "ends_with";
|
|
2025
2025
|
regex: "regex";
|
|
2026
2026
|
ip_in_range: "ip_in_range";
|
|
@@ -2067,8 +2067,8 @@ declare const UpdateInboxSchema: z.ZodObject<{
|
|
|
2067
2067
|
sender_ip: "sender_ip";
|
|
2068
2068
|
}>;
|
|
2069
2069
|
operator: z.ZodEnum<{
|
|
2070
|
-
equals: "equals";
|
|
2071
2070
|
contains: "contains";
|
|
2071
|
+
equals: "equals";
|
|
2072
2072
|
ends_with: "ends_with";
|
|
2073
2073
|
regex: "regex";
|
|
2074
2074
|
ip_in_range: "ip_in_range";
|
|
@@ -2081,8 +2081,8 @@ declare const UpdateInboxSchema: z.ZodObject<{
|
|
|
2081
2081
|
sender_ip: "sender_ip";
|
|
2082
2082
|
}>;
|
|
2083
2083
|
operator: z.ZodEnum<{
|
|
2084
|
-
equals: "equals";
|
|
2085
2084
|
contains: "contains";
|
|
2085
|
+
equals: "equals";
|
|
2086
2086
|
ends_with: "ends_with";
|
|
2087
2087
|
regex: "regex";
|
|
2088
2088
|
ip_in_range: "ip_in_range";
|
|
@@ -2792,8 +2792,8 @@ declare const WorkflowCreateFormDataSchema: z.ZodObject<{
|
|
|
2792
2792
|
offlineMessage: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2793
2793
|
pauseOnEscalate: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
2794
2794
|
routingMode: z.ZodOptional<z.ZodEnum<{
|
|
2795
|
-
custom: "custom";
|
|
2796
2795
|
workspace: "workspace";
|
|
2796
|
+
custom: "custom";
|
|
2797
2797
|
}>>;
|
|
2798
2798
|
includeWorkspaceRules: z.ZodOptional<z.ZodBoolean>;
|
|
2799
2799
|
manualToolEnabled: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -2850,8 +2850,8 @@ declare const WorkflowFormDataSchema: z.ZodObject<{
|
|
|
2850
2850
|
offlineMessage: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2851
2851
|
pauseOnEscalate: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
2852
2852
|
routingMode: z.ZodOptional<z.ZodEnum<{
|
|
2853
|
-
custom: "custom";
|
|
2854
2853
|
workspace: "workspace";
|
|
2854
|
+
custom: "custom";
|
|
2855
2855
|
}>>;
|
|
2856
2856
|
includeWorkspaceRules: z.ZodOptional<z.ZodBoolean>;
|
|
2857
2857
|
manualToolEnabled: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -2904,8 +2904,8 @@ declare const CreateWorkflowSchema: z.ZodObject<{
|
|
|
2904
2904
|
offlineMessage: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2905
2905
|
pauseOnEscalate: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
2906
2906
|
routingMode: z.ZodOptional<z.ZodEnum<{
|
|
2907
|
-
custom: "custom";
|
|
2908
2907
|
workspace: "workspace";
|
|
2908
|
+
custom: "custom";
|
|
2909
2909
|
}>>;
|
|
2910
2910
|
includeWorkspaceRules: z.ZodOptional<z.ZodBoolean>;
|
|
2911
2911
|
manualToolEnabled: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -2958,8 +2958,8 @@ declare const UpdateWorkflowSchema: z.ZodObject<{
|
|
|
2958
2958
|
offlineMessage: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2959
2959
|
pauseOnEscalate: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
2960
2960
|
routingMode: z.ZodOptional<z.ZodEnum<{
|
|
2961
|
-
custom: "custom";
|
|
2962
2961
|
workspace: "workspace";
|
|
2962
|
+
custom: "custom";
|
|
2963
2963
|
}>>;
|
|
2964
2964
|
includeWorkspaceRules: z.ZodOptional<z.ZodBoolean>;
|
|
2965
2965
|
manualToolEnabled: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -3021,8 +3021,8 @@ declare const WorkflowEscalationPolicySchema: z.ZodObject<{
|
|
|
3021
3021
|
offlineMessage: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3022
3022
|
pauseOnEscalate: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
3023
3023
|
routingMode: z.ZodOptional<z.ZodEnum<{
|
|
3024
|
-
custom: "custom";
|
|
3025
3024
|
workspace: "workspace";
|
|
3025
|
+
custom: "custom";
|
|
3026
3026
|
}>>;
|
|
3027
3027
|
includeWorkspaceRules: z.ZodOptional<z.ZodBoolean>;
|
|
3028
3028
|
manualToolEnabled: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -2832,6 +2832,9 @@ declare enum Scope {
|
|
|
2832
2832
|
WORKSPACE_READ = "workspace:read",
|
|
2833
2833
|
WORKSPACE_WRITE = "workspace:write",
|
|
2834
2834
|
WORKSPACE_ADMIN = "workspace:admin",
|
|
2835
|
+
MEDICAL_BILLING_READ = "medical_billing:read",
|
|
2836
|
+
MEDICAL_BILLING_WRITE = "medical_billing:write",
|
|
2837
|
+
MEDICAL_BILLING_ADMIN = "medical_billing:admin",
|
|
2835
2838
|
MEMBERS_READ = "members:read",
|
|
2836
2839
|
MEMBERS_WRITE = "members:write",
|
|
2837
2840
|
MEMBERS_ADMIN = "members:admin",
|
|
@@ -2832,6 +2832,9 @@ declare enum Scope {
|
|
|
2832
2832
|
WORKSPACE_READ = "workspace:read",
|
|
2833
2833
|
WORKSPACE_WRITE = "workspace:write",
|
|
2834
2834
|
WORKSPACE_ADMIN = "workspace:admin",
|
|
2835
|
+
MEDICAL_BILLING_READ = "medical_billing:read",
|
|
2836
|
+
MEDICAL_BILLING_WRITE = "medical_billing:write",
|
|
2837
|
+
MEDICAL_BILLING_ADMIN = "medical_billing:admin",
|
|
2835
2838
|
MEMBERS_READ = "members:read",
|
|
2836
2839
|
MEMBERS_WRITE = "members:write",
|
|
2837
2840
|
MEMBERS_ADMIN = "members:admin",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gravity-rail/sdk",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "2.0.0",
|
|
4
4
|
"description": "Gravity Rail TypeScript SDK — API client for workspace management",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.cjs",
|
|
@@ -70,7 +70,7 @@
|
|
|
70
70
|
"scripts": {
|
|
71
71
|
"build": "tsup",
|
|
72
72
|
"clean": "rm -rf dist",
|
|
73
|
-
"typecheck": "tsc --noEmit",
|
|
73
|
+
"typecheck": "bash ../../scripts/tsc-admitted.sh --noEmit",
|
|
74
74
|
"test": "jest --forceExit",
|
|
75
75
|
"test:ci": "jest --forceExit --passWithNoTests --coverage --coverageReporters=json-summary --coverageReporters=text-summary",
|
|
76
76
|
"docs": "typedoc",
|
|
@@ -97,6 +97,7 @@
|
|
|
97
97
|
"@types/jest": "^30.0.0",
|
|
98
98
|
"@types/node": "^26.6.5",
|
|
99
99
|
"@types/react": "^19.3.0",
|
|
100
|
+
"bun": "1.4.4",
|
|
100
101
|
"jest": "^30.5.2",
|
|
101
102
|
"orval": "patch:orval@npm%3A8.32.0#~/.yarn/patches/orval-npm-8.32.0-7d17003bea.patch",
|
|
102
103
|
"react": "^19.3.1",
|
|
@@ -106,6 +107,10 @@
|
|
|
106
107
|
"typedoc": "0.28.20",
|
|
107
108
|
"typedoc-plugin-markdown": "^4.4.0",
|
|
108
109
|
"typescript": "^6.0.3",
|
|
110
|
+
"typescript-native": "npm:typescript@7.0.2",
|
|
109
111
|
"zod": "patch:zod@npm%3A4.3.5#~/.yarn/patches/zod-npm-4.3.5-018a94fb5d.patch"
|
|
112
|
+
},
|
|
113
|
+
"installConfig": {
|
|
114
|
+
"hoistingLimits": "workspaces"
|
|
110
115
|
}
|
|
111
116
|
}
|