@gravity-rail/sdk 0.16.0 → 0.18.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (36) hide show
  1. package/dist/{chunk-4B7T6MBH.js → chunk-MP5ENP4Q.js} +493 -77
  2. package/dist/chunk-MP5ENP4Q.js.map +1 -0
  3. package/dist/{chunk-GP6ICMWF.js → chunk-PJFEGUHM.js} +8 -1
  4. package/dist/chunk-PJFEGUHM.js.map +1 -0
  5. package/dist/{client-3xYGmF3t.d.ts → client-B51HZ6zY.d.cts} +2229 -217
  6. package/dist/{client-BhO_UFFz.d.cts → client-G5i59XtT.d.ts} +2229 -217
  7. package/dist/helpers.cjs +7 -0
  8. package/dist/helpers.cjs.map +1 -1
  9. package/dist/helpers.d.cts +2 -2
  10. package/dist/helpers.d.ts +2 -2
  11. package/dist/helpers.js +1 -1
  12. package/dist/index.cjs +449 -70
  13. package/dist/index.cjs.map +1 -1
  14. package/dist/index.d.cts +23 -5
  15. package/dist/index.d.ts +23 -5
  16. package/dist/index.js +77 -4
  17. package/dist/index.js.map +1 -1
  18. package/dist/internal.cjs +564 -72
  19. package/dist/internal.cjs.map +1 -1
  20. package/dist/internal.d.cts +95 -7
  21. package/dist/internal.d.ts +95 -7
  22. package/dist/internal.js +93 -6
  23. package/dist/internal.js.map +1 -1
  24. package/dist/{revision-state-Dma10N9s.d.ts → revision-state-Cc7RAf8A.d.ts} +30 -5
  25. package/dist/{revision-state-Dx8gCQIj.d.cts → revision-state-DudSCwea.d.cts} +30 -5
  26. package/dist/schemas.cjs +170 -216
  27. package/dist/schemas.cjs.map +1 -1
  28. package/dist/schemas.d.cts +11 -11
  29. package/dist/schemas.d.ts +11 -11
  30. package/dist/schemas.js +170 -209
  31. package/dist/schemas.js.map +1 -1
  32. package/dist/{tasks-vupYoJgG.d.cts → tasks-1JXJJuG8.d.cts} +256 -73
  33. package/dist/{tasks-vupYoJgG.d.ts → tasks-1JXJJuG8.d.ts} +256 -73
  34. package/package.json +3 -3
  35. package/dist/chunk-4B7T6MBH.js.map +0 -1
  36. package/dist/chunk-GP6ICMWF.js.map +0 -1
@@ -1,6 +1,6 @@
1
1
  import { z } from 'zod';
2
- import { aa as CalendarScheduleAvailabilityType, ac as CalendarScheduleRecurrence, a2 as CalendarEventStatus, B as AttendeeResponseStatus, D as DataFieldType, b2 as DataTypeRecordScope, aY as DataSensitivity, aI as DataCategory, bF as IndexStatus } from './tasks-vupYoJgG.cjs';
3
- export { fg as AbilityData, fh as AbilityDataSchema, fi as AnonymousInquiryFormSchema, fj as ArchiveTaskInput, fk as ArchiveTaskSchema, fl as ChildTaskFormData, fm as ChildTaskFormDataSchema, fn as CreateInquiryInput, fo as CreateInquirySchema, fp as CreateMilestoneInput, fq as CreateMilestoneSchema, fr as CreateTaskInput, fs as CreateTaskSchema, ft as DeleteInquiryInput, fu as DeleteInquirySchema, fv as DeleteMilestoneInput, fw as DeleteMilestoneSchema, fx as DeleteTaskInput, fy as DeleteTaskSchema, fz as EnrichInquiryInput, fA as EnrichInquirySchema, fB as GetInquiryInput, fC as GetInquirySchema, fD as GetMilestoneInput, fE as GetMilestoneSchema, fF as GetTaskInput, fG as GetTaskSchema, fH as ListInquiriesInput, fI as ListInquiriesSchema, fJ as ListMilestonesInput, fK as ListMilestonesSchema, fL as ListTasksInput, fM as ListTasksSchema, fN as MilestoneFormData, fO as MilestoneFormDataSchema, fP as MilestoneGoalFormDataSchema, fQ as TaskFormData, fR as TaskFormDataSchema, fS as UnarchiveTaskInput, fT as UnarchiveTaskSchema, fU as UpdateInquiryInput, fV as UpdateInquiryRequestSchema, fW as UpdateInquirySchema, fX as UpdateMilestoneInput, fY as UpdateMilestoneSchema, fZ as UpdateTaskInput, f_ as UpdateTaskSchema } from './tasks-vupYoJgG.cjs';
2
+ import { ab as CalendarScheduleAvailabilityType, ad as CalendarScheduleRecurrence, a3 as CalendarEventStatus, C as AttendeeResponseStatus, D as DataFieldType, b3 as DataTypeRecordScope, aZ as DataSensitivity, aJ as DataCategory, bH as IndexStatus } from './tasks-1JXJJuG8.cjs';
3
+ export { fr as AbilityData, fs as AbilityDataSchema, ft as AnonymousInquiryFormSchema, fu as ArchiveTaskInput, fv as ArchiveTaskSchema, fw as ChildTaskFormData, fx as ChildTaskFormDataSchema, fy as CreateInquiryInput, fz as CreateInquirySchema, fA as CreateTaskInput, fB as CreateTaskSchema, fC as DeleteInquiryInput, fD as DeleteInquirySchema, fE as DeleteTaskInput, fF as DeleteTaskSchema, fG as EnrichInquiryInput, fH as EnrichInquirySchema, fI as GetInquiryInput, fJ as GetInquirySchema, fK as GetTaskInput, fL as GetTaskSchema, fM as ListInquiriesInput, fN as ListInquiriesSchema, fO as ListTasksInput, fP as ListTasksSchema, fQ as TaskFormData, fR as TaskFormDataSchema, fS as UnarchiveTaskInput, fT as UnarchiveTaskSchema, fU as UpdateInquiryInput, fV as UpdateInquiryRequestSchema, fW as UpdateInquirySchema, fX as UpdateTaskInput, fY as UpdateTaskSchema } from './tasks-1JXJJuG8.cjs';
4
4
  import { Tool } from '@modelcontextprotocol/sdk/types.js';
5
5
 
6
6
  declare const AccountFormDataSchema: z.ZodObject<{
@@ -495,9 +495,9 @@ declare const ChannelEnum: z.ZodEnum<{
495
495
  }>;
496
496
  declare const MessageRoleEnum: z.ZodEnum<{
497
497
  function: "function";
498
+ system: "system";
498
499
  user: "user";
499
500
  assistant: "assistant";
500
- system: "system";
501
501
  tool: "tool";
502
502
  }>;
503
503
  declare const ChatFilterObjectTypeEnum: z.ZodEnum<{
@@ -948,9 +948,9 @@ declare const MessageContentPartSchema: z.ZodUnion<readonly [z.ZodObject<{
948
948
  declare const ChatMessageObjectSchema: z.ZodObject<{
949
949
  role: z.ZodEnum<{
950
950
  function: "function";
951
+ system: "system";
951
952
  user: "user";
952
953
  assistant: "assistant";
953
- system: "system";
954
954
  tool: "tool";
955
955
  }>;
956
956
  content: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
@@ -978,18 +978,18 @@ declare const ChatMessageAPIResponseSchema: z.ZodObject<{
978
978
  chatId: z.ZodNumber;
979
979
  participantRole: z.ZodEnum<{
980
980
  function: "function";
981
+ system: "system";
981
982
  user: "user";
982
983
  assistant: "assistant";
983
- system: "system";
984
984
  tool: "tool";
985
985
  }>;
986
986
  participantName: z.ZodString;
987
987
  participantId: z.ZodNullable<z.ZodNumber>;
988
988
  role: z.ZodEnum<{
989
989
  function: "function";
990
+ system: "system";
990
991
  user: "user";
991
992
  assistant: "assistant";
992
- system: "system";
993
993
  tool: "tool";
994
994
  }>;
995
995
  content: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
@@ -1056,9 +1056,9 @@ declare const ChatMessageAPIResponseSchema: z.ZodObject<{
1056
1056
  declare const ChatCompletionMessageSchema: z.ZodObject<{
1057
1057
  id: z.ZodOptional<z.ZodString>;
1058
1058
  role: z.ZodEnum<{
1059
+ system: "system";
1059
1060
  user: "user";
1060
1061
  assistant: "assistant";
1061
- system: "system";
1062
1062
  }>;
1063
1063
  content: z.ZodString;
1064
1064
  }, z.core.$strip>;
@@ -1068,18 +1068,18 @@ declare const ChatMessageUISchema: z.ZodObject<{
1068
1068
  chatId: z.ZodNumber;
1069
1069
  participantRole: z.ZodEnum<{
1070
1070
  function: "function";
1071
+ system: "system";
1071
1072
  user: "user";
1072
1073
  assistant: "assistant";
1073
- system: "system";
1074
1074
  tool: "tool";
1075
1075
  }>;
1076
1076
  participantName: z.ZodString;
1077
1077
  participantId: z.ZodNullable<z.ZodNumber>;
1078
1078
  role: z.ZodEnum<{
1079
1079
  function: "function";
1080
+ system: "system";
1080
1081
  user: "user";
1081
1082
  assistant: "assistant";
1082
- system: "system";
1083
1083
  tool: "tool";
1084
1084
  }>;
1085
1085
  content: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
@@ -1155,18 +1155,18 @@ declare const ChatMessageSchema: z.ZodObject<{
1155
1155
  chatId: z.ZodNumber;
1156
1156
  participantRole: z.ZodEnum<{
1157
1157
  function: "function";
1158
+ system: "system";
1158
1159
  user: "user";
1159
1160
  assistant: "assistant";
1160
- system: "system";
1161
1161
  tool: "tool";
1162
1162
  }>;
1163
1163
  participantName: z.ZodString;
1164
1164
  participantId: z.ZodNullable<z.ZodNumber>;
1165
1165
  role: z.ZodEnum<{
1166
1166
  function: "function";
1167
+ system: "system";
1167
1168
  user: "user";
1168
1169
  assistant: "assistant";
1169
- system: "system";
1170
1170
  tool: "tool";
1171
1171
  }>;
1172
1172
  content: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
package/dist/schemas.d.ts CHANGED
@@ -1,6 +1,6 @@
1
1
  import { z } from 'zod';
2
- import { aa as CalendarScheduleAvailabilityType, ac as CalendarScheduleRecurrence, a2 as CalendarEventStatus, B as AttendeeResponseStatus, D as DataFieldType, b2 as DataTypeRecordScope, aY as DataSensitivity, aI as DataCategory, bF as IndexStatus } from './tasks-vupYoJgG.js';
3
- export { fg as AbilityData, fh as AbilityDataSchema, fi as AnonymousInquiryFormSchema, fj as ArchiveTaskInput, fk as ArchiveTaskSchema, fl as ChildTaskFormData, fm as ChildTaskFormDataSchema, fn as CreateInquiryInput, fo as CreateInquirySchema, fp as CreateMilestoneInput, fq as CreateMilestoneSchema, fr as CreateTaskInput, fs as CreateTaskSchema, ft as DeleteInquiryInput, fu as DeleteInquirySchema, fv as DeleteMilestoneInput, fw as DeleteMilestoneSchema, fx as DeleteTaskInput, fy as DeleteTaskSchema, fz as EnrichInquiryInput, fA as EnrichInquirySchema, fB as GetInquiryInput, fC as GetInquirySchema, fD as GetMilestoneInput, fE as GetMilestoneSchema, fF as GetTaskInput, fG as GetTaskSchema, fH as ListInquiriesInput, fI as ListInquiriesSchema, fJ as ListMilestonesInput, fK as ListMilestonesSchema, fL as ListTasksInput, fM as ListTasksSchema, fN as MilestoneFormData, fO as MilestoneFormDataSchema, fP as MilestoneGoalFormDataSchema, fQ as TaskFormData, fR as TaskFormDataSchema, fS as UnarchiveTaskInput, fT as UnarchiveTaskSchema, fU as UpdateInquiryInput, fV as UpdateInquiryRequestSchema, fW as UpdateInquirySchema, fX as UpdateMilestoneInput, fY as UpdateMilestoneSchema, fZ as UpdateTaskInput, f_ as UpdateTaskSchema } from './tasks-vupYoJgG.js';
2
+ import { ab as CalendarScheduleAvailabilityType, ad as CalendarScheduleRecurrence, a3 as CalendarEventStatus, C as AttendeeResponseStatus, D as DataFieldType, b3 as DataTypeRecordScope, aZ as DataSensitivity, aJ as DataCategory, bH as IndexStatus } from './tasks-1JXJJuG8.js';
3
+ export { fr as AbilityData, fs as AbilityDataSchema, ft as AnonymousInquiryFormSchema, fu as ArchiveTaskInput, fv as ArchiveTaskSchema, fw as ChildTaskFormData, fx as ChildTaskFormDataSchema, fy as CreateInquiryInput, fz as CreateInquirySchema, fA as CreateTaskInput, fB as CreateTaskSchema, fC as DeleteInquiryInput, fD as DeleteInquirySchema, fE as DeleteTaskInput, fF as DeleteTaskSchema, fG as EnrichInquiryInput, fH as EnrichInquirySchema, fI as GetInquiryInput, fJ as GetInquirySchema, fK as GetTaskInput, fL as GetTaskSchema, fM as ListInquiriesInput, fN as ListInquiriesSchema, fO as ListTasksInput, fP as ListTasksSchema, fQ as TaskFormData, fR as TaskFormDataSchema, fS as UnarchiveTaskInput, fT as UnarchiveTaskSchema, fU as UpdateInquiryInput, fV as UpdateInquiryRequestSchema, fW as UpdateInquirySchema, fX as UpdateTaskInput, fY as UpdateTaskSchema } from './tasks-1JXJJuG8.js';
4
4
  import { Tool } from '@modelcontextprotocol/sdk/types.js';
5
5
 
6
6
  declare const AccountFormDataSchema: z.ZodObject<{
@@ -495,9 +495,9 @@ declare const ChannelEnum: z.ZodEnum<{
495
495
  }>;
496
496
  declare const MessageRoleEnum: z.ZodEnum<{
497
497
  function: "function";
498
+ system: "system";
498
499
  user: "user";
499
500
  assistant: "assistant";
500
- system: "system";
501
501
  tool: "tool";
502
502
  }>;
503
503
  declare const ChatFilterObjectTypeEnum: z.ZodEnum<{
@@ -948,9 +948,9 @@ declare const MessageContentPartSchema: z.ZodUnion<readonly [z.ZodObject<{
948
948
  declare const ChatMessageObjectSchema: z.ZodObject<{
949
949
  role: z.ZodEnum<{
950
950
  function: "function";
951
+ system: "system";
951
952
  user: "user";
952
953
  assistant: "assistant";
953
- system: "system";
954
954
  tool: "tool";
955
955
  }>;
956
956
  content: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
@@ -978,18 +978,18 @@ declare const ChatMessageAPIResponseSchema: z.ZodObject<{
978
978
  chatId: z.ZodNumber;
979
979
  participantRole: z.ZodEnum<{
980
980
  function: "function";
981
+ system: "system";
981
982
  user: "user";
982
983
  assistant: "assistant";
983
- system: "system";
984
984
  tool: "tool";
985
985
  }>;
986
986
  participantName: z.ZodString;
987
987
  participantId: z.ZodNullable<z.ZodNumber>;
988
988
  role: z.ZodEnum<{
989
989
  function: "function";
990
+ system: "system";
990
991
  user: "user";
991
992
  assistant: "assistant";
992
- system: "system";
993
993
  tool: "tool";
994
994
  }>;
995
995
  content: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
@@ -1056,9 +1056,9 @@ declare const ChatMessageAPIResponseSchema: z.ZodObject<{
1056
1056
  declare const ChatCompletionMessageSchema: z.ZodObject<{
1057
1057
  id: z.ZodOptional<z.ZodString>;
1058
1058
  role: z.ZodEnum<{
1059
+ system: "system";
1059
1060
  user: "user";
1060
1061
  assistant: "assistant";
1061
- system: "system";
1062
1062
  }>;
1063
1063
  content: z.ZodString;
1064
1064
  }, z.core.$strip>;
@@ -1068,18 +1068,18 @@ declare const ChatMessageUISchema: z.ZodObject<{
1068
1068
  chatId: z.ZodNumber;
1069
1069
  participantRole: z.ZodEnum<{
1070
1070
  function: "function";
1071
+ system: "system";
1071
1072
  user: "user";
1072
1073
  assistant: "assistant";
1073
- system: "system";
1074
1074
  tool: "tool";
1075
1075
  }>;
1076
1076
  participantName: z.ZodString;
1077
1077
  participantId: z.ZodNullable<z.ZodNumber>;
1078
1078
  role: z.ZodEnum<{
1079
1079
  function: "function";
1080
+ system: "system";
1080
1081
  user: "user";
1081
1082
  assistant: "assistant";
1082
- system: "system";
1083
1083
  tool: "tool";
1084
1084
  }>;
1085
1085
  content: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
@@ -1155,18 +1155,18 @@ declare const ChatMessageSchema: z.ZodObject<{
1155
1155
  chatId: z.ZodNumber;
1156
1156
  participantRole: z.ZodEnum<{
1157
1157
  function: "function";
1158
+ system: "system";
1158
1159
  user: "user";
1159
1160
  assistant: "assistant";
1160
- system: "system";
1161
1161
  tool: "tool";
1162
1162
  }>;
1163
1163
  participantName: z.ZodString;
1164
1164
  participantId: z.ZodNullable<z.ZodNumber>;
1165
1165
  role: z.ZodEnum<{
1166
1166
  function: "function";
1167
+ system: "system";
1167
1168
  user: "user";
1168
1169
  assistant: "assistant";
1169
- system: "system";
1170
1170
  tool: "tool";
1171
1171
  }>;
1172
1172
  content: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{