@gravity-rail/sdk 8.1.0 → 8.2.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/schemas.d.ts CHANGED
@@ -1098,13 +1098,13 @@ declare const ChannelEnum: z.ZodEnum<{
1098
1098
  slack: "slack";
1099
1099
  teams: "teams";
1100
1100
  discord: "discord";
1101
- email: "email";
1102
1101
  cli: "cli";
1103
1102
  frame: "frame";
1104
1103
  "phone-sms": "phone-sms";
1105
1104
  "phone-voice": "phone-voice";
1106
1105
  fax: "fax";
1107
1106
  "phone-whatsapp": "phone-whatsapp";
1107
+ email: "email";
1108
1108
  background: "background";
1109
1109
  "web-chat": "web-chat";
1110
1110
  "web-voice": "web-voice";
@@ -1122,10 +1122,10 @@ declare const MessageRoleEnum: z.ZodEnum<{
1122
1122
  declare const ChatFilterObjectTypeEnum: z.ZodEnum<{
1123
1123
  paused: "paused";
1124
1124
  channel: "channel";
1125
+ owner: "owner";
1125
1126
  title: "title";
1126
1127
  participant: "participant";
1127
1128
  mode: "mode";
1128
- owner: "owner";
1129
1129
  needsResponse: "needsResponse";
1130
1130
  messageCount: "messageCount";
1131
1131
  toolCall: "toolCall";
@@ -1427,13 +1427,13 @@ declare const ChatSchema: z.ZodObject<{
1427
1427
  slack: "slack";
1428
1428
  teams: "teams";
1429
1429
  discord: "discord";
1430
- email: "email";
1431
1430
  cli: "cli";
1432
1431
  frame: "frame";
1433
1432
  "phone-sms": "phone-sms";
1434
1433
  "phone-voice": "phone-voice";
1435
1434
  fax: "fax";
1436
1435
  "phone-whatsapp": "phone-whatsapp";
1436
+ email: "email";
1437
1437
  background: "background";
1438
1438
  "web-chat": "web-chat";
1439
1439
  "web-voice": "web-voice";
@@ -1482,10 +1482,10 @@ declare const ChatFilterRuleSchema: z.ZodObject<{
1482
1482
  objectType: z.ZodEnum<{
1483
1483
  paused: "paused";
1484
1484
  channel: "channel";
1485
+ owner: "owner";
1485
1486
  title: "title";
1486
1487
  participant: "participant";
1487
1488
  mode: "mode";
1488
- owner: "owner";
1489
1489
  needsResponse: "needsResponse";
1490
1490
  messageCount: "messageCount";
1491
1491
  toolCall: "toolCall";
@@ -1508,10 +1508,10 @@ declare const ChatFilterRuleFormDataSchema: z.ZodObject<{
1508
1508
  objectType: z.ZodEnum<{
1509
1509
  paused: "paused";
1510
1510
  channel: "channel";
1511
+ owner: "owner";
1511
1512
  title: "title";
1512
1513
  participant: "participant";
1513
1514
  mode: "mode";
1514
- owner: "owner";
1515
1515
  needsResponse: "needsResponse";
1516
1516
  messageCount: "messageCount";
1517
1517
  toolCall: "toolCall";
@@ -3322,8 +3322,8 @@ declare const WorkflowCreateFormDataSchema: z.ZodObject<{
3322
3322
  offlineMessage: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3323
3323
  pauseOnEscalate: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
3324
3324
  routingMode: z.ZodOptional<z.ZodEnum<{
3325
- custom: "custom";
3326
3325
  workspace: "workspace";
3326
+ custom: "custom";
3327
3327
  }>>;
3328
3328
  includeWorkspaceRules: z.ZodOptional<z.ZodBoolean>;
3329
3329
  manualToolEnabled: z.ZodOptional<z.ZodBoolean>;
@@ -3404,8 +3404,8 @@ declare const WorkflowFormDataSchema: z.ZodObject<{
3404
3404
  offlineMessage: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3405
3405
  pauseOnEscalate: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
3406
3406
  routingMode: z.ZodOptional<z.ZodEnum<{
3407
- custom: "custom";
3408
3407
  workspace: "workspace";
3408
+ custom: "custom";
3409
3409
  }>>;
3410
3410
  includeWorkspaceRules: z.ZodOptional<z.ZodBoolean>;
3411
3411
  manualToolEnabled: z.ZodOptional<z.ZodBoolean>;
@@ -3482,8 +3482,8 @@ declare const CreateWorkflowSchema: z.ZodObject<{
3482
3482
  offlineMessage: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3483
3483
  pauseOnEscalate: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
3484
3484
  routingMode: z.ZodOptional<z.ZodEnum<{
3485
- custom: "custom";
3486
3485
  workspace: "workspace";
3486
+ custom: "custom";
3487
3487
  }>>;
3488
3488
  includeWorkspaceRules: z.ZodOptional<z.ZodBoolean>;
3489
3489
  manualToolEnabled: z.ZodOptional<z.ZodBoolean>;
@@ -3549,8 +3549,8 @@ declare const UpdateWorkflowSchema: z.ZodObject<{
3549
3549
  offlineMessage: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3550
3550
  pauseOnEscalate: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
3551
3551
  routingMode: z.ZodOptional<z.ZodEnum<{
3552
- custom: "custom";
3553
3552
  workspace: "workspace";
3553
+ custom: "custom";
3554
3554
  }>>;
3555
3555
  includeWorkspaceRules: z.ZodOptional<z.ZodBoolean>;
3556
3556
  manualToolEnabled: z.ZodOptional<z.ZodBoolean>;
@@ -3636,8 +3636,8 @@ declare const WorkflowEscalationPolicySchema: z.ZodObject<{
3636
3636
  offlineMessage: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3637
3637
  pauseOnEscalate: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
3638
3638
  routingMode: z.ZodOptional<z.ZodEnum<{
3639
- custom: "custom";
3640
3639
  workspace: "workspace";
3640
+ custom: "custom";
3641
3641
  }>>;
3642
3642
  includeWorkspaceRules: z.ZodOptional<z.ZodBoolean>;
3643
3643
  manualToolEnabled: z.ZodOptional<z.ZodBoolean>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gravity-rail/sdk",
3
- "version": "8.1.0",
3
+ "version": "8.2.0",
4
4
  "description": "Gravity Rail TypeScript SDK — API client for workspace management",
5
5
  "type": "module",
6
6
  "main": "./dist/index.cjs",