@gravity-rail/sdk 7.0.0 → 8.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/{agent_standing_job-DVHim0Te.d.ts → agent_standing_job-CnfyOUHF.d.ts} +20 -263
- package/dist/{agent_standing_job-8aO5bEFa.d.cts → agent_standing_job-DMtlKqoo.d.cts} +20 -263
- package/dist/{chat-interaction-B_d8hxyU.d.cts → chat-interaction-DTbOs4jH.d.ts} +375 -26
- package/dist/{chat-interaction-D5I0hKyc.d.ts → chat-interaction-KOe9pGEM.d.cts} +375 -26
- package/dist/{chunk-M77YVSBD.js → chunk-FWDDHKTM.js} +20 -4
- package/dist/chunk-FWDDHKTM.js.map +1 -0
- package/dist/{chunk-T26HRHRS.js → chunk-RKIR4UNS.js} +1 -1
- package/dist/chunk-RKIR4UNS.js.map +1 -0
- package/dist/helpers.d.cts +2 -2
- package/dist/helpers.d.ts +2 -2
- package/dist/index.cjs +20 -3
- 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 +3 -2
- package/dist/index.js.map +1 -1
- package/dist/internal.cjs +42 -3
- package/dist/internal.cjs.map +1 -1
- package/dist/internal.d.cts +362 -175
- package/dist/internal.d.ts +362 -175
- package/dist/internal.js +24 -2
- package/dist/internal.js.map +1 -1
- package/dist/{member-import-Dy-kcTfi.d.cts → member-import-4VSE3yYo.d.cts} +1 -1
- package/dist/{member-import-BFicp3ce.d.ts → member-import-BQDFoSyf.d.ts} +1 -1
- package/dist/schemas.cjs.map +1 -1
- package/dist/schemas.d.cts +18 -18
- package/dist/schemas.d.ts +18 -18
- package/dist/schemas.js +1 -1
- package/dist/{tasks-DW2dTbAJ.d.ts → tasks-2LhXIwL8.d.ts} +16 -8
- package/dist/{tasks-DHvGDkhw.d.cts → tasks-BTURuIlD.d.cts} +16 -8
- package/package.json +1 -1
- package/dist/chunk-M77YVSBD.js.map +0 -1
- package/dist/chunk-T26HRHRS.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, a_ as DataTypeRecordScope, aW as DataSensitivity, aH as DataCategory, bJ as IndexStatus, gl as TipTapDocumentInput } from './tasks-
|
|
2
|
+
import { b as DataFieldType, a_ as DataTypeRecordScope, aW as DataSensitivity, aH as DataCategory, bJ as IndexStatus, gl as TipTapDocumentInput } from './tasks-BTURuIlD.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-BTURuIlD.cjs';
|
|
5
5
|
import { Tool } from '@modelcontextprotocol/sdk/types.js';
|
|
6
6
|
import './account-DLwJWX9b.cjs';
|
|
7
7
|
|
|
@@ -1114,14 +1114,14 @@ declare const ChannelEnum: z.ZodEnum<{
|
|
|
1114
1114
|
}>;
|
|
1115
1115
|
declare const MessageRoleEnum: z.ZodEnum<{
|
|
1116
1116
|
function: "function";
|
|
1117
|
-
assistant: "assistant";
|
|
1118
1117
|
user: "user";
|
|
1119
1118
|
system: "system";
|
|
1119
|
+
assistant: "assistant";
|
|
1120
1120
|
tool: "tool";
|
|
1121
1121
|
}>;
|
|
1122
1122
|
declare const ChatFilterObjectTypeEnum: z.ZodEnum<{
|
|
1123
|
-
paused: "paused";
|
|
1124
1123
|
channel: "channel";
|
|
1124
|
+
paused: "paused";
|
|
1125
1125
|
title: "title";
|
|
1126
1126
|
participant: "participant";
|
|
1127
1127
|
mode: "mode";
|
|
@@ -1154,8 +1154,8 @@ declare const TruncationReasonEnum: z.ZodEnum<{
|
|
|
1154
1154
|
user_cancel: "user_cancel";
|
|
1155
1155
|
}>;
|
|
1156
1156
|
declare const MessageOriginEnum: z.ZodEnum<{
|
|
1157
|
-
operator: "operator";
|
|
1158
1157
|
agent: "agent";
|
|
1158
|
+
operator: "operator";
|
|
1159
1159
|
member: "member";
|
|
1160
1160
|
platform: "platform";
|
|
1161
1161
|
tool: "tool";
|
|
@@ -1477,8 +1477,8 @@ declare const ChatSchema: z.ZodObject<{
|
|
|
1477
1477
|
}, z.core.$strip>;
|
|
1478
1478
|
declare const ChatFilterRuleSchema: z.ZodObject<{
|
|
1479
1479
|
objectType: z.ZodEnum<{
|
|
1480
|
-
paused: "paused";
|
|
1481
1480
|
channel: "channel";
|
|
1481
|
+
paused: "paused";
|
|
1482
1482
|
title: "title";
|
|
1483
1483
|
participant: "participant";
|
|
1484
1484
|
mode: "mode";
|
|
@@ -1503,8 +1503,8 @@ declare const ChatFilterRuleSchema: z.ZodObject<{
|
|
|
1503
1503
|
}, z.core.$strip>;
|
|
1504
1504
|
declare const ChatFilterRuleFormDataSchema: z.ZodObject<{
|
|
1505
1505
|
objectType: z.ZodEnum<{
|
|
1506
|
-
paused: "paused";
|
|
1507
1506
|
channel: "channel";
|
|
1507
|
+
paused: "paused";
|
|
1508
1508
|
title: "title";
|
|
1509
1509
|
participant: "participant";
|
|
1510
1510
|
mode: "mode";
|
|
@@ -1640,9 +1640,9 @@ declare const MessageContentPartSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
1640
1640
|
declare const ChatMessageObjectSchema: z.ZodObject<{
|
|
1641
1641
|
role: z.ZodEnum<{
|
|
1642
1642
|
function: "function";
|
|
1643
|
-
assistant: "assistant";
|
|
1644
1643
|
user: "user";
|
|
1645
1644
|
system: "system";
|
|
1645
|
+
assistant: "assistant";
|
|
1646
1646
|
tool: "tool";
|
|
1647
1647
|
}>;
|
|
1648
1648
|
content: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
|
|
@@ -1745,18 +1745,18 @@ declare const ChatMessageAPIResponseSchema: z.ZodObject<{
|
|
|
1745
1745
|
chatId: z.ZodNumber;
|
|
1746
1746
|
participantRole: z.ZodEnum<{
|
|
1747
1747
|
function: "function";
|
|
1748
|
-
assistant: "assistant";
|
|
1749
1748
|
user: "user";
|
|
1750
1749
|
system: "system";
|
|
1750
|
+
assistant: "assistant";
|
|
1751
1751
|
tool: "tool";
|
|
1752
1752
|
}>;
|
|
1753
1753
|
participantName: z.ZodString;
|
|
1754
1754
|
participantId: z.ZodNullable<z.ZodNumber>;
|
|
1755
1755
|
role: z.ZodEnum<{
|
|
1756
1756
|
function: "function";
|
|
1757
|
-
assistant: "assistant";
|
|
1758
1757
|
user: "user";
|
|
1759
1758
|
system: "system";
|
|
1759
|
+
assistant: "assistant";
|
|
1760
1760
|
tool: "tool";
|
|
1761
1761
|
}>;
|
|
1762
1762
|
content: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
|
|
@@ -1880,8 +1880,8 @@ declare const ChatMessageAPIResponseSchema: z.ZodObject<{
|
|
|
1880
1880
|
smsDeliveryUpdatedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1881
1881
|
smsDeliveryFailureReason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1882
1882
|
origin: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
1883
|
-
operator: "operator";
|
|
1884
1883
|
agent: "agent";
|
|
1884
|
+
operator: "operator";
|
|
1885
1885
|
member: "member";
|
|
1886
1886
|
platform: "platform";
|
|
1887
1887
|
tool: "tool";
|
|
@@ -1899,9 +1899,9 @@ declare const ChatMessageAPIResponseSchema: z.ZodObject<{
|
|
|
1899
1899
|
declare const ChatCompletionMessageSchema: z.ZodObject<{
|
|
1900
1900
|
id: z.ZodOptional<z.ZodString>;
|
|
1901
1901
|
role: z.ZodEnum<{
|
|
1902
|
-
assistant: "assistant";
|
|
1903
1902
|
user: "user";
|
|
1904
1903
|
system: "system";
|
|
1904
|
+
assistant: "assistant";
|
|
1905
1905
|
}>;
|
|
1906
1906
|
content: z.ZodString;
|
|
1907
1907
|
}, z.core.$strip>;
|
|
@@ -1911,18 +1911,18 @@ declare const ChatMessageUISchema: z.ZodObject<{
|
|
|
1911
1911
|
chatId: z.ZodNumber;
|
|
1912
1912
|
participantRole: z.ZodEnum<{
|
|
1913
1913
|
function: "function";
|
|
1914
|
-
assistant: "assistant";
|
|
1915
1914
|
user: "user";
|
|
1916
1915
|
system: "system";
|
|
1916
|
+
assistant: "assistant";
|
|
1917
1917
|
tool: "tool";
|
|
1918
1918
|
}>;
|
|
1919
1919
|
participantName: z.ZodString;
|
|
1920
1920
|
participantId: z.ZodNullable<z.ZodNumber>;
|
|
1921
1921
|
role: z.ZodEnum<{
|
|
1922
1922
|
function: "function";
|
|
1923
|
-
assistant: "assistant";
|
|
1924
1923
|
user: "user";
|
|
1925
1924
|
system: "system";
|
|
1925
|
+
assistant: "assistant";
|
|
1926
1926
|
tool: "tool";
|
|
1927
1927
|
}>;
|
|
1928
1928
|
content: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
|
|
@@ -2046,8 +2046,8 @@ declare const ChatMessageUISchema: z.ZodObject<{
|
|
|
2046
2046
|
smsDeliveryUpdatedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2047
2047
|
smsDeliveryFailureReason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2048
2048
|
origin: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
2049
|
-
operator: "operator";
|
|
2050
2049
|
agent: "agent";
|
|
2050
|
+
operator: "operator";
|
|
2051
2051
|
member: "member";
|
|
2052
2052
|
platform: "platform";
|
|
2053
2053
|
tool: "tool";
|
|
@@ -2085,18 +2085,18 @@ declare const ChatMessageSchema: z.ZodObject<{
|
|
|
2085
2085
|
chatId: z.ZodNumber;
|
|
2086
2086
|
participantRole: z.ZodEnum<{
|
|
2087
2087
|
function: "function";
|
|
2088
|
-
assistant: "assistant";
|
|
2089
2088
|
user: "user";
|
|
2090
2089
|
system: "system";
|
|
2090
|
+
assistant: "assistant";
|
|
2091
2091
|
tool: "tool";
|
|
2092
2092
|
}>;
|
|
2093
2093
|
participantName: z.ZodString;
|
|
2094
2094
|
participantId: z.ZodNullable<z.ZodNumber>;
|
|
2095
2095
|
role: z.ZodEnum<{
|
|
2096
2096
|
function: "function";
|
|
2097
|
-
assistant: "assistant";
|
|
2098
2097
|
user: "user";
|
|
2099
2098
|
system: "system";
|
|
2099
|
+
assistant: "assistant";
|
|
2100
2100
|
tool: "tool";
|
|
2101
2101
|
}>;
|
|
2102
2102
|
content: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
|
|
@@ -2220,8 +2220,8 @@ declare const ChatMessageSchema: z.ZodObject<{
|
|
|
2220
2220
|
smsDeliveryUpdatedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2221
2221
|
smsDeliveryFailureReason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2222
2222
|
origin: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
2223
|
-
operator: "operator";
|
|
2224
2223
|
agent: "agent";
|
|
2224
|
+
operator: "operator";
|
|
2225
2225
|
member: "member";
|
|
2226
2226
|
platform: "platform";
|
|
2227
2227
|
tool: "tool";
|
package/dist/schemas.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
-
import { b as DataFieldType, a_ as DataTypeRecordScope, aW as DataSensitivity, aH as DataCategory, bJ as IndexStatus, gl as TipTapDocumentInput } from './tasks-
|
|
2
|
+
import { b as DataFieldType, a_ as DataTypeRecordScope, aW as DataSensitivity, aH as DataCategory, bJ as IndexStatus, gl as TipTapDocumentInput } from './tasks-2LhXIwL8.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-2LhXIwL8.js';
|
|
5
5
|
import { Tool } from '@modelcontextprotocol/sdk/types.js';
|
|
6
6
|
import './account-DLwJWX9b.js';
|
|
7
7
|
|
|
@@ -1114,14 +1114,14 @@ declare const ChannelEnum: z.ZodEnum<{
|
|
|
1114
1114
|
}>;
|
|
1115
1115
|
declare const MessageRoleEnum: z.ZodEnum<{
|
|
1116
1116
|
function: "function";
|
|
1117
|
-
assistant: "assistant";
|
|
1118
1117
|
user: "user";
|
|
1119
1118
|
system: "system";
|
|
1119
|
+
assistant: "assistant";
|
|
1120
1120
|
tool: "tool";
|
|
1121
1121
|
}>;
|
|
1122
1122
|
declare const ChatFilterObjectTypeEnum: z.ZodEnum<{
|
|
1123
|
-
paused: "paused";
|
|
1124
1123
|
channel: "channel";
|
|
1124
|
+
paused: "paused";
|
|
1125
1125
|
title: "title";
|
|
1126
1126
|
participant: "participant";
|
|
1127
1127
|
mode: "mode";
|
|
@@ -1154,8 +1154,8 @@ declare const TruncationReasonEnum: z.ZodEnum<{
|
|
|
1154
1154
|
user_cancel: "user_cancel";
|
|
1155
1155
|
}>;
|
|
1156
1156
|
declare const MessageOriginEnum: z.ZodEnum<{
|
|
1157
|
-
operator: "operator";
|
|
1158
1157
|
agent: "agent";
|
|
1158
|
+
operator: "operator";
|
|
1159
1159
|
member: "member";
|
|
1160
1160
|
platform: "platform";
|
|
1161
1161
|
tool: "tool";
|
|
@@ -1477,8 +1477,8 @@ declare const ChatSchema: z.ZodObject<{
|
|
|
1477
1477
|
}, z.core.$strip>;
|
|
1478
1478
|
declare const ChatFilterRuleSchema: z.ZodObject<{
|
|
1479
1479
|
objectType: z.ZodEnum<{
|
|
1480
|
-
paused: "paused";
|
|
1481
1480
|
channel: "channel";
|
|
1481
|
+
paused: "paused";
|
|
1482
1482
|
title: "title";
|
|
1483
1483
|
participant: "participant";
|
|
1484
1484
|
mode: "mode";
|
|
@@ -1503,8 +1503,8 @@ declare const ChatFilterRuleSchema: z.ZodObject<{
|
|
|
1503
1503
|
}, z.core.$strip>;
|
|
1504
1504
|
declare const ChatFilterRuleFormDataSchema: z.ZodObject<{
|
|
1505
1505
|
objectType: z.ZodEnum<{
|
|
1506
|
-
paused: "paused";
|
|
1507
1506
|
channel: "channel";
|
|
1507
|
+
paused: "paused";
|
|
1508
1508
|
title: "title";
|
|
1509
1509
|
participant: "participant";
|
|
1510
1510
|
mode: "mode";
|
|
@@ -1640,9 +1640,9 @@ declare const MessageContentPartSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
1640
1640
|
declare const ChatMessageObjectSchema: z.ZodObject<{
|
|
1641
1641
|
role: z.ZodEnum<{
|
|
1642
1642
|
function: "function";
|
|
1643
|
-
assistant: "assistant";
|
|
1644
1643
|
user: "user";
|
|
1645
1644
|
system: "system";
|
|
1645
|
+
assistant: "assistant";
|
|
1646
1646
|
tool: "tool";
|
|
1647
1647
|
}>;
|
|
1648
1648
|
content: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
|
|
@@ -1745,18 +1745,18 @@ declare const ChatMessageAPIResponseSchema: z.ZodObject<{
|
|
|
1745
1745
|
chatId: z.ZodNumber;
|
|
1746
1746
|
participantRole: z.ZodEnum<{
|
|
1747
1747
|
function: "function";
|
|
1748
|
-
assistant: "assistant";
|
|
1749
1748
|
user: "user";
|
|
1750
1749
|
system: "system";
|
|
1750
|
+
assistant: "assistant";
|
|
1751
1751
|
tool: "tool";
|
|
1752
1752
|
}>;
|
|
1753
1753
|
participantName: z.ZodString;
|
|
1754
1754
|
participantId: z.ZodNullable<z.ZodNumber>;
|
|
1755
1755
|
role: z.ZodEnum<{
|
|
1756
1756
|
function: "function";
|
|
1757
|
-
assistant: "assistant";
|
|
1758
1757
|
user: "user";
|
|
1759
1758
|
system: "system";
|
|
1759
|
+
assistant: "assistant";
|
|
1760
1760
|
tool: "tool";
|
|
1761
1761
|
}>;
|
|
1762
1762
|
content: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
|
|
@@ -1880,8 +1880,8 @@ declare const ChatMessageAPIResponseSchema: z.ZodObject<{
|
|
|
1880
1880
|
smsDeliveryUpdatedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1881
1881
|
smsDeliveryFailureReason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1882
1882
|
origin: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
1883
|
-
operator: "operator";
|
|
1884
1883
|
agent: "agent";
|
|
1884
|
+
operator: "operator";
|
|
1885
1885
|
member: "member";
|
|
1886
1886
|
platform: "platform";
|
|
1887
1887
|
tool: "tool";
|
|
@@ -1899,9 +1899,9 @@ declare const ChatMessageAPIResponseSchema: z.ZodObject<{
|
|
|
1899
1899
|
declare const ChatCompletionMessageSchema: z.ZodObject<{
|
|
1900
1900
|
id: z.ZodOptional<z.ZodString>;
|
|
1901
1901
|
role: z.ZodEnum<{
|
|
1902
|
-
assistant: "assistant";
|
|
1903
1902
|
user: "user";
|
|
1904
1903
|
system: "system";
|
|
1904
|
+
assistant: "assistant";
|
|
1905
1905
|
}>;
|
|
1906
1906
|
content: z.ZodString;
|
|
1907
1907
|
}, z.core.$strip>;
|
|
@@ -1911,18 +1911,18 @@ declare const ChatMessageUISchema: z.ZodObject<{
|
|
|
1911
1911
|
chatId: z.ZodNumber;
|
|
1912
1912
|
participantRole: z.ZodEnum<{
|
|
1913
1913
|
function: "function";
|
|
1914
|
-
assistant: "assistant";
|
|
1915
1914
|
user: "user";
|
|
1916
1915
|
system: "system";
|
|
1916
|
+
assistant: "assistant";
|
|
1917
1917
|
tool: "tool";
|
|
1918
1918
|
}>;
|
|
1919
1919
|
participantName: z.ZodString;
|
|
1920
1920
|
participantId: z.ZodNullable<z.ZodNumber>;
|
|
1921
1921
|
role: z.ZodEnum<{
|
|
1922
1922
|
function: "function";
|
|
1923
|
-
assistant: "assistant";
|
|
1924
1923
|
user: "user";
|
|
1925
1924
|
system: "system";
|
|
1925
|
+
assistant: "assistant";
|
|
1926
1926
|
tool: "tool";
|
|
1927
1927
|
}>;
|
|
1928
1928
|
content: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
|
|
@@ -2046,8 +2046,8 @@ declare const ChatMessageUISchema: z.ZodObject<{
|
|
|
2046
2046
|
smsDeliveryUpdatedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2047
2047
|
smsDeliveryFailureReason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2048
2048
|
origin: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
2049
|
-
operator: "operator";
|
|
2050
2049
|
agent: "agent";
|
|
2050
|
+
operator: "operator";
|
|
2051
2051
|
member: "member";
|
|
2052
2052
|
platform: "platform";
|
|
2053
2053
|
tool: "tool";
|
|
@@ -2085,18 +2085,18 @@ declare const ChatMessageSchema: z.ZodObject<{
|
|
|
2085
2085
|
chatId: z.ZodNumber;
|
|
2086
2086
|
participantRole: z.ZodEnum<{
|
|
2087
2087
|
function: "function";
|
|
2088
|
-
assistant: "assistant";
|
|
2089
2088
|
user: "user";
|
|
2090
2089
|
system: "system";
|
|
2090
|
+
assistant: "assistant";
|
|
2091
2091
|
tool: "tool";
|
|
2092
2092
|
}>;
|
|
2093
2093
|
participantName: z.ZodString;
|
|
2094
2094
|
participantId: z.ZodNullable<z.ZodNumber>;
|
|
2095
2095
|
role: z.ZodEnum<{
|
|
2096
2096
|
function: "function";
|
|
2097
|
-
assistant: "assistant";
|
|
2098
2097
|
user: "user";
|
|
2099
2098
|
system: "system";
|
|
2099
|
+
assistant: "assistant";
|
|
2100
2100
|
tool: "tool";
|
|
2101
2101
|
}>;
|
|
2102
2102
|
content: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
|
|
@@ -2220,8 +2220,8 @@ declare const ChatMessageSchema: z.ZodObject<{
|
|
|
2220
2220
|
smsDeliveryUpdatedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2221
2221
|
smsDeliveryFailureReason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2222
2222
|
origin: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
2223
|
-
operator: "operator";
|
|
2224
2223
|
agent: "agent";
|
|
2224
|
+
operator: "operator";
|
|
2225
2225
|
member: "member";
|
|
2226
2226
|
platform: "platform";
|
|
2227
2227
|
tool: "tool";
|
package/dist/schemas.js
CHANGED
|
@@ -307,6 +307,7 @@ interface SiteResponse {
|
|
|
307
307
|
showCookieConsentBanner?: boolean;
|
|
308
308
|
permissions?: number;
|
|
309
309
|
organizationLogoUrl?: string | null;
|
|
310
|
+
organizationName?: string | null;
|
|
310
311
|
primaryLocale?: string;
|
|
311
312
|
availableLocales?: string[];
|
|
312
313
|
pageCount?: number | null;
|
|
@@ -537,6 +538,7 @@ interface UnauthorizedSiteResponse {
|
|
|
537
538
|
showCookieConsentBanner?: boolean;
|
|
538
539
|
permissions?: number;
|
|
539
540
|
organizationLogoUrl?: string | null;
|
|
541
|
+
organizationName?: string | null;
|
|
540
542
|
primaryLocale?: string;
|
|
541
543
|
availableLocales?: string[];
|
|
542
544
|
pageCount?: number | null;
|
|
@@ -3582,6 +3584,7 @@ type QueryRunMode = 'rows' | 'count' | 'aggregate';
|
|
|
3582
3584
|
interface RunQueryRequest {
|
|
3583
3585
|
query: QueryIR;
|
|
3584
3586
|
mode?: QueryRunMode | null;
|
|
3587
|
+
sourceFaxId?: number | null;
|
|
3585
3588
|
}
|
|
3586
3589
|
interface QueryCostInfo {
|
|
3587
3590
|
score: number;
|
|
@@ -3601,6 +3604,11 @@ interface RunQueryResponse {
|
|
|
3601
3604
|
rows?: Record<string, unknown>[] | null;
|
|
3602
3605
|
warnings: string[];
|
|
3603
3606
|
cost?: QueryCostInfo | null;
|
|
3607
|
+
sourceFax?: {
|
|
3608
|
+
id: number;
|
|
3609
|
+
pdfFileId: number | null;
|
|
3610
|
+
receivedAt: string | null;
|
|
3611
|
+
} | null;
|
|
3604
3612
|
}
|
|
3605
3613
|
/** A labeled choice for a field whose raw values are ids/codes. */
|
|
3606
3614
|
interface QueryEnumOption {
|
|
@@ -6595,11 +6603,18 @@ declare const CreateTaskSchema: z.ZodObject<{
|
|
|
6595
6603
|
declare const UpdateTaskSchema: z.ZodObject<{
|
|
6596
6604
|
wid: z.ZodString;
|
|
6597
6605
|
taskId: z.ZodNumber;
|
|
6606
|
+
abilities: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
6607
|
+
uuid: z.ZodString;
|
|
6608
|
+
abilityType: z.ZodString;
|
|
6609
|
+
config: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
6610
|
+
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
6611
|
+
celCondition: z.ZodOptional<z.ZodString>;
|
|
6612
|
+
}, z.core.$strip>>>>;
|
|
6598
6613
|
name: z.ZodOptional<z.ZodString>;
|
|
6599
6614
|
description: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
6600
|
-
prompt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
6601
6615
|
taskType: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
6602
6616
|
configuration: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>>;
|
|
6617
|
+
prompt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
6603
6618
|
isAdmin: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
|
|
6604
6619
|
childTasks: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
6605
6620
|
taskId: z.ZodNumber;
|
|
@@ -6614,13 +6629,6 @@ declare const UpdateTaskSchema: z.ZodObject<{
|
|
|
6614
6629
|
}, z.core.$strip>>>>;
|
|
6615
6630
|
workflowId: z.ZodOptional<z.ZodNumber>;
|
|
6616
6631
|
celGuard: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
6617
|
-
abilities: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
6618
|
-
uuid: z.ZodString;
|
|
6619
|
-
abilityType: z.ZodString;
|
|
6620
|
-
config: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
6621
|
-
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
6622
|
-
celCondition: z.ZodOptional<z.ZodString>;
|
|
6623
|
-
}, z.core.$strip>>>>;
|
|
6624
6632
|
configurationPatch: z.ZodOptional<z.ZodObject<{
|
|
6625
6633
|
data: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
6626
6634
|
source: z.ZodLiteral<"task">;
|
|
@@ -307,6 +307,7 @@ interface SiteResponse {
|
|
|
307
307
|
showCookieConsentBanner?: boolean;
|
|
308
308
|
permissions?: number;
|
|
309
309
|
organizationLogoUrl?: string | null;
|
|
310
|
+
organizationName?: string | null;
|
|
310
311
|
primaryLocale?: string;
|
|
311
312
|
availableLocales?: string[];
|
|
312
313
|
pageCount?: number | null;
|
|
@@ -537,6 +538,7 @@ interface UnauthorizedSiteResponse {
|
|
|
537
538
|
showCookieConsentBanner?: boolean;
|
|
538
539
|
permissions?: number;
|
|
539
540
|
organizationLogoUrl?: string | null;
|
|
541
|
+
organizationName?: string | null;
|
|
540
542
|
primaryLocale?: string;
|
|
541
543
|
availableLocales?: string[];
|
|
542
544
|
pageCount?: number | null;
|
|
@@ -3582,6 +3584,7 @@ type QueryRunMode = 'rows' | 'count' | 'aggregate';
|
|
|
3582
3584
|
interface RunQueryRequest {
|
|
3583
3585
|
query: QueryIR;
|
|
3584
3586
|
mode?: QueryRunMode | null;
|
|
3587
|
+
sourceFaxId?: number | null;
|
|
3585
3588
|
}
|
|
3586
3589
|
interface QueryCostInfo {
|
|
3587
3590
|
score: number;
|
|
@@ -3601,6 +3604,11 @@ interface RunQueryResponse {
|
|
|
3601
3604
|
rows?: Record<string, unknown>[] | null;
|
|
3602
3605
|
warnings: string[];
|
|
3603
3606
|
cost?: QueryCostInfo | null;
|
|
3607
|
+
sourceFax?: {
|
|
3608
|
+
id: number;
|
|
3609
|
+
pdfFileId: number | null;
|
|
3610
|
+
receivedAt: string | null;
|
|
3611
|
+
} | null;
|
|
3604
3612
|
}
|
|
3605
3613
|
/** A labeled choice for a field whose raw values are ids/codes. */
|
|
3606
3614
|
interface QueryEnumOption {
|
|
@@ -6595,11 +6603,18 @@ declare const CreateTaskSchema: z.ZodObject<{
|
|
|
6595
6603
|
declare const UpdateTaskSchema: z.ZodObject<{
|
|
6596
6604
|
wid: z.ZodString;
|
|
6597
6605
|
taskId: z.ZodNumber;
|
|
6606
|
+
abilities: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
6607
|
+
uuid: z.ZodString;
|
|
6608
|
+
abilityType: z.ZodString;
|
|
6609
|
+
config: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
6610
|
+
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
6611
|
+
celCondition: z.ZodOptional<z.ZodString>;
|
|
6612
|
+
}, z.core.$strip>>>>;
|
|
6598
6613
|
name: z.ZodOptional<z.ZodString>;
|
|
6599
6614
|
description: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
6600
|
-
prompt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
6601
6615
|
taskType: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
6602
6616
|
configuration: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>>;
|
|
6617
|
+
prompt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
6603
6618
|
isAdmin: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
|
|
6604
6619
|
childTasks: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
6605
6620
|
taskId: z.ZodNumber;
|
|
@@ -6614,13 +6629,6 @@ declare const UpdateTaskSchema: z.ZodObject<{
|
|
|
6614
6629
|
}, z.core.$strip>>>>;
|
|
6615
6630
|
workflowId: z.ZodOptional<z.ZodNumber>;
|
|
6616
6631
|
celGuard: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
6617
|
-
abilities: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
6618
|
-
uuid: z.ZodString;
|
|
6619
|
-
abilityType: z.ZodString;
|
|
6620
|
-
config: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
6621
|
-
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
6622
|
-
celCondition: z.ZodOptional<z.ZodString>;
|
|
6623
|
-
}, z.core.$strip>>>>;
|
|
6624
6632
|
configurationPatch: z.ZodOptional<z.ZodObject<{
|
|
6625
6633
|
data: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
6626
6634
|
source: z.ZodLiteral<"task">;
|