@gravity-rail/sdk 3.2.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-Cc9hQNyx.d.ts → chat-interaction-DXgKjFqZ.d.cts} +490 -522
  3. package/dist/{chat-interaction-CoHsIqyX.d.cts → chat-interaction-a7U-tHfQ.d.ts} +490 -522
  4. package/dist/{chunk-MAPAZORN.js → chunk-WHRIIBJ4.js} +181 -144
  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 +339 -220
  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 +367 -224
  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-9h52_4KO.d.cts → member-import-BHtOru8g.d.cts} +1 -1
  25. package/dist/{member-import-BWyl88Qx.d.ts → member-import-VOLKR5dY.d.ts} +1 -1
  26. package/dist/{path-ChuuGGLG.d.ts → path-B3b3_El9.d.cts} +36 -18
  27. package/dist/{path-CXnjBalr.d.cts → 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 +5 -6
  31. package/dist/schemas.d.ts +5 -6
  32. package/dist/schemas.js +2 -4
  33. package/dist/schemas.js.map +1 -1
  34. package/dist/{tasks-B7tIHQcS.d.cts → tasks-CgptqCsN.d.cts} +13 -45
  35. package/dist/{tasks-B7tIHQcS.d.ts → tasks-CgptqCsN.d.ts} +13 -45
  36. package/package.json +3 -3
  37. package/dist/chunk-MAPAZORN.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-B7tIHQcS.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-B7tIHQcS.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;
@@ -1016,13 +1015,13 @@ type RevokeICalTokenInput = z.infer<typeof RevokeICalTokenSchema>;
1016
1015
  type GetICalUrlInput = z.infer<typeof GetICalUrlSchema>;
1017
1016
 
1018
1017
  declare const ChannelEnum: z.ZodEnum<{
1018
+ email: "email";
1019
1019
  cli: "cli";
1020
1020
  frame: "frame";
1021
1021
  "phone-sms": "phone-sms";
1022
1022
  "phone-voice": "phone-voice";
1023
1023
  fax: "fax";
1024
1024
  "phone-whatsapp": "phone-whatsapp";
1025
- email: "email";
1026
1025
  background: "background";
1027
1026
  "web-chat": "web-chat";
1028
1027
  "web-voice": "web-voice";
@@ -1342,13 +1341,13 @@ declare const ChatSchema: z.ZodObject<{
1342
1341
  archived: z.ZodBoolean;
1343
1342
  muted: z.ZodBoolean;
1344
1343
  channel: z.ZodEnum<{
1344
+ email: "email";
1345
1345
  cli: "cli";
1346
1346
  frame: "frame";
1347
1347
  "phone-sms": "phone-sms";
1348
1348
  "phone-voice": "phone-voice";
1349
1349
  fax: "fax";
1350
1350
  "phone-whatsapp": "phone-whatsapp";
1351
- email: "email";
1352
1351
  background: "background";
1353
1352
  "web-chat": "web-chat";
1354
1353
  "web-voice": "web-voice";
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-B7tIHQcS.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-B7tIHQcS.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;
@@ -1016,13 +1015,13 @@ type RevokeICalTokenInput = z.infer<typeof RevokeICalTokenSchema>;
1016
1015
  type GetICalUrlInput = z.infer<typeof GetICalUrlSchema>;
1017
1016
 
1018
1017
  declare const ChannelEnum: z.ZodEnum<{
1018
+ email: "email";
1019
1019
  cli: "cli";
1020
1020
  frame: "frame";
1021
1021
  "phone-sms": "phone-sms";
1022
1022
  "phone-voice": "phone-voice";
1023
1023
  fax: "fax";
1024
1024
  "phone-whatsapp": "phone-whatsapp";
1025
- email: "email";
1026
1025
  background: "background";
1027
1026
  "web-chat": "web-chat";
1028
1027
  "web-voice": "web-voice";
@@ -1342,13 +1341,13 @@ declare const ChatSchema: z.ZodObject<{
1342
1341
  archived: z.ZodBoolean;
1343
1342
  muted: z.ZodBoolean;
1344
1343
  channel: z.ZodEnum<{
1344
+ email: "email";
1345
1345
  cli: "cli";
1346
1346
  frame: "frame";
1347
1347
  "phone-sms": "phone-sms";
1348
1348
  "phone-voice": "phone-voice";
1349
1349
  fax: "fax";
1350
1350
  "phone-whatsapp": "phone-whatsapp";
1351
- email: "email";
1352
1351
  background: "background";
1353
1352
  "web-chat": "web-chat";
1354
1353
  "web-voice": "web-voice";
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(),