@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
package/bin/mcp-server.js
CHANGED
|
@@ -34231,9 +34231,9 @@ var init_config = __esm(() => {
|
|
|
34231
34231
|
SDK_METADATA = {
|
|
34232
34232
|
language: "typescript",
|
|
34233
34233
|
openapiDocVersion: "1.0",
|
|
34234
|
-
sdkVersion: "2.71.
|
|
34234
|
+
sdkVersion: "2.71.3",
|
|
34235
34235
|
genVersion: "2.610.0",
|
|
34236
|
-
userAgent: "speakeasy-sdk/typescript 2.71.
|
|
34236
|
+
userAgent: "speakeasy-sdk/typescript 2.71.3 2.610.0 1.0 @unified-api/typescript-sdk"
|
|
34237
34237
|
};
|
|
34238
34238
|
});
|
|
34239
34239
|
|
|
@@ -36546,6 +36546,7 @@ var init_accountingorder = __esm(() => {
|
|
|
36546
36546
|
currency: stringType().optional(),
|
|
36547
36547
|
id: stringType().optional(),
|
|
36548
36548
|
lineitems: arrayType(AccountingLineitem$inboundSchema).optional(),
|
|
36549
|
+
posted_at: stringType().datetime({ offset: true }).transform((v2) => new Date(v2)).optional(),
|
|
36549
36550
|
raw: recordType(anyType()).optional(),
|
|
36550
36551
|
shipping_address: PropertyAccountingOrderShippingAddress$inboundSchema.optional(),
|
|
36551
36552
|
status: AccountingOrderStatus$inboundSchema.optional(),
|
|
@@ -36558,6 +36559,7 @@ var init_accountingorder = __esm(() => {
|
|
|
36558
36559
|
billing_address: "billingAddress",
|
|
36559
36560
|
contact_id: "contactId",
|
|
36560
36561
|
created_at: "createdAt",
|
|
36562
|
+
posted_at: "postedAt",
|
|
36561
36563
|
shipping_address: "shippingAddress",
|
|
36562
36564
|
total_amount: "totalAmount",
|
|
36563
36565
|
updated_at: "updatedAt"
|
|
@@ -36571,6 +36573,7 @@ var init_accountingorder = __esm(() => {
|
|
|
36571
36573
|
currency: stringType().optional(),
|
|
36572
36574
|
id: stringType().optional(),
|
|
36573
36575
|
lineitems: arrayType(AccountingLineitem$outboundSchema).optional(),
|
|
36576
|
+
postedAt: dateType().transform((v2) => v2.toISOString()).optional(),
|
|
36574
36577
|
raw: recordType(anyType()).optional(),
|
|
36575
36578
|
shippingAddress: PropertyAccountingOrderShippingAddress$outboundSchema.optional(),
|
|
36576
36579
|
status: AccountingOrderStatus$outboundSchema.optional(),
|
|
@@ -36583,6 +36586,7 @@ var init_accountingorder = __esm(() => {
|
|
|
36583
36586
|
billingAddress: "billing_address",
|
|
36584
36587
|
contactId: "contact_id",
|
|
36585
36588
|
createdAt: "created_at",
|
|
36589
|
+
postedAt: "posted_at",
|
|
36586
36590
|
shippingAddress: "shipping_address",
|
|
36587
36591
|
totalAmount: "total_amount",
|
|
36588
36592
|
updatedAt: "updated_at"
|
|
@@ -39439,7 +39443,7 @@ var init_calendarevent = __esm(() => {
|
|
|
39439
39443
|
attendees: arrayType(CalendarAttendee$inboundSchema).optional(),
|
|
39440
39444
|
calendar_id: stringType().optional(),
|
|
39441
39445
|
created_at: stringType().optional(),
|
|
39442
|
-
end_at: stringType(),
|
|
39446
|
+
end_at: stringType().optional(),
|
|
39443
39447
|
id: stringType().optional(),
|
|
39444
39448
|
is_all_day: booleanType().optional(),
|
|
39445
39449
|
is_free: booleanType().optional(),
|
|
@@ -39450,9 +39454,9 @@ var init_calendarevent = __esm(() => {
|
|
|
39450
39454
|
raw: recordType(anyType()).optional(),
|
|
39451
39455
|
recurrence: arrayType(CalendarEventRecurrence$inboundSchema).optional(),
|
|
39452
39456
|
recurring_event_id: stringType().optional(),
|
|
39453
|
-
start_at: stringType(),
|
|
39457
|
+
start_at: stringType().optional(),
|
|
39454
39458
|
status: CalendarEventStatus$inboundSchema.optional(),
|
|
39455
|
-
subject: stringType(),
|
|
39459
|
+
subject: stringType().optional(),
|
|
39456
39460
|
timezone: stringType().optional(),
|
|
39457
39461
|
updated_at: stringType().optional(),
|
|
39458
39462
|
web_url: stringType().optional()
|
|
@@ -39474,7 +39478,7 @@ var init_calendarevent = __esm(() => {
|
|
|
39474
39478
|
attendees: arrayType(CalendarAttendee$outboundSchema).optional(),
|
|
39475
39479
|
calendarId: stringType().optional(),
|
|
39476
39480
|
createdAt: stringType().optional(),
|
|
39477
|
-
endAt: stringType(),
|
|
39481
|
+
endAt: stringType().optional(),
|
|
39478
39482
|
id: stringType().optional(),
|
|
39479
39483
|
isAllDay: booleanType().optional(),
|
|
39480
39484
|
isFree: booleanType().optional(),
|
|
@@ -39485,9 +39489,9 @@ var init_calendarevent = __esm(() => {
|
|
|
39485
39489
|
raw: recordType(anyType()).optional(),
|
|
39486
39490
|
recurrence: arrayType(CalendarEventRecurrence$outboundSchema).optional(),
|
|
39487
39491
|
recurringEventId: stringType().optional(),
|
|
39488
|
-
startAt: stringType(),
|
|
39492
|
+
startAt: stringType().optional(),
|
|
39489
39493
|
status: CalendarEventStatus$outboundSchema.optional(),
|
|
39490
|
-
subject: stringType(),
|
|
39494
|
+
subject: stringType().optional(),
|
|
39491
39495
|
timezone: stringType().optional(),
|
|
39492
39496
|
updatedAt: stringType().optional(),
|
|
39493
39497
|
webUrl: stringType().optional()
|
|
@@ -46379,6 +46383,7 @@ var init_messagingmessage = __esm(() => {
|
|
|
46379
46383
|
channel_ids: arrayType(stringType()).optional(),
|
|
46380
46384
|
created_at: stringType().datetime({ offset: true }).transform((v2) => new Date(v2)).optional(),
|
|
46381
46385
|
destination_members: arrayType(MessagingMember$inboundSchema).optional(),
|
|
46386
|
+
has_children: booleanType().optional(),
|
|
46382
46387
|
hidden_members: arrayType(MessagingMember$inboundSchema).optional(),
|
|
46383
46388
|
id: stringType().optional(),
|
|
46384
46389
|
mentioned_members: arrayType(MessagingMember$inboundSchema).optional(),
|
|
@@ -46398,6 +46403,7 @@ var init_messagingmessage = __esm(() => {
|
|
|
46398
46403
|
channel_ids: "channelIds",
|
|
46399
46404
|
created_at: "createdAt",
|
|
46400
46405
|
destination_members: "destinationMembers",
|
|
46406
|
+
has_children: "hasChildren",
|
|
46401
46407
|
hidden_members: "hiddenMembers",
|
|
46402
46408
|
mentioned_members: "mentionedMembers",
|
|
46403
46409
|
message_html: "messageHtml",
|
|
@@ -46414,6 +46420,7 @@ var init_messagingmessage = __esm(() => {
|
|
|
46414
46420
|
channelIds: arrayType(stringType()).optional(),
|
|
46415
46421
|
createdAt: dateType().transform((v2) => v2.toISOString()).optional(),
|
|
46416
46422
|
destinationMembers: arrayType(MessagingMember$outboundSchema).optional(),
|
|
46423
|
+
hasChildren: booleanType().optional(),
|
|
46417
46424
|
hiddenMembers: arrayType(MessagingMember$outboundSchema).optional(),
|
|
46418
46425
|
id: stringType().optional(),
|
|
46419
46426
|
mentionedMembers: arrayType(MessagingMember$outboundSchema).optional(),
|
|
@@ -46433,6 +46440,7 @@ var init_messagingmessage = __esm(() => {
|
|
|
46433
46440
|
channelIds: "channel_ids",
|
|
46434
46441
|
createdAt: "created_at",
|
|
46435
46442
|
destinationMembers: "destination_members",
|
|
46443
|
+
hasChildren: "has_children",
|
|
46436
46444
|
hiddenMembers: "hidden_members",
|
|
46437
46445
|
mentionedMembers: "mentioned_members",
|
|
46438
46446
|
messageHtml: "message_html",
|
|
@@ -160752,7 +160760,7 @@ var init_webhookUpdateUnifiedWebhookTrigger2 = __esm(() => {
|
|
|
160752
160760
|
function createMCPServer(deps) {
|
|
160753
160761
|
const server = new McpServer({
|
|
160754
160762
|
name: "UnifiedTo",
|
|
160755
|
-
version: "2.71.
|
|
160763
|
+
version: "2.71.3"
|
|
160756
160764
|
});
|
|
160757
160765
|
const client = new UnifiedToCore({
|
|
160758
160766
|
security: deps.security,
|
|
@@ -163677,7 +163685,7 @@ var routes = an({
|
|
|
163677
163685
|
var app = He(routes, {
|
|
163678
163686
|
name: "mcp",
|
|
163679
163687
|
versionInfo: {
|
|
163680
|
-
currentVersion: "2.71.
|
|
163688
|
+
currentVersion: "2.71.3"
|
|
163681
163689
|
}
|
|
163682
163690
|
});
|
|
163683
163691
|
zt(app, process3.argv.slice(2), buildContext(process3));
|
|
@@ -163685,5 +163693,5 @@ export {
|
|
|
163685
163693
|
app
|
|
163686
163694
|
};
|
|
163687
163695
|
|
|
163688
|
-
//# debugId=
|
|
163696
|
+
//# debugId=3ACE9BD47D2F0C1364756E2164756E21
|
|
163689
163697
|
//# sourceMappingURL=mcp-server.js.map
|