@gravity-rail/sdk 9.0.0 → 10.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.
@@ -1,9 +1,9 @@
1
1
  import { z } from 'zod';
2
- import { b as DataFieldType, aN as DataTypeRecordScope, aJ as DataSensitivity, av as DataCategory, bu as IndexStatus, fM as TipTapDocumentInput } from './tasks-BM3pb5W6.cjs';
2
+ import { b as DataFieldType, aN as DataTypeRecordScope, aJ as DataSensitivity, av as DataCategory, bu as IndexStatus, fM as TipTapDocumentInput } from './tasks-yScacy3c.cjs';
3
3
  import { CalendarScheduleAvailabilityType, CalendarScheduleRecurrence, CalendarEventStatus, AttendeeResponseStatus } from './index.cjs';
4
- export { fX as AbilityData, fY as AbilityDataSchema, fZ as AnonymousInquiryFormSchema, f_ as ArchiveTaskInput, f$ as ArchiveTaskSchema, g0 as ChatTaskConfigurationPatchSchema, g1 as ChildTaskFormData, g2 as ChildTaskFormDataSchema, g3 as CreateInquiryInput, fP as CreateInquirySchema, g4 as CreateTaskInput, g5 as CreateTaskSchema, g6 as DeleteInquiryInput, g7 as DeleteInquirySchema, g8 as DeleteTaskInput, g9 as DeleteTaskSchema, ga as EnrichInquiryInput, gb as EnrichInquirySchema, gc as GetInquiryInput, gd as GetInquirySchema, ge as GetTaskInput, gf as GetTaskSchema, gg as ListInquiriesInput, gh as ListInquiriesSchema, gi as ListTasksInput, gj as ListTasksSchema, gk as OutcomeTaskRoutingSchema, gl as TaskFormData, gm as TaskFormDataSchema, gn as UnarchiveTaskInput, go as UnarchiveTaskSchema, gp as UpdateInquiryInput, fQ as UpdateInquiryRequestSchema, gq as UpdateInquirySchema, gr as UpdateTaskInput, gs as UpdateTaskSchema } from './tasks-BM3pb5W6.cjs';
4
+ export { fX as AbilityData, fY as AbilityDataSchema, fZ as AnonymousInquiryFormSchema, f_ as ArchiveTaskInput, f$ as ArchiveTaskSchema, g0 as ChatTaskConfigurationPatchSchema, g1 as ChildTaskFormData, g2 as ChildTaskFormDataSchema, g3 as CreateInquiryInput, fP as CreateInquirySchema, g4 as CreateTaskInput, g5 as CreateTaskSchema, g6 as DeleteInquiryInput, g7 as DeleteInquirySchema, g8 as DeleteTaskInput, g9 as DeleteTaskSchema, ga as EnrichInquiryInput, gb as EnrichInquirySchema, gc as GetInquiryInput, gd as GetInquirySchema, ge as GetTaskInput, gf as GetTaskSchema, gg as ListInquiriesInput, gh as ListInquiriesSchema, gi as ListTasksInput, gj as ListTasksSchema, gk as OutcomeTaskRoutingSchema, gl as TaskFormData, gm as TaskFormDataSchema, gn as UnarchiveTaskInput, go as UnarchiveTaskSchema, gp as UpdateInquiryInput, fQ as UpdateInquiryRequestSchema, gq as UpdateInquirySchema, gr as UpdateTaskInput, gs as UpdateTaskSchema } from './tasks-yScacy3c.cjs';
5
5
  import { Tool } from '@modelcontextprotocol/sdk/types.js';
6
- import './account-DLwJWX9b.cjs';
6
+ import './account-DEA-f-I9.cjs';
7
7
 
8
8
  /**
9
9
  * What a data type with no schema fields derives.
@@ -1137,9 +1137,9 @@ declare const ChannelEnum: z.ZodEnum<{
1137
1137
  declare const MessageRoleEnum: z.ZodEnum<{
1138
1138
  function: "function";
1139
1139
  assistant: "assistant";
1140
- system: "system";
1141
- user: "user";
1142
1140
  tool: "tool";
1141
+ user: "user";
1142
+ system: "system";
1143
1143
  }>;
1144
1144
  declare const ChatFilterObjectTypeEnum: z.ZodEnum<{
1145
1145
  paused: "paused";
@@ -1179,9 +1179,9 @@ declare const TruncationReasonEnum: z.ZodEnum<{
1179
1179
  declare const MessageOriginEnum: z.ZodEnum<{
1180
1180
  operator: "operator";
1181
1181
  agent: "agent";
1182
+ tool: "tool";
1182
1183
  member: "member";
1183
1184
  platform: "platform";
1184
- tool: "tool";
1185
1185
  workflow: "workflow";
1186
1186
  engine_action: "engine_action";
1187
1187
  background_run: "background_run";
@@ -1663,9 +1663,9 @@ declare const ChatMessageObjectSchema: z.ZodObject<{
1663
1663
  role: z.ZodEnum<{
1664
1664
  function: "function";
1665
1665
  assistant: "assistant";
1666
- system: "system";
1667
- user: "user";
1668
1666
  tool: "tool";
1667
+ user: "user";
1668
+ system: "system";
1669
1669
  }>;
1670
1670
  content: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
1671
1671
  type: z.ZodLiteral<"text">;
@@ -1768,18 +1768,18 @@ declare const ChatMessageAPIResponseSchema: z.ZodObject<{
1768
1768
  participantRole: z.ZodEnum<{
1769
1769
  function: "function";
1770
1770
  assistant: "assistant";
1771
- system: "system";
1772
- user: "user";
1773
1771
  tool: "tool";
1772
+ user: "user";
1773
+ system: "system";
1774
1774
  }>;
1775
1775
  participantName: z.ZodString;
1776
1776
  participantId: z.ZodNullable<z.ZodNumber>;
1777
1777
  role: z.ZodEnum<{
1778
1778
  function: "function";
1779
1779
  assistant: "assistant";
1780
- system: "system";
1781
- user: "user";
1782
1780
  tool: "tool";
1781
+ user: "user";
1782
+ system: "system";
1783
1783
  }>;
1784
1784
  content: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
1785
1785
  type: z.ZodLiteral<"text">;
@@ -1904,9 +1904,9 @@ declare const ChatMessageAPIResponseSchema: z.ZodObject<{
1904
1904
  origin: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
1905
1905
  operator: "operator";
1906
1906
  agent: "agent";
1907
+ tool: "tool";
1907
1908
  member: "member";
1908
1909
  platform: "platform";
1909
- tool: "tool";
1910
1910
  workflow: "workflow";
1911
1911
  engine_action: "engine_action";
1912
1912
  background_run: "background_run";
@@ -1922,8 +1922,8 @@ declare const ChatCompletionMessageSchema: z.ZodObject<{
1922
1922
  id: z.ZodOptional<z.ZodString>;
1923
1923
  role: z.ZodEnum<{
1924
1924
  assistant: "assistant";
1925
- system: "system";
1926
1925
  user: "user";
1926
+ system: "system";
1927
1927
  }>;
1928
1928
  content: z.ZodString;
1929
1929
  }, z.core.$strip>;
@@ -1934,18 +1934,18 @@ declare const ChatMessageUISchema: z.ZodObject<{
1934
1934
  participantRole: z.ZodEnum<{
1935
1935
  function: "function";
1936
1936
  assistant: "assistant";
1937
- system: "system";
1938
- user: "user";
1939
1937
  tool: "tool";
1938
+ user: "user";
1939
+ system: "system";
1940
1940
  }>;
1941
1941
  participantName: z.ZodString;
1942
1942
  participantId: z.ZodNullable<z.ZodNumber>;
1943
1943
  role: z.ZodEnum<{
1944
1944
  function: "function";
1945
1945
  assistant: "assistant";
1946
- system: "system";
1947
- user: "user";
1948
1946
  tool: "tool";
1947
+ user: "user";
1948
+ system: "system";
1949
1949
  }>;
1950
1950
  content: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
1951
1951
  type: z.ZodLiteral<"text">;
@@ -2070,9 +2070,9 @@ declare const ChatMessageUISchema: z.ZodObject<{
2070
2070
  origin: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
2071
2071
  operator: "operator";
2072
2072
  agent: "agent";
2073
+ tool: "tool";
2073
2074
  member: "member";
2074
2075
  platform: "platform";
2075
- tool: "tool";
2076
2076
  workflow: "workflow";
2077
2077
  engine_action: "engine_action";
2078
2078
  background_run: "background_run";
@@ -2108,18 +2108,18 @@ declare const ChatMessageSchema: z.ZodObject<{
2108
2108
  participantRole: z.ZodEnum<{
2109
2109
  function: "function";
2110
2110
  assistant: "assistant";
2111
- system: "system";
2112
- user: "user";
2113
2111
  tool: "tool";
2112
+ user: "user";
2113
+ system: "system";
2114
2114
  }>;
2115
2115
  participantName: z.ZodString;
2116
2116
  participantId: z.ZodNullable<z.ZodNumber>;
2117
2117
  role: z.ZodEnum<{
2118
2118
  function: "function";
2119
2119
  assistant: "assistant";
2120
- system: "system";
2121
- user: "user";
2122
2120
  tool: "tool";
2121
+ user: "user";
2122
+ system: "system";
2123
2123
  }>;
2124
2124
  content: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
2125
2125
  type: z.ZodLiteral<"text">;
@@ -2244,9 +2244,9 @@ declare const ChatMessageSchema: z.ZodObject<{
2244
2244
  origin: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
2245
2245
  operator: "operator";
2246
2246
  agent: "agent";
2247
+ tool: "tool";
2247
2248
  member: "member";
2248
2249
  platform: "platform";
2249
- tool: "tool";
2250
2250
  workflow: "workflow";
2251
2251
  engine_action: "engine_action";
2252
2252
  background_run: "background_run";
@@ -3340,8 +3340,8 @@ declare const WorkflowCreateFormDataSchema: z.ZodObject<{
3340
3340
  offlineMessage: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3341
3341
  pauseOnEscalate: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
3342
3342
  routingMode: z.ZodOptional<z.ZodEnum<{
3343
- custom: "custom";
3344
3343
  workspace: "workspace";
3344
+ custom: "custom";
3345
3345
  }>>;
3346
3346
  includeWorkspaceRules: z.ZodOptional<z.ZodBoolean>;
3347
3347
  manualToolEnabled: z.ZodOptional<z.ZodBoolean>;
@@ -3421,8 +3421,8 @@ declare const WorkflowFormDataSchema: z.ZodObject<{
3421
3421
  offlineMessage: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3422
3422
  pauseOnEscalate: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
3423
3423
  routingMode: z.ZodOptional<z.ZodEnum<{
3424
- custom: "custom";
3425
3424
  workspace: "workspace";
3425
+ custom: "custom";
3426
3426
  }>>;
3427
3427
  includeWorkspaceRules: z.ZodOptional<z.ZodBoolean>;
3428
3428
  manualToolEnabled: z.ZodOptional<z.ZodBoolean>;
@@ -3498,8 +3498,8 @@ declare const CreateWorkflowSchema: z.ZodObject<{
3498
3498
  offlineMessage: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3499
3499
  pauseOnEscalate: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
3500
3500
  routingMode: z.ZodOptional<z.ZodEnum<{
3501
- custom: "custom";
3502
3501
  workspace: "workspace";
3502
+ custom: "custom";
3503
3503
  }>>;
3504
3504
  includeWorkspaceRules: z.ZodOptional<z.ZodBoolean>;
3505
3505
  manualToolEnabled: z.ZodOptional<z.ZodBoolean>;
@@ -3564,8 +3564,8 @@ declare const UpdateWorkflowSchema: z.ZodObject<{
3564
3564
  offlineMessage: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3565
3565
  pauseOnEscalate: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
3566
3566
  routingMode: z.ZodOptional<z.ZodEnum<{
3567
- custom: "custom";
3568
3567
  workspace: "workspace";
3568
+ custom: "custom";
3569
3569
  }>>;
3570
3570
  includeWorkspaceRules: z.ZodOptional<z.ZodBoolean>;
3571
3571
  manualToolEnabled: z.ZodOptional<z.ZodBoolean>;
@@ -3650,8 +3650,8 @@ declare const WorkflowEscalationPolicySchema: z.ZodObject<{
3650
3650
  offlineMessage: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3651
3651
  pauseOnEscalate: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
3652
3652
  routingMode: z.ZodOptional<z.ZodEnum<{
3653
- custom: "custom";
3654
3653
  workspace: "workspace";
3654
+ custom: "custom";
3655
3655
  }>>;
3656
3656
  includeWorkspaceRules: z.ZodOptional<z.ZodBoolean>;
3657
3657
  manualToolEnabled: z.ZodOptional<z.ZodBoolean>;
package/dist/schemas.d.ts CHANGED
@@ -1,9 +1,9 @@
1
1
  import { z } from 'zod';
2
- import { b as DataFieldType, aN as DataTypeRecordScope, aJ as DataSensitivity, av as DataCategory, bu as IndexStatus, fM as TipTapDocumentInput } from './tasks-Dc89D2Gu.js';
2
+ import { b as DataFieldType, aN as DataTypeRecordScope, aJ as DataSensitivity, av as DataCategory, bu as IndexStatus, fM as TipTapDocumentInput } from './tasks-DssYoZDt.js';
3
3
  import { CalendarScheduleAvailabilityType, CalendarScheduleRecurrence, CalendarEventStatus, AttendeeResponseStatus } from './index.js';
4
- export { fX as AbilityData, fY as AbilityDataSchema, fZ as AnonymousInquiryFormSchema, f_ as ArchiveTaskInput, f$ as ArchiveTaskSchema, g0 as ChatTaskConfigurationPatchSchema, g1 as ChildTaskFormData, g2 as ChildTaskFormDataSchema, g3 as CreateInquiryInput, fP as CreateInquirySchema, g4 as CreateTaskInput, g5 as CreateTaskSchema, g6 as DeleteInquiryInput, g7 as DeleteInquirySchema, g8 as DeleteTaskInput, g9 as DeleteTaskSchema, ga as EnrichInquiryInput, gb as EnrichInquirySchema, gc as GetInquiryInput, gd as GetInquirySchema, ge as GetTaskInput, gf as GetTaskSchema, gg as ListInquiriesInput, gh as ListInquiriesSchema, gi as ListTasksInput, gj as ListTasksSchema, gk as OutcomeTaskRoutingSchema, gl as TaskFormData, gm as TaskFormDataSchema, gn as UnarchiveTaskInput, go as UnarchiveTaskSchema, gp as UpdateInquiryInput, fQ as UpdateInquiryRequestSchema, gq as UpdateInquirySchema, gr as UpdateTaskInput, gs as UpdateTaskSchema } from './tasks-Dc89D2Gu.js';
4
+ export { fX as AbilityData, fY as AbilityDataSchema, fZ as AnonymousInquiryFormSchema, f_ as ArchiveTaskInput, f$ as ArchiveTaskSchema, g0 as ChatTaskConfigurationPatchSchema, g1 as ChildTaskFormData, g2 as ChildTaskFormDataSchema, g3 as CreateInquiryInput, fP as CreateInquirySchema, g4 as CreateTaskInput, g5 as CreateTaskSchema, g6 as DeleteInquiryInput, g7 as DeleteInquirySchema, g8 as DeleteTaskInput, g9 as DeleteTaskSchema, ga as EnrichInquiryInput, gb as EnrichInquirySchema, gc as GetInquiryInput, gd as GetInquirySchema, ge as GetTaskInput, gf as GetTaskSchema, gg as ListInquiriesInput, gh as ListInquiriesSchema, gi as ListTasksInput, gj as ListTasksSchema, gk as OutcomeTaskRoutingSchema, gl as TaskFormData, gm as TaskFormDataSchema, gn as UnarchiveTaskInput, go as UnarchiveTaskSchema, gp as UpdateInquiryInput, fQ as UpdateInquiryRequestSchema, gq as UpdateInquirySchema, gr as UpdateTaskInput, gs as UpdateTaskSchema } from './tasks-DssYoZDt.js';
5
5
  import { Tool } from '@modelcontextprotocol/sdk/types.js';
6
- import './account-DLwJWX9b.js';
6
+ import './account-DEA-f-I9.js';
7
7
 
8
8
  /**
9
9
  * What a data type with no schema fields derives.
@@ -1137,9 +1137,9 @@ declare const ChannelEnum: z.ZodEnum<{
1137
1137
  declare const MessageRoleEnum: z.ZodEnum<{
1138
1138
  function: "function";
1139
1139
  assistant: "assistant";
1140
- system: "system";
1141
- user: "user";
1142
1140
  tool: "tool";
1141
+ user: "user";
1142
+ system: "system";
1143
1143
  }>;
1144
1144
  declare const ChatFilterObjectTypeEnum: z.ZodEnum<{
1145
1145
  paused: "paused";
@@ -1179,9 +1179,9 @@ declare const TruncationReasonEnum: z.ZodEnum<{
1179
1179
  declare const MessageOriginEnum: z.ZodEnum<{
1180
1180
  operator: "operator";
1181
1181
  agent: "agent";
1182
+ tool: "tool";
1182
1183
  member: "member";
1183
1184
  platform: "platform";
1184
- tool: "tool";
1185
1185
  workflow: "workflow";
1186
1186
  engine_action: "engine_action";
1187
1187
  background_run: "background_run";
@@ -1663,9 +1663,9 @@ declare const ChatMessageObjectSchema: z.ZodObject<{
1663
1663
  role: z.ZodEnum<{
1664
1664
  function: "function";
1665
1665
  assistant: "assistant";
1666
- system: "system";
1667
- user: "user";
1668
1666
  tool: "tool";
1667
+ user: "user";
1668
+ system: "system";
1669
1669
  }>;
1670
1670
  content: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
1671
1671
  type: z.ZodLiteral<"text">;
@@ -1768,18 +1768,18 @@ declare const ChatMessageAPIResponseSchema: z.ZodObject<{
1768
1768
  participantRole: z.ZodEnum<{
1769
1769
  function: "function";
1770
1770
  assistant: "assistant";
1771
- system: "system";
1772
- user: "user";
1773
1771
  tool: "tool";
1772
+ user: "user";
1773
+ system: "system";
1774
1774
  }>;
1775
1775
  participantName: z.ZodString;
1776
1776
  participantId: z.ZodNullable<z.ZodNumber>;
1777
1777
  role: z.ZodEnum<{
1778
1778
  function: "function";
1779
1779
  assistant: "assistant";
1780
- system: "system";
1781
- user: "user";
1782
1780
  tool: "tool";
1781
+ user: "user";
1782
+ system: "system";
1783
1783
  }>;
1784
1784
  content: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
1785
1785
  type: z.ZodLiteral<"text">;
@@ -1904,9 +1904,9 @@ declare const ChatMessageAPIResponseSchema: z.ZodObject<{
1904
1904
  origin: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
1905
1905
  operator: "operator";
1906
1906
  agent: "agent";
1907
+ tool: "tool";
1907
1908
  member: "member";
1908
1909
  platform: "platform";
1909
- tool: "tool";
1910
1910
  workflow: "workflow";
1911
1911
  engine_action: "engine_action";
1912
1912
  background_run: "background_run";
@@ -1922,8 +1922,8 @@ declare const ChatCompletionMessageSchema: z.ZodObject<{
1922
1922
  id: z.ZodOptional<z.ZodString>;
1923
1923
  role: z.ZodEnum<{
1924
1924
  assistant: "assistant";
1925
- system: "system";
1926
1925
  user: "user";
1926
+ system: "system";
1927
1927
  }>;
1928
1928
  content: z.ZodString;
1929
1929
  }, z.core.$strip>;
@@ -1934,18 +1934,18 @@ declare const ChatMessageUISchema: z.ZodObject<{
1934
1934
  participantRole: z.ZodEnum<{
1935
1935
  function: "function";
1936
1936
  assistant: "assistant";
1937
- system: "system";
1938
- user: "user";
1939
1937
  tool: "tool";
1938
+ user: "user";
1939
+ system: "system";
1940
1940
  }>;
1941
1941
  participantName: z.ZodString;
1942
1942
  participantId: z.ZodNullable<z.ZodNumber>;
1943
1943
  role: z.ZodEnum<{
1944
1944
  function: "function";
1945
1945
  assistant: "assistant";
1946
- system: "system";
1947
- user: "user";
1948
1946
  tool: "tool";
1947
+ user: "user";
1948
+ system: "system";
1949
1949
  }>;
1950
1950
  content: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
1951
1951
  type: z.ZodLiteral<"text">;
@@ -2070,9 +2070,9 @@ declare const ChatMessageUISchema: z.ZodObject<{
2070
2070
  origin: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
2071
2071
  operator: "operator";
2072
2072
  agent: "agent";
2073
+ tool: "tool";
2073
2074
  member: "member";
2074
2075
  platform: "platform";
2075
- tool: "tool";
2076
2076
  workflow: "workflow";
2077
2077
  engine_action: "engine_action";
2078
2078
  background_run: "background_run";
@@ -2108,18 +2108,18 @@ declare const ChatMessageSchema: z.ZodObject<{
2108
2108
  participantRole: z.ZodEnum<{
2109
2109
  function: "function";
2110
2110
  assistant: "assistant";
2111
- system: "system";
2112
- user: "user";
2113
2111
  tool: "tool";
2112
+ user: "user";
2113
+ system: "system";
2114
2114
  }>;
2115
2115
  participantName: z.ZodString;
2116
2116
  participantId: z.ZodNullable<z.ZodNumber>;
2117
2117
  role: z.ZodEnum<{
2118
2118
  function: "function";
2119
2119
  assistant: "assistant";
2120
- system: "system";
2121
- user: "user";
2122
2120
  tool: "tool";
2121
+ user: "user";
2122
+ system: "system";
2123
2123
  }>;
2124
2124
  content: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
2125
2125
  type: z.ZodLiteral<"text">;
@@ -2244,9 +2244,9 @@ declare const ChatMessageSchema: z.ZodObject<{
2244
2244
  origin: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
2245
2245
  operator: "operator";
2246
2246
  agent: "agent";
2247
+ tool: "tool";
2247
2248
  member: "member";
2248
2249
  platform: "platform";
2249
- tool: "tool";
2250
2250
  workflow: "workflow";
2251
2251
  engine_action: "engine_action";
2252
2252
  background_run: "background_run";
@@ -3340,8 +3340,8 @@ declare const WorkflowCreateFormDataSchema: z.ZodObject<{
3340
3340
  offlineMessage: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3341
3341
  pauseOnEscalate: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
3342
3342
  routingMode: z.ZodOptional<z.ZodEnum<{
3343
- custom: "custom";
3344
3343
  workspace: "workspace";
3344
+ custom: "custom";
3345
3345
  }>>;
3346
3346
  includeWorkspaceRules: z.ZodOptional<z.ZodBoolean>;
3347
3347
  manualToolEnabled: z.ZodOptional<z.ZodBoolean>;
@@ -3421,8 +3421,8 @@ declare const WorkflowFormDataSchema: z.ZodObject<{
3421
3421
  offlineMessage: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3422
3422
  pauseOnEscalate: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
3423
3423
  routingMode: z.ZodOptional<z.ZodEnum<{
3424
- custom: "custom";
3425
3424
  workspace: "workspace";
3425
+ custom: "custom";
3426
3426
  }>>;
3427
3427
  includeWorkspaceRules: z.ZodOptional<z.ZodBoolean>;
3428
3428
  manualToolEnabled: z.ZodOptional<z.ZodBoolean>;
@@ -3498,8 +3498,8 @@ declare const CreateWorkflowSchema: z.ZodObject<{
3498
3498
  offlineMessage: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3499
3499
  pauseOnEscalate: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
3500
3500
  routingMode: z.ZodOptional<z.ZodEnum<{
3501
- custom: "custom";
3502
3501
  workspace: "workspace";
3502
+ custom: "custom";
3503
3503
  }>>;
3504
3504
  includeWorkspaceRules: z.ZodOptional<z.ZodBoolean>;
3505
3505
  manualToolEnabled: z.ZodOptional<z.ZodBoolean>;
@@ -3564,8 +3564,8 @@ declare const UpdateWorkflowSchema: z.ZodObject<{
3564
3564
  offlineMessage: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3565
3565
  pauseOnEscalate: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
3566
3566
  routingMode: z.ZodOptional<z.ZodEnum<{
3567
- custom: "custom";
3568
3567
  workspace: "workspace";
3568
+ custom: "custom";
3569
3569
  }>>;
3570
3570
  includeWorkspaceRules: z.ZodOptional<z.ZodBoolean>;
3571
3571
  manualToolEnabled: z.ZodOptional<z.ZodBoolean>;
@@ -3650,8 +3650,8 @@ declare const WorkflowEscalationPolicySchema: z.ZodObject<{
3650
3650
  offlineMessage: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3651
3651
  pauseOnEscalate: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
3652
3652
  routingMode: z.ZodOptional<z.ZodEnum<{
3653
- custom: "custom";
3654
3653
  workspace: "workspace";
3654
+ custom: "custom";
3655
3655
  }>>;
3656
3656
  includeWorkspaceRules: z.ZodOptional<z.ZodBoolean>;
3657
3657
  manualToolEnabled: z.ZodOptional<z.ZodBoolean>;
@@ -1,5 +1,5 @@
1
1
  import { z } from 'zod';
2
- import { t as SessionKind, r as TwoFactorStatusResponse$1, q as TwoFactorMethodResponse$1, A as AccountResponse, o as AdminAccountResponse, B as AdminAccountMembershipResponse$1 } from './account-DLwJWX9b.cjs';
2
+ import { t as SessionKind, r as TwoFactorStatusResponse$1, q as TwoFactorMethodResponse$1, A as AccountResponse, o as AdminAccountResponse, B as AdminAccountMembershipResponse$1 } from './account-DEA-f-I9.js';
3
3
 
4
4
  /**
5
5
  * Generated by Orval, grouped by scripts/types-codegen/group_generated.ts
@@ -344,6 +344,7 @@ declare const SiteResponseTheme: {
344
344
  readonly 'gravity-health': "gravity-health";
345
345
  readonly 'gravity-developer': "gravity-developer";
346
346
  readonly 'gravity-rail-2026-v2': "gravity-rail-2026-v2";
347
+ readonly 'gravity-rail-2027': "gravity-rail-2027";
347
348
  readonly 'operator-2026': "operator-2026";
348
349
  readonly 'cosan-enrollment': "cosan-enrollment";
349
350
  readonly 'cosan-enrollment-v2': "cosan-enrollment-v2";
@@ -579,6 +580,7 @@ declare const UnauthorizedSiteResponseTheme: {
579
580
  readonly 'gravity-health': "gravity-health";
580
581
  readonly 'gravity-developer': "gravity-developer";
581
582
  readonly 'gravity-rail-2026-v2': "gravity-rail-2026-v2";
583
+ readonly 'gravity-rail-2027': "gravity-rail-2027";
582
584
  readonly 'operator-2026': "operator-2026";
583
585
  readonly 'cosan-enrollment': "cosan-enrollment";
584
586
  readonly 'cosan-enrollment-v2': "cosan-enrollment-v2";
@@ -1173,6 +1175,8 @@ interface CurrentMemberResponse {
1173
1175
  description: string | null;
1174
1176
  phone: string | null;
1175
1177
  phoneType: string | null;
1178
+ carrierName?: string | null;
1179
+ mobileNetworkCode?: string | null;
1176
1180
  email: string | null;
1177
1181
  externalId: string | null;
1178
1182
  dateOfBirth?: string | null;
@@ -1876,6 +1880,8 @@ interface WorkspaceMemberResponse {
1876
1880
  description: string | null;
1877
1881
  phone: string | null;
1878
1882
  phoneType: string | null;
1883
+ carrierName?: string | null;
1884
+ mobileNetworkCode?: string | null;
1879
1885
  email: string | null;
1880
1886
  externalId: string | null;
1881
1887
  dateOfBirth?: string | null;
@@ -3971,7 +3977,6 @@ interface OrgMember {
3971
3977
  orgAccountId?: number | null;
3972
3978
  organizationId: number;
3973
3979
  role: OrgMemberRole;
3974
- billingRole?: 'billing_owner' | 'billing_contact' | null;
3975
3980
  name?: string | null;
3976
3981
  externalId?: string | null;
3977
3982
  createdAt: string;
@@ -1,5 +1,5 @@
1
1
  import { z } from 'zod';
2
- import { t as SessionKind, r as TwoFactorStatusResponse$1, q as TwoFactorMethodResponse$1, A as AccountResponse, o as AdminAccountResponse, B as AdminAccountMembershipResponse$1 } from './account-DLwJWX9b.js';
2
+ import { t as SessionKind, r as TwoFactorStatusResponse$1, q as TwoFactorMethodResponse$1, A as AccountResponse, o as AdminAccountResponse, B as AdminAccountMembershipResponse$1 } from './account-DEA-f-I9.cjs';
3
3
 
4
4
  /**
5
5
  * Generated by Orval, grouped by scripts/types-codegen/group_generated.ts
@@ -344,6 +344,7 @@ declare const SiteResponseTheme: {
344
344
  readonly 'gravity-health': "gravity-health";
345
345
  readonly 'gravity-developer': "gravity-developer";
346
346
  readonly 'gravity-rail-2026-v2': "gravity-rail-2026-v2";
347
+ readonly 'gravity-rail-2027': "gravity-rail-2027";
347
348
  readonly 'operator-2026': "operator-2026";
348
349
  readonly 'cosan-enrollment': "cosan-enrollment";
349
350
  readonly 'cosan-enrollment-v2': "cosan-enrollment-v2";
@@ -579,6 +580,7 @@ declare const UnauthorizedSiteResponseTheme: {
579
580
  readonly 'gravity-health': "gravity-health";
580
581
  readonly 'gravity-developer': "gravity-developer";
581
582
  readonly 'gravity-rail-2026-v2': "gravity-rail-2026-v2";
583
+ readonly 'gravity-rail-2027': "gravity-rail-2027";
582
584
  readonly 'operator-2026': "operator-2026";
583
585
  readonly 'cosan-enrollment': "cosan-enrollment";
584
586
  readonly 'cosan-enrollment-v2': "cosan-enrollment-v2";
@@ -1173,6 +1175,8 @@ interface CurrentMemberResponse {
1173
1175
  description: string | null;
1174
1176
  phone: string | null;
1175
1177
  phoneType: string | null;
1178
+ carrierName?: string | null;
1179
+ mobileNetworkCode?: string | null;
1176
1180
  email: string | null;
1177
1181
  externalId: string | null;
1178
1182
  dateOfBirth?: string | null;
@@ -1876,6 +1880,8 @@ interface WorkspaceMemberResponse {
1876
1880
  description: string | null;
1877
1881
  phone: string | null;
1878
1882
  phoneType: string | null;
1883
+ carrierName?: string | null;
1884
+ mobileNetworkCode?: string | null;
1879
1885
  email: string | null;
1880
1886
  externalId: string | null;
1881
1887
  dateOfBirth?: string | null;
@@ -3971,7 +3977,6 @@ interface OrgMember {
3971
3977
  orgAccountId?: number | null;
3972
3978
  organizationId: number;
3973
3979
  role: OrgMemberRole;
3974
- billingRole?: 'billing_owner' | 'billing_contact' | null;
3975
3980
  name?: string | null;
3976
3981
  externalId?: string | null;
3977
3982
  createdAt: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gravity-rail/sdk",
3
- "version": "9.0.0",
3
+ "version": "10.0.0",
4
4
  "description": "Gravity Rail TypeScript SDK — API client for workspace management",
5
5
  "type": "module",
6
6
  "main": "./dist/index.cjs",
@@ -69,13 +69,14 @@
69
69
  "node": ">=18"
70
70
  },
71
71
  "scripts": {
72
- "build": "tsup",
72
+ "ensure:contract": "node src/ensure-contract.mjs",
73
+ "build": "yarn ensure:contract && tsup",
73
74
  "clean": "rm -rf dist",
74
- "typecheck": "bash ../../scripts/tsc-admitted.sh --noEmit",
75
- "test": "jest --forceExit",
76
- "test:ci": "jest --forceExit --passWithNoTests --coverage --coverageReporters=json-summary --coverageReporters=text-summary",
77
- "docs": "typedoc",
78
- "docs:json": "typedoc --json docs/api.json"
75
+ "typecheck": "yarn ensure:contract && bash ../../scripts/tsc-admitted.sh --noEmit",
76
+ "test": "yarn ensure:contract && jest --forceExit",
77
+ "test:ci": "yarn ensure:contract && jest --forceExit --passWithNoTests --coverage --coverageReporters=json-summary --coverageReporters=text-summary",
78
+ "docs": "yarn ensure:contract && typedoc",
79
+ "docs:json": "yarn ensure:contract && typedoc --json docs/api.json"
79
80
  },
80
81
  "dependencies": {
81
82
  "libphonenumber-js": "^1.13.17",