@moovio/sdk 0.22.2 → 0.22.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.
@@ -18,7 +18,7 @@
18
18
  },
19
19
  "..": {
20
20
  "name": "@moovio/sdk",
21
- "version": "0.22.2",
21
+ "version": "0.22.3",
22
22
  "dependencies": {
23
23
  "@modelcontextprotocol/sdk": ">=1.5.0 <1.10.0",
24
24
  "decimal.js": "^10.4.3",
package/jsr.json CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  {
4
4
  "name": "@moovio/sdk",
5
- "version": "0.22.2",
5
+ "version": "0.22.3",
6
6
  "exports": {
7
7
  ".": "./src/index.ts",
8
8
  "./models/errors": "./src/models/errors/index.ts",
package/lib/config.d.ts CHANGED
@@ -39,8 +39,8 @@ export declare function serverURLFromOptions(options: SDKOptions): URL | null;
39
39
  export declare const SDK_METADATA: {
40
40
  readonly language: "typescript";
41
41
  readonly openapiDocVersion: "latest";
42
- readonly sdkVersion: "0.22.2";
43
- readonly genVersion: "2.778.0";
44
- readonly userAgent: "speakeasy-sdk/typescript 0.22.2 2.778.0 latest @moovio/sdk";
42
+ readonly sdkVersion: "0.22.3";
43
+ readonly genVersion: "2.779.2";
44
+ readonly userAgent: "speakeasy-sdk/typescript 0.22.3 2.779.2 latest @moovio/sdk";
45
45
  };
46
46
  //# sourceMappingURL=config.d.ts.map
package/lib/config.js CHANGED
@@ -31,8 +31,8 @@ function serverURLFromOptions(options) {
31
31
  exports.SDK_METADATA = {
32
32
  language: "typescript",
33
33
  openapiDocVersion: "latest",
34
- sdkVersion: "0.22.2",
35
- genVersion: "2.778.0",
36
- userAgent: "speakeasy-sdk/typescript 0.22.2 2.778.0 latest @moovio/sdk",
34
+ sdkVersion: "0.22.3",
35
+ genVersion: "2.779.2",
36
+ userAgent: "speakeasy-sdk/typescript 0.22.3 2.779.2 latest @moovio/sdk",
37
37
  };
38
38
  //# sourceMappingURL=config.js.map
@@ -22,7 +22,7 @@ const routes = (0, core_1.buildRouteMap)({
22
22
  exports.app = (0, core_1.buildApplication)(routes, {
23
23
  name: "mcp",
24
24
  versionInfo: {
25
- currentVersion: "0.22.2",
25
+ currentVersion: "0.22.3",
26
26
  },
27
27
  });
28
28
  (0, core_1.run)(exports.app, node_process_1.default.argv.slice(2), (0, cli_js_1.buildContext)(node_process_1.default));
@@ -179,7 +179,7 @@ const walletTransactionsList_js_1 = require("./tools/walletTransactionsList.js")
179
179
  function createMCPServer(deps) {
180
180
  const server = new mcp_js_1.McpServer({
181
181
  name: "Moov",
182
- version: "0.22.2",
182
+ version: "0.22.3",
183
183
  });
184
184
  const client = new core_js_1.MoovCore({
185
185
  security: deps.security,
@@ -8,6 +8,10 @@ import { SchedulePaymentMethod, SchedulePaymentMethod$Outbound } from "./schedul
8
8
  */
9
9
  export type RunTransfer = {
10
10
  amount: Amount;
11
+ /**
12
+ * Optional sales tax amount. This amount is included in the total transfer amount.
13
+ */
14
+ salesTaxAmount?: Amount | undefined;
11
15
  destination: SchedulePaymentMethod;
12
16
  partnerAccountID: string;
13
17
  source: SchedulePaymentMethod;
@@ -21,6 +25,7 @@ export declare const RunTransfer$inboundSchema: z.ZodType<RunTransfer, z.ZodType
21
25
  /** @internal */
22
26
  export type RunTransfer$Outbound = {
23
27
  amount: Amount$Outbound;
28
+ salesTaxAmount?: Amount$Outbound | undefined;
24
29
  destination: SchedulePaymentMethod$Outbound;
25
30
  partnerAccountID: string;
26
31
  source: SchedulePaymentMethod$Outbound;
@@ -1 +1 @@
1
- {"version":3,"file":"runtransfer.d.ts","sourceRoot":"","sources":["../../src/models/components/runtransfer.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAE5B,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AACrE,OAAO,EACL,MAAM,EAEN,eAAe,EAE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MAAM,aAAa,CAAC;AACrB,OAAO,EACL,qBAAqB,EAErB,8BAA8B,EAE/B,MAAM,4BAA4B,CAAC;AAEpC;;GAEG;AACH,MAAM,MAAM,WAAW,GAAG;IACxB,MAAM,EAAE,MAAM,CAAC;IACf;;OAEG;IACH,cAAc,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACpC,WAAW,EAAE,qBAAqB,CAAC;IACnC,gBAAgB,EAAE,MAAM,CAAC;IACzB,MAAM,EAAE,qBAAqB,CAAC;IAC9B;;OAEG;IACH,WAAW,EAAE,MAAM,CAAC;CACrB,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,yBAAyB,EAAE,CAAC,CAAC,OAAO,CAC/C,WAAW,EACX,CAAC,CAAC,UAAU,EACZ,OAAO,CAQP,CAAC;AACH,gBAAgB;AAChB,MAAM,MAAM,oBAAoB,GAAG;IACjC,MAAM,EAAE,eAAe,CAAC;IACxB,cAAc,CAAC,EAAE,eAAe,GAAG,SAAS,CAAC;IAC7C,WAAW,EAAE,8BAA8B,CAAC;IAC5C,gBAAgB,EAAE,MAAM,CAAC;IACzB,MAAM,EAAE,8BAA8B,CAAC;IACvC,WAAW,EAAE,MAAM,CAAC;CACrB,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,0BAA0B,EAAE,CAAC,CAAC,OAAO,CAChD,oBAAoB,EACpB,CAAC,CAAC,UAAU,EACZ,WAAW,CAQX,CAAC;AAEH,wBAAgB,iBAAiB,CAAC,WAAW,EAAE,WAAW,GAAG,MAAM,CAElE;AACD,wBAAgB,mBAAmB,CACjC,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,WAAW,EAAE,kBAAkB,CAAC,CAMlD"}
@@ -46,6 +46,7 @@ const schedulepaymentmethod_js_1 = require("./schedulepaymentmethod.js");
46
46
  /** @internal */
47
47
  exports.RunTransfer$inboundSchema = z.object({
48
48
  amount: amount_js_1.Amount$inboundSchema,
49
+ salesTaxAmount: amount_js_1.Amount$inboundSchema.optional(),
49
50
  destination: schedulepaymentmethod_js_1.SchedulePaymentMethod$inboundSchema,
50
51
  partnerAccountID: z.string(),
51
52
  source: schedulepaymentmethod_js_1.SchedulePaymentMethod$inboundSchema,
@@ -54,6 +55,7 @@ exports.RunTransfer$inboundSchema = z.object({
54
55
  /** @internal */
55
56
  exports.RunTransfer$outboundSchema = z.object({
56
57
  amount: amount_js_1.Amount$outboundSchema,
58
+ salesTaxAmount: amount_js_1.Amount$outboundSchema.optional(),
57
59
  destination: schedulepaymentmethod_js_1.SchedulePaymentMethod$outboundSchema,
58
60
  partnerAccountID: z.string(),
59
61
  source: schedulepaymentmethod_js_1.SchedulePaymentMethod$outboundSchema,
@@ -1 +1 @@
1
- {"version":3,"file":"runtransfer.js","sourceRoot":"","sources":["../../src/models/components/runtransfer.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAmEH,8CAEC;AACD,kDAQC;AA5ED,0CAA4B;AAC5B,qDAAiD;AAGjD,2CAKqB;AACrB,yEAKoC;AAgBpC,gBAAgB;AACH,QAAA,yBAAyB,GAIlC,CAAC,CAAC,MAAM,CAAC;IACX,MAAM,EAAE,gCAAoB;IAC5B,WAAW,EAAE,8DAAmC;IAChD,gBAAgB,EAAE,CAAC,CAAC,MAAM,EAAE;IAC5B,MAAM,EAAE,8DAAmC;IAC3C,WAAW,EAAE,CAAC,CAAC,MAAM,EAAE;CACxB,CAAC,CAAC;AAUH,gBAAgB;AACH,QAAA,0BAA0B,GAInC,CAAC,CAAC,MAAM,CAAC;IACX,MAAM,EAAE,iCAAqB;IAC7B,WAAW,EAAE,+DAAoC;IACjD,gBAAgB,EAAE,CAAC,CAAC,MAAM,EAAE;IAC5B,MAAM,EAAE,+DAAoC;IAC5C,WAAW,EAAE,CAAC,CAAC,MAAM,EAAE;CACxB,CAAC,CAAC;AAEH,SAAgB,iBAAiB,CAAC,WAAwB;IACxD,OAAO,IAAI,CAAC,SAAS,CAAC,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,SAAgB,mBAAmB,CACjC,UAAkB;IAElB,OAAO,IAAA,sBAAS,EACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,iCAAyB,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EACrD,yCAAyC,CAC1C,CAAC;AACJ,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@moovio/sdk",
3
- "version": "0.22.2",
3
+ "version": "0.22.3",
4
4
  "author": "Moov",
5
5
  "bin": {
6
6
  "mcp": "bin/mcp-server.js"
package/src/lib/config.ts CHANGED
@@ -73,7 +73,7 @@ export function serverURLFromOptions(options: SDKOptions): URL | null {
73
73
  export const SDK_METADATA = {
74
74
  language: "typescript",
75
75
  openapiDocVersion: "latest",
76
- sdkVersion: "0.22.2",
77
- genVersion: "2.778.0",
78
- userAgent: "speakeasy-sdk/typescript 0.22.2 2.778.0 latest @moovio/sdk",
76
+ sdkVersion: "0.22.3",
77
+ genVersion: "2.779.2",
78
+ userAgent: "speakeasy-sdk/typescript 0.22.3 2.779.2 latest @moovio/sdk",
79
79
  } as const;
@@ -19,7 +19,7 @@ const routes = buildRouteMap({
19
19
  export const app = buildApplication(routes, {
20
20
  name: "mcp",
21
21
  versionInfo: {
22
- currentVersion: "0.22.2",
22
+ currentVersion: "0.22.3",
23
23
  },
24
24
  });
25
25
 
@@ -192,7 +192,7 @@ export function createMCPServer(deps: {
192
192
  }) {
193
193
  const server = new McpServer({
194
194
  name: "Moov",
195
- version: "0.22.2",
195
+ version: "0.22.3",
196
196
  });
197
197
 
198
198
  const client = new MoovCore({
@@ -24,6 +24,10 @@ import {
24
24
  */
25
25
  export type RunTransfer = {
26
26
  amount: Amount;
27
+ /**
28
+ * Optional sales tax amount. This amount is included in the total transfer amount.
29
+ */
30
+ salesTaxAmount?: Amount | undefined;
27
31
  destination: SchedulePaymentMethod;
28
32
  partnerAccountID: string;
29
33
  source: SchedulePaymentMethod;
@@ -40,6 +44,7 @@ export const RunTransfer$inboundSchema: z.ZodType<
40
44
  unknown
41
45
  > = z.object({
42
46
  amount: Amount$inboundSchema,
47
+ salesTaxAmount: Amount$inboundSchema.optional(),
43
48
  destination: SchedulePaymentMethod$inboundSchema,
44
49
  partnerAccountID: z.string(),
45
50
  source: SchedulePaymentMethod$inboundSchema,
@@ -48,6 +53,7 @@ export const RunTransfer$inboundSchema: z.ZodType<
48
53
  /** @internal */
49
54
  export type RunTransfer$Outbound = {
50
55
  amount: Amount$Outbound;
56
+ salesTaxAmount?: Amount$Outbound | undefined;
51
57
  destination: SchedulePaymentMethod$Outbound;
52
58
  partnerAccountID: string;
53
59
  source: SchedulePaymentMethod$Outbound;
@@ -61,6 +67,7 @@ export const RunTransfer$outboundSchema: z.ZodType<
61
67
  RunTransfer
62
68
  > = z.object({
63
69
  amount: Amount$outboundSchema,
70
+ salesTaxAmount: Amount$outboundSchema.optional(),
64
71
  destination: SchedulePaymentMethod$outboundSchema,
65
72
  partnerAccountID: z.string(),
66
73
  source: SchedulePaymentMethod$outboundSchema,