@unified-api/typescript-sdk 2.73.3 → 2.73.5
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 +171 -24
- package/bin/mcp-server.js.map +18 -15
- package/jsr.json +1 -1
- package/lib/config.d.ts +3 -3
- package/lib/config.js +3 -3
- package/mcp-server/cli/start/command.d.ts.map +1 -1
- package/mcp-server/cli/start/command.js +0 -12
- package/mcp-server/cli/start/command.js.map +1 -1
- package/mcp-server/cli/start/impl.d.ts +0 -2
- package/mcp-server/cli/start/impl.d.ts.map +1 -1
- package/mcp-server/cli/start/impl.js +0 -2
- package/mcp-server/cli/start/impl.js.map +1 -1
- package/mcp-server/mcp-server.js +1 -1
- package/mcp-server/server.js +1 -1
- package/package.json +3 -3
- package/sdk/models/errors/sdkerror.d.ts.map +1 -1
- package/sdk/models/errors/sdkerror.js +8 -2
- package/sdk/models/errors/sdkerror.js.map +1 -1
- package/sdk/models/shared/accountingprofitandlossaccount.d.ts +35 -0
- package/sdk/models/shared/accountingprofitandlossaccount.d.ts.map +1 -0
- package/sdk/models/shared/accountingprofitandlossaccount.js +80 -0
- package/sdk/models/shared/accountingprofitandlossaccount.js.map +1 -0
- package/sdk/models/shared/accountingprofitandlosscategory.d.ts +3 -0
- package/sdk/models/shared/accountingprofitandlosscategory.d.ts.map +1 -1
- package/sdk/models/shared/accountingprofitandlosscategory.js.map +1 -1
- package/sdk/models/shared/accountingprofitandlosssection.d.ts +36 -0
- package/sdk/models/shared/accountingprofitandlosssection.d.ts.map +1 -0
- package/sdk/models/shared/accountingprofitandlosssection.js +79 -0
- package/sdk/models/shared/accountingprofitandlosssection.js.map +1 -0
- package/sdk/models/shared/accountingprofitandlosssubcategory.d.ts +3 -0
- package/sdk/models/shared/accountingprofitandlosssubcategory.d.ts.map +1 -1
- package/sdk/models/shared/accountingprofitandlosssubcategory.js.map +1 -1
- package/sdk/models/shared/index.d.ts +4 -0
- package/sdk/models/shared/index.d.ts.map +1 -1
- package/sdk/models/shared/index.js +4 -0
- package/sdk/models/shared/index.js.map +1 -1
- package/sdk/models/shared/messagingmessage.d.ts +3 -0
- package/sdk/models/shared/messagingmessage.d.ts.map +1 -1
- package/sdk/models/shared/messagingmessage.js +3 -0
- package/sdk/models/shared/messagingmessage.js.map +1 -1
- package/sdk/models/shared/messagingreaction.d.ts +32 -0
- package/sdk/models/shared/messagingreaction.d.ts.map +1 -0
- package/sdk/models/shared/messagingreaction.js +62 -0
- package/sdk/models/shared/messagingreaction.js.map +1 -0
- package/sdk/models/shared/propertyaccountingreportprofitandloss.d.ts +24 -0
- package/sdk/models/shared/propertyaccountingreportprofitandloss.d.ts.map +1 -1
- package/sdk/models/shared/propertyaccountingreportprofitandloss.js +33 -0
- package/sdk/models/shared/propertyaccountingreportprofitandloss.js.map +1 -1
- package/sdk/models/shared/propertymessagingreactionmember.d.ts +33 -0
- package/sdk/models/shared/propertymessagingreactionmember.d.ts.map +1 -0
- package/sdk/models/shared/propertymessagingreactionmember.js +72 -0
- package/sdk/models/shared/propertymessagingreactionmember.js.map +1 -0
- package/src/lib/config.ts +3 -3
- package/src/mcp-server/cli/start/command.ts +0 -13
- package/src/mcp-server/cli/start/impl.ts +0 -4
- package/src/mcp-server/mcp-server.ts +1 -1
- package/src/mcp-server/server.ts +1 -1
- package/src/sdk/models/errors/sdkerror.ts +8 -2
- package/src/sdk/models/shared/accountingprofitandlossaccount.ts +95 -0
- package/src/sdk/models/shared/accountingprofitandlosscategory.ts +3 -0
- package/src/sdk/models/shared/accountingprofitandlosssection.ts +99 -0
- package/src/sdk/models/shared/accountingprofitandlosssubcategory.ts +3 -0
- package/src/sdk/models/shared/index.ts +4 -0
- package/src/sdk/models/shared/messagingmessage.ts +10 -0
- package/src/sdk/models/shared/messagingreaction.ts +76 -0
- package/src/sdk/models/shared/propertyaccountingreportprofitandloss.ts +69 -0
- package/src/sdk/models/shared/propertymessagingreactionmember.ts +85 -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.73.
|
|
34235
|
-
genVersion: "2.
|
|
34236
|
-
userAgent: "speakeasy-sdk/typescript 2.73.
|
|
34234
|
+
sdkVersion: "2.73.5",
|
|
34235
|
+
genVersion: "2.648.7",
|
|
34236
|
+
userAgent: "speakeasy-sdk/typescript 2.73.5 2.648.7 1.0 @unified-api/typescript-sdk"
|
|
34237
34237
|
};
|
|
34238
34238
|
});
|
|
34239
34239
|
|
|
@@ -35333,8 +35333,14 @@ var init_sdkerror = __esm(() => {
|
|
|
35333
35333
|
}
|
|
35334
35334
|
const body = httpMeta.body || `""`;
|
|
35335
35335
|
message += body.length > 100 ? `
|
|
35336
|
-
` : " ";
|
|
35337
|
-
|
|
35336
|
+
` : ". ";
|
|
35337
|
+
let bodyDisplay = body;
|
|
35338
|
+
if (body.length > 1e4) {
|
|
35339
|
+
const truncated = body.substring(0, 1e4);
|
|
35340
|
+
const remaining = body.length - 1e4;
|
|
35341
|
+
bodyDisplay = `${truncated}...and ${remaining} more chars`;
|
|
35342
|
+
}
|
|
35343
|
+
message += `Body: ${bodyDisplay}`;
|
|
35338
35344
|
message = message.trim();
|
|
35339
35345
|
super(message, httpMeta);
|
|
35340
35346
|
this.name = "SDKError";
|
|
@@ -36847,6 +36853,43 @@ var init_accountingorganization = __esm(() => {
|
|
|
36847
36853
|
})(AccountingOrganization$ ||= {});
|
|
36848
36854
|
});
|
|
36849
36855
|
|
|
36856
|
+
// src/sdk/models/shared/accountingprofitandlossaccount.ts
|
|
36857
|
+
var AccountingProfitAndLossAccount$inboundSchema, AccountingProfitAndLossAccount$outboundSchema, AccountingProfitAndLossAccount$;
|
|
36858
|
+
var init_accountingprofitandlossaccount = __esm(() => {
|
|
36859
|
+
init_esm();
|
|
36860
|
+
init_primitives();
|
|
36861
|
+
AccountingProfitAndLossAccount$inboundSchema = objectType({
|
|
36862
|
+
account_id: stringType().optional(),
|
|
36863
|
+
account_name: stringType().optional(),
|
|
36864
|
+
total_amount: numberType().optional(),
|
|
36865
|
+
transaction_ids: arrayType(stringType()).optional()
|
|
36866
|
+
}).transform((v2) => {
|
|
36867
|
+
return remap(v2, {
|
|
36868
|
+
account_id: "accountId",
|
|
36869
|
+
account_name: "accountName",
|
|
36870
|
+
total_amount: "totalAmount",
|
|
36871
|
+
transaction_ids: "transactionIds"
|
|
36872
|
+
});
|
|
36873
|
+
});
|
|
36874
|
+
AccountingProfitAndLossAccount$outboundSchema = objectType({
|
|
36875
|
+
accountId: stringType().optional(),
|
|
36876
|
+
accountName: stringType().optional(),
|
|
36877
|
+
totalAmount: numberType().optional(),
|
|
36878
|
+
transactionIds: arrayType(stringType()).optional()
|
|
36879
|
+
}).transform((v2) => {
|
|
36880
|
+
return remap(v2, {
|
|
36881
|
+
accountId: "account_id",
|
|
36882
|
+
accountName: "account_name",
|
|
36883
|
+
totalAmount: "total_amount",
|
|
36884
|
+
transactionIds: "transaction_ids"
|
|
36885
|
+
});
|
|
36886
|
+
});
|
|
36887
|
+
((AccountingProfitAndLossAccount$) => {
|
|
36888
|
+
AccountingProfitAndLossAccount$.inboundSchema = AccountingProfitAndLossAccount$inboundSchema;
|
|
36889
|
+
AccountingProfitAndLossAccount$.outboundSchema = AccountingProfitAndLossAccount$outboundSchema;
|
|
36890
|
+
})(AccountingProfitAndLossAccount$ ||= {});
|
|
36891
|
+
});
|
|
36892
|
+
|
|
36850
36893
|
// src/sdk/models/shared/accountingprofitandlosssubcategory.ts
|
|
36851
36894
|
var AccountingProfitAndLossSubcategory$inboundSchema, AccountingProfitAndLossSubcategory$outboundSchema, AccountingProfitAndLossSubcategory$;
|
|
36852
36895
|
var init_accountingprofitandlosssubcategory = __esm(() => {
|
|
@@ -36906,6 +36949,42 @@ var init_accountingprofitandlosscategory = __esm(() => {
|
|
|
36906
36949
|
})(AccountingProfitAndLossCategory$ ||= {});
|
|
36907
36950
|
});
|
|
36908
36951
|
|
|
36952
|
+
// src/sdk/models/shared/accountingprofitandlosssection.ts
|
|
36953
|
+
var AccountingProfitAndLossSection$inboundSchema, AccountingProfitAndLossSection$outboundSchema, AccountingProfitAndLossSection$;
|
|
36954
|
+
var init_accountingprofitandlosssection = __esm(() => {
|
|
36955
|
+
init_esm();
|
|
36956
|
+
init_primitives();
|
|
36957
|
+
init_accountingprofitandlossaccount();
|
|
36958
|
+
AccountingProfitAndLossSection$inboundSchema = objectType({
|
|
36959
|
+
accounts: arrayType(AccountingProfitAndLossAccount$inboundSchema).optional(),
|
|
36960
|
+
section_name: stringType().optional(),
|
|
36961
|
+
section_type: stringType().optional(),
|
|
36962
|
+
total_amount: numberType().optional()
|
|
36963
|
+
}).transform((v2) => {
|
|
36964
|
+
return remap(v2, {
|
|
36965
|
+
section_name: "sectionName",
|
|
36966
|
+
section_type: "sectionType",
|
|
36967
|
+
total_amount: "totalAmount"
|
|
36968
|
+
});
|
|
36969
|
+
});
|
|
36970
|
+
AccountingProfitAndLossSection$outboundSchema = objectType({
|
|
36971
|
+
accounts: arrayType(AccountingProfitAndLossAccount$outboundSchema).optional(),
|
|
36972
|
+
sectionName: stringType().optional(),
|
|
36973
|
+
sectionType: stringType().optional(),
|
|
36974
|
+
totalAmount: numberType().optional()
|
|
36975
|
+
}).transform((v2) => {
|
|
36976
|
+
return remap(v2, {
|
|
36977
|
+
sectionName: "section_name",
|
|
36978
|
+
sectionType: "section_type",
|
|
36979
|
+
totalAmount: "total_amount"
|
|
36980
|
+
});
|
|
36981
|
+
});
|
|
36982
|
+
((AccountingProfitAndLossSection$) => {
|
|
36983
|
+
AccountingProfitAndLossSection$.inboundSchema = AccountingProfitAndLossSection$inboundSchema;
|
|
36984
|
+
AccountingProfitAndLossSection$.outboundSchema = AccountingProfitAndLossSection$outboundSchema;
|
|
36985
|
+
})(AccountingProfitAndLossSection$ ||= {});
|
|
36986
|
+
});
|
|
36987
|
+
|
|
36909
36988
|
// src/sdk/models/shared/propertyaccountingreportbalancesheet.ts
|
|
36910
36989
|
var PropertyAccountingReportBalanceSheet$inboundSchema, PropertyAccountingReportBalanceSheet$outboundSchema, PropertyAccountingReportBalanceSheet$;
|
|
36911
36990
|
var init_propertyaccountingreportbalancesheet = __esm(() => {
|
|
@@ -36944,29 +37023,58 @@ var init_propertyaccountingreportprofitandloss = __esm(() => {
|
|
|
36944
37023
|
init_esm();
|
|
36945
37024
|
init_primitives();
|
|
36946
37025
|
init_accountingprofitandlosscategory();
|
|
37026
|
+
init_accountingprofitandlosssection();
|
|
36947
37027
|
PropertyAccountingReportProfitAndLoss$inboundSchema = objectType({
|
|
36948
37028
|
cost_of_goods_sold: arrayType(AccountingProfitAndLossCategory$inboundSchema).optional(),
|
|
37029
|
+
cost_of_goods_sold_sections: arrayType(AccountingProfitAndLossSection$inboundSchema).optional(),
|
|
37030
|
+
cost_of_goods_sold_total_amount: numberType().optional(),
|
|
36949
37031
|
expenses: arrayType(AccountingProfitAndLossCategory$inboundSchema).optional(),
|
|
37032
|
+
expenses_sections: arrayType(AccountingProfitAndLossSection$inboundSchema).optional(),
|
|
37033
|
+
expenses_total_amount: numberType().optional(),
|
|
36950
37034
|
gross_profit_amount: numberType().optional(),
|
|
36951
37035
|
income: arrayType(AccountingProfitAndLossCategory$inboundSchema).optional(),
|
|
37036
|
+
income_sections: arrayType(AccountingProfitAndLossSection$inboundSchema).optional(),
|
|
37037
|
+
income_total_amount: numberType().optional(),
|
|
37038
|
+
net_income_amount: numberType().optional(),
|
|
36952
37039
|
net_profit_amount: numberType().optional()
|
|
36953
37040
|
}).transform((v2) => {
|
|
36954
37041
|
return remap(v2, {
|
|
36955
37042
|
cost_of_goods_sold: "costOfGoodsSold",
|
|
37043
|
+
cost_of_goods_sold_sections: "costOfGoodsSoldSections",
|
|
37044
|
+
cost_of_goods_sold_total_amount: "costOfGoodsSoldTotalAmount",
|
|
37045
|
+
expenses_sections: "expensesSections",
|
|
37046
|
+
expenses_total_amount: "expensesTotalAmount",
|
|
36956
37047
|
gross_profit_amount: "grossProfitAmount",
|
|
37048
|
+
income_sections: "incomeSections",
|
|
37049
|
+
income_total_amount: "incomeTotalAmount",
|
|
37050
|
+
net_income_amount: "netIncomeAmount",
|
|
36957
37051
|
net_profit_amount: "netProfitAmount"
|
|
36958
37052
|
});
|
|
36959
37053
|
});
|
|
36960
37054
|
PropertyAccountingReportProfitAndLoss$outboundSchema = objectType({
|
|
36961
37055
|
costOfGoodsSold: arrayType(AccountingProfitAndLossCategory$outboundSchema).optional(),
|
|
37056
|
+
costOfGoodsSoldSections: arrayType(AccountingProfitAndLossSection$outboundSchema).optional(),
|
|
37057
|
+
costOfGoodsSoldTotalAmount: numberType().optional(),
|
|
36962
37058
|
expenses: arrayType(AccountingProfitAndLossCategory$outboundSchema).optional(),
|
|
37059
|
+
expensesSections: arrayType(AccountingProfitAndLossSection$outboundSchema).optional(),
|
|
37060
|
+
expensesTotalAmount: numberType().optional(),
|
|
36963
37061
|
grossProfitAmount: numberType().optional(),
|
|
36964
37062
|
income: arrayType(AccountingProfitAndLossCategory$outboundSchema).optional(),
|
|
37063
|
+
incomeSections: arrayType(AccountingProfitAndLossSection$outboundSchema).optional(),
|
|
37064
|
+
incomeTotalAmount: numberType().optional(),
|
|
37065
|
+
netIncomeAmount: numberType().optional(),
|
|
36965
37066
|
netProfitAmount: numberType().optional()
|
|
36966
37067
|
}).transform((v2) => {
|
|
36967
37068
|
return remap(v2, {
|
|
36968
37069
|
costOfGoodsSold: "cost_of_goods_sold",
|
|
37070
|
+
costOfGoodsSoldSections: "cost_of_goods_sold_sections",
|
|
37071
|
+
costOfGoodsSoldTotalAmount: "cost_of_goods_sold_total_amount",
|
|
37072
|
+
expensesSections: "expenses_sections",
|
|
37073
|
+
expensesTotalAmount: "expenses_total_amount",
|
|
36969
37074
|
grossProfitAmount: "gross_profit_amount",
|
|
37075
|
+
incomeSections: "income_sections",
|
|
37076
|
+
incomeTotalAmount: "income_total_amount",
|
|
37077
|
+
netIncomeAmount: "net_income_amount",
|
|
36970
37078
|
netProfitAmount: "net_profit_amount"
|
|
36971
37079
|
});
|
|
36972
37080
|
});
|
|
@@ -46804,6 +46912,54 @@ var init_messagingchannel = __esm(() => {
|
|
|
46804
46912
|
})(MessagingChannel$ ||= {});
|
|
46805
46913
|
});
|
|
46806
46914
|
|
|
46915
|
+
// src/sdk/models/shared/propertymessagingreactionmember.ts
|
|
46916
|
+
var PropertyMessagingReactionMember$inboundSchema, PropertyMessagingReactionMember$outboundSchema, PropertyMessagingReactionMember$;
|
|
46917
|
+
var init_propertymessagingreactionmember = __esm(() => {
|
|
46918
|
+
init_esm();
|
|
46919
|
+
init_primitives();
|
|
46920
|
+
PropertyMessagingReactionMember$inboundSchema = objectType({
|
|
46921
|
+
email: stringType().optional(),
|
|
46922
|
+
name: stringType().optional(),
|
|
46923
|
+
user_id: stringType().optional()
|
|
46924
|
+
}).transform((v2) => {
|
|
46925
|
+
return remap(v2, {
|
|
46926
|
+
user_id: "userId"
|
|
46927
|
+
});
|
|
46928
|
+
});
|
|
46929
|
+
PropertyMessagingReactionMember$outboundSchema = objectType({
|
|
46930
|
+
email: stringType().optional(),
|
|
46931
|
+
name: stringType().optional(),
|
|
46932
|
+
userId: stringType().optional()
|
|
46933
|
+
}).transform((v2) => {
|
|
46934
|
+
return remap(v2, {
|
|
46935
|
+
userId: "user_id"
|
|
46936
|
+
});
|
|
46937
|
+
});
|
|
46938
|
+
((PropertyMessagingReactionMember$) => {
|
|
46939
|
+
PropertyMessagingReactionMember$.inboundSchema = PropertyMessagingReactionMember$inboundSchema;
|
|
46940
|
+
PropertyMessagingReactionMember$.outboundSchema = PropertyMessagingReactionMember$outboundSchema;
|
|
46941
|
+
})(PropertyMessagingReactionMember$ ||= {});
|
|
46942
|
+
});
|
|
46943
|
+
|
|
46944
|
+
// src/sdk/models/shared/messagingreaction.ts
|
|
46945
|
+
var MessagingReaction$inboundSchema, MessagingReaction$outboundSchema, MessagingReaction$;
|
|
46946
|
+
var init_messagingreaction = __esm(() => {
|
|
46947
|
+
init_esm();
|
|
46948
|
+
init_propertymessagingreactionmember();
|
|
46949
|
+
MessagingReaction$inboundSchema = objectType({
|
|
46950
|
+
member: PropertyMessagingReactionMember$inboundSchema,
|
|
46951
|
+
reaction: stringType()
|
|
46952
|
+
});
|
|
46953
|
+
MessagingReaction$outboundSchema = objectType({
|
|
46954
|
+
member: PropertyMessagingReactionMember$outboundSchema,
|
|
46955
|
+
reaction: stringType()
|
|
46956
|
+
});
|
|
46957
|
+
((MessagingReaction$) => {
|
|
46958
|
+
MessagingReaction$.inboundSchema = MessagingReaction$inboundSchema;
|
|
46959
|
+
MessagingReaction$.outboundSchema = MessagingReaction$outboundSchema;
|
|
46960
|
+
})(MessagingReaction$ ||= {});
|
|
46961
|
+
});
|
|
46962
|
+
|
|
46807
46963
|
// src/sdk/models/shared/propertymessagingmessageauthormember.ts
|
|
46808
46964
|
var PropertyMessagingMessageAuthorMember$inboundSchema, PropertyMessagingMessageAuthorMember$outboundSchema, PropertyMessagingMessageAuthorMember$;
|
|
46809
46965
|
var init_propertymessagingmessageauthormember = __esm(() => {
|
|
@@ -46840,6 +46996,7 @@ var init_messagingmessage = __esm(() => {
|
|
|
46840
46996
|
init_primitives();
|
|
46841
46997
|
init_messagingattachment();
|
|
46842
46998
|
init_messagingmember();
|
|
46999
|
+
init_messagingreaction();
|
|
46843
47000
|
init_propertymessagingmessageauthormember();
|
|
46844
47001
|
MessagingMessage$inboundSchema = objectType({
|
|
46845
47002
|
attachments: arrayType(MessagingAttachment$inboundSchema).optional(),
|
|
@@ -46857,6 +47014,7 @@ var init_messagingmessage = __esm(() => {
|
|
|
46857
47014
|
message_markdown: stringType().optional(),
|
|
46858
47015
|
parent_message_id: stringType().optional(),
|
|
46859
47016
|
raw: recordType(anyType()).optional(),
|
|
47017
|
+
reactions: arrayType(MessagingReaction$inboundSchema).optional(),
|
|
46860
47018
|
reference: stringType().optional(),
|
|
46861
47019
|
root_message_id: stringType().optional(),
|
|
46862
47020
|
subject: stringType().optional(),
|
|
@@ -46896,6 +47054,7 @@ var init_messagingmessage = __esm(() => {
|
|
|
46896
47054
|
messageMarkdown: stringType().optional(),
|
|
46897
47055
|
parentMessageId: stringType().optional(),
|
|
46898
47056
|
raw: recordType(anyType()).optional(),
|
|
47057
|
+
reactions: arrayType(MessagingReaction$outboundSchema).optional(),
|
|
46899
47058
|
reference: stringType().optional(),
|
|
46900
47059
|
rootMessageId: stringType().optional(),
|
|
46901
47060
|
subject: stringType().optional(),
|
|
@@ -50315,7 +50474,9 @@ var init_shared2 = __esm(() => {
|
|
|
50315
50474
|
init_accountinglineitem();
|
|
50316
50475
|
init_accountingorder();
|
|
50317
50476
|
init_accountingorganization();
|
|
50477
|
+
init_accountingprofitandlossaccount();
|
|
50318
50478
|
init_accountingprofitandlosscategory();
|
|
50479
|
+
init_accountingprofitandlosssection();
|
|
50319
50480
|
init_accountingprofitandlosssubcategory();
|
|
50320
50481
|
init_accountingreport();
|
|
50321
50482
|
init_accountingtaxrate();
|
|
@@ -50424,6 +50585,7 @@ var init_shared2 = __esm(() => {
|
|
|
50424
50585
|
init_messagingchannel();
|
|
50425
50586
|
init_messagingmember();
|
|
50426
50587
|
init_messagingmessage();
|
|
50588
|
+
init_messagingreaction();
|
|
50427
50589
|
init_metadatametadata();
|
|
50428
50590
|
init_paymentlineitem();
|
|
50429
50591
|
init_paymentlink();
|
|
@@ -50471,6 +50633,7 @@ var init_shared2 = __esm(() => {
|
|
|
50471
50633
|
init_propertyintegrationcategories();
|
|
50472
50634
|
init_propertylmsstudentaddress();
|
|
50473
50635
|
init_propertymessagingmessageauthormember();
|
|
50636
|
+
init_propertymessagingreactionmember();
|
|
50474
50637
|
init_propertyscimgroupmeta();
|
|
50475
50638
|
init_propertyscimgroupschemas();
|
|
50476
50639
|
init_propertyscimusermeta();
|
|
@@ -118388,7 +118551,7 @@ var init_unifiedUpdateUnifiedWebhookTrigger2 = __esm(() => {
|
|
|
118388
118551
|
function createMCPServer(deps) {
|
|
118389
118552
|
const server = new McpServer({
|
|
118390
118553
|
name: "UnifiedTo",
|
|
118391
|
-
version: "2.73.
|
|
118554
|
+
version: "2.73.5"
|
|
118392
118555
|
});
|
|
118393
118556
|
const client = new UnifiedToCore({
|
|
118394
118557
|
security: deps.security,
|
|
@@ -119333,7 +119496,6 @@ async function startStdio(flags) {
|
|
|
119333
119496
|
const server = createMCPServer({
|
|
119334
119497
|
logger,
|
|
119335
119498
|
allowedTools: flags.tool,
|
|
119336
|
-
scopes: flags.scope,
|
|
119337
119499
|
security: { jwt: flags.jwt ?? "" },
|
|
119338
119500
|
serverURL: flags["server-url"],
|
|
119339
119501
|
serverIdx: flags["server-index"]
|
|
@@ -119352,7 +119514,6 @@ async function startSSE(flags) {
|
|
|
119352
119514
|
const mcpServer = createMCPServer({
|
|
119353
119515
|
logger,
|
|
119354
119516
|
allowedTools: flags.tool,
|
|
119355
|
-
scopes: flags.scope,
|
|
119356
119517
|
security: { jwt: flags.jwt ?? "" },
|
|
119357
119518
|
serverURL: flags["server-url"],
|
|
119358
119519
|
serverIdx: flags["server-index"]
|
|
@@ -120386,11 +120547,6 @@ function buildContext(process2) {
|
|
|
120386
120547
|
// src/mcp-server/cli/start/command.ts
|
|
120387
120548
|
init_esm();
|
|
120388
120549
|
init_console_logger();
|
|
120389
|
-
|
|
120390
|
-
// src/mcp-server/scopes.ts
|
|
120391
|
-
var mcpScopes = [];
|
|
120392
|
-
|
|
120393
|
-
// src/mcp-server/cli/start/command.ts
|
|
120394
120550
|
var startCommand = on({
|
|
120395
120551
|
loader: async () => {
|
|
120396
120552
|
const { main: main2 } = await Promise.resolve().then(() => (init_impl(), exports_impl));
|
|
@@ -120419,15 +120575,6 @@ var startCommand = on({
|
|
|
120419
120575
|
return stringType().parse(value);
|
|
120420
120576
|
}
|
|
120421
120577
|
},
|
|
120422
|
-
...mcpScopes.length ? {
|
|
120423
|
-
scope: {
|
|
120424
|
-
kind: "enum",
|
|
120425
|
-
brief: "Mount tools/resources that match given scope (repeatable flag)",
|
|
120426
|
-
values: mcpScopes,
|
|
120427
|
-
variadic: true,
|
|
120428
|
-
optional: true
|
|
120429
|
-
}
|
|
120430
|
-
} : {},
|
|
120431
120578
|
jwt: {
|
|
120432
120579
|
kind: "parsed",
|
|
120433
120580
|
brief: "Sets the jwt auth field for the API",
|
|
@@ -120495,7 +120642,7 @@ var routes = an({
|
|
|
120495
120642
|
var app = He(routes, {
|
|
120496
120643
|
name: "mcp",
|
|
120497
120644
|
versionInfo: {
|
|
120498
|
-
currentVersion: "2.73.
|
|
120645
|
+
currentVersion: "2.73.5"
|
|
120499
120646
|
}
|
|
120500
120647
|
});
|
|
120501
120648
|
zt(app, process3.argv.slice(2), buildContext(process3));
|
|
@@ -120503,5 +120650,5 @@ export {
|
|
|
120503
120650
|
app
|
|
120504
120651
|
};
|
|
120505
120652
|
|
|
120506
|
-
//# debugId=
|
|
120653
|
+
//# debugId=F2DC48ACACCA3A7564756E2164756E21
|
|
120507
120654
|
//# sourceMappingURL=mcp-server.js.map
|