@gravity-rail/sdk 6.1.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-D60O007y.d.cts → agent_standing_job-CnfyOUHF.d.ts} +20 -219
- package/dist/{agent_standing_job-DbKkPDyY.d.ts → agent_standing_job-DMtlKqoo.d.cts} +20 -219
- package/dist/{chat-interaction-CCdK_MtC.d.ts → chat-interaction-DTbOs4jH.d.ts} +691 -71
- package/dist/{chat-interaction-rktAADW0.d.cts → chat-interaction-KOe9pGEM.d.cts} +691 -71
- package/dist/{chunk-VFOWHCQ7.js → chunk-FWDDHKTM.js} +67 -13
- package/dist/chunk-FWDDHKTM.js.map +1 -0
- package/dist/{chunk-P2MSMMMJ.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 +67 -12
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +7 -48
- package/dist/index.d.ts +7 -48
- package/dist/index.js +3 -2
- package/dist/index.js.map +1 -1
- package/dist/internal.cjs +89 -12
- package/dist/internal.cjs.map +1 -1
- package/dist/internal.d.cts +380 -175
- package/dist/internal.d.ts +380 -175
- package/dist/internal.js +24 -2
- package/dist/internal.js.map +1 -1
- package/dist/{member-import-Bk2nh1YU.d.cts → member-import-4VSE3yYo.d.cts} +1 -1
- package/dist/{member-import-CybXt3PK.d.ts → member-import-BQDFoSyf.d.ts} +1 -1
- package/dist/schemas.cjs +1 -0
- package/dist/schemas.cjs.map +1 -1
- package/dist/schemas.d.cts +21 -18
- package/dist/schemas.d.ts +21 -18
- package/dist/schemas.js +2 -1
- package/dist/schemas.js.map +1 -1
- package/dist/{tasks-CGiE1y_T.d.ts → tasks-2LhXIwL8.d.ts} +73 -39
- package/dist/{tasks-DChznvPX.d.cts → tasks-BTURuIlD.d.cts} +73 -39
- package/package.json +1 -1
- package/dist/chunk-P2MSMMMJ.js.map +0 -1
- package/dist/chunk-VFOWHCQ7.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,
|
|
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 {
|
|
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
|
|
|
@@ -377,6 +377,7 @@ declare const DataRecordSchema: z.ZodObject<{
|
|
|
377
377
|
fieldValues: z.ZodRecord<z.ZodString, z.ZodAny>;
|
|
378
378
|
externalId: z.ZodOptional<z.ZodString>;
|
|
379
379
|
assignmentTaskId: z.ZodOptional<z.ZodNumber>;
|
|
380
|
+
createdByMemberId: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
380
381
|
createdAt: z.ZodString;
|
|
381
382
|
updatedAt: z.ZodString;
|
|
382
383
|
retirement: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
@@ -404,6 +405,7 @@ declare const DataRecordsPaginatedResponseSchema: z.ZodObject<{
|
|
|
404
405
|
fieldValues: z.ZodRecord<z.ZodString, z.ZodAny>;
|
|
405
406
|
externalId: z.ZodOptional<z.ZodString>;
|
|
406
407
|
assignmentTaskId: z.ZodOptional<z.ZodNumber>;
|
|
408
|
+
createdByMemberId: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
407
409
|
createdAt: z.ZodString;
|
|
408
410
|
updatedAt: z.ZodString;
|
|
409
411
|
retirement: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
@@ -428,6 +430,7 @@ declare const DataRecordWithAccessModeSchema: z.ZodObject<{
|
|
|
428
430
|
fieldValues: z.ZodRecord<z.ZodString, z.ZodAny>;
|
|
429
431
|
externalId: z.ZodOptional<z.ZodString>;
|
|
430
432
|
assignmentTaskId: z.ZodOptional<z.ZodNumber>;
|
|
433
|
+
createdByMemberId: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
431
434
|
createdAt: z.ZodString;
|
|
432
435
|
updatedAt: z.ZodString;
|
|
433
436
|
retirement: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
@@ -1111,14 +1114,14 @@ declare const ChannelEnum: z.ZodEnum<{
|
|
|
1111
1114
|
}>;
|
|
1112
1115
|
declare const MessageRoleEnum: z.ZodEnum<{
|
|
1113
1116
|
function: "function";
|
|
1114
|
-
assistant: "assistant";
|
|
1115
1117
|
user: "user";
|
|
1116
1118
|
system: "system";
|
|
1119
|
+
assistant: "assistant";
|
|
1117
1120
|
tool: "tool";
|
|
1118
1121
|
}>;
|
|
1119
1122
|
declare const ChatFilterObjectTypeEnum: z.ZodEnum<{
|
|
1120
|
-
paused: "paused";
|
|
1121
1123
|
channel: "channel";
|
|
1124
|
+
paused: "paused";
|
|
1122
1125
|
title: "title";
|
|
1123
1126
|
participant: "participant";
|
|
1124
1127
|
mode: "mode";
|
|
@@ -1151,8 +1154,8 @@ declare const TruncationReasonEnum: z.ZodEnum<{
|
|
|
1151
1154
|
user_cancel: "user_cancel";
|
|
1152
1155
|
}>;
|
|
1153
1156
|
declare const MessageOriginEnum: z.ZodEnum<{
|
|
1154
|
-
operator: "operator";
|
|
1155
1157
|
agent: "agent";
|
|
1158
|
+
operator: "operator";
|
|
1156
1159
|
member: "member";
|
|
1157
1160
|
platform: "platform";
|
|
1158
1161
|
tool: "tool";
|
|
@@ -1474,8 +1477,8 @@ declare const ChatSchema: z.ZodObject<{
|
|
|
1474
1477
|
}, z.core.$strip>;
|
|
1475
1478
|
declare const ChatFilterRuleSchema: z.ZodObject<{
|
|
1476
1479
|
objectType: z.ZodEnum<{
|
|
1477
|
-
paused: "paused";
|
|
1478
1480
|
channel: "channel";
|
|
1481
|
+
paused: "paused";
|
|
1479
1482
|
title: "title";
|
|
1480
1483
|
participant: "participant";
|
|
1481
1484
|
mode: "mode";
|
|
@@ -1500,8 +1503,8 @@ declare const ChatFilterRuleSchema: z.ZodObject<{
|
|
|
1500
1503
|
}, z.core.$strip>;
|
|
1501
1504
|
declare const ChatFilterRuleFormDataSchema: z.ZodObject<{
|
|
1502
1505
|
objectType: z.ZodEnum<{
|
|
1503
|
-
paused: "paused";
|
|
1504
1506
|
channel: "channel";
|
|
1507
|
+
paused: "paused";
|
|
1505
1508
|
title: "title";
|
|
1506
1509
|
participant: "participant";
|
|
1507
1510
|
mode: "mode";
|
|
@@ -1637,9 +1640,9 @@ declare const MessageContentPartSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
1637
1640
|
declare const ChatMessageObjectSchema: z.ZodObject<{
|
|
1638
1641
|
role: z.ZodEnum<{
|
|
1639
1642
|
function: "function";
|
|
1640
|
-
assistant: "assistant";
|
|
1641
1643
|
user: "user";
|
|
1642
1644
|
system: "system";
|
|
1645
|
+
assistant: "assistant";
|
|
1643
1646
|
tool: "tool";
|
|
1644
1647
|
}>;
|
|
1645
1648
|
content: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
|
|
@@ -1742,18 +1745,18 @@ declare const ChatMessageAPIResponseSchema: z.ZodObject<{
|
|
|
1742
1745
|
chatId: z.ZodNumber;
|
|
1743
1746
|
participantRole: z.ZodEnum<{
|
|
1744
1747
|
function: "function";
|
|
1745
|
-
assistant: "assistant";
|
|
1746
1748
|
user: "user";
|
|
1747
1749
|
system: "system";
|
|
1750
|
+
assistant: "assistant";
|
|
1748
1751
|
tool: "tool";
|
|
1749
1752
|
}>;
|
|
1750
1753
|
participantName: z.ZodString;
|
|
1751
1754
|
participantId: z.ZodNullable<z.ZodNumber>;
|
|
1752
1755
|
role: z.ZodEnum<{
|
|
1753
1756
|
function: "function";
|
|
1754
|
-
assistant: "assistant";
|
|
1755
1757
|
user: "user";
|
|
1756
1758
|
system: "system";
|
|
1759
|
+
assistant: "assistant";
|
|
1757
1760
|
tool: "tool";
|
|
1758
1761
|
}>;
|
|
1759
1762
|
content: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
|
|
@@ -1877,8 +1880,8 @@ declare const ChatMessageAPIResponseSchema: z.ZodObject<{
|
|
|
1877
1880
|
smsDeliveryUpdatedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1878
1881
|
smsDeliveryFailureReason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1879
1882
|
origin: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
1880
|
-
operator: "operator";
|
|
1881
1883
|
agent: "agent";
|
|
1884
|
+
operator: "operator";
|
|
1882
1885
|
member: "member";
|
|
1883
1886
|
platform: "platform";
|
|
1884
1887
|
tool: "tool";
|
|
@@ -1896,9 +1899,9 @@ declare const ChatMessageAPIResponseSchema: z.ZodObject<{
|
|
|
1896
1899
|
declare const ChatCompletionMessageSchema: z.ZodObject<{
|
|
1897
1900
|
id: z.ZodOptional<z.ZodString>;
|
|
1898
1901
|
role: z.ZodEnum<{
|
|
1899
|
-
assistant: "assistant";
|
|
1900
1902
|
user: "user";
|
|
1901
1903
|
system: "system";
|
|
1904
|
+
assistant: "assistant";
|
|
1902
1905
|
}>;
|
|
1903
1906
|
content: z.ZodString;
|
|
1904
1907
|
}, z.core.$strip>;
|
|
@@ -1908,18 +1911,18 @@ declare const ChatMessageUISchema: z.ZodObject<{
|
|
|
1908
1911
|
chatId: z.ZodNumber;
|
|
1909
1912
|
participantRole: z.ZodEnum<{
|
|
1910
1913
|
function: "function";
|
|
1911
|
-
assistant: "assistant";
|
|
1912
1914
|
user: "user";
|
|
1913
1915
|
system: "system";
|
|
1916
|
+
assistant: "assistant";
|
|
1914
1917
|
tool: "tool";
|
|
1915
1918
|
}>;
|
|
1916
1919
|
participantName: z.ZodString;
|
|
1917
1920
|
participantId: z.ZodNullable<z.ZodNumber>;
|
|
1918
1921
|
role: z.ZodEnum<{
|
|
1919
1922
|
function: "function";
|
|
1920
|
-
assistant: "assistant";
|
|
1921
1923
|
user: "user";
|
|
1922
1924
|
system: "system";
|
|
1925
|
+
assistant: "assistant";
|
|
1923
1926
|
tool: "tool";
|
|
1924
1927
|
}>;
|
|
1925
1928
|
content: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
|
|
@@ -2043,8 +2046,8 @@ declare const ChatMessageUISchema: z.ZodObject<{
|
|
|
2043
2046
|
smsDeliveryUpdatedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2044
2047
|
smsDeliveryFailureReason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2045
2048
|
origin: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
2046
|
-
operator: "operator";
|
|
2047
2049
|
agent: "agent";
|
|
2050
|
+
operator: "operator";
|
|
2048
2051
|
member: "member";
|
|
2049
2052
|
platform: "platform";
|
|
2050
2053
|
tool: "tool";
|
|
@@ -2082,18 +2085,18 @@ declare const ChatMessageSchema: z.ZodObject<{
|
|
|
2082
2085
|
chatId: z.ZodNumber;
|
|
2083
2086
|
participantRole: z.ZodEnum<{
|
|
2084
2087
|
function: "function";
|
|
2085
|
-
assistant: "assistant";
|
|
2086
2088
|
user: "user";
|
|
2087
2089
|
system: "system";
|
|
2090
|
+
assistant: "assistant";
|
|
2088
2091
|
tool: "tool";
|
|
2089
2092
|
}>;
|
|
2090
2093
|
participantName: z.ZodString;
|
|
2091
2094
|
participantId: z.ZodNullable<z.ZodNumber>;
|
|
2092
2095
|
role: z.ZodEnum<{
|
|
2093
2096
|
function: "function";
|
|
2094
|
-
assistant: "assistant";
|
|
2095
2097
|
user: "user";
|
|
2096
2098
|
system: "system";
|
|
2099
|
+
assistant: "assistant";
|
|
2097
2100
|
tool: "tool";
|
|
2098
2101
|
}>;
|
|
2099
2102
|
content: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
|
|
@@ -2217,8 +2220,8 @@ declare const ChatMessageSchema: z.ZodObject<{
|
|
|
2217
2220
|
smsDeliveryUpdatedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2218
2221
|
smsDeliveryFailureReason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2219
2222
|
origin: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
2220
|
-
operator: "operator";
|
|
2221
2223
|
agent: "agent";
|
|
2224
|
+
operator: "operator";
|
|
2222
2225
|
member: "member";
|
|
2223
2226
|
platform: "platform";
|
|
2224
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,
|
|
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 {
|
|
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
|
|
|
@@ -377,6 +377,7 @@ declare const DataRecordSchema: z.ZodObject<{
|
|
|
377
377
|
fieldValues: z.ZodRecord<z.ZodString, z.ZodAny>;
|
|
378
378
|
externalId: z.ZodOptional<z.ZodString>;
|
|
379
379
|
assignmentTaskId: z.ZodOptional<z.ZodNumber>;
|
|
380
|
+
createdByMemberId: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
380
381
|
createdAt: z.ZodString;
|
|
381
382
|
updatedAt: z.ZodString;
|
|
382
383
|
retirement: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
@@ -404,6 +405,7 @@ declare const DataRecordsPaginatedResponseSchema: z.ZodObject<{
|
|
|
404
405
|
fieldValues: z.ZodRecord<z.ZodString, z.ZodAny>;
|
|
405
406
|
externalId: z.ZodOptional<z.ZodString>;
|
|
406
407
|
assignmentTaskId: z.ZodOptional<z.ZodNumber>;
|
|
408
|
+
createdByMemberId: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
407
409
|
createdAt: z.ZodString;
|
|
408
410
|
updatedAt: z.ZodString;
|
|
409
411
|
retirement: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
@@ -428,6 +430,7 @@ declare const DataRecordWithAccessModeSchema: z.ZodObject<{
|
|
|
428
430
|
fieldValues: z.ZodRecord<z.ZodString, z.ZodAny>;
|
|
429
431
|
externalId: z.ZodOptional<z.ZodString>;
|
|
430
432
|
assignmentTaskId: z.ZodOptional<z.ZodNumber>;
|
|
433
|
+
createdByMemberId: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
431
434
|
createdAt: z.ZodString;
|
|
432
435
|
updatedAt: z.ZodString;
|
|
433
436
|
retirement: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
@@ -1111,14 +1114,14 @@ declare const ChannelEnum: z.ZodEnum<{
|
|
|
1111
1114
|
}>;
|
|
1112
1115
|
declare const MessageRoleEnum: z.ZodEnum<{
|
|
1113
1116
|
function: "function";
|
|
1114
|
-
assistant: "assistant";
|
|
1115
1117
|
user: "user";
|
|
1116
1118
|
system: "system";
|
|
1119
|
+
assistant: "assistant";
|
|
1117
1120
|
tool: "tool";
|
|
1118
1121
|
}>;
|
|
1119
1122
|
declare const ChatFilterObjectTypeEnum: z.ZodEnum<{
|
|
1120
|
-
paused: "paused";
|
|
1121
1123
|
channel: "channel";
|
|
1124
|
+
paused: "paused";
|
|
1122
1125
|
title: "title";
|
|
1123
1126
|
participant: "participant";
|
|
1124
1127
|
mode: "mode";
|
|
@@ -1151,8 +1154,8 @@ declare const TruncationReasonEnum: z.ZodEnum<{
|
|
|
1151
1154
|
user_cancel: "user_cancel";
|
|
1152
1155
|
}>;
|
|
1153
1156
|
declare const MessageOriginEnum: z.ZodEnum<{
|
|
1154
|
-
operator: "operator";
|
|
1155
1157
|
agent: "agent";
|
|
1158
|
+
operator: "operator";
|
|
1156
1159
|
member: "member";
|
|
1157
1160
|
platform: "platform";
|
|
1158
1161
|
tool: "tool";
|
|
@@ -1474,8 +1477,8 @@ declare const ChatSchema: z.ZodObject<{
|
|
|
1474
1477
|
}, z.core.$strip>;
|
|
1475
1478
|
declare const ChatFilterRuleSchema: z.ZodObject<{
|
|
1476
1479
|
objectType: z.ZodEnum<{
|
|
1477
|
-
paused: "paused";
|
|
1478
1480
|
channel: "channel";
|
|
1481
|
+
paused: "paused";
|
|
1479
1482
|
title: "title";
|
|
1480
1483
|
participant: "participant";
|
|
1481
1484
|
mode: "mode";
|
|
@@ -1500,8 +1503,8 @@ declare const ChatFilterRuleSchema: z.ZodObject<{
|
|
|
1500
1503
|
}, z.core.$strip>;
|
|
1501
1504
|
declare const ChatFilterRuleFormDataSchema: z.ZodObject<{
|
|
1502
1505
|
objectType: z.ZodEnum<{
|
|
1503
|
-
paused: "paused";
|
|
1504
1506
|
channel: "channel";
|
|
1507
|
+
paused: "paused";
|
|
1505
1508
|
title: "title";
|
|
1506
1509
|
participant: "participant";
|
|
1507
1510
|
mode: "mode";
|
|
@@ -1637,9 +1640,9 @@ declare const MessageContentPartSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
1637
1640
|
declare const ChatMessageObjectSchema: z.ZodObject<{
|
|
1638
1641
|
role: z.ZodEnum<{
|
|
1639
1642
|
function: "function";
|
|
1640
|
-
assistant: "assistant";
|
|
1641
1643
|
user: "user";
|
|
1642
1644
|
system: "system";
|
|
1645
|
+
assistant: "assistant";
|
|
1643
1646
|
tool: "tool";
|
|
1644
1647
|
}>;
|
|
1645
1648
|
content: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
|
|
@@ -1742,18 +1745,18 @@ declare const ChatMessageAPIResponseSchema: z.ZodObject<{
|
|
|
1742
1745
|
chatId: z.ZodNumber;
|
|
1743
1746
|
participantRole: z.ZodEnum<{
|
|
1744
1747
|
function: "function";
|
|
1745
|
-
assistant: "assistant";
|
|
1746
1748
|
user: "user";
|
|
1747
1749
|
system: "system";
|
|
1750
|
+
assistant: "assistant";
|
|
1748
1751
|
tool: "tool";
|
|
1749
1752
|
}>;
|
|
1750
1753
|
participantName: z.ZodString;
|
|
1751
1754
|
participantId: z.ZodNullable<z.ZodNumber>;
|
|
1752
1755
|
role: z.ZodEnum<{
|
|
1753
1756
|
function: "function";
|
|
1754
|
-
assistant: "assistant";
|
|
1755
1757
|
user: "user";
|
|
1756
1758
|
system: "system";
|
|
1759
|
+
assistant: "assistant";
|
|
1757
1760
|
tool: "tool";
|
|
1758
1761
|
}>;
|
|
1759
1762
|
content: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
|
|
@@ -1877,8 +1880,8 @@ declare const ChatMessageAPIResponseSchema: z.ZodObject<{
|
|
|
1877
1880
|
smsDeliveryUpdatedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1878
1881
|
smsDeliveryFailureReason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1879
1882
|
origin: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
1880
|
-
operator: "operator";
|
|
1881
1883
|
agent: "agent";
|
|
1884
|
+
operator: "operator";
|
|
1882
1885
|
member: "member";
|
|
1883
1886
|
platform: "platform";
|
|
1884
1887
|
tool: "tool";
|
|
@@ -1896,9 +1899,9 @@ declare const ChatMessageAPIResponseSchema: z.ZodObject<{
|
|
|
1896
1899
|
declare const ChatCompletionMessageSchema: z.ZodObject<{
|
|
1897
1900
|
id: z.ZodOptional<z.ZodString>;
|
|
1898
1901
|
role: z.ZodEnum<{
|
|
1899
|
-
assistant: "assistant";
|
|
1900
1902
|
user: "user";
|
|
1901
1903
|
system: "system";
|
|
1904
|
+
assistant: "assistant";
|
|
1902
1905
|
}>;
|
|
1903
1906
|
content: z.ZodString;
|
|
1904
1907
|
}, z.core.$strip>;
|
|
@@ -1908,18 +1911,18 @@ declare const ChatMessageUISchema: z.ZodObject<{
|
|
|
1908
1911
|
chatId: z.ZodNumber;
|
|
1909
1912
|
participantRole: z.ZodEnum<{
|
|
1910
1913
|
function: "function";
|
|
1911
|
-
assistant: "assistant";
|
|
1912
1914
|
user: "user";
|
|
1913
1915
|
system: "system";
|
|
1916
|
+
assistant: "assistant";
|
|
1914
1917
|
tool: "tool";
|
|
1915
1918
|
}>;
|
|
1916
1919
|
participantName: z.ZodString;
|
|
1917
1920
|
participantId: z.ZodNullable<z.ZodNumber>;
|
|
1918
1921
|
role: z.ZodEnum<{
|
|
1919
1922
|
function: "function";
|
|
1920
|
-
assistant: "assistant";
|
|
1921
1923
|
user: "user";
|
|
1922
1924
|
system: "system";
|
|
1925
|
+
assistant: "assistant";
|
|
1923
1926
|
tool: "tool";
|
|
1924
1927
|
}>;
|
|
1925
1928
|
content: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
|
|
@@ -2043,8 +2046,8 @@ declare const ChatMessageUISchema: z.ZodObject<{
|
|
|
2043
2046
|
smsDeliveryUpdatedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2044
2047
|
smsDeliveryFailureReason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2045
2048
|
origin: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
2046
|
-
operator: "operator";
|
|
2047
2049
|
agent: "agent";
|
|
2050
|
+
operator: "operator";
|
|
2048
2051
|
member: "member";
|
|
2049
2052
|
platform: "platform";
|
|
2050
2053
|
tool: "tool";
|
|
@@ -2082,18 +2085,18 @@ declare const ChatMessageSchema: z.ZodObject<{
|
|
|
2082
2085
|
chatId: z.ZodNumber;
|
|
2083
2086
|
participantRole: z.ZodEnum<{
|
|
2084
2087
|
function: "function";
|
|
2085
|
-
assistant: "assistant";
|
|
2086
2088
|
user: "user";
|
|
2087
2089
|
system: "system";
|
|
2090
|
+
assistant: "assistant";
|
|
2088
2091
|
tool: "tool";
|
|
2089
2092
|
}>;
|
|
2090
2093
|
participantName: z.ZodString;
|
|
2091
2094
|
participantId: z.ZodNullable<z.ZodNumber>;
|
|
2092
2095
|
role: z.ZodEnum<{
|
|
2093
2096
|
function: "function";
|
|
2094
|
-
assistant: "assistant";
|
|
2095
2097
|
user: "user";
|
|
2096
2098
|
system: "system";
|
|
2099
|
+
assistant: "assistant";
|
|
2097
2100
|
tool: "tool";
|
|
2098
2101
|
}>;
|
|
2099
2102
|
content: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
|
|
@@ -2217,8 +2220,8 @@ declare const ChatMessageSchema: z.ZodObject<{
|
|
|
2217
2220
|
smsDeliveryUpdatedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2218
2221
|
smsDeliveryFailureReason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2219
2222
|
origin: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
2220
|
-
operator: "operator";
|
|
2221
2223
|
agent: "agent";
|
|
2224
|
+
operator: "operator";
|
|
2222
2225
|
member: "member";
|
|
2223
2226
|
platform: "platform";
|
|
2224
2227
|
tool: "tool";
|
package/dist/schemas.js
CHANGED
|
@@ -12,7 +12,7 @@ import {
|
|
|
12
12
|
DataTypeRecordScope,
|
|
13
13
|
IndexStatus,
|
|
14
14
|
ResponseLength
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-RKIR4UNS.js";
|
|
16
16
|
|
|
17
17
|
// src/schemas/accounts.ts
|
|
18
18
|
import { z } from "zod";
|
|
@@ -1275,6 +1275,7 @@ var DataRecordSchema = z5.object({
|
|
|
1275
1275
|
fieldValues: z5.record(z5.string(), z5.any()),
|
|
1276
1276
|
externalId: z5.string().optional(),
|
|
1277
1277
|
assignmentTaskId: z5.number().optional(),
|
|
1278
|
+
createdByMemberId: z5.number().nullable().optional(),
|
|
1278
1279
|
createdAt: z5.string(),
|
|
1279
1280
|
updatedAt: z5.string(),
|
|
1280
1281
|
retirement: DataRecordRetirementSchema.nullable().optional()
|