@gravity-rail/sdk 3.1.0 → 4.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.
Files changed (38) hide show
  1. package/README.md +16 -1
  2. package/dist/{chat-interaction-DwH4z1qk.d.ts → chat-interaction-DXgKjFqZ.d.cts} +497 -523
  3. package/dist/{chat-interaction-ClNfn1UV.d.cts → chat-interaction-a7U-tHfQ.d.ts} +497 -523
  4. package/dist/{chunk-ANVLMZLD.js → chunk-WHRIIBJ4.js} +182 -145
  5. package/dist/chunk-WHRIIBJ4.js.map +1 -0
  6. package/dist/{chunk-RLFS7O2L.js → chunk-ZLF3N3ZD.js} +183 -81
  7. package/dist/chunk-ZLF3N3ZD.js.map +1 -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 +340 -221
  13. package/dist/index.cjs.map +1 -1
  14. package/dist/index.d.cts +6 -6
  15. package/dist/index.d.ts +6 -6
  16. package/dist/index.js +2 -2
  17. package/dist/index.js.map +1 -1
  18. package/dist/internal.cjs +368 -225
  19. package/dist/internal.cjs.map +1 -1
  20. package/dist/internal.d.cts +45 -9
  21. package/dist/internal.d.ts +45 -9
  22. package/dist/internal.js +14 -6
  23. package/dist/internal.js.map +1 -1
  24. package/dist/{member-import-IN06xJrR.d.cts → member-import-BHtOru8g.d.cts} +1 -1
  25. package/dist/{member-import-D-_eJBE7.d.ts → member-import-VOLKR5dY.d.ts} +1 -1
  26. package/dist/{path-D_KPlBIr.d.cts → path-B3b3_El9.d.cts} +36 -18
  27. package/dist/{path-D4S8xYyo.d.ts → path-CUY-Iw70.d.ts} +36 -18
  28. package/dist/schemas.cjs +2 -4
  29. package/dist/schemas.cjs.map +1 -1
  30. package/dist/schemas.d.cts +21 -22
  31. package/dist/schemas.d.ts +21 -22
  32. package/dist/schemas.js +2 -4
  33. package/dist/schemas.js.map +1 -1
  34. package/dist/{tasks-C8sHnwH5.d.cts → tasks-CgptqCsN.d.cts} +17 -48
  35. package/dist/{tasks-C8sHnwH5.d.ts → tasks-CgptqCsN.d.ts} +17 -48
  36. package/package.json +3 -3
  37. package/dist/chunk-ANVLMZLD.js.map +0 -1
  38. package/dist/chunk-RLFS7O2L.js.map +0 -1
@@ -1,7 +1,7 @@
1
1
  import { z } from 'zod';
2
- import { b as DataFieldType, b8 as DataTypeRecordScope, b4 as DataSensitivity, aR as DataCategory, bR as IndexStatus } from './tasks-C8sHnwH5.cjs';
2
+ import { b as DataFieldType, b8 as DataTypeRecordScope, b4 as DataSensitivity, aR as DataCategory, bR as IndexStatus } from './tasks-CgptqCsN.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-C8sHnwH5.cjs';
4
+ export { gt as AbilityData, gu as AbilityDataSchema, gv as AnonymousInquiryFormSchema, gw as ArchiveTaskInput, gx as ArchiveTaskSchema, gy as ChatTaskConfigurationPatchSchema, gz as ChildTaskFormData, gA as ChildTaskFormDataSchema, gB as CreateInquiryInput, gl as CreateInquirySchema, gC as CreateTaskInput, gD as CreateTaskSchema, gE as DeleteInquiryInput, gF as DeleteInquirySchema, gG as DeleteTaskInput, gH as DeleteTaskSchema, gI as EnrichInquiryInput, gJ as EnrichInquirySchema, gK as GetInquiryInput, gL as GetInquirySchema, gM as GetTaskInput, gN as GetTaskSchema, gO as ListInquiriesInput, gP as ListInquiriesSchema, gQ as ListTasksInput, gR as ListTasksSchema, gS as OutcomeTaskRoutingSchema, gT as TaskFormData, gU as TaskFormDataSchema, gV as UnarchiveTaskInput, gW as UnarchiveTaskSchema, gX as UpdateInquiryInput, gm as UpdateInquiryRequestSchema, gY as UpdateInquirySchema, gZ as UpdateTaskInput, g_ as UpdateTaskSchema } from './tasks-CgptqCsN.cjs';
5
5
  import { Tool } from '@modelcontextprotocol/sdk/types.js';
6
6
 
7
7
  /**
@@ -551,7 +551,6 @@ declare const AdminAccountFormDataSchema: z.ZodObject<{
551
551
  enabled: z.ZodOptional<z.ZodBoolean>;
552
552
  orgOwner: z.ZodOptional<z.ZodBoolean>;
553
553
  organizationId: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
554
- stripeCustomerId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
555
554
  }, z.core.$strip>;
556
555
  declare const AccountSchema: z.ZodObject<{
557
556
  id: z.ZodNumber;
@@ -568,7 +567,6 @@ declare const AccountSchema: z.ZodObject<{
568
567
  tosAccepted: z.ZodBoolean;
569
568
  optedOut: z.ZodBoolean;
570
569
  signupWorkspaceId: z.ZodNullable<z.ZodNumber>;
571
- stripeCustomerId: z.ZodNullable<z.ZodString>;
572
570
  organizationId: z.ZodNullable<z.ZodNumber>;
573
571
  organizationName: z.ZodNullable<z.ZodString>;
574
572
  locale: z.ZodNullable<z.ZodString>;
@@ -673,6 +671,7 @@ declare const AdminOrganizationSchema: z.ZodObject<{
673
671
  createdAt: z.ZodString;
674
672
  creatorId: z.ZodNumber;
675
673
  creatorName: z.ZodOptional<z.ZodString>;
674
+ requireMfa: z.ZodOptional<z.ZodBoolean>;
676
675
  accountCount: z.ZodNumber;
677
676
  workspaceCount: z.ZodNumber;
678
677
  enforceCreditLimit: z.ZodBoolean;
@@ -1041,19 +1040,19 @@ declare const MessageRoleEnum: z.ZodEnum<{
1041
1040
  tool: "tool";
1042
1041
  }>;
1043
1042
  declare const ChatFilterObjectTypeEnum: z.ZodEnum<{
1043
+ paused: "paused";
1044
+ owner: "owner";
1044
1045
  title: "title";
1045
1046
  participant: "participant";
1046
1047
  mode: "mode";
1047
1048
  channel: "channel";
1048
- owner: "owner";
1049
1049
  needsResponse: "needsResponse";
1050
- paused: "paused";
1051
1050
  messageCount: "messageCount";
1052
1051
  toolCall: "toolCall";
1053
1052
  }>;
1054
1053
  declare const ChatFilterFilterTypeEnum: z.ZodEnum<{
1055
- any: "any";
1056
1054
  active: "active";
1055
+ any: "any";
1057
1056
  all: "all";
1058
1057
  none: "none";
1059
1058
  partial: "partial";
@@ -1075,8 +1074,8 @@ declare const TruncationReasonEnum: z.ZodEnum<{
1075
1074
  user_cancel: "user_cancel";
1076
1075
  }>;
1077
1076
  declare const MessageOriginEnum: z.ZodEnum<{
1078
- tool: "tool";
1079
1077
  member: "member";
1078
+ tool: "tool";
1080
1079
  agent: "agent";
1081
1080
  operator: "operator";
1082
1081
  workflow: "workflow";
@@ -1398,19 +1397,19 @@ declare const ChatSchema: z.ZodObject<{
1398
1397
  }, z.core.$strip>;
1399
1398
  declare const ChatFilterRuleSchema: z.ZodObject<{
1400
1399
  objectType: z.ZodEnum<{
1400
+ paused: "paused";
1401
+ owner: "owner";
1401
1402
  title: "title";
1402
1403
  participant: "participant";
1403
1404
  mode: "mode";
1404
1405
  channel: "channel";
1405
- owner: "owner";
1406
1406
  needsResponse: "needsResponse";
1407
- paused: "paused";
1408
1407
  messageCount: "messageCount";
1409
1408
  toolCall: "toolCall";
1410
1409
  }>;
1411
1410
  filterType: z.ZodEnum<{
1412
- any: "any";
1413
1411
  active: "active";
1412
+ any: "any";
1414
1413
  all: "all";
1415
1414
  none: "none";
1416
1415
  partial: "partial";
@@ -1424,19 +1423,19 @@ declare const ChatFilterRuleSchema: z.ZodObject<{
1424
1423
  }, z.core.$strip>;
1425
1424
  declare const ChatFilterRuleFormDataSchema: z.ZodObject<{
1426
1425
  objectType: z.ZodEnum<{
1426
+ paused: "paused";
1427
+ owner: "owner";
1427
1428
  title: "title";
1428
1429
  participant: "participant";
1429
1430
  mode: "mode";
1430
1431
  channel: "channel";
1431
- owner: "owner";
1432
1432
  needsResponse: "needsResponse";
1433
- paused: "paused";
1434
1433
  messageCount: "messageCount";
1435
1434
  toolCall: "toolCall";
1436
1435
  }>;
1437
1436
  filterType: z.ZodEnum<{
1438
- any: "any";
1439
1437
  active: "active";
1438
+ any: "any";
1440
1439
  all: "all";
1441
1440
  none: "none";
1442
1441
  partial: "partial";
@@ -1576,8 +1575,8 @@ declare const ChatMessageAPIResponseSchema: z.ZodObject<{
1576
1575
  smsDeliveryUpdatedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1577
1576
  smsDeliveryFailureReason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1578
1577
  origin: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
1579
- tool: "tool";
1580
1578
  member: "member";
1579
+ tool: "tool";
1581
1580
  agent: "agent";
1582
1581
  operator: "operator";
1583
1582
  workflow: "workflow";
@@ -1667,8 +1666,8 @@ declare const ChatMessageUISchema: z.ZodObject<{
1667
1666
  smsDeliveryUpdatedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1668
1667
  smsDeliveryFailureReason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1669
1668
  origin: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
1670
- tool: "tool";
1671
1669
  member: "member";
1670
+ tool: "tool";
1672
1671
  agent: "agent";
1673
1672
  operator: "operator";
1674
1673
  workflow: "workflow";
@@ -1755,8 +1754,8 @@ declare const ChatMessageSchema: z.ZodObject<{
1755
1754
  smsDeliveryUpdatedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1756
1755
  smsDeliveryFailureReason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1757
1756
  origin: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
1758
- tool: "tool";
1759
1757
  member: "member";
1758
+ tool: "tool";
1760
1759
  agent: "agent";
1761
1760
  operator: "operator";
1762
1761
  workflow: "workflow";
@@ -2810,8 +2809,8 @@ declare const WorkflowCreateFormDataSchema: z.ZodObject<{
2810
2809
  offlineMessage: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2811
2810
  pauseOnEscalate: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
2812
2811
  routingMode: z.ZodOptional<z.ZodEnum<{
2813
- custom: "custom";
2814
2812
  workspace: "workspace";
2813
+ custom: "custom";
2815
2814
  }>>;
2816
2815
  includeWorkspaceRules: z.ZodOptional<z.ZodBoolean>;
2817
2816
  manualToolEnabled: z.ZodOptional<z.ZodBoolean>;
@@ -2880,8 +2879,8 @@ declare const WorkflowFormDataSchema: z.ZodObject<{
2880
2879
  offlineMessage: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2881
2880
  pauseOnEscalate: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
2882
2881
  routingMode: z.ZodOptional<z.ZodEnum<{
2883
- custom: "custom";
2884
2882
  workspace: "workspace";
2883
+ custom: "custom";
2885
2884
  }>>;
2886
2885
  includeWorkspaceRules: z.ZodOptional<z.ZodBoolean>;
2887
2886
  manualToolEnabled: z.ZodOptional<z.ZodBoolean>;
@@ -2946,8 +2945,8 @@ declare const CreateWorkflowSchema: z.ZodObject<{
2946
2945
  offlineMessage: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2947
2946
  pauseOnEscalate: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
2948
2947
  routingMode: z.ZodOptional<z.ZodEnum<{
2949
- custom: "custom";
2950
2948
  workspace: "workspace";
2949
+ custom: "custom";
2951
2950
  }>>;
2952
2951
  includeWorkspaceRules: z.ZodOptional<z.ZodBoolean>;
2953
2952
  manualToolEnabled: z.ZodOptional<z.ZodBoolean>;
@@ -3001,8 +3000,8 @@ declare const UpdateWorkflowSchema: z.ZodObject<{
3001
3000
  offlineMessage: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3002
3001
  pauseOnEscalate: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
3003
3002
  routingMode: z.ZodOptional<z.ZodEnum<{
3004
- custom: "custom";
3005
3003
  workspace: "workspace";
3004
+ custom: "custom";
3006
3005
  }>>;
3007
3006
  includeWorkspaceRules: z.ZodOptional<z.ZodBoolean>;
3008
3007
  manualToolEnabled: z.ZodOptional<z.ZodBoolean>;
@@ -3076,8 +3075,8 @@ declare const WorkflowEscalationPolicySchema: z.ZodObject<{
3076
3075
  offlineMessage: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3077
3076
  pauseOnEscalate: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
3078
3077
  routingMode: z.ZodOptional<z.ZodEnum<{
3079
- custom: "custom";
3080
3078
  workspace: "workspace";
3079
+ custom: "custom";
3081
3080
  }>>;
3082
3081
  includeWorkspaceRules: z.ZodOptional<z.ZodBoolean>;
3083
3082
  manualToolEnabled: z.ZodOptional<z.ZodBoolean>;
package/dist/schemas.d.ts CHANGED
@@ -1,7 +1,7 @@
1
1
  import { z } from 'zod';
2
- import { b as DataFieldType, b8 as DataTypeRecordScope, b4 as DataSensitivity, aR as DataCategory, bR as IndexStatus } from './tasks-C8sHnwH5.js';
2
+ import { b as DataFieldType, b8 as DataTypeRecordScope, b4 as DataSensitivity, aR as DataCategory, bR as IndexStatus } from './tasks-CgptqCsN.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-C8sHnwH5.js';
4
+ export { gt as AbilityData, gu as AbilityDataSchema, gv as AnonymousInquiryFormSchema, gw as ArchiveTaskInput, gx as ArchiveTaskSchema, gy as ChatTaskConfigurationPatchSchema, gz as ChildTaskFormData, gA as ChildTaskFormDataSchema, gB as CreateInquiryInput, gl as CreateInquirySchema, gC as CreateTaskInput, gD as CreateTaskSchema, gE as DeleteInquiryInput, gF as DeleteInquirySchema, gG as DeleteTaskInput, gH as DeleteTaskSchema, gI as EnrichInquiryInput, gJ as EnrichInquirySchema, gK as GetInquiryInput, gL as GetInquirySchema, gM as GetTaskInput, gN as GetTaskSchema, gO as ListInquiriesInput, gP as ListInquiriesSchema, gQ as ListTasksInput, gR as ListTasksSchema, gS as OutcomeTaskRoutingSchema, gT as TaskFormData, gU as TaskFormDataSchema, gV as UnarchiveTaskInput, gW as UnarchiveTaskSchema, gX as UpdateInquiryInput, gm as UpdateInquiryRequestSchema, gY as UpdateInquirySchema, gZ as UpdateTaskInput, g_ as UpdateTaskSchema } from './tasks-CgptqCsN.js';
5
5
  import { Tool } from '@modelcontextprotocol/sdk/types.js';
6
6
 
7
7
  /**
@@ -551,7 +551,6 @@ declare const AdminAccountFormDataSchema: z.ZodObject<{
551
551
  enabled: z.ZodOptional<z.ZodBoolean>;
552
552
  orgOwner: z.ZodOptional<z.ZodBoolean>;
553
553
  organizationId: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
554
- stripeCustomerId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
555
554
  }, z.core.$strip>;
556
555
  declare const AccountSchema: z.ZodObject<{
557
556
  id: z.ZodNumber;
@@ -568,7 +567,6 @@ declare const AccountSchema: z.ZodObject<{
568
567
  tosAccepted: z.ZodBoolean;
569
568
  optedOut: z.ZodBoolean;
570
569
  signupWorkspaceId: z.ZodNullable<z.ZodNumber>;
571
- stripeCustomerId: z.ZodNullable<z.ZodString>;
572
570
  organizationId: z.ZodNullable<z.ZodNumber>;
573
571
  organizationName: z.ZodNullable<z.ZodString>;
574
572
  locale: z.ZodNullable<z.ZodString>;
@@ -673,6 +671,7 @@ declare const AdminOrganizationSchema: z.ZodObject<{
673
671
  createdAt: z.ZodString;
674
672
  creatorId: z.ZodNumber;
675
673
  creatorName: z.ZodOptional<z.ZodString>;
674
+ requireMfa: z.ZodOptional<z.ZodBoolean>;
676
675
  accountCount: z.ZodNumber;
677
676
  workspaceCount: z.ZodNumber;
678
677
  enforceCreditLimit: z.ZodBoolean;
@@ -1041,19 +1040,19 @@ declare const MessageRoleEnum: z.ZodEnum<{
1041
1040
  tool: "tool";
1042
1041
  }>;
1043
1042
  declare const ChatFilterObjectTypeEnum: z.ZodEnum<{
1043
+ paused: "paused";
1044
+ owner: "owner";
1044
1045
  title: "title";
1045
1046
  participant: "participant";
1046
1047
  mode: "mode";
1047
1048
  channel: "channel";
1048
- owner: "owner";
1049
1049
  needsResponse: "needsResponse";
1050
- paused: "paused";
1051
1050
  messageCount: "messageCount";
1052
1051
  toolCall: "toolCall";
1053
1052
  }>;
1054
1053
  declare const ChatFilterFilterTypeEnum: z.ZodEnum<{
1055
- any: "any";
1056
1054
  active: "active";
1055
+ any: "any";
1057
1056
  all: "all";
1058
1057
  none: "none";
1059
1058
  partial: "partial";
@@ -1075,8 +1074,8 @@ declare const TruncationReasonEnum: z.ZodEnum<{
1075
1074
  user_cancel: "user_cancel";
1076
1075
  }>;
1077
1076
  declare const MessageOriginEnum: z.ZodEnum<{
1078
- tool: "tool";
1079
1077
  member: "member";
1078
+ tool: "tool";
1080
1079
  agent: "agent";
1081
1080
  operator: "operator";
1082
1081
  workflow: "workflow";
@@ -1398,19 +1397,19 @@ declare const ChatSchema: z.ZodObject<{
1398
1397
  }, z.core.$strip>;
1399
1398
  declare const ChatFilterRuleSchema: z.ZodObject<{
1400
1399
  objectType: z.ZodEnum<{
1400
+ paused: "paused";
1401
+ owner: "owner";
1401
1402
  title: "title";
1402
1403
  participant: "participant";
1403
1404
  mode: "mode";
1404
1405
  channel: "channel";
1405
- owner: "owner";
1406
1406
  needsResponse: "needsResponse";
1407
- paused: "paused";
1408
1407
  messageCount: "messageCount";
1409
1408
  toolCall: "toolCall";
1410
1409
  }>;
1411
1410
  filterType: z.ZodEnum<{
1412
- any: "any";
1413
1411
  active: "active";
1412
+ any: "any";
1414
1413
  all: "all";
1415
1414
  none: "none";
1416
1415
  partial: "partial";
@@ -1424,19 +1423,19 @@ declare const ChatFilterRuleSchema: z.ZodObject<{
1424
1423
  }, z.core.$strip>;
1425
1424
  declare const ChatFilterRuleFormDataSchema: z.ZodObject<{
1426
1425
  objectType: z.ZodEnum<{
1426
+ paused: "paused";
1427
+ owner: "owner";
1427
1428
  title: "title";
1428
1429
  participant: "participant";
1429
1430
  mode: "mode";
1430
1431
  channel: "channel";
1431
- owner: "owner";
1432
1432
  needsResponse: "needsResponse";
1433
- paused: "paused";
1434
1433
  messageCount: "messageCount";
1435
1434
  toolCall: "toolCall";
1436
1435
  }>;
1437
1436
  filterType: z.ZodEnum<{
1438
- any: "any";
1439
1437
  active: "active";
1438
+ any: "any";
1440
1439
  all: "all";
1441
1440
  none: "none";
1442
1441
  partial: "partial";
@@ -1576,8 +1575,8 @@ declare const ChatMessageAPIResponseSchema: z.ZodObject<{
1576
1575
  smsDeliveryUpdatedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1577
1576
  smsDeliveryFailureReason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1578
1577
  origin: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
1579
- tool: "tool";
1580
1578
  member: "member";
1579
+ tool: "tool";
1581
1580
  agent: "agent";
1582
1581
  operator: "operator";
1583
1582
  workflow: "workflow";
@@ -1667,8 +1666,8 @@ declare const ChatMessageUISchema: z.ZodObject<{
1667
1666
  smsDeliveryUpdatedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1668
1667
  smsDeliveryFailureReason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1669
1668
  origin: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
1670
- tool: "tool";
1671
1669
  member: "member";
1670
+ tool: "tool";
1672
1671
  agent: "agent";
1673
1672
  operator: "operator";
1674
1673
  workflow: "workflow";
@@ -1755,8 +1754,8 @@ declare const ChatMessageSchema: z.ZodObject<{
1755
1754
  smsDeliveryUpdatedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1756
1755
  smsDeliveryFailureReason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1757
1756
  origin: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
1758
- tool: "tool";
1759
1757
  member: "member";
1758
+ tool: "tool";
1760
1759
  agent: "agent";
1761
1760
  operator: "operator";
1762
1761
  workflow: "workflow";
@@ -2810,8 +2809,8 @@ declare const WorkflowCreateFormDataSchema: z.ZodObject<{
2810
2809
  offlineMessage: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2811
2810
  pauseOnEscalate: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
2812
2811
  routingMode: z.ZodOptional<z.ZodEnum<{
2813
- custom: "custom";
2814
2812
  workspace: "workspace";
2813
+ custom: "custom";
2815
2814
  }>>;
2816
2815
  includeWorkspaceRules: z.ZodOptional<z.ZodBoolean>;
2817
2816
  manualToolEnabled: z.ZodOptional<z.ZodBoolean>;
@@ -2880,8 +2879,8 @@ declare const WorkflowFormDataSchema: z.ZodObject<{
2880
2879
  offlineMessage: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2881
2880
  pauseOnEscalate: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
2882
2881
  routingMode: z.ZodOptional<z.ZodEnum<{
2883
- custom: "custom";
2884
2882
  workspace: "workspace";
2883
+ custom: "custom";
2885
2884
  }>>;
2886
2885
  includeWorkspaceRules: z.ZodOptional<z.ZodBoolean>;
2887
2886
  manualToolEnabled: z.ZodOptional<z.ZodBoolean>;
@@ -2946,8 +2945,8 @@ declare const CreateWorkflowSchema: z.ZodObject<{
2946
2945
  offlineMessage: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2947
2946
  pauseOnEscalate: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
2948
2947
  routingMode: z.ZodOptional<z.ZodEnum<{
2949
- custom: "custom";
2950
2948
  workspace: "workspace";
2949
+ custom: "custom";
2951
2950
  }>>;
2952
2951
  includeWorkspaceRules: z.ZodOptional<z.ZodBoolean>;
2953
2952
  manualToolEnabled: z.ZodOptional<z.ZodBoolean>;
@@ -3001,8 +3000,8 @@ declare const UpdateWorkflowSchema: z.ZodObject<{
3001
3000
  offlineMessage: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3002
3001
  pauseOnEscalate: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
3003
3002
  routingMode: z.ZodOptional<z.ZodEnum<{
3004
- custom: "custom";
3005
3003
  workspace: "workspace";
3004
+ custom: "custom";
3006
3005
  }>>;
3007
3006
  includeWorkspaceRules: z.ZodOptional<z.ZodBoolean>;
3008
3007
  manualToolEnabled: z.ZodOptional<z.ZodBoolean>;
@@ -3076,8 +3075,8 @@ declare const WorkflowEscalationPolicySchema: z.ZodObject<{
3076
3075
  offlineMessage: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3077
3076
  pauseOnEscalate: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
3078
3077
  routingMode: z.ZodOptional<z.ZodEnum<{
3079
- custom: "custom";
3080
3078
  workspace: "workspace";
3079
+ custom: "custom";
3081
3080
  }>>;
3082
3081
  includeWorkspaceRules: z.ZodOptional<z.ZodBoolean>;
3083
3082
  manualToolEnabled: z.ZodOptional<z.ZodBoolean>;
package/dist/schemas.js CHANGED
@@ -27,9 +27,7 @@ var AdminAccountFormDataSchema = AccountFormDataSchema.extend({
27
27
  isSuperuser: z.boolean().optional(),
28
28
  enabled: z.boolean().optional(),
29
29
  orgOwner: z.boolean().optional(),
30
- organizationId: z.number().nullable().optional(),
31
- stripeCustomerId: z.string().nullable().optional()
32
- // Superuser only
30
+ organizationId: z.number().nullable().optional()
33
31
  });
34
32
  var AccountSchema = z.object({
35
33
  id: z.number(),
@@ -48,7 +46,6 @@ var AccountSchema = z.object({
48
46
  tosAccepted: z.boolean(),
49
47
  optedOut: z.boolean(),
50
48
  signupWorkspaceId: z.number().nullable(),
51
- stripeCustomerId: z.string().nullable(),
52
49
  organizationId: z.number().nullable(),
53
50
  organizationName: z.string().nullable(),
54
51
  locale: z.string().nullable()
@@ -121,6 +118,7 @@ var OrganizationSchema = z.object({
121
118
  creatorName: z.string().optional()
122
119
  });
123
120
  var AdminOrganizationSchema = OrganizationSchema.extend({
121
+ requireMfa: z.boolean().optional(),
124
122
  accountCount: z.number(),
125
123
  workspaceCount: z.number(),
126
124
  enforceCreditLimit: z.boolean(),