@unified-api/typescript-sdk 2.71.1 → 2.71.3
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/bin/mcp-server.js +19 -11
- package/bin/mcp-server.js.map +8 -8
- package/docs/sdks/calendar/README.md +6 -30
- package/docs/sdks/event/README.md +6 -30
- package/jsr.json +1 -1
- package/lib/config.d.ts +2 -2
- package/lib/config.js +2 -2
- package/mcp-server/mcp-server.js +1 -1
- package/mcp-server/server.js +1 -1
- package/package.json +1 -1
- package/sdk/models/shared/accountingorder.d.ts +2 -0
- package/sdk/models/shared/accountingorder.d.ts.map +1 -1
- package/sdk/models/shared/accountingorder.js +5 -0
- package/sdk/models/shared/accountingorder.js.map +1 -1
- package/sdk/models/shared/calendarevent.d.ts +6 -6
- package/sdk/models/shared/calendarevent.d.ts.map +1 -1
- package/sdk/models/shared/calendarevent.js +6 -6
- package/sdk/models/shared/calendarevent.js.map +1 -1
- package/sdk/models/shared/messagingmessage.d.ts +2 -0
- package/sdk/models/shared/messagingmessage.d.ts.map +1 -1
- package/sdk/models/shared/messagingmessage.js +4 -0
- package/sdk/models/shared/messagingmessage.js.map +1 -1
- package/src/lib/config.ts +2 -2
- package/src/mcp-server/mcp-server.ts +1 -1
- package/src/mcp-server/server.ts +1 -1
- package/src/sdk/models/shared/accountingorder.ts +7 -0
- package/src/sdk/models/shared/calendarevent.ts +12 -12
- package/src/sdk/models/shared/messagingmessage.ts +6 -0
|
@@ -38,7 +38,7 @@ export type CalendarEvent = {
|
|
|
38
38
|
attendees?: Array<CalendarAttendee> | undefined;
|
|
39
39
|
calendarId?: string | undefined;
|
|
40
40
|
createdAt?: string | undefined;
|
|
41
|
-
endAt
|
|
41
|
+
endAt?: string | undefined;
|
|
42
42
|
id?: string | undefined;
|
|
43
43
|
isAllDay?: boolean | undefined;
|
|
44
44
|
isFree?: boolean | undefined;
|
|
@@ -49,9 +49,9 @@ export type CalendarEvent = {
|
|
|
49
49
|
raw?: { [k: string]: any } | undefined;
|
|
50
50
|
recurrence?: Array<CalendarEventRecurrence> | undefined;
|
|
51
51
|
recurringEventId?: string | undefined;
|
|
52
|
-
startAt
|
|
52
|
+
startAt?: string | undefined;
|
|
53
53
|
status?: CalendarEventStatus | undefined;
|
|
54
|
-
subject
|
|
54
|
+
subject?: string | undefined;
|
|
55
55
|
timezone?: string | undefined;
|
|
56
56
|
updatedAt?: string | undefined;
|
|
57
57
|
webUrl?: string | undefined;
|
|
@@ -87,7 +87,7 @@ export const CalendarEvent$inboundSchema: z.ZodType<
|
|
|
87
87
|
attendees: z.array(CalendarAttendee$inboundSchema).optional(),
|
|
88
88
|
calendar_id: z.string().optional(),
|
|
89
89
|
created_at: z.string().optional(),
|
|
90
|
-
end_at: z.string(),
|
|
90
|
+
end_at: z.string().optional(),
|
|
91
91
|
id: z.string().optional(),
|
|
92
92
|
is_all_day: z.boolean().optional(),
|
|
93
93
|
is_free: z.boolean().optional(),
|
|
@@ -98,9 +98,9 @@ export const CalendarEvent$inboundSchema: z.ZodType<
|
|
|
98
98
|
raw: z.record(z.any()).optional(),
|
|
99
99
|
recurrence: z.array(CalendarEventRecurrence$inboundSchema).optional(),
|
|
100
100
|
recurring_event_id: z.string().optional(),
|
|
101
|
-
start_at: z.string(),
|
|
101
|
+
start_at: z.string().optional(),
|
|
102
102
|
status: CalendarEventStatus$inboundSchema.optional(),
|
|
103
|
-
subject: z.string(),
|
|
103
|
+
subject: z.string().optional(),
|
|
104
104
|
timezone: z.string().optional(),
|
|
105
105
|
updated_at: z.string().optional(),
|
|
106
106
|
web_url: z.string().optional(),
|
|
@@ -124,7 +124,7 @@ export type CalendarEvent$Outbound = {
|
|
|
124
124
|
attendees?: Array<CalendarAttendee$Outbound> | undefined;
|
|
125
125
|
calendar_id?: string | undefined;
|
|
126
126
|
created_at?: string | undefined;
|
|
127
|
-
end_at
|
|
127
|
+
end_at?: string | undefined;
|
|
128
128
|
id?: string | undefined;
|
|
129
129
|
is_all_day?: boolean | undefined;
|
|
130
130
|
is_free?: boolean | undefined;
|
|
@@ -135,9 +135,9 @@ export type CalendarEvent$Outbound = {
|
|
|
135
135
|
raw?: { [k: string]: any } | undefined;
|
|
136
136
|
recurrence?: Array<CalendarEventRecurrence$Outbound> | undefined;
|
|
137
137
|
recurring_event_id?: string | undefined;
|
|
138
|
-
start_at
|
|
138
|
+
start_at?: string | undefined;
|
|
139
139
|
status?: string | undefined;
|
|
140
|
-
subject
|
|
140
|
+
subject?: string | undefined;
|
|
141
141
|
timezone?: string | undefined;
|
|
142
142
|
updated_at?: string | undefined;
|
|
143
143
|
web_url?: string | undefined;
|
|
@@ -152,7 +152,7 @@ export const CalendarEvent$outboundSchema: z.ZodType<
|
|
|
152
152
|
attendees: z.array(CalendarAttendee$outboundSchema).optional(),
|
|
153
153
|
calendarId: z.string().optional(),
|
|
154
154
|
createdAt: z.string().optional(),
|
|
155
|
-
endAt: z.string(),
|
|
155
|
+
endAt: z.string().optional(),
|
|
156
156
|
id: z.string().optional(),
|
|
157
157
|
isAllDay: z.boolean().optional(),
|
|
158
158
|
isFree: z.boolean().optional(),
|
|
@@ -163,9 +163,9 @@ export const CalendarEvent$outboundSchema: z.ZodType<
|
|
|
163
163
|
raw: z.record(z.any()).optional(),
|
|
164
164
|
recurrence: z.array(CalendarEventRecurrence$outboundSchema).optional(),
|
|
165
165
|
recurringEventId: z.string().optional(),
|
|
166
|
-
startAt: z.string(),
|
|
166
|
+
startAt: z.string().optional(),
|
|
167
167
|
status: CalendarEventStatus$outboundSchema.optional(),
|
|
168
|
-
subject: z.string(),
|
|
168
|
+
subject: z.string().optional(),
|
|
169
169
|
timezone: z.string().optional(),
|
|
170
170
|
updatedAt: z.string().optional(),
|
|
171
171
|
webUrl: z.string().optional(),
|
|
@@ -36,6 +36,7 @@ export type MessagingMessage = {
|
|
|
36
36
|
channelIds?: Array<string> | undefined;
|
|
37
37
|
createdAt?: Date | undefined;
|
|
38
38
|
destinationMembers?: Array<MessagingMember> | undefined;
|
|
39
|
+
hasChildren?: boolean | undefined;
|
|
39
40
|
hiddenMembers?: Array<MessagingMember> | undefined;
|
|
40
41
|
id?: string | undefined;
|
|
41
42
|
mentionedMembers?: Array<MessagingMember> | undefined;
|
|
@@ -63,6 +64,7 @@ export const MessagingMessage$inboundSchema: z.ZodType<
|
|
|
63
64
|
created_at: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
64
65
|
.optional(),
|
|
65
66
|
destination_members: z.array(MessagingMember$inboundSchema).optional(),
|
|
67
|
+
has_children: z.boolean().optional(),
|
|
66
68
|
hidden_members: z.array(MessagingMember$inboundSchema).optional(),
|
|
67
69
|
id: z.string().optional(),
|
|
68
70
|
mentioned_members: z.array(MessagingMember$inboundSchema).optional(),
|
|
@@ -83,6 +85,7 @@ export const MessagingMessage$inboundSchema: z.ZodType<
|
|
|
83
85
|
"channel_ids": "channelIds",
|
|
84
86
|
"created_at": "createdAt",
|
|
85
87
|
"destination_members": "destinationMembers",
|
|
88
|
+
"has_children": "hasChildren",
|
|
86
89
|
"hidden_members": "hiddenMembers",
|
|
87
90
|
"mentioned_members": "mentionedMembers",
|
|
88
91
|
"message_html": "messageHtml",
|
|
@@ -101,6 +104,7 @@ export type MessagingMessage$Outbound = {
|
|
|
101
104
|
channel_ids?: Array<string> | undefined;
|
|
102
105
|
created_at?: string | undefined;
|
|
103
106
|
destination_members?: Array<MessagingMember$Outbound> | undefined;
|
|
107
|
+
has_children?: boolean | undefined;
|
|
104
108
|
hidden_members?: Array<MessagingMember$Outbound> | undefined;
|
|
105
109
|
id?: string | undefined;
|
|
106
110
|
mentioned_members?: Array<MessagingMember$Outbound> | undefined;
|
|
@@ -127,6 +131,7 @@ export const MessagingMessage$outboundSchema: z.ZodType<
|
|
|
127
131
|
channelIds: z.array(z.string()).optional(),
|
|
128
132
|
createdAt: z.date().transform(v => v.toISOString()).optional(),
|
|
129
133
|
destinationMembers: z.array(MessagingMember$outboundSchema).optional(),
|
|
134
|
+
hasChildren: z.boolean().optional(),
|
|
130
135
|
hiddenMembers: z.array(MessagingMember$outboundSchema).optional(),
|
|
131
136
|
id: z.string().optional(),
|
|
132
137
|
mentionedMembers: z.array(MessagingMember$outboundSchema).optional(),
|
|
@@ -146,6 +151,7 @@ export const MessagingMessage$outboundSchema: z.ZodType<
|
|
|
146
151
|
channelIds: "channel_ids",
|
|
147
152
|
createdAt: "created_at",
|
|
148
153
|
destinationMembers: "destination_members",
|
|
154
|
+
hasChildren: "has_children",
|
|
149
155
|
hiddenMembers: "hidden_members",
|
|
150
156
|
mentionedMembers: "mentioned_members",
|
|
151
157
|
messageHtml: "message_html",
|