@unified-api/typescript-sdk 2.73.4 → 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 +110 -6
- package/bin/mcp-server.js.map +12 -10
- package/jsr.json +1 -1
- package/lib/config.d.ts +3 -3
- package/lib/config.js +3 -3
- package/mcp-server/mcp-server.js +1 -1
- package/mcp-server/server.js +1 -1
- package/package.json +3 -3
- 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 +2 -0
- package/sdk/models/shared/index.d.ts.map +1 -1
- package/sdk/models/shared/index.js +2 -0
- package/sdk/models/shared/index.js.map +1 -1
- 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/src/lib/config.ts +3 -3
- package/src/mcp-server/mcp-server.ts +1 -1
- package/src/mcp-server/server.ts +1 -1
- 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 +2 -0
- package/src/sdk/models/shared/propertyaccountingreportprofitandloss.ts +69 -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.648.
|
|
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
|
|
|
@@ -36853,6 +36853,43 @@ var init_accountingorganization = __esm(() => {
|
|
|
36853
36853
|
})(AccountingOrganization$ ||= {});
|
|
36854
36854
|
});
|
|
36855
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
|
+
|
|
36856
36893
|
// src/sdk/models/shared/accountingprofitandlosssubcategory.ts
|
|
36857
36894
|
var AccountingProfitAndLossSubcategory$inboundSchema, AccountingProfitAndLossSubcategory$outboundSchema, AccountingProfitAndLossSubcategory$;
|
|
36858
36895
|
var init_accountingprofitandlosssubcategory = __esm(() => {
|
|
@@ -36912,6 +36949,42 @@ var init_accountingprofitandlosscategory = __esm(() => {
|
|
|
36912
36949
|
})(AccountingProfitAndLossCategory$ ||= {});
|
|
36913
36950
|
});
|
|
36914
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
|
+
|
|
36915
36988
|
// src/sdk/models/shared/propertyaccountingreportbalancesheet.ts
|
|
36916
36989
|
var PropertyAccountingReportBalanceSheet$inboundSchema, PropertyAccountingReportBalanceSheet$outboundSchema, PropertyAccountingReportBalanceSheet$;
|
|
36917
36990
|
var init_propertyaccountingreportbalancesheet = __esm(() => {
|
|
@@ -36950,29 +37023,58 @@ var init_propertyaccountingreportprofitandloss = __esm(() => {
|
|
|
36950
37023
|
init_esm();
|
|
36951
37024
|
init_primitives();
|
|
36952
37025
|
init_accountingprofitandlosscategory();
|
|
37026
|
+
init_accountingprofitandlosssection();
|
|
36953
37027
|
PropertyAccountingReportProfitAndLoss$inboundSchema = objectType({
|
|
36954
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(),
|
|
36955
37031
|
expenses: arrayType(AccountingProfitAndLossCategory$inboundSchema).optional(),
|
|
37032
|
+
expenses_sections: arrayType(AccountingProfitAndLossSection$inboundSchema).optional(),
|
|
37033
|
+
expenses_total_amount: numberType().optional(),
|
|
36956
37034
|
gross_profit_amount: numberType().optional(),
|
|
36957
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(),
|
|
36958
37039
|
net_profit_amount: numberType().optional()
|
|
36959
37040
|
}).transform((v2) => {
|
|
36960
37041
|
return remap(v2, {
|
|
36961
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",
|
|
36962
37047
|
gross_profit_amount: "grossProfitAmount",
|
|
37048
|
+
income_sections: "incomeSections",
|
|
37049
|
+
income_total_amount: "incomeTotalAmount",
|
|
37050
|
+
net_income_amount: "netIncomeAmount",
|
|
36963
37051
|
net_profit_amount: "netProfitAmount"
|
|
36964
37052
|
});
|
|
36965
37053
|
});
|
|
36966
37054
|
PropertyAccountingReportProfitAndLoss$outboundSchema = objectType({
|
|
36967
37055
|
costOfGoodsSold: arrayType(AccountingProfitAndLossCategory$outboundSchema).optional(),
|
|
37056
|
+
costOfGoodsSoldSections: arrayType(AccountingProfitAndLossSection$outboundSchema).optional(),
|
|
37057
|
+
costOfGoodsSoldTotalAmount: numberType().optional(),
|
|
36968
37058
|
expenses: arrayType(AccountingProfitAndLossCategory$outboundSchema).optional(),
|
|
37059
|
+
expensesSections: arrayType(AccountingProfitAndLossSection$outboundSchema).optional(),
|
|
37060
|
+
expensesTotalAmount: numberType().optional(),
|
|
36969
37061
|
grossProfitAmount: numberType().optional(),
|
|
36970
37062
|
income: arrayType(AccountingProfitAndLossCategory$outboundSchema).optional(),
|
|
37063
|
+
incomeSections: arrayType(AccountingProfitAndLossSection$outboundSchema).optional(),
|
|
37064
|
+
incomeTotalAmount: numberType().optional(),
|
|
37065
|
+
netIncomeAmount: numberType().optional(),
|
|
36971
37066
|
netProfitAmount: numberType().optional()
|
|
36972
37067
|
}).transform((v2) => {
|
|
36973
37068
|
return remap(v2, {
|
|
36974
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",
|
|
36975
37074
|
grossProfitAmount: "gross_profit_amount",
|
|
37075
|
+
incomeSections: "income_sections",
|
|
37076
|
+
incomeTotalAmount: "income_total_amount",
|
|
37077
|
+
netIncomeAmount: "net_income_amount",
|
|
36976
37078
|
netProfitAmount: "net_profit_amount"
|
|
36977
37079
|
});
|
|
36978
37080
|
});
|
|
@@ -50372,7 +50474,9 @@ var init_shared2 = __esm(() => {
|
|
|
50372
50474
|
init_accountinglineitem();
|
|
50373
50475
|
init_accountingorder();
|
|
50374
50476
|
init_accountingorganization();
|
|
50477
|
+
init_accountingprofitandlossaccount();
|
|
50375
50478
|
init_accountingprofitandlosscategory();
|
|
50479
|
+
init_accountingprofitandlosssection();
|
|
50376
50480
|
init_accountingprofitandlosssubcategory();
|
|
50377
50481
|
init_accountingreport();
|
|
50378
50482
|
init_accountingtaxrate();
|
|
@@ -118447,7 +118551,7 @@ var init_unifiedUpdateUnifiedWebhookTrigger2 = __esm(() => {
|
|
|
118447
118551
|
function createMCPServer(deps) {
|
|
118448
118552
|
const server = new McpServer({
|
|
118449
118553
|
name: "UnifiedTo",
|
|
118450
|
-
version: "2.73.
|
|
118554
|
+
version: "2.73.5"
|
|
118451
118555
|
});
|
|
118452
118556
|
const client = new UnifiedToCore({
|
|
118453
118557
|
security: deps.security,
|
|
@@ -120538,7 +120642,7 @@ var routes = an({
|
|
|
120538
120642
|
var app = He(routes, {
|
|
120539
120643
|
name: "mcp",
|
|
120540
120644
|
versionInfo: {
|
|
120541
|
-
currentVersion: "2.73.
|
|
120645
|
+
currentVersion: "2.73.5"
|
|
120542
120646
|
}
|
|
120543
120647
|
});
|
|
120544
120648
|
zt(app, process3.argv.slice(2), buildContext(process3));
|
|
@@ -120546,5 +120650,5 @@ export {
|
|
|
120546
120650
|
app
|
|
120547
120651
|
};
|
|
120548
120652
|
|
|
120549
|
-
//# debugId=
|
|
120653
|
+
//# debugId=F2DC48ACACCA3A7564756E2164756E21
|
|
120550
120654
|
//# sourceMappingURL=mcp-server.js.map
|