@unified-api/typescript-sdk 2.73.23 → 2.73.25
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 +20 -6
- package/bin/mcp-server.js.map +11 -11
- package/examples/package-lock.json +1 -1
- package/funcs/calendarListCalendarEvents.js +1 -0
- package/funcs/calendarListCalendarEvents.js.map +1 -1
- package/funcs/messagingListMessagingMessages.js +1 -0
- package/funcs/messagingListMessagingMessages.js.map +1 -1
- 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 +1 -1
- package/sdk/models/operations/listcalendarevents.d.ts +2 -0
- package/sdk/models/operations/listcalendarevents.d.ts.map +1 -1
- package/sdk/models/operations/listcalendarevents.js +2 -0
- package/sdk/models/operations/listcalendarevents.js.map +1 -1
- package/sdk/models/operations/listmessagingmessages.d.ts +2 -0
- package/sdk/models/operations/listmessagingmessages.d.ts.map +1 -1
- package/sdk/models/operations/listmessagingmessages.js +2 -0
- package/sdk/models/operations/listmessagingmessages.js.map +1 -1
- package/sdk/models/shared/accountingprofitloss.d.ts +2 -0
- package/sdk/models/shared/accountingprofitloss.d.ts.map +1 -1
- package/sdk/models/shared/accountingprofitloss.js +4 -0
- package/sdk/models/shared/accountingprofitloss.js.map +1 -1
- package/sdk/models/shared/propertyaccountingreportprofitandloss.d.ts +2 -0
- package/sdk/models/shared/propertyaccountingreportprofitandloss.d.ts.map +1 -1
- package/sdk/models/shared/propertyaccountingreportprofitandloss.js +4 -0
- package/sdk/models/shared/propertyaccountingreportprofitandloss.js.map +1 -1
- package/src/funcs/calendarListCalendarEvents.ts +1 -0
- package/src/funcs/messagingListMessagingMessages.ts +1 -0
- 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/operations/listcalendarevents.ts +4 -0
- package/src/sdk/models/operations/listmessagingmessages.ts +4 -0
- package/src/sdk/models/shared/accountingprofitloss.ts +6 -0
- package/src/sdk/models/shared/propertyaccountingreportprofitandloss.ts +6 -0
|
@@ -21,6 +21,7 @@ import {
|
|
|
21
21
|
} from "./accountingprofitlosssection.js";
|
|
22
22
|
|
|
23
23
|
export type PropertyAccountingReportProfitAndLoss = {
|
|
24
|
+
categoryIds?: Array<string> | undefined;
|
|
24
25
|
/**
|
|
25
26
|
* @deprecated – use cost_of_goods_sold_sections instead
|
|
26
27
|
*/
|
|
@@ -58,6 +59,7 @@ export const PropertyAccountingReportProfitAndLoss$inboundSchema: z.ZodType<
|
|
|
58
59
|
z.ZodTypeDef,
|
|
59
60
|
unknown
|
|
60
61
|
> = z.object({
|
|
62
|
+
category_ids: z.array(z.string()).optional(),
|
|
61
63
|
cost_of_goods_sold: z.array(AccountingProfitlossCategory$inboundSchema)
|
|
62
64
|
.optional(),
|
|
63
65
|
cost_of_goods_sold_sections: z.array(
|
|
@@ -89,6 +91,7 @@ export const PropertyAccountingReportProfitAndLoss$inboundSchema: z.ZodType<
|
|
|
89
91
|
.optional(),
|
|
90
92
|
}).transform((v) => {
|
|
91
93
|
return remap$(v, {
|
|
94
|
+
"category_ids": "categoryIds",
|
|
92
95
|
"cost_of_goods_sold": "costOfGoodsSold",
|
|
93
96
|
"cost_of_goods_sold_sections": "costOfGoodsSoldSections",
|
|
94
97
|
"cost_of_goods_sold_total_amount": "costOfGoodsSoldTotalAmount",
|
|
@@ -108,6 +111,7 @@ export const PropertyAccountingReportProfitAndLoss$inboundSchema: z.ZodType<
|
|
|
108
111
|
|
|
109
112
|
/** @internal */
|
|
110
113
|
export type PropertyAccountingReportProfitAndLoss$Outbound = {
|
|
114
|
+
category_ids?: Array<string> | undefined;
|
|
111
115
|
cost_of_goods_sold?: Array<AccountingProfitlossCategory$Outbound> | undefined;
|
|
112
116
|
cost_of_goods_sold_sections?:
|
|
113
117
|
| Array<AccountingProfitlossSection$Outbound>
|
|
@@ -138,6 +142,7 @@ export const PropertyAccountingReportProfitAndLoss$outboundSchema: z.ZodType<
|
|
|
138
142
|
z.ZodTypeDef,
|
|
139
143
|
PropertyAccountingReportProfitAndLoss
|
|
140
144
|
> = z.object({
|
|
145
|
+
categoryIds: z.array(z.string()).optional(),
|
|
141
146
|
costOfGoodsSold: z.array(AccountingProfitlossCategory$outboundSchema)
|
|
142
147
|
.optional(),
|
|
143
148
|
costOfGoodsSoldSections: z.array(AccountingProfitlossSection$outboundSchema)
|
|
@@ -164,6 +169,7 @@ export const PropertyAccountingReportProfitAndLoss$outboundSchema: z.ZodType<
|
|
|
164
169
|
updatedAt: z.date().transform(v => v.toISOString()).optional(),
|
|
165
170
|
}).transform((v) => {
|
|
166
171
|
return remap$(v, {
|
|
172
|
+
categoryIds: "category_ids",
|
|
167
173
|
costOfGoodsSold: "cost_of_goods_sold",
|
|
168
174
|
costOfGoodsSoldSections: "cost_of_goods_sold_sections",
|
|
169
175
|
costOfGoodsSoldTotalAmount: "cost_of_goods_sold_total_amount",
|