@gravity-rail/sdk 0.8.0 → 0.10.1
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/README.md +38 -0
- package/dist/{chunk-ML55PVP7.js → chunk-2BJG4GYM.js} +641 -541
- package/dist/chunk-2BJG4GYM.js.map +1 -0
- package/dist/chunk-FSSXKQR5.js +471 -0
- package/dist/chunk-FSSXKQR5.js.map +1 -0
- package/dist/{chunk-QS6ZRQUZ.js → chunk-TJT7A4CO.js} +8 -1
- package/dist/{chunk-QS6ZRQUZ.js.map → chunk-TJT7A4CO.js.map} +1 -1
- package/dist/{client-C2aWAalu.d.cts → client-BffM3KcA.d.cts} +1190 -313
- package/dist/{client-CLGovEox.d.ts → client-DfjAYbt8.d.ts} +1190 -313
- package/dist/helpers.cjs +178 -2
- package/dist/helpers.cjs.map +1 -1
- package/dist/helpers.d.cts +82 -3
- package/dist/helpers.d.ts +82 -3
- package/dist/helpers.js +156 -1
- package/dist/helpers.js.map +1 -1
- package/dist/index.cjs +851 -166
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +14 -8
- package/dist/index.d.ts +14 -8
- package/dist/index.js +144 -20
- package/dist/index.js.map +1 -1
- package/dist/{inquiries-CmECZnkl.d.cts → inquiries-UcWNYo-Q.d.cts} +564 -79
- package/dist/{inquiries-CmECZnkl.d.ts → inquiries-UcWNYo-Q.d.ts} +564 -79
- package/dist/internal.cjs +784 -153
- package/dist/internal.cjs.map +1 -1
- package/dist/internal.d.cts +241 -5
- package/dist/internal.d.ts +241 -5
- package/dist/internal.js +71 -7
- package/dist/internal.js.map +1 -1
- package/dist/realtime.cjs +1 -0
- package/dist/realtime.cjs.map +1 -1
- package/dist/realtime.js +1 -0
- package/dist/realtime.js.map +1 -1
- package/dist/schemas.cjs +29 -7
- package/dist/schemas.cjs.map +1 -1
- package/dist/schemas.d.cts +106 -51
- package/dist/schemas.d.ts +106 -51
- package/dist/schemas.js +29 -8
- package/dist/schemas.js.map +1 -1
- package/dist/{scopes-D6a_Mvqr.d.ts → scopes-CjSvITpL.d.cts} +53 -8
- package/dist/{scopes-CDaJBQVT.d.cts → scopes-CmNKWrzb.d.ts} +53 -8
- package/package.json +5 -5
- package/dist/chunk-ML55PVP7.js.map +0 -1
package/dist/schemas.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
-
import { ab as CalendarScheduleAvailabilityType, ad as CalendarScheduleRecurrence, a3 as CalendarEventStatus, F as AttendeeResponseStatus, b as DataFieldType,
|
|
3
|
-
export {
|
|
2
|
+
import { ab as CalendarScheduleAvailabilityType, ad as CalendarScheduleRecurrence, a3 as CalendarEventStatus, F as AttendeeResponseStatus, b as DataFieldType, aZ as DataTypeRecordScope, aT as DataSensitivity, aG as DataCategory, bA as IndexStatus } from './inquiries-UcWNYo-Q.js';
|
|
3
|
+
export { f2 as CreateInquiryInput, f3 as CreateInquirySchema, f4 as CreateMilestoneInput, f5 as CreateMilestoneSchema, f6 as DeleteInquiryInput, f7 as DeleteInquirySchema, f8 as DeleteMilestoneInput, f9 as DeleteMilestoneSchema, fa as EnrichInquiryInput, fb as EnrichInquirySchema, fc as GetInquiryInput, fd as GetInquirySchema, fe as GetMilestoneInput, ff as GetMilestoneSchema, fg as ListInquiriesInput, fh as ListInquiriesSchema, fi as ListMilestonesInput, fj as ListMilestonesSchema, fk as MilestoneFormData, fl as MilestoneFormDataSchema, fm as MilestoneGoalFormDataSchema, fn as UpdateInquiryInput, fo as UpdateInquiryRequestSchema, fp as UpdateInquirySchema, fq as UpdateMilestoneInput, fr as UpdateMilestoneSchema } from './inquiries-UcWNYo-Q.js';
|
|
4
4
|
import { Tool } from '@modelcontextprotocol/sdk/types.js';
|
|
5
5
|
|
|
6
6
|
declare const AccountFormDataSchema: z.ZodObject<{
|
|
@@ -477,13 +477,20 @@ type GetICalUrlInput = z.infer<typeof GetICalUrlSchema>;
|
|
|
477
477
|
|
|
478
478
|
declare const ChannelEnum: z.ZodEnum<{
|
|
479
479
|
email: "email";
|
|
480
|
-
|
|
481
|
-
|
|
480
|
+
routine: "routine";
|
|
481
|
+
cli: "cli";
|
|
482
|
+
frame: "frame";
|
|
482
483
|
"phone-sms": "phone-sms";
|
|
483
|
-
|
|
484
|
+
"phone-voice": "phone-voice";
|
|
485
|
+
"phone-whatsapp": "phone-whatsapp";
|
|
484
486
|
background: "background";
|
|
485
|
-
"
|
|
487
|
+
"web-chat": "web-chat";
|
|
488
|
+
"web-voice": "web-voice";
|
|
489
|
+
discord: "discord";
|
|
490
|
+
slack: "slack";
|
|
491
|
+
teams: "teams";
|
|
486
492
|
"direct-message": "direct-message";
|
|
493
|
+
a2a: "a2a";
|
|
487
494
|
}>;
|
|
488
495
|
declare const MessageRoleEnum: z.ZodEnum<{
|
|
489
496
|
function: "function";
|
|
@@ -550,6 +557,7 @@ declare const ChatFormDataSchema: z.ZodObject<{
|
|
|
550
557
|
additionalInstructions: z.ZodOptional<z.ZodString>;
|
|
551
558
|
}, z.core.$strip>>;
|
|
552
559
|
agentEnabled: z.ZodOptional<z.ZodBoolean>;
|
|
560
|
+
assistantMemberId: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
553
561
|
agentMemberId: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
554
562
|
assistantChatModelId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
555
563
|
assistantChatModelConfig: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
@@ -609,6 +617,7 @@ declare const CreateChatSchema: z.ZodObject<{
|
|
|
609
617
|
additionalInstructions: z.ZodOptional<z.ZodString>;
|
|
610
618
|
}, z.core.$strip>>;
|
|
611
619
|
agentEnabled: z.ZodOptional<z.ZodBoolean>;
|
|
620
|
+
assistantMemberId: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
612
621
|
agentMemberId: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
613
622
|
assistantChatModelId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
614
623
|
assistantChatModelConfig: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
@@ -636,6 +645,7 @@ declare const UpdateChatSchema: z.ZodObject<{
|
|
|
636
645
|
additionalInstructions: z.ZodOptional<z.ZodString>;
|
|
637
646
|
}, z.core.$strip>>>;
|
|
638
647
|
agentEnabled: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
|
|
648
|
+
assistantMemberId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>;
|
|
639
649
|
agentMemberId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>;
|
|
640
650
|
assistantChatModelId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
641
651
|
assistantChatModelConfig: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>>;
|
|
@@ -731,17 +741,29 @@ declare const ChatSchema: z.ZodObject<{
|
|
|
731
741
|
needsResponse: z.ZodBoolean;
|
|
732
742
|
channel: z.ZodEnum<{
|
|
733
743
|
email: "email";
|
|
734
|
-
|
|
735
|
-
|
|
744
|
+
routine: "routine";
|
|
745
|
+
cli: "cli";
|
|
746
|
+
frame: "frame";
|
|
736
747
|
"phone-sms": "phone-sms";
|
|
737
|
-
|
|
748
|
+
"phone-voice": "phone-voice";
|
|
749
|
+
"phone-whatsapp": "phone-whatsapp";
|
|
738
750
|
background: "background";
|
|
739
|
-
"
|
|
751
|
+
"web-chat": "web-chat";
|
|
752
|
+
"web-voice": "web-voice";
|
|
753
|
+
discord: "discord";
|
|
754
|
+
slack: "slack";
|
|
755
|
+
teams: "teams";
|
|
740
756
|
"direct-message": "direct-message";
|
|
757
|
+
a2a: "a2a";
|
|
741
758
|
}>;
|
|
759
|
+
chatType: z.ZodString;
|
|
742
760
|
paused: z.ZodBoolean;
|
|
743
|
-
assignmentId: z.ZodNumber
|
|
761
|
+
assignmentId: z.ZodNullable<z.ZodNumber>;
|
|
762
|
+
workflowId: z.ZodNullable<z.ZodNumber>;
|
|
744
763
|
phoneNumberId: z.ZodNullable<z.ZodNumber>;
|
|
764
|
+
inboxId: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
765
|
+
siteId: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
766
|
+
folderId: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
745
767
|
fromMessageId: z.ZodNullable<z.ZodNumber>;
|
|
746
768
|
createdAt: z.ZodString;
|
|
747
769
|
updatedAt: z.ZodString;
|
|
@@ -1514,6 +1536,14 @@ declare const UpdateDataFieldSchema: z.ZodObject<{
|
|
|
1514
1536
|
shouldIndex: z.ZodOptional<z.ZodBoolean>;
|
|
1515
1537
|
adminOnly: z.ZodOptional<z.ZodBoolean>;
|
|
1516
1538
|
}, z.core.$strip>;
|
|
1539
|
+
declare const DataRecordRetirementSchema: z.ZodObject<{
|
|
1540
|
+
status: z.ZodLiteral<"retired">;
|
|
1541
|
+
reason: z.ZodEnum<{
|
|
1542
|
+
monday_item_archived: "monday_item_archived";
|
|
1543
|
+
monday_item_deleted: "monday_item_deleted";
|
|
1544
|
+
}>;
|
|
1545
|
+
source: z.ZodLiteral<"monday">;
|
|
1546
|
+
}, z.core.$strip>;
|
|
1517
1547
|
declare const DataRecordSchema: z.ZodObject<{
|
|
1518
1548
|
id: z.ZodNumber;
|
|
1519
1549
|
dataTypeId: z.ZodNumber;
|
|
@@ -1523,6 +1553,14 @@ declare const DataRecordSchema: z.ZodObject<{
|
|
|
1523
1553
|
assignmentTaskId: z.ZodOptional<z.ZodNumber>;
|
|
1524
1554
|
createdAt: z.ZodString;
|
|
1525
1555
|
updatedAt: z.ZodString;
|
|
1556
|
+
retirement: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
1557
|
+
status: z.ZodLiteral<"retired">;
|
|
1558
|
+
reason: z.ZodEnum<{
|
|
1559
|
+
monday_item_archived: "monday_item_archived";
|
|
1560
|
+
monday_item_deleted: "monday_item_deleted";
|
|
1561
|
+
}>;
|
|
1562
|
+
source: z.ZodLiteral<"monday">;
|
|
1563
|
+
}, z.core.$strip>>>;
|
|
1526
1564
|
}, z.core.$strip>;
|
|
1527
1565
|
declare const DataRecordFormDataSchema: z.ZodObject<{
|
|
1528
1566
|
memberId: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
@@ -1541,6 +1579,14 @@ declare const DataRecordsPaginatedResponseSchema: z.ZodObject<{
|
|
|
1541
1579
|
assignmentTaskId: z.ZodOptional<z.ZodNumber>;
|
|
1542
1580
|
createdAt: z.ZodString;
|
|
1543
1581
|
updatedAt: z.ZodString;
|
|
1582
|
+
retirement: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
1583
|
+
status: z.ZodLiteral<"retired">;
|
|
1584
|
+
reason: z.ZodEnum<{
|
|
1585
|
+
monday_item_archived: "monday_item_archived";
|
|
1586
|
+
monday_item_deleted: "monday_item_deleted";
|
|
1587
|
+
}>;
|
|
1588
|
+
source: z.ZodLiteral<"monday">;
|
|
1589
|
+
}, z.core.$strip>>>;
|
|
1544
1590
|
}, z.core.$strip>>;
|
|
1545
1591
|
total: z.ZodNumber;
|
|
1546
1592
|
page: z.ZodNumber;
|
|
@@ -1556,6 +1602,14 @@ declare const DataRecordWithAccessModeSchema: z.ZodObject<{
|
|
|
1556
1602
|
assignmentTaskId: z.ZodOptional<z.ZodNumber>;
|
|
1557
1603
|
createdAt: z.ZodString;
|
|
1558
1604
|
updatedAt: z.ZodString;
|
|
1605
|
+
retirement: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
1606
|
+
status: z.ZodLiteral<"retired">;
|
|
1607
|
+
reason: z.ZodEnum<{
|
|
1608
|
+
monday_item_archived: "monday_item_archived";
|
|
1609
|
+
monday_item_deleted: "monday_item_deleted";
|
|
1610
|
+
}>;
|
|
1611
|
+
source: z.ZodLiteral<"monday">;
|
|
1612
|
+
}, z.core.$strip>>>;
|
|
1559
1613
|
accessMode: z.ZodNumber;
|
|
1560
1614
|
}, z.core.$strip>;
|
|
1561
1615
|
declare const DataRecordAssociationFormDataSchema: z.ZodObject<{
|
|
@@ -1622,6 +1676,7 @@ type SchemaFieldFormData = z.infer<typeof SchemaFieldFormDataSchema>;
|
|
|
1622
1676
|
type DataType = z.infer<typeof DataTypeSchema>;
|
|
1623
1677
|
type DataTypeFormData = z.infer<typeof DataTypeFormDataSchema>;
|
|
1624
1678
|
type DataRecord = z.infer<typeof DataRecordSchema>;
|
|
1679
|
+
type DataRecordRetirement = z.infer<typeof DataRecordRetirementSchema>;
|
|
1625
1680
|
type DataRecordFormData = z.infer<typeof DataRecordFormDataSchema>;
|
|
1626
1681
|
type DataRecordsPaginatedResponse = z.infer<typeof DataRecordsPaginatedResponseSchema>;
|
|
1627
1682
|
type DataRecordWithAccessMode = z.infer<typeof DataRecordWithAccessModeSchema>;
|
|
@@ -1656,9 +1711,9 @@ declare const InboxRuleSchema: z.ZodObject<{
|
|
|
1656
1711
|
}>;
|
|
1657
1712
|
operator: z.ZodEnum<{
|
|
1658
1713
|
equals: "equals";
|
|
1714
|
+
contains: "contains";
|
|
1659
1715
|
regex: "regex";
|
|
1660
1716
|
ends_with: "ends_with";
|
|
1661
|
-
contains: "contains";
|
|
1662
1717
|
ip_in_range: "ip_in_range";
|
|
1663
1718
|
}>;
|
|
1664
1719
|
value: z.ZodString;
|
|
@@ -1690,9 +1745,9 @@ declare const InboxRulesConfigSchema: z.ZodObject<{
|
|
|
1690
1745
|
}>;
|
|
1691
1746
|
operator: z.ZodEnum<{
|
|
1692
1747
|
equals: "equals";
|
|
1748
|
+
contains: "contains";
|
|
1693
1749
|
regex: "regex";
|
|
1694
1750
|
ends_with: "ends_with";
|
|
1695
|
-
contains: "contains";
|
|
1696
1751
|
ip_in_range: "ip_in_range";
|
|
1697
1752
|
}>;
|
|
1698
1753
|
value: z.ZodString;
|
|
@@ -1704,9 +1759,9 @@ declare const InboxRulesConfigSchema: z.ZodObject<{
|
|
|
1704
1759
|
}>;
|
|
1705
1760
|
operator: z.ZodEnum<{
|
|
1706
1761
|
equals: "equals";
|
|
1762
|
+
contains: "contains";
|
|
1707
1763
|
regex: "regex";
|
|
1708
1764
|
ends_with: "ends_with";
|
|
1709
|
-
contains: "contains";
|
|
1710
1765
|
ip_in_range: "ip_in_range";
|
|
1711
1766
|
}>;
|
|
1712
1767
|
value: z.ZodString;
|
|
@@ -1743,9 +1798,9 @@ declare const InboxFormDataSchema: z.ZodObject<{
|
|
|
1743
1798
|
}>;
|
|
1744
1799
|
operator: z.ZodEnum<{
|
|
1745
1800
|
equals: "equals";
|
|
1801
|
+
contains: "contains";
|
|
1746
1802
|
regex: "regex";
|
|
1747
1803
|
ends_with: "ends_with";
|
|
1748
|
-
contains: "contains";
|
|
1749
1804
|
ip_in_range: "ip_in_range";
|
|
1750
1805
|
}>;
|
|
1751
1806
|
value: z.ZodString;
|
|
@@ -1757,9 +1812,9 @@ declare const InboxFormDataSchema: z.ZodObject<{
|
|
|
1757
1812
|
}>;
|
|
1758
1813
|
operator: z.ZodEnum<{
|
|
1759
1814
|
equals: "equals";
|
|
1815
|
+
contains: "contains";
|
|
1760
1816
|
regex: "regex";
|
|
1761
1817
|
ends_with: "ends_with";
|
|
1762
|
-
contains: "contains";
|
|
1763
1818
|
ip_in_range: "ip_in_range";
|
|
1764
1819
|
}>;
|
|
1765
1820
|
value: z.ZodString;
|
|
@@ -1815,9 +1870,9 @@ declare const CreateInboxSchema: z.ZodObject<{
|
|
|
1815
1870
|
}>;
|
|
1816
1871
|
operator: z.ZodEnum<{
|
|
1817
1872
|
equals: "equals";
|
|
1873
|
+
contains: "contains";
|
|
1818
1874
|
regex: "regex";
|
|
1819
1875
|
ends_with: "ends_with";
|
|
1820
|
-
contains: "contains";
|
|
1821
1876
|
ip_in_range: "ip_in_range";
|
|
1822
1877
|
}>;
|
|
1823
1878
|
value: z.ZodString;
|
|
@@ -1829,9 +1884,9 @@ declare const CreateInboxSchema: z.ZodObject<{
|
|
|
1829
1884
|
}>;
|
|
1830
1885
|
operator: z.ZodEnum<{
|
|
1831
1886
|
equals: "equals";
|
|
1887
|
+
contains: "contains";
|
|
1832
1888
|
regex: "regex";
|
|
1833
1889
|
ends_with: "ends_with";
|
|
1834
|
-
contains: "contains";
|
|
1835
1890
|
ip_in_range: "ip_in_range";
|
|
1836
1891
|
}>;
|
|
1837
1892
|
value: z.ZodString;
|
|
@@ -1876,9 +1931,9 @@ declare const UpdateInboxSchema: z.ZodObject<{
|
|
|
1876
1931
|
}>;
|
|
1877
1932
|
operator: z.ZodEnum<{
|
|
1878
1933
|
equals: "equals";
|
|
1934
|
+
contains: "contains";
|
|
1879
1935
|
regex: "regex";
|
|
1880
1936
|
ends_with: "ends_with";
|
|
1881
|
-
contains: "contains";
|
|
1882
1937
|
ip_in_range: "ip_in_range";
|
|
1883
1938
|
}>;
|
|
1884
1939
|
value: z.ZodString;
|
|
@@ -1890,9 +1945,9 @@ declare const UpdateInboxSchema: z.ZodObject<{
|
|
|
1890
1945
|
}>;
|
|
1891
1946
|
operator: z.ZodEnum<{
|
|
1892
1947
|
equals: "equals";
|
|
1948
|
+
contains: "contains";
|
|
1893
1949
|
regex: "regex";
|
|
1894
1950
|
ends_with: "ends_with";
|
|
1895
|
-
contains: "contains";
|
|
1896
1951
|
ip_in_range: "ip_in_range";
|
|
1897
1952
|
}>;
|
|
1898
1953
|
value: z.ZodString;
|
|
@@ -2265,8 +2320,13 @@ declare const MemberFilterFilterTypeEnum: z.ZodEnum<{
|
|
|
2265
2320
|
exact: "exact";
|
|
2266
2321
|
equals: "equals";
|
|
2267
2322
|
notEquals: "notEquals";
|
|
2268
|
-
notPartial: "notPartial";
|
|
2269
2323
|
notContains: "notContains";
|
|
2324
|
+
between: "between";
|
|
2325
|
+
notBetween: "notBetween";
|
|
2326
|
+
isEmpty: "isEmpty";
|
|
2327
|
+
notEmpty: "notEmpty";
|
|
2328
|
+
daysAgo: "daysAgo";
|
|
2329
|
+
notPartial: "notPartial";
|
|
2270
2330
|
atLeast: "atLeast";
|
|
2271
2331
|
atMost: "atMost";
|
|
2272
2332
|
field: "field";
|
|
@@ -2277,19 +2337,14 @@ declare const MemberFilterFilterTypeEnum: z.ZodEnum<{
|
|
|
2277
2337
|
lessThanOrEqual: "lessThanOrEqual";
|
|
2278
2338
|
within: "within";
|
|
2279
2339
|
olderThan: "olderThan";
|
|
2280
|
-
isEmpty: "isEmpty";
|
|
2281
|
-
notEmpty: "notEmpty";
|
|
2282
2340
|
before: "before";
|
|
2283
2341
|
after: "after";
|
|
2284
|
-
between: "between";
|
|
2285
|
-
daysAgo: "daysAgo";
|
|
2286
2342
|
lessThanDaysAgo: "lessThanDaysAgo";
|
|
2287
2343
|
daysUntil: "daysUntil";
|
|
2288
2344
|
hasKey: "hasKey";
|
|
2289
2345
|
hasKeyValue: "hasKeyValue";
|
|
2290
2346
|
smsDeliveryStatusNeedsAttention: "smsDeliveryStatusNeedsAttention";
|
|
2291
2347
|
callForwardedAny: "callForwardedAny";
|
|
2292
|
-
notBetween: "notBetween";
|
|
2293
2348
|
}>;
|
|
2294
2349
|
declare const MemberFilterRuleSchema: z.ZodObject<{
|
|
2295
2350
|
id: z.ZodNumber;
|
|
@@ -2330,8 +2385,13 @@ declare const MemberFilterRuleSchema: z.ZodObject<{
|
|
|
2330
2385
|
exact: "exact";
|
|
2331
2386
|
equals: "equals";
|
|
2332
2387
|
notEquals: "notEquals";
|
|
2333
|
-
notPartial: "notPartial";
|
|
2334
2388
|
notContains: "notContains";
|
|
2389
|
+
between: "between";
|
|
2390
|
+
notBetween: "notBetween";
|
|
2391
|
+
isEmpty: "isEmpty";
|
|
2392
|
+
notEmpty: "notEmpty";
|
|
2393
|
+
daysAgo: "daysAgo";
|
|
2394
|
+
notPartial: "notPartial";
|
|
2335
2395
|
atLeast: "atLeast";
|
|
2336
2396
|
atMost: "atMost";
|
|
2337
2397
|
field: "field";
|
|
@@ -2342,19 +2402,14 @@ declare const MemberFilterRuleSchema: z.ZodObject<{
|
|
|
2342
2402
|
lessThanOrEqual: "lessThanOrEqual";
|
|
2343
2403
|
within: "within";
|
|
2344
2404
|
olderThan: "olderThan";
|
|
2345
|
-
isEmpty: "isEmpty";
|
|
2346
|
-
notEmpty: "notEmpty";
|
|
2347
2405
|
before: "before";
|
|
2348
2406
|
after: "after";
|
|
2349
|
-
between: "between";
|
|
2350
|
-
daysAgo: "daysAgo";
|
|
2351
2407
|
lessThanDaysAgo: "lessThanDaysAgo";
|
|
2352
2408
|
daysUntil: "daysUntil";
|
|
2353
2409
|
hasKey: "hasKey";
|
|
2354
2410
|
hasKeyValue: "hasKeyValue";
|
|
2355
2411
|
smsDeliveryStatusNeedsAttention: "smsDeliveryStatusNeedsAttention";
|
|
2356
2412
|
callForwardedAny: "callForwardedAny";
|
|
2357
|
-
notBetween: "notBetween";
|
|
2358
2413
|
}>;
|
|
2359
2414
|
objectIds: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
|
|
2360
2415
|
query: z.ZodOptional<z.ZodString>;
|
|
@@ -2396,8 +2451,13 @@ declare const MemberFilterRuleFormDataSchema: z.ZodObject<{
|
|
|
2396
2451
|
exact: "exact";
|
|
2397
2452
|
equals: "equals";
|
|
2398
2453
|
notEquals: "notEquals";
|
|
2399
|
-
notPartial: "notPartial";
|
|
2400
2454
|
notContains: "notContains";
|
|
2455
|
+
between: "between";
|
|
2456
|
+
notBetween: "notBetween";
|
|
2457
|
+
isEmpty: "isEmpty";
|
|
2458
|
+
notEmpty: "notEmpty";
|
|
2459
|
+
daysAgo: "daysAgo";
|
|
2460
|
+
notPartial: "notPartial";
|
|
2401
2461
|
atLeast: "atLeast";
|
|
2402
2462
|
atMost: "atMost";
|
|
2403
2463
|
field: "field";
|
|
@@ -2408,19 +2468,14 @@ declare const MemberFilterRuleFormDataSchema: z.ZodObject<{
|
|
|
2408
2468
|
lessThanOrEqual: "lessThanOrEqual";
|
|
2409
2469
|
within: "within";
|
|
2410
2470
|
olderThan: "olderThan";
|
|
2411
|
-
isEmpty: "isEmpty";
|
|
2412
|
-
notEmpty: "notEmpty";
|
|
2413
2471
|
before: "before";
|
|
2414
2472
|
after: "after";
|
|
2415
|
-
between: "between";
|
|
2416
|
-
daysAgo: "daysAgo";
|
|
2417
2473
|
lessThanDaysAgo: "lessThanDaysAgo";
|
|
2418
2474
|
daysUntil: "daysUntil";
|
|
2419
2475
|
hasKey: "hasKey";
|
|
2420
2476
|
hasKeyValue: "hasKeyValue";
|
|
2421
2477
|
smsDeliveryStatusNeedsAttention: "smsDeliveryStatusNeedsAttention";
|
|
2422
2478
|
callForwardedAny: "callForwardedAny";
|
|
2423
|
-
notBetween: "notBetween";
|
|
2424
2479
|
}>;
|
|
2425
2480
|
objectIds: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
|
|
2426
2481
|
query: z.ZodOptional<z.ZodString>;
|
|
@@ -2472,8 +2527,13 @@ declare const MemberFilterSchema: z.ZodObject<{
|
|
|
2472
2527
|
exact: "exact";
|
|
2473
2528
|
equals: "equals";
|
|
2474
2529
|
notEquals: "notEquals";
|
|
2475
|
-
notPartial: "notPartial";
|
|
2476
2530
|
notContains: "notContains";
|
|
2531
|
+
between: "between";
|
|
2532
|
+
notBetween: "notBetween";
|
|
2533
|
+
isEmpty: "isEmpty";
|
|
2534
|
+
notEmpty: "notEmpty";
|
|
2535
|
+
daysAgo: "daysAgo";
|
|
2536
|
+
notPartial: "notPartial";
|
|
2477
2537
|
atLeast: "atLeast";
|
|
2478
2538
|
atMost: "atMost";
|
|
2479
2539
|
field: "field";
|
|
@@ -2484,19 +2544,14 @@ declare const MemberFilterSchema: z.ZodObject<{
|
|
|
2484
2544
|
lessThanOrEqual: "lessThanOrEqual";
|
|
2485
2545
|
within: "within";
|
|
2486
2546
|
olderThan: "olderThan";
|
|
2487
|
-
isEmpty: "isEmpty";
|
|
2488
|
-
notEmpty: "notEmpty";
|
|
2489
2547
|
before: "before";
|
|
2490
2548
|
after: "after";
|
|
2491
|
-
between: "between";
|
|
2492
|
-
daysAgo: "daysAgo";
|
|
2493
2549
|
lessThanDaysAgo: "lessThanDaysAgo";
|
|
2494
2550
|
daysUntil: "daysUntil";
|
|
2495
2551
|
hasKey: "hasKey";
|
|
2496
2552
|
hasKeyValue: "hasKeyValue";
|
|
2497
2553
|
smsDeliveryStatusNeedsAttention: "smsDeliveryStatusNeedsAttention";
|
|
2498
2554
|
callForwardedAny: "callForwardedAny";
|
|
2499
|
-
notBetween: "notBetween";
|
|
2500
2555
|
}>;
|
|
2501
2556
|
objectIds: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
|
|
2502
2557
|
query: z.ZodOptional<z.ZodString>;
|
|
@@ -2543,8 +2598,13 @@ declare const MemberFilterFormDataSchema: z.ZodObject<{
|
|
|
2543
2598
|
exact: "exact";
|
|
2544
2599
|
equals: "equals";
|
|
2545
2600
|
notEquals: "notEquals";
|
|
2546
|
-
notPartial: "notPartial";
|
|
2547
2601
|
notContains: "notContains";
|
|
2602
|
+
between: "between";
|
|
2603
|
+
notBetween: "notBetween";
|
|
2604
|
+
isEmpty: "isEmpty";
|
|
2605
|
+
notEmpty: "notEmpty";
|
|
2606
|
+
daysAgo: "daysAgo";
|
|
2607
|
+
notPartial: "notPartial";
|
|
2548
2608
|
atLeast: "atLeast";
|
|
2549
2609
|
atMost: "atMost";
|
|
2550
2610
|
field: "field";
|
|
@@ -2555,19 +2615,14 @@ declare const MemberFilterFormDataSchema: z.ZodObject<{
|
|
|
2555
2615
|
lessThanOrEqual: "lessThanOrEqual";
|
|
2556
2616
|
within: "within";
|
|
2557
2617
|
olderThan: "olderThan";
|
|
2558
|
-
isEmpty: "isEmpty";
|
|
2559
|
-
notEmpty: "notEmpty";
|
|
2560
2618
|
before: "before";
|
|
2561
2619
|
after: "after";
|
|
2562
|
-
between: "between";
|
|
2563
|
-
daysAgo: "daysAgo";
|
|
2564
2620
|
lessThanDaysAgo: "lessThanDaysAgo";
|
|
2565
2621
|
daysUntil: "daysUntil";
|
|
2566
2622
|
hasKey: "hasKey";
|
|
2567
2623
|
hasKeyValue: "hasKeyValue";
|
|
2568
2624
|
smsDeliveryStatusNeedsAttention: "smsDeliveryStatusNeedsAttention";
|
|
2569
2625
|
callForwardedAny: "callForwardedAny";
|
|
2570
|
-
notBetween: "notBetween";
|
|
2571
2626
|
}>;
|
|
2572
2627
|
objectIds: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
|
|
2573
2628
|
query: z.ZodOptional<z.ZodString>;
|
|
@@ -3299,4 +3354,4 @@ declare function zodToMcpSchema(schema: any): any;
|
|
|
3299
3354
|
*/
|
|
3300
3355
|
declare function createTool(name: string, description: string, schema: z.ZodSchema<any>): Tool;
|
|
3301
3356
|
|
|
3302
|
-
export { AbilityDataSchema, type Account, type AccountFormData, AccountFormDataSchema, type AccountReportItem, AccountReportItemSchema, AccountSchema, type AddDataFieldInput, AddDataFieldSchema, type AddWorkspaceMemberInput, AddWorkspaceMemberSchema, type AdminAccountFormData, AdminAccountFormDataSchema, type AdminAccountMembership, AdminAccountMembershipSchema, type AdminOrganization, AdminOrganizationSchema, type AdminWorkspaceMemberFormData, AdminWorkspaceMemberFormDataSchema, type ApiKey, type ApiKeyCreated, ApiKeyCreatedSchema, type ApiKeyFormData, ApiKeyFormDataSchema, ApiKeySchema, type ApiKeyScope, ApiKeyScopeSchema, type ApiKeyScopesResponse, ApiKeyScopesResponseSchema, type ArchiveChatInput, ArchiveChatSchema, type ArchivePhoneNumberInput, ArchivePhoneNumberSchema, type ArchiveTaskInput, ArchiveTaskSchema, type CancelCalendarEventInput, CancelCalendarEventSchema, type Channel, ChannelEnum, type Chat, type ChatCompletionMessage, ChatCompletionMessageSchema, type ChatFilterFilterType, ChatFilterFilterTypeEnum, type ChatFilterObjectType, ChatFilterObjectTypeEnum, type ChatFilterRule, type ChatFilterRuleFormData, ChatFilterRuleFormDataSchema, ChatFilterRuleSchema, ChatFiltersSchema, type ChatFormData, ChatFormDataSchema, type ChatMessage, type ChatMessageAPIResponse, ChatMessageAPIResponseSchema, type ChatMessageChunk, ChatMessageChunkSchema, type ChatMessageObject, ChatMessageObjectSchema, ChatMessageSchema, type ChatMessageUI, ChatMessageUISchema, type ChatParticipantFormData, ChatParticipantFormDataSchema, ChatSchema, type CheckAvailabilityInput, CheckAvailabilitySchema, type ChildTaskFormData, ChildTaskFormDataSchema, type CloneWorkflowInput, CloneWorkflowSchema, type CreateAccountInput, CreateAccountSchema, type CreateCalendarEventInput, CreateCalendarEventSchema, type CreateCalendarInput, CreateCalendarSchema, type CreateChatCompletionInput, CreateChatCompletionSchema, type CreateChatForWorkflowInput, CreateChatForWorkflowSchema, type CreateChatInput, CreateChatSchema, type CreateDataRecordInput, CreateDataRecordSchema, type CreateDataTypeInput, CreateDataTypeSchema, type CreateEventTypeInput, CreateEventTypeSchema, type CreateInboxInput, CreateInboxSchema, type CreateMemberRoleInput, CreateMemberRoleSchema, type CreateMenuItemInput, CreateMenuItemSchema, type CreateOrganizationRequest, CreateOrganizationRequestSchema, type CreatePhoneNumberInput, CreatePhoneNumberSchema, type CreateScheduleInput, CreateScheduleSchema, type CreateSiteInput, type CreateSitePageInput, CreateSitePageSchema, CreateSiteSchema, type CreateTaskInput, CreateTaskSchema, type CreateWorkflowInput, CreateWorkflowSchema, type CreateWorkspaceInput, type CreateWorkspaceMemberRequest, CreateWorkspaceMemberRequestSchema, CreateWorkspaceSchema, DataCategory, type DataField, type DataFieldFormData, DataFieldFormDataSchema, DataFieldSchema, DataFieldType, type DataIntegrityReportItem, DataIntegrityReportItemSchema, type DataRecord, type DataRecordAssociationFormData, DataRecordAssociationFormDataSchema, type DataRecordFilters, DataRecordFiltersSchema, type DataRecordFormData, DataRecordFormDataSchema, type DataRecordReportItem, DataRecordReportItemSchema, DataRecordSchema, type DataRecordWithAccessMode, DataRecordWithAccessModeSchema, type DataRecordsPaginatedResponse, DataRecordsPaginatedResponseSchema, DataSensitivity, type DataType, type DataTypeExportItem, DataTypeExportItemSchema, type DataTypeFormData, DataTypeFormDataSchema, DataTypeMemberRoleAccessInputSchema, DataTypeMemberRoleAccessResponseSchema, DataTypeRecordScope, DataTypeSchema, type DeleteCalendarEventInput, DeleteCalendarEventSchema, type DeleteCalendarInput, DeleteCalendarSchema, type DeleteChatInput, DeleteChatSchema, type DeleteDataRecordInput, DeleteDataRecordSchema, type DeleteDataTypeInput, DeleteDataTypeSchema, type DeleteEventTypeInput, DeleteEventTypeSchema, type DeleteInboxInput, DeleteInboxSchema, type DeleteMemberRoleInput, DeleteMemberRoleSchema, type DeleteMenuItemInput, DeleteMenuItemSchema, type DeleteScheduleInput, DeleteScheduleSchema, type DeleteSiteInput, type DeleteSitePageInput, DeleteSitePageSchema, DeleteSiteSchema, type DeleteTaskInput, DeleteTaskSchema, type DeleteWorkflowInput, DeleteWorkflowSchema, type DeleteWorkspaceInput, DeleteWorkspaceSchema, type DuplicateAccountInfo, DuplicateAccountInfoSchema, type ErrorResponse, ErrorResponseSchema, type FunctionTool, FunctionToolSchema, type GenerateICalTokenInput, GenerateICalTokenSchema, type GetAvailableSlotsInput, GetAvailableSlotsSchema, type GetAvailableWorkspaceFeaturesInput, GetAvailableWorkspaceFeaturesSchema, type GetCalendarEventInput, GetCalendarEventSchema, type GetCalendarInput, GetCalendarSchema, type GetChatInput, type GetChatMessagesInput, GetChatMessagesSchema, GetChatSchema, type GetChatsNeedsResponseInput, GetChatsNeedsResponseSchema, type GetCurrentMemberInput, GetCurrentMemberSchema, type GetDataRecordInput, GetDataRecordSchema, type GetDataTypeBySlugInput, GetDataTypeBySlugSchema, type GetDataTypeInput, GetDataTypeSchema, type GetEventTypeInput, GetEventTypeSchema, type GetFieldIndexStatusInput, GetFieldIndexStatusSchema, type GetICalUrlInput, GetICalUrlSchema, type GetInboxEmailInput, GetInboxEmailSchema, type GetInboxInput, GetInboxSchema, type GetMemberRoleInput, GetMemberRoleSchema, type GetPhoneNumberInput, GetPhoneNumberSchema, type GetProductInput, GetProductSchema, type GetProductsInput, GetProductsSchema, type GetRecentInboxMessagesInput, GetRecentInboxMessagesSchema, type GetRecentSmsMessagesInput, GetRecentSmsMessagesSchema, type GetResellerWorkspacesInput, GetResellerWorkspacesSchema, type GetSiteCountsInput, GetSiteCountsSchema, type GetSiteInput, type GetSiteMenuInput, GetSiteMenuSchema, type GetSitePageBySlugInput, GetSitePageBySlugSchema, type GetSitePageInput, GetSitePageSchema, GetSiteSchema, type GetTaskInput, GetTaskSchema, type GetWorkflowInput, GetWorkflowSchema, type GetWorkspaceDefaultsInput, GetWorkspaceDefaultsSchema, type GetWorkspaceInput, type GetWorkspaceMemberInput, GetWorkspaceMemberSchema, GetWorkspaceSchema, type HumanChatParticipant, HumanChatParticipantSchema, type ImageUrlContent, ImageUrlContentSchema, type InboxEmailFilters, InboxEmailFiltersSchema, type InboxFormData, InboxFormDataSchema, type InboxRule, InboxRuleSchema, type InboxRulesConfig, InboxRulesConfigSchema, IndexStatus, type InitiateOutboundCallInput, InitiateOutboundCallSchema, type ListCalendarEventsInput, ListCalendarEventsSchema, type ListCalendarsInput, ListCalendarsSchema, type ListChatsInput, ListChatsSchema, type ListDataRecordsInput, ListDataRecordsSchema, type ListDataTypesInput, ListDataTypesSchema, type ListEventTypesInput, ListEventTypesSchema, type ListInboxEmailsInput, ListInboxEmailsSchema, type ListInboxesInput, ListInboxesSchema, type ListMemberRolesInput, ListMemberRolesSchema, type ListMenuItemsInput, ListMenuItemsSchema, type ListPhoneCallsInput, ListPhoneCallsSchema, type ListPhoneNumbersInput, ListPhoneNumbersSchema, type ListPhoneSmsMessagesInput, ListPhoneSmsMessagesSchema, type ListSchedulesInput, ListSchedulesSchema, type ListSitePagesInput, ListSitePagesSchema, type ListSitesInput, ListSitesSchema, type ListTasksInput, ListTasksSchema, type ListWorkflowsInput, ListWorkflowsSchema, type ListWorkspaceMembersInput, ListWorkspaceMembersSchema, type ListWorkspacesInput, ListWorkspacesSchema, type LoginRequest, LoginRequestSchema, type LoginResponse, LoginResponseSchema, type MarkEmailReadInput, MarkEmailReadSchema, type MarkEmailUnreadInput, MarkEmailUnreadSchema, type Member, type MemberFilter, type MemberFilterFilterType, MemberFilterFilterTypeEnum, type MemberFilterFormData, MemberFilterFormDataSchema, type MemberFilterObjectType, MemberFilterObjectTypeEnum, type MemberFilterRule, type MemberFilterRuleFormData, MemberFilterRuleFormDataSchema, MemberFilterRuleSchema, MemberFilterSchema, type MemberFormData, MemberFormDataSchema, type MemberLabel, type MemberLabelFormData, MemberLabelFormDataSchema, MemberLabelSchema, type MemberRole, type MemberRoleDataTypeAccess, MemberRoleDataTypeAccessSchema, type MemberRoleFormData, MemberRoleFormDataSchema, type MemberRoleInboxAccess, MemberRoleInboxAccessSchema, MemberRoleSchema, type MemberRoleSiteAccess, MemberRoleSiteAccessSchema, type MemberRoleTaskAccess, MemberRoleTaskAccessSchema, type MemberRoleWorkflowAccess, MemberRoleWorkflowAccessSchema, MemberSchema, type MenuItemFormData, MenuItemFormDataSchema, type MessageContentPart, MessageContentPartSchema, type MessageRole, MessageRoleEnum, type MissingMembershipItem, MissingMembershipItemSchema, type OperatorChatParticipant, OperatorChatParticipantSchema, type Organization, OrganizationSchema, type PhoneNumberFormData, PhoneNumberFormDataSchema, type RateLimitAllowlistEntry, RateLimitAllowlistEntrySchema, type RateLimitOverride, RateLimitOverrideSchema, type RateMessageInput, RateMessageSchema, type RemoveDataFieldInput, RemoveDataFieldSchema, type RemoveWorkspaceMemberInput, RemoveWorkspaceMemberSchema, type ReorderMenuItems, type ReorderMenuItemsInput, ReorderMenuItemsRequestSchema, ReorderMenuItemsSchema, type RevokeICalTokenInput, RevokeICalTokenSchema, type SMSLoginResponse, SMSLoginResponseSchema, type SchemaField, type SchemaFieldFormData, SchemaFieldFormDataSchema, SchemaFieldSchema, type SendAssistantMessageInput, SendAssistantMessageSchema, type SendChatMessageInput, SendChatMessageSchema, type SendSmsToMemberInput, SendSmsToMemberSchema, type SiteFormData, SiteFormDataSchema, type SitePageFormData, SitePageFormDataSchema, type StartSiteCrawlInput, StartSiteCrawlSchema, type TaskExportDataTypeRelation, TaskExportDataTypeRelationSchema, type TaskFormData, TaskFormDataSchema, type TextContent, TextContentSchema, type ToggleFieldIndexInput, ToggleFieldIndexSchema, type ToolCall, type ToolCallFunction, ToolCallFunctionSchema, ToolCallSchema, type ToolResult, ToolResultSchema, type TruncationReason, TruncationReasonEnum, type UnarchiveChatInput, UnarchiveChatSchema, type UnarchiveTaskInput, UnarchiveTaskSchema, type UpdateAttendeeResponseInput, UpdateAttendeeResponseSchema, type UpdateCalendarEventInput, UpdateCalendarEventSchema, type UpdateCalendarInput, UpdateCalendarSchema, type UpdateChatInput, type UpdateChatMuteInput, UpdateChatMuteSchema, type UpdateChatNeedsResponseInput, UpdateChatNeedsResponseSchema, UpdateChatSchema, type UpdateCurrentMemberInput, UpdateCurrentMemberSchema, type UpdateDataFieldInput, UpdateDataFieldSchema, type UpdateDataRecordInput, UpdateDataRecordSchema, type UpdateDataTypeInput, UpdateDataTypeSchema, type UpdateEventTypeInput, UpdateEventTypeSchema, type UpdateInboxInput, UpdateInboxSchema, type UpdateMemberRoleInput, UpdateMemberRoleSchema, type UpdateMenuItemInput, UpdateMenuItemSchema, type UpdateOrganizationRequest, UpdateOrganizationRequestSchema, type UpdatePhoneNumberInput, UpdatePhoneNumberSchema, type UpdateScheduleInput, UpdateScheduleSchema, type UpdateSiteInput, type UpdateSitePageInput, UpdateSitePageSchema, UpdateSiteSchema, type UpdateTaskInput, UpdateTaskSchema, type UpdateWorkflowInput, UpdateWorkflowSchema, type UpdateWorkspaceInput, type UpdateWorkspaceMemberInput, type UpdateWorkspaceMemberRequest, UpdateWorkspaceMemberRequestSchema, UpdateWorkspaceMemberSchema, UpdateWorkspaceSchema, type UpsertDataRecordInput, UpsertDataRecordSchema, type VerifyCodeRequest, VerifyCodeRequestSchema, type VerifyCodeResponse, VerifyCodeResponseSchema, type WorkflowCreateFormData, WorkflowCreateFormDataSchema, type WorkflowFormData, WorkflowFormDataSchema, type WorkspaceFormData, WorkspaceFormDataSchema, WorkspaceIdSchema, createTool, zodToMcpSchema };
|
|
3357
|
+
export { AbilityDataSchema, type Account, type AccountFormData, AccountFormDataSchema, type AccountReportItem, AccountReportItemSchema, AccountSchema, type AddDataFieldInput, AddDataFieldSchema, type AddWorkspaceMemberInput, AddWorkspaceMemberSchema, type AdminAccountFormData, AdminAccountFormDataSchema, type AdminAccountMembership, AdminAccountMembershipSchema, type AdminOrganization, AdminOrganizationSchema, type AdminWorkspaceMemberFormData, AdminWorkspaceMemberFormDataSchema, type ApiKey, type ApiKeyCreated, ApiKeyCreatedSchema, type ApiKeyFormData, ApiKeyFormDataSchema, ApiKeySchema, type ApiKeyScope, ApiKeyScopeSchema, type ApiKeyScopesResponse, ApiKeyScopesResponseSchema, type ArchiveChatInput, ArchiveChatSchema, type ArchivePhoneNumberInput, ArchivePhoneNumberSchema, type ArchiveTaskInput, ArchiveTaskSchema, type CancelCalendarEventInput, CancelCalendarEventSchema, type Channel, ChannelEnum, type Chat, type ChatCompletionMessage, ChatCompletionMessageSchema, type ChatFilterFilterType, ChatFilterFilterTypeEnum, type ChatFilterObjectType, ChatFilterObjectTypeEnum, type ChatFilterRule, type ChatFilterRuleFormData, ChatFilterRuleFormDataSchema, ChatFilterRuleSchema, ChatFiltersSchema, type ChatFormData, ChatFormDataSchema, type ChatMessage, type ChatMessageAPIResponse, ChatMessageAPIResponseSchema, type ChatMessageChunk, ChatMessageChunkSchema, type ChatMessageObject, ChatMessageObjectSchema, ChatMessageSchema, type ChatMessageUI, ChatMessageUISchema, type ChatParticipantFormData, ChatParticipantFormDataSchema, ChatSchema, type CheckAvailabilityInput, CheckAvailabilitySchema, type ChildTaskFormData, ChildTaskFormDataSchema, type CloneWorkflowInput, CloneWorkflowSchema, type CreateAccountInput, CreateAccountSchema, type CreateCalendarEventInput, CreateCalendarEventSchema, type CreateCalendarInput, CreateCalendarSchema, type CreateChatCompletionInput, CreateChatCompletionSchema, type CreateChatForWorkflowInput, CreateChatForWorkflowSchema, type CreateChatInput, CreateChatSchema, type CreateDataRecordInput, CreateDataRecordSchema, type CreateDataTypeInput, CreateDataTypeSchema, type CreateEventTypeInput, CreateEventTypeSchema, type CreateInboxInput, CreateInboxSchema, type CreateMemberRoleInput, CreateMemberRoleSchema, type CreateMenuItemInput, CreateMenuItemSchema, type CreateOrganizationRequest, CreateOrganizationRequestSchema, type CreatePhoneNumberInput, CreatePhoneNumberSchema, type CreateScheduleInput, CreateScheduleSchema, type CreateSiteInput, type CreateSitePageInput, CreateSitePageSchema, CreateSiteSchema, type CreateTaskInput, CreateTaskSchema, type CreateWorkflowInput, CreateWorkflowSchema, type CreateWorkspaceInput, type CreateWorkspaceMemberRequest, CreateWorkspaceMemberRequestSchema, CreateWorkspaceSchema, DataCategory, type DataField, type DataFieldFormData, DataFieldFormDataSchema, DataFieldSchema, DataFieldType, type DataIntegrityReportItem, DataIntegrityReportItemSchema, type DataRecord, type DataRecordAssociationFormData, DataRecordAssociationFormDataSchema, type DataRecordFilters, DataRecordFiltersSchema, type DataRecordFormData, DataRecordFormDataSchema, type DataRecordReportItem, DataRecordReportItemSchema, type DataRecordRetirement, DataRecordRetirementSchema, DataRecordSchema, type DataRecordWithAccessMode, DataRecordWithAccessModeSchema, type DataRecordsPaginatedResponse, DataRecordsPaginatedResponseSchema, DataSensitivity, type DataType, type DataTypeExportItem, DataTypeExportItemSchema, type DataTypeFormData, DataTypeFormDataSchema, DataTypeMemberRoleAccessInputSchema, DataTypeMemberRoleAccessResponseSchema, DataTypeRecordScope, DataTypeSchema, type DeleteCalendarEventInput, DeleteCalendarEventSchema, type DeleteCalendarInput, DeleteCalendarSchema, type DeleteChatInput, DeleteChatSchema, type DeleteDataRecordInput, DeleteDataRecordSchema, type DeleteDataTypeInput, DeleteDataTypeSchema, type DeleteEventTypeInput, DeleteEventTypeSchema, type DeleteInboxInput, DeleteInboxSchema, type DeleteMemberRoleInput, DeleteMemberRoleSchema, type DeleteMenuItemInput, DeleteMenuItemSchema, type DeleteScheduleInput, DeleteScheduleSchema, type DeleteSiteInput, type DeleteSitePageInput, DeleteSitePageSchema, DeleteSiteSchema, type DeleteTaskInput, DeleteTaskSchema, type DeleteWorkflowInput, DeleteWorkflowSchema, type DeleteWorkspaceInput, DeleteWorkspaceSchema, type DuplicateAccountInfo, DuplicateAccountInfoSchema, type ErrorResponse, ErrorResponseSchema, type FunctionTool, FunctionToolSchema, type GenerateICalTokenInput, GenerateICalTokenSchema, type GetAvailableSlotsInput, GetAvailableSlotsSchema, type GetAvailableWorkspaceFeaturesInput, GetAvailableWorkspaceFeaturesSchema, type GetCalendarEventInput, GetCalendarEventSchema, type GetCalendarInput, GetCalendarSchema, type GetChatInput, type GetChatMessagesInput, GetChatMessagesSchema, GetChatSchema, type GetChatsNeedsResponseInput, GetChatsNeedsResponseSchema, type GetCurrentMemberInput, GetCurrentMemberSchema, type GetDataRecordInput, GetDataRecordSchema, type GetDataTypeBySlugInput, GetDataTypeBySlugSchema, type GetDataTypeInput, GetDataTypeSchema, type GetEventTypeInput, GetEventTypeSchema, type GetFieldIndexStatusInput, GetFieldIndexStatusSchema, type GetICalUrlInput, GetICalUrlSchema, type GetInboxEmailInput, GetInboxEmailSchema, type GetInboxInput, GetInboxSchema, type GetMemberRoleInput, GetMemberRoleSchema, type GetPhoneNumberInput, GetPhoneNumberSchema, type GetProductInput, GetProductSchema, type GetProductsInput, GetProductsSchema, type GetRecentInboxMessagesInput, GetRecentInboxMessagesSchema, type GetRecentSmsMessagesInput, GetRecentSmsMessagesSchema, type GetResellerWorkspacesInput, GetResellerWorkspacesSchema, type GetSiteCountsInput, GetSiteCountsSchema, type GetSiteInput, type GetSiteMenuInput, GetSiteMenuSchema, type GetSitePageBySlugInput, GetSitePageBySlugSchema, type GetSitePageInput, GetSitePageSchema, GetSiteSchema, type GetTaskInput, GetTaskSchema, type GetWorkflowInput, GetWorkflowSchema, type GetWorkspaceDefaultsInput, GetWorkspaceDefaultsSchema, type GetWorkspaceInput, type GetWorkspaceMemberInput, GetWorkspaceMemberSchema, GetWorkspaceSchema, type HumanChatParticipant, HumanChatParticipantSchema, type ImageUrlContent, ImageUrlContentSchema, type InboxEmailFilters, InboxEmailFiltersSchema, type InboxFormData, InboxFormDataSchema, type InboxRule, InboxRuleSchema, type InboxRulesConfig, InboxRulesConfigSchema, IndexStatus, type InitiateOutboundCallInput, InitiateOutboundCallSchema, type ListCalendarEventsInput, ListCalendarEventsSchema, type ListCalendarsInput, ListCalendarsSchema, type ListChatsInput, ListChatsSchema, type ListDataRecordsInput, ListDataRecordsSchema, type ListDataTypesInput, ListDataTypesSchema, type ListEventTypesInput, ListEventTypesSchema, type ListInboxEmailsInput, ListInboxEmailsSchema, type ListInboxesInput, ListInboxesSchema, type ListMemberRolesInput, ListMemberRolesSchema, type ListMenuItemsInput, ListMenuItemsSchema, type ListPhoneCallsInput, ListPhoneCallsSchema, type ListPhoneNumbersInput, ListPhoneNumbersSchema, type ListPhoneSmsMessagesInput, ListPhoneSmsMessagesSchema, type ListSchedulesInput, ListSchedulesSchema, type ListSitePagesInput, ListSitePagesSchema, type ListSitesInput, ListSitesSchema, type ListTasksInput, ListTasksSchema, type ListWorkflowsInput, ListWorkflowsSchema, type ListWorkspaceMembersInput, ListWorkspaceMembersSchema, type ListWorkspacesInput, ListWorkspacesSchema, type LoginRequest, LoginRequestSchema, type LoginResponse, LoginResponseSchema, type MarkEmailReadInput, MarkEmailReadSchema, type MarkEmailUnreadInput, MarkEmailUnreadSchema, type Member, type MemberFilter, type MemberFilterFilterType, MemberFilterFilterTypeEnum, type MemberFilterFormData, MemberFilterFormDataSchema, type MemberFilterObjectType, MemberFilterObjectTypeEnum, type MemberFilterRule, type MemberFilterRuleFormData, MemberFilterRuleFormDataSchema, MemberFilterRuleSchema, MemberFilterSchema, type MemberFormData, MemberFormDataSchema, type MemberLabel, type MemberLabelFormData, MemberLabelFormDataSchema, MemberLabelSchema, type MemberRole, type MemberRoleDataTypeAccess, MemberRoleDataTypeAccessSchema, type MemberRoleFormData, MemberRoleFormDataSchema, type MemberRoleInboxAccess, MemberRoleInboxAccessSchema, MemberRoleSchema, type MemberRoleSiteAccess, MemberRoleSiteAccessSchema, type MemberRoleTaskAccess, MemberRoleTaskAccessSchema, type MemberRoleWorkflowAccess, MemberRoleWorkflowAccessSchema, MemberSchema, type MenuItemFormData, MenuItemFormDataSchema, type MessageContentPart, MessageContentPartSchema, type MessageRole, MessageRoleEnum, type MissingMembershipItem, MissingMembershipItemSchema, type OperatorChatParticipant, OperatorChatParticipantSchema, type Organization, OrganizationSchema, type PhoneNumberFormData, PhoneNumberFormDataSchema, type RateLimitAllowlistEntry, RateLimitAllowlistEntrySchema, type RateLimitOverride, RateLimitOverrideSchema, type RateMessageInput, RateMessageSchema, type RemoveDataFieldInput, RemoveDataFieldSchema, type RemoveWorkspaceMemberInput, RemoveWorkspaceMemberSchema, type ReorderMenuItems, type ReorderMenuItemsInput, ReorderMenuItemsRequestSchema, ReorderMenuItemsSchema, type RevokeICalTokenInput, RevokeICalTokenSchema, type SMSLoginResponse, SMSLoginResponseSchema, type SchemaField, type SchemaFieldFormData, SchemaFieldFormDataSchema, SchemaFieldSchema, type SendAssistantMessageInput, SendAssistantMessageSchema, type SendChatMessageInput, SendChatMessageSchema, type SendSmsToMemberInput, SendSmsToMemberSchema, type SiteFormData, SiteFormDataSchema, type SitePageFormData, SitePageFormDataSchema, type StartSiteCrawlInput, StartSiteCrawlSchema, type TaskExportDataTypeRelation, TaskExportDataTypeRelationSchema, type TaskFormData, TaskFormDataSchema, type TextContent, TextContentSchema, type ToggleFieldIndexInput, ToggleFieldIndexSchema, type ToolCall, type ToolCallFunction, ToolCallFunctionSchema, ToolCallSchema, type ToolResult, ToolResultSchema, type TruncationReason, TruncationReasonEnum, type UnarchiveChatInput, UnarchiveChatSchema, type UnarchiveTaskInput, UnarchiveTaskSchema, type UpdateAttendeeResponseInput, UpdateAttendeeResponseSchema, type UpdateCalendarEventInput, UpdateCalendarEventSchema, type UpdateCalendarInput, UpdateCalendarSchema, type UpdateChatInput, type UpdateChatMuteInput, UpdateChatMuteSchema, type UpdateChatNeedsResponseInput, UpdateChatNeedsResponseSchema, UpdateChatSchema, type UpdateCurrentMemberInput, UpdateCurrentMemberSchema, type UpdateDataFieldInput, UpdateDataFieldSchema, type UpdateDataRecordInput, UpdateDataRecordSchema, type UpdateDataTypeInput, UpdateDataTypeSchema, type UpdateEventTypeInput, UpdateEventTypeSchema, type UpdateInboxInput, UpdateInboxSchema, type UpdateMemberRoleInput, UpdateMemberRoleSchema, type UpdateMenuItemInput, UpdateMenuItemSchema, type UpdateOrganizationRequest, UpdateOrganizationRequestSchema, type UpdatePhoneNumberInput, UpdatePhoneNumberSchema, type UpdateScheduleInput, UpdateScheduleSchema, type UpdateSiteInput, type UpdateSitePageInput, UpdateSitePageSchema, UpdateSiteSchema, type UpdateTaskInput, UpdateTaskSchema, type UpdateWorkflowInput, UpdateWorkflowSchema, type UpdateWorkspaceInput, type UpdateWorkspaceMemberInput, type UpdateWorkspaceMemberRequest, UpdateWorkspaceMemberRequestSchema, UpdateWorkspaceMemberSchema, UpdateWorkspaceSchema, type UpsertDataRecordInput, UpsertDataRecordSchema, type VerifyCodeRequest, VerifyCodeRequestSchema, type VerifyCodeResponse, VerifyCodeResponseSchema, type WorkflowCreateFormData, WorkflowCreateFormDataSchema, type WorkflowFormData, WorkflowFormDataSchema, type WorkspaceFormData, WorkspaceFormDataSchema, WorkspaceIdSchema, createTool, zodToMcpSchema };
|
package/dist/schemas.js
CHANGED
|
@@ -8,7 +8,7 @@ import {
|
|
|
8
8
|
DataSensitivity,
|
|
9
9
|
DataTypeRecordScope,
|
|
10
10
|
IndexStatus
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-TJT7A4CO.js";
|
|
12
12
|
|
|
13
13
|
// src/schemas/accounts.ts
|
|
14
14
|
import { z } from "zod";
|
|
@@ -495,14 +495,21 @@ function createTool(name, description, schema) {
|
|
|
495
495
|
|
|
496
496
|
// src/schemas/chats.ts
|
|
497
497
|
var ChannelEnum = z4.enum([
|
|
498
|
-
"
|
|
498
|
+
"cli",
|
|
499
|
+
"frame",
|
|
499
500
|
"phone-sms",
|
|
500
|
-
"
|
|
501
|
-
"
|
|
501
|
+
"phone-voice",
|
|
502
|
+
"phone-whatsapp",
|
|
502
503
|
"email",
|
|
503
504
|
"background",
|
|
504
|
-
"
|
|
505
|
-
"
|
|
505
|
+
"web-chat",
|
|
506
|
+
"web-voice",
|
|
507
|
+
"discord",
|
|
508
|
+
"slack",
|
|
509
|
+
"teams",
|
|
510
|
+
"direct-message",
|
|
511
|
+
"a2a",
|
|
512
|
+
"routine"
|
|
506
513
|
]);
|
|
507
514
|
var MessageRoleEnum = z4.enum([
|
|
508
515
|
"user",
|
|
@@ -569,6 +576,8 @@ var ChatFormDataSchema = z4.object({
|
|
|
569
576
|
memberId: z4.number().nullable().optional(),
|
|
570
577
|
participants: z4.array(ChatParticipantFormDataSchema),
|
|
571
578
|
agentEnabled: z4.boolean().optional(),
|
|
579
|
+
assistantMemberId: z4.number().nullable().optional(),
|
|
580
|
+
// Legacy client-side alias. ChatsApi serializes it as assistantMemberId.
|
|
572
581
|
agentMemberId: z4.number().nullable().optional(),
|
|
573
582
|
// Per-chat assistant model override (snapshotted onto the assistant
|
|
574
583
|
// participant). Set from the Create-Chat assistant-override dialog.
|
|
@@ -682,9 +691,14 @@ var ChatSchema = z4.object({
|
|
|
682
691
|
muted: z4.boolean(),
|
|
683
692
|
needsResponse: z4.boolean(),
|
|
684
693
|
channel: ChannelEnum,
|
|
694
|
+
chatType: z4.string(),
|
|
685
695
|
paused: z4.boolean(),
|
|
686
|
-
assignmentId: z4.number(),
|
|
696
|
+
assignmentId: z4.number().nullable(),
|
|
697
|
+
workflowId: z4.number().nullable(),
|
|
687
698
|
phoneNumberId: z4.number().nullable(),
|
|
699
|
+
inboxId: z4.number().nullable().optional(),
|
|
700
|
+
siteId: z4.number().nullable().optional(),
|
|
701
|
+
folderId: z4.number().nullable().optional(),
|
|
688
702
|
fromMessageId: z4.number().nullable(),
|
|
689
703
|
createdAt: z4.string(),
|
|
690
704
|
updatedAt: z4.string(),
|
|
@@ -1129,6 +1143,11 @@ var UpdateDataFieldSchema = WorkspaceIdSchema.extend({
|
|
|
1129
1143
|
shouldIndex: z5.boolean().optional().describe("Whether to create a search index for this field"),
|
|
1130
1144
|
adminOnly: z5.boolean().optional().describe("Whether only admins can edit this field")
|
|
1131
1145
|
});
|
|
1146
|
+
var DataRecordRetirementSchema = z5.object({
|
|
1147
|
+
status: z5.literal("retired"),
|
|
1148
|
+
reason: z5.enum(["monday_item_archived", "monday_item_deleted"]),
|
|
1149
|
+
source: z5.literal("monday")
|
|
1150
|
+
});
|
|
1132
1151
|
var DataRecordSchema = z5.object({
|
|
1133
1152
|
id: z5.number(),
|
|
1134
1153
|
dataTypeId: z5.number(),
|
|
@@ -1137,7 +1156,8 @@ var DataRecordSchema = z5.object({
|
|
|
1137
1156
|
externalId: z5.string().optional(),
|
|
1138
1157
|
assignmentTaskId: z5.number().optional(),
|
|
1139
1158
|
createdAt: z5.string(),
|
|
1140
|
-
updatedAt: z5.string()
|
|
1159
|
+
updatedAt: z5.string(),
|
|
1160
|
+
retirement: DataRecordRetirementSchema.nullable().optional()
|
|
1141
1161
|
});
|
|
1142
1162
|
var DataRecordFormDataSchema = z5.object({
|
|
1143
1163
|
memberId: z5.number().nullable().optional(),
|
|
@@ -1966,6 +1986,7 @@ export {
|
|
|
1966
1986
|
DataRecordFiltersSchema,
|
|
1967
1987
|
DataRecordFormDataSchema,
|
|
1968
1988
|
DataRecordReportItemSchema,
|
|
1989
|
+
DataRecordRetirementSchema,
|
|
1969
1990
|
DataRecordSchema,
|
|
1970
1991
|
DataRecordWithAccessModeSchema,
|
|
1971
1992
|
DataRecordsPaginatedResponseSchema,
|